why all my devices on my Thinkpad wish to use IRQ 11?

2004-01-18 Thread Zhang Weiwu
Hello. I recently brought a new Thinkpad T40 notebook and installed FreeBSD 
5.2 RELEASE on it. Now on this notebook it seems every device is trying to 
use irq 11, making every drive timeout.

The irq 11 devices are:
#dmesg | grep irq 11
pcib0: slot 29 INTB is routed to irq 11
pcib0: slot 29 INTC is routed to irq 11
pcib0: slot 29 INTD is routed to irq 11
pcib0: slot 31 INTB is routed to irq 11
pcib0: slot 31 INTB is routed to irq 11
pcib0: slot 31 INTB is routed to irq 11
pcib1: slot 0 INTA is routed to irq 11
uhci0: Intel 82801DB (ICH4) USB controller USB-A port 0x1800-0x181f irq 
11 at device 29.0 on pci0
uhci1: Intel 82801DB (ICH4) USB controller USB-B port 0x1820-0x183f irq 
11 at device 29.1 on pci0
uhci2: Intel 82801DB (ICH4) USB controller USB-C port 0x1840-0x185f irq 
11 at device 29.2 on pci0
pcib2: slot 0 INTA is routed to irq 11
pcib2: slot 0 INTB is routed to irq 11
pcib2: slot 2 INTA is routed to irq 11
pcib2: slot 8 INTA is routed to irq 11
cbb0: TI1520 PCI-CardBus Bridge mem 0xb000-0xbfff irq 11 at 
device 0.0 on pci2
cbb1: TI1520 PCI-CardBus Bridge mem 0xb100-0xb1000fff irq 11 at 
device 0.1 on pci2
fxp0: Intel 82801DB (ICH4) Pro/100 VE Ethernet port 0x8000-0x803f mem 
0xc0201000-0xc0201fff irq 11 at device 8.0 on pci2
pcm0: Intel ICH4 (82801DB) port 0x18c0-0x18ff,0x1c00-0x1cff mem 
0xc800-0xc8ff,0xcc00-0xcdff irq 11 at device 31.5 on pci0
pcib0: slot 29 INTA is routed to irq 11

I tried to modify /boot/device.hints to assign different irqs for different 
devices, no luck. The devices seems to be ignoring variables like 
hints.pcm.0.irq.

In order to use fxp0, I now disabled all devices who use irq 11 before 
fxp0. 

Please someone give me some hints. Thank you. 

Here is my dmesg (with most irq 11 devices disabled to make fxp0 work).
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 5.2-RELEASE #0: Sun Jan 18 10:14:37 CST 2004
   root@:/usr/obj/usr/src/sys/T40
Preloaded elf kernel /boot/kernel/kernel at 0xc0838000.
Preloaded elf module /boot/kernel/acpi.ko at 0xc083826c.
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) M processor 1500MHz (1495.16-MHz 686-class CPU)
 Origin = GenuineIntel  Id = 0x695  Stepping = 5
 
Features=0xa7e9f9bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE

real memory  = 267780096 (255 MB)
avail memory = 250474496 (238 MB)
Pentium Pro MTRR support enabled
VESA: v2.0, 32704k memory, flags:0x1, mode table:0xc0751942 (122)
VESA: ATI MOBILITY RADEON 7500
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: IBMTP-1Ron motherboard
acpi_ec0: Embedded Controller: ECDT, GPE 0x1c, GLK port 0x66,0x62 on 
acpi0
pcibios: BIOS version 2.10
Using $PIR table, 15 entries at 0xc00fdea0
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0
acpi_cpu0: CPU on acpi0
acpi_tz0: Thermal Zone port 0x530-0x537 on acpi0
acpi_lid0: Control Method Lid Switch on acpi0
acpi_button0: Sleep Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pcib0: slot 29 INTA is routed to irq 11
pcib0: slot 29 INTB is routed to irq 11
pcib0: slot 29 INTC is routed to irq 11
pcib0: slot 29 INTD is routed to irq 11
pcib0: slot 31 INTB is routed to irq 11
pcib0: slot 31 INTB is routed to irq 11
pcib0: slot 31 INTB is routed to irq 11
agp0: Intel 82855 host to AGP bridge mem 0xd000-0xdfff at device 
0.0 on pci0
pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0
pci1: ACPI PCI bus on pcib1
pcib1: slot 0 INTA is routed to irq 11
pci1: display, VGA at device 0.0 (no driver attached)
pci0: serial bus, USB at device 29.0 (no driver attached)
pci0: serial bus, USB at device 29.1 (no driver attached)
pci0: serial bus, USB at device 29.2 (no driver attached)
pci0: serial bus, USB at device 29.7 (no driver attached)
pcib2: ACPI PCI-PCI bridge at device 30.0 on pci0
pci2: ACPI PCI bus on pcib2
pcib2: slot 0 INTA is routed to irq 11
pcib2: slot 0 INTB is routed to irq 11
pcib2: slot 2 INTA is routed to irq 11
pcib2: slot 8 INTA is routed to irq 11
pci2: bridge, PCI-CardBus at device 0.0 (no driver attached)
pci2: bridge, PCI-CardBus at device 0.1 (no driver attached)
pci2: network at device 2.0 (no driver attached)
fxp0: Intel 82801DB (ICH4) Pro/100 VE Ethernet port 0x8000-0x803f mem 
0xc0201000-0xc0201fff irq 11 at device 8.0 on pci2
fxp0: Ethernet address 00:0d:60:12:c3:61
miibus0: MII bus on fxp0
inphy0: i82562ET 10/100 media interface on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: PCI-ISA bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel ICH4 UDMA100 controller port 
0x1860-0x186f,0-0x3,0-0x7,0-0x3,0-0x7 at device 31.1 on pci0
ata0: at 0x1f0 

Re: why all my devices on my Thinkpad wish to use IRQ 11?

2004-01-18 Thread James Earl
Quoting Zhang Weiwu [EMAIL PROTECTED]:

 
 Hello. I recently brought a new Thinkpad T40 notebook and installed FreeBSD
 
 5.2 RELEASE on it. Now on this notebook it seems every device is trying to 
 use irq 11, making every drive timeout.
 
 The irq 11 devices are:
 #dmesg | grep irq 11
 pcib0: slot 29 INTB is routed to irq 11
 pcib0: slot 29 INTC is routed to irq 11
 pcib0: slot 29 INTD is routed to irq 11
 pcib0: slot 31 INTB is routed to irq 11
 pcib0: slot 31 INTB is routed to irq 11
 pcib0: slot 31 INTB is routed to irq 11
 pcib1: slot 0 INTA is routed to irq 11
 uhci0: Intel 82801DB (ICH4) USB controller USB-A port 0x1800-0x181f irq 
 11 at device 29.0 on pci0
 uhci1: Intel 82801DB (ICH4) USB controller USB-B port 0x1820-0x183f irq 
 11 at device 29.1 on pci0
 uhci2: Intel 82801DB (ICH4) USB controller USB-C port 0x1840-0x185f irq 
 11 at device 29.2 on pci0
 pcib2: slot 0 INTA is routed to irq 11
 pcib2: slot 0 INTB is routed to irq 11
 pcib2: slot 2 INTA is routed to irq 11
 pcib2: slot 8 INTA is routed to irq 11
 cbb0: TI1520 PCI-CardBus Bridge mem 0xb000-0xbfff irq 11 at 
 device 0.0 on pci2
 cbb1: TI1520 PCI-CardBus Bridge mem 0xb100-0xb1000fff irq 11 at 
 device 0.1 on pci2
 fxp0: Intel 82801DB (ICH4) Pro/100 VE Ethernet port 0x8000-0x803f mem 
 0xc0201000-0xc0201fff irq 11 at device 8.0 on pci2
 pcm0: Intel ICH4 (82801DB) port 0x18c0-0x18ff,0x1c00-0x1cff mem 
 0xc800-0xc8ff,0xcc00-0xcdff irq 11 at device 31.5 on pci0
 pcib0: slot 29 INTA is routed to irq 11
 
 I tried to modify /boot/device.hints to assign different irqs for different
 
 devices, no luck. The devices seems to be ignoring variables like 
 hints.pcm.0.irq.
 
 In order to use fxp0, I now disabled all devices who use irq 11 before 
 fxp0. 
 
 Please someone give me some hints. Thank you. 

You can change IRQ settings in your BIOS setup.  F1 will bring up the BIOS setup
during initial bootup at the IBM ThinkPad splash screen.  Look under the Config
- PCI menu I believe.

You may want to first try using the 'set hw.pci.allow_unsupported_io_range=1' at
the boot loader prompt.

On my R40, INTE seems to be my fxp0 device.  INTD seemed to change cbb, and INTC
changes the IRQ of my Cisco Aironet MPI350 card.

Let me know what you find out.

James


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]