Pierre-Luc Drouin
2006-Jan-30 21:48 UTC
"couldn't map interrupt" problems with updated 6.0 kernel
Hi, Since the FreeBSD src update I did tonight, my computer has problems with irqs. Before this update I was using 6.0-stable (built on Dec 9 '05) and it was working fine with APIC enabled (device apic in kernel config file). Now when I enable APIC with the new kernel I get the following error messages at boot time: Jan 30 22:19:59 ldaemon kernel: bge0: <Broadcom BCM5702 Gigabit Ethernet, ASIC rev. 0x1002> mem 0xd5000000-0xd500ffff irq 9 at device 5.0 on pci2 Jan 30 22:19:59 ldaemon kernel: bge0: couldn't map interrupt Jan 30 22:19:59 ldaemon kernel: device_attach: bge0 attach returned 6 Jan 30 22:19:59 ldaemon kernel: rl0: <Accton MPX 5030/5038 10/100BaseTX> port 0xb800-0xb8ff mem 0xd4800000-0xd48000ff irq 9 at device 10.0 on pci2 Jan 30 22:19:59 ldaemon kernel: rl0: couldn't map interrupt Jan 30 22:19:59 ldaemon kernel: device_attach: rl0 attach returned 6 Jan 30 22:19:59 ldaemon kernel: pcm0: <Creative EMU10K1> port 0xb400-0xb41f irq 9 at device 12.0 on pci2 Jan 30 22:19:59 ldaemon kernel: pcm0: <Cirrus Logic CS4297A AC97 Codec> Jan 30 22:19:59 ldaemon kernel: pcm0: unable to map interrupt Jan 30 22:19:59 ldaemon kernel: device_attach: pcm0 attach returned 6 Jan 30 22:19:59 ldaemon kernel: pci2: <input device> at device 12.1 (no driver attached) Jan 30 22:19:59 ldaemon kernel: bge0: <Broadcom BCM5702 Gigabit Ethernet, ASIC rev. 0x1002> mem 0xd5000000-0xd500ffff irq 9 at device 5.0 on pci2 Jan 30 22:19:59 ldaemon kernel: bge0: couldn't map interrupt Jan 30 22:19:59 ldaemon kernel: device_attach: bge0 attach returned 6 Jan 30 22:19:59 ldaemon kernel: rl0: <Accton MPX 5030/5038 10/100BaseTX> port 0xb800-0xb8ff mem 0xd4800000-0xd48000ff irq 9 at device 10.0 on pci2 Jan 30 22:19:59 ldaemon kernel: rl0: couldn't map interrupt Jan 30 22:19:59 ldaemon kernel: device_attach: rl0 attach returned 6 Jan 30 22:19:59 ldaemon kernel: pcm0: <Creative EMU10K1> port 0xb400-0xb41f irq 9 at device 12.0 on pci2 Jan 30 22:19:59 ldaemon kernel: pcm0: <Cirrus Logic CS4297A AC97 Codec> Jan 30 22:19:59 ldaemon kernel: pcm0: unable to map interrupt Jan 30 22:19:59 ldaemon kernel: device_attach: pcm0 attach returned 6 and then the computer freezes. I have tried to do not load the sound card driver, but it didn't fix it. I have also tried to comment out "device apic" in the kernel config file. Now I do not get these error messages. Instead I get messages like this: Jan 30 23:38:42 ldaemon kernel: rl0: watchdog timeout and the ethernet cards don't respond properly. With the Dec 9 kernel (where apic is enabled), I get the following at boot time: ioapic0 <Version 2.0> irqs 0-23 on motherboard acpi0: Overriding SCI Interrupt from IRQ 9 to IRQ 22 uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0xd800-0xd81f irq 16 at device 29.0 on pci0 uhci1: <Intel 82801DB (ICH4) USB controller USB-B> port 0xd400-0xd41f irq 19 at device 29.1 on pci0 uhci2: <Intel 82801DB (ICH4) USB controller USB-C> port 0xd000-0xd01f irq 18 at device 29.2 on pci0 bge0: <Broadcom BCM5702 Gigabit Ethernet, ASIC rev. 0x1002> mem 0xd5000000-0xd500ffff irq 20 at device 5.0 on pci2 rl0: <Accton MPX 5030/5038 10/100BaseTX> port 0xb800-0xb8ff mem 0xd4800000-0xd48000ff irq 22 at device 10.0 on pci2 sio0: configured irq 21 not in bitmap of probed irqs 0 sio0: <3COM PCI FaxModem> port 0xa800-0xa807 irq 21 at device 13.0 on pci2 atapci0: <Intel ICH4 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f irq 18 at device 31.1 on pci0 fdc0: <floppy drive controller> port 0x3f2-0x3f5,0x3f7 irq 6 drq 2 on acpi0 ppc0: <ECP parallel printer port> port 0x378-0x37f,0x778-0x77b irq 7 drq 3 on acpi0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 psm0: <PS/2 Mouse> irq 12 on atkbdc0 sio1: configured irq 3 not in bitmap of probed irqs 0 nvidia0: <GeForce2 GTS/GeForce2 Pro> mem 0xd6000000-0xd6ffffff,0xd8000000-0xdfffffff irq 16 at device 0.0 on pci1 pcm0: <Creative EMU10K1> port 0xb400-0xb41f irq 20 at device 12.0 on pci2 I have used FreeBSD 4.x, 5.x and 6 in the past on this computer with exactly the same hardware configuration without any problem. How can I fix it? Thanks!! Pierre-Luc Drouin
Mike Tancsa
2006-Jan-31 04:58 UTC
"couldn't map interrupt" problems with updated 6.0 kernel
At 12:48 AM 31/01/2006, Pierre-Luc Drouin wrote:>Hi, > >Since the FreeBSD src update I did tonight, my computer has problems withTry cvsup'ing to the morning of jan 30, prior to the pci commits by imp@freebsd.org. It broke a bunch of boxes for me. ---Mike>irqs. Before this update I was using 6.0-stable (built on Dec 9 '05) >and it was working fine with APIC enabled (device apic in kernel >config file). Now when I enable APIC with the new kernel I get the >following error messages at boot time: > >Jan 30 22:19:59 ldaemon kernel: bge0: <Broadcom BCM5702 Gigabit >Ethernet, ASIC rev. 0x1002> mem 0xd5000000-0xd500ffff irq 9 at >device 5.0 on pci2 >Jan 30 22:19:59 ldaemon kernel: bge0: couldn't map interrupt >Jan 30 22:19:59 ldaemon kernel: device_attach: bge0 attach returned 6 >Jan 30 22:19:59 ldaemon kernel: rl0: <Accton MPX 5030/5038 >10/100BaseTX> port 0xb800-0xb8ff mem 0xd4800000-0xd48000ff irq 9 at >device 10.0 on pci2 >Jan 30 22:19:59 ldaemon kernel: rl0: couldn't map interrupt >Jan 30 22:19:59 ldaemon kernel: device_attach: rl0 attach returned 6 >Jan 30 22:19:59 ldaemon kernel: pcm0: <Creative EMU10K1> port >0xb400-0xb41f irq 9 at device 12.0 on pci2 >Jan 30 22:19:59 ldaemon kernel: pcm0: <Cirrus Logic CS4297A AC97 Codec> >Jan 30 22:19:59 ldaemon kernel: pcm0: unable to map interrupt >Jan 30 22:19:59 ldaemon kernel: device_attach: pcm0 attach returned 6 >Jan 30 22:19:59 ldaemon kernel: pci2: <input device> at device 12.1 >(no driver attached) >Jan 30 22:19:59 ldaemon kernel: bge0: <Broadcom BCM5702 Gigabit >Ethernet, ASIC rev. 0x1002> mem 0xd5000000-0xd500ffff irq 9 at >device 5.0 on pci2 >Jan 30 22:19:59 ldaemon kernel: bge0: couldn't map interrupt >Jan 30 22:19:59 ldaemon kernel: device_attach: bge0 attach returned 6 >Jan 30 22:19:59 ldaemon kernel: rl0: <Accton MPX 5030/5038 >10/100BaseTX> port 0xb800-0xb8ff mem 0xd4800000-0xd48000ff irq 9 at >device 10.0 on pci2 >Jan 30 22:19:59 ldaemon kernel: rl0: couldn't map interrupt >Jan 30 22:19:59 ldaemon kernel: device_attach: rl0 attach returned 6 >Jan 30 22:19:59 ldaemon kernel: pcm0: <Creative EMU10K1> port >0xb400-0xb41f irq 9 at device 12.0 on pci2 >Jan 30 22:19:59 ldaemon kernel: pcm0: <Cirrus Logic CS4297A AC97 Codec> >Jan 30 22:19:59 ldaemon kernel: pcm0: unable to map interrupt >Jan 30 22:19:59 ldaemon kernel: device_attach: pcm0 attach returned 6 > >and then the computer freezes. I have tried to do not load the sound >card driver, but it didn't fix it. I have also tried to comment out >"device apic" in the kernel config file. Now I do not get these >error messages. Instead I get messages like this: > >Jan 30 23:38:42 ldaemon kernel: rl0: watchdog timeout > >and the ethernet cards don't respond properly. > >With the Dec 9 kernel (where apic is enabled), I get the following >at boot time: > >ioapic0 <Version 2.0> irqs 0-23 on motherboard >acpi0: Overriding SCI Interrupt from IRQ 9 to IRQ 22 >uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port >0xd800-0xd81f irq 16 at device 29.0 on pci0 >uhci1: <Intel 82801DB (ICH4) USB controller USB-B> port >0xd400-0xd41f irq 19 at device 29.1 on pci0 >uhci2: <Intel 82801DB (ICH4) USB controller USB-C> port >0xd000-0xd01f irq 18 at device 29.2 on pci0 >bge0: <Broadcom BCM5702 Gigabit Ethernet, ASIC rev. 0x1002> mem >0xd5000000-0xd500ffff irq 20 at device 5.0 on pci2 >rl0: <Accton MPX 5030/5038 10/100BaseTX> port 0xb800-0xb8ff mem >0xd4800000-0xd48000ff irq 22 at device 10.0 on pci2 >sio0: configured irq 21 not in bitmap of probed irqs 0 >sio0: <3COM PCI FaxModem> port 0xa800-0xa807 irq 21 at device 13.0 on pci2 >atapci0: <Intel ICH4 UDMA100 controller> port >0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f irq 18 at device 31.1 on pci0 >fdc0: <floppy drive controller> port 0x3f2-0x3f5,0x3f7 irq 6 drq 2 on acpi0 >ppc0: <ECP parallel printer port> port 0x378-0x37f,0x778-0x77b irq 7 >drq 3 on acpi0 >sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 >atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 >atkbd0: <AT Keyboard> irq 1 on atkbdc0 >psm0: <PS/2 Mouse> irq 12 on atkbdc0 >sio1: configured irq 3 not in bitmap of probed irqs 0 >nvidia0: <GeForce2 GTS/GeForce2 Pro> mem >0xd6000000-0xd6ffffff,0xd8000000-0xdfffffff irq 16 at device 0.0 on pci1 >pcm0: <Creative EMU10K1> port 0xb400-0xb41f irq 20 at device 12.0 on pci2 > >I have used FreeBSD 4.x, 5.x and 6 in the past on this computer with >exactly the same hardware configuration without any problem. How can I fix it? > >Thanks!! > >Pierre-Luc Drouin >_______________________________________________ >freebsd-stable@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-stable >To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"