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:  port 0x1800-0x181f irq 
> 11 at device 29.0 on pci0
> uhci1:  port 0x1820-0x183f irq 
> 11 at device 29.1 on pci0
> uhci2:  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:  mem 0xb000-0xbfff irq 11 at 
> device 0.0 on pci2
> cbb1:  mem 0xb100-0xb1000fff irq 11 at 
> device 0.1 on pci2
> fxp0:  port 0x8000-0x803f mem 
> 0xc0201000-0xc0201fff irq 11 at device 8.0 on pci2
> pcm0:  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]"


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:  port 0x1800-0x181f irq 
11 at device 29.0 on pci0
uhci1:  port 0x1820-0x183f irq 
11 at device 29.1 on pci0
uhci2:  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:  mem 0xb000-0xbfff irq 11 at 
device 0.0 on pci2
cbb1:  mem 0xb100-0xb1000fff irq 11 at 
device 0.1 on pci2
fxp0:  port 0x8000-0x803f mem 
0xc0201000-0xc0201fff irq 11 at device 8.0 on pci2
pcm0:  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=0xa7e9f9bf

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:  on motherboard
npx0: INT 16 interface
acpi0:  on motherboard
acpi_ec0:  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:  on acpi0
acpi_tz0:  port 0x530-0x537 on acpi0
acpi_lid0:  on acpi0
acpi_button0:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  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:  mem 0xd000-0xdfff at device 
0.0 on pci0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
pcib1: slot 0 INTA is routed to irq 11
pci1:  at device 0.0 (no driver attached)
pci0:  at device 29.0 (no driver attached)
pci0:  at device 29.1 (no driver attached)
pci0:  at device 29.2 (no driver attached)
pci0:  at device 29.7 (no driver attached)
pcib2:  at device 30.0 on pci0
pci2:  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:  at device 0.0 (no driver attached)
pci2:  at device 0.1 (no driver attached)
pci2:  at device 2.0 (no driver attached)
fxp0:  port 0x8000-0x803f mem 
0xc0201000-0xc0201fff irq 11 at device 8.0 on pci2
fxp0: Ethernet address 00:0d:60:12:c3:61
miibus0:  on fxp0
inphy0:  on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0:  at device 31.0 on pci0
isa0:  on isab0
atapci0:  port 
0x1860-0x186f,0-0x3,0-0x7,0-0x3,0-0x7 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
pci0:  at device 31.3 (no driver attached)
pcm0:  port 0x18c0-0x18ff,0x1c00-0x1cff mem 
0xc800-0xc8ff,0xcc00-0xcdff irq 11 at device 31.5 on pci0
pcm0: 
pci0:  at device 31.6 (no driver attached)
atkbdc0:  port 0x64,0x60 irq 1 on acpi0
atkbd0:  flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0:  irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 8250 or not responding
ppc0 port 0x3bc-0x3c3 irq 7 on acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0:  on ppc0
plip0:  on ppbus0
lpt0:  on ppbus0
lpt0: Interrupt-driven port
ppi0:  on ppbus0
sio1: conf