From owner-freebsd-stable@FreeBSD.ORG Tue Jan 31 05:48:16 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E406B16A420 for ; Tue, 31 Jan 2006 05:48:15 +0000 (GMT) (envelope-from pldrouin@pldrouin.net) Received: from smtp.cyberfingers.net (smtp.cyberfingers.net [198.177.254.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A7FB43D45 for ; Tue, 31 Jan 2006 05:48:15 +0000 (GMT) (envelope-from pldrouin@pldrouin.net) Received: from [192.168.1.100] (modemcable009.254-201-24.mc.videotron.ca [24.201.254.9]) by smtp.cyberfingers.net (Postfix) with ESMTP id ED7C41700A8 for ; Tue, 31 Jan 2006 00:48:20 -0500 (EST) Message-ID: <43DEFA14.9070109@pldrouin.net> Date: Tue, 31 Jan 2006 00:48:04 -0500 From: Pierre-Luc Drouin User-Agent: Thunderbird 1.5 (X11/20060114) MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: "couldn't map interrupt" problems with updated 6.0 kernel X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jan 2006 05:48:16 -0000 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: 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: 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: port 0xb400-0xb41f irq 9 at device 12.0 on pci2 Jan 30 22:19:59 ldaemon kernel: pcm0: 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: at device 12.1 (no driver attached) Jan 30 22:19:59 ldaemon kernel: bge0: 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: 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: port 0xb400-0xb41f irq 9 at device 12.0 on pci2 Jan 30 22:19:59 ldaemon kernel: pcm0: 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 irqs 0-23 on motherboard acpi0: Overriding SCI Interrupt from IRQ 9 to IRQ 22 uhci0: port 0xd800-0xd81f irq 16 at device 29.0 on pci0 uhci1: port 0xd400-0xd41f irq 19 at device 29.1 on pci0 uhci2: port 0xd000-0xd01f irq 18 at device 29.2 on pci0 bge0: mem 0xd5000000-0xd500ffff irq 20 at device 5.0 on pci2 rl0: 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: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f irq 18 at device 31.1 on pci0 fdc0: port 0x3f2-0x3f5,0x3f7 irq 6 drq 2 on acpi0 ppc0: 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: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 psm0: irq 12 on atkbdc0 sio1: configured irq 3 not in bitmap of probed irqs 0 nvidia0: mem 0xd6000000-0xd6ffffff,0xd8000000-0xdfffffff irq 16 at device 0.0 on pci1 pcm0: 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