Subject: Re: port-i386/37001 (acpi enabled kernel locks up bringing up fxp0
To: None <joerg@NetBSD.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: Mathias De Belder <mathias@woei.be>
List: netbsd-bugs
Date: 11/13/2007 19:15:06
The following reply was made to PR port-i386/37001; it has been noted by GNATS.
From: Mathias De Belder <mathias@woei.be>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: port-i386/37001 (acpi enabled kernel locks up bringing up fxp0
NIC)
Date: Tue, 13 Nov 2007 20:13:00 +0100
On Sun, Nov 11, 2007 at 03:40:04PM +0000, Joerg Sonnenberger wrote:
> On Fri, Nov 09, 2007 at 07:05:04PM +0000, Mathias De Belder wrote:
>> I just built and tested two CURRENT kernels (with sources of today), but
>> they exhibit exactly the same problem. When your patch is applied to
>> acpi_pci_link.c, the IRQ assigned to fxp0 (and auich0) is 5.
>
> Does auich work with the patch? I want to make sure that the interrupt
> routing is working.
Yes, with your attached patch, on a CURRENT kernel, the soundcard
produces audio when it is configured to use IRQ 5. However, as
previously mentioned, when fxp0 is also on IRQ 5 the machine locks up
when assigning an IP.
Now, I've also booted a 2.6.22 linux kernel (although one for use during
system installation, but with ACPI nonetheless), which is known to work
on this machine to see what the IRQ assignment is on such a kernel.
I've attached part of the dmesg output that kernel generated.
[...]
new device driver usb
[ 28.722173] USB Universal Host Controller Interface driver v3.0
[ 28.722336] ACPI: PCI Interrupt 0000:00:1d.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
[ 28.722459] PCI: Setting latency timer of device 0000:00:1d.0 to 64
[ 28.722467] uhci_hcd 0000:00:1d.0: UHCI Host Controller
[ 28.722788] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1
[ 28.722880] uhci_hcd 0000:00:1d.0: irq 11, io base 0x0000bf80
[ 28.723165] usb usb1: configuration #1 chosen from 1 choice
[ 28.723270] hub 1-0:1.0: USB hub found
[ 28.723342] hub 1-0:1.0: 2 ports detected
[ 28.827987] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
[ 28.828045] ACPI: PCI Interrupt 0000:00:1d.1[B] -> Link [LNKD] -> GSI 11 (level, low) -> IRQ 11
[ 28.828169] PCI: Setting latency timer of device 0000:00:1d.1 to 64
[ 28.828177] uhci_hcd 0000:00:1d.1: UHCI Host Controller
[ 28.828273] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 2
[ 28.828364] uhci_hcd 0000:00:1d.1: irq 11, io base 0x0000bf40
[ 28.828636] usb usb2: configuration #1 chosen from 1 choice
[ 28.828744] hub 2-0:1.0: USB hub found
[ 28.828798] hub 2-0:1.0: 2 ports detected
[ 28.931939] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
[ 28.931999] ACPI: PCI Interrupt 0000:00:1d.2[C] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11
[ 28.932121] PCI: Setting latency timer of device 0000:00:1d.2 to 64
[ 28.932130] uhci_hcd 0000:00:1d.2: UHCI Host Controller
[ 28.932224] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 3
[ 28.932315] uhci_hcd 0000:00:1d.2: irq 11, io base 0x0000bf20
[ 28.932586] usb usb3: configuration #1 chosen from 1 choice
[ 28.932692] hub 3-0:1.0: USB hub found
[ 28.932745] hub 3-0:1.0: 2 ports detected
[ 28.965439] e100: Intel(R) PRO/100 Network Driver, 3.5.17-k4-NAPI
[ 28.965492] e100: Copyright(c) 1999-2006 Intel Corporation
[ 29.037370] ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 11
[ 29.037429] ACPI: PCI Interrupt 0000:00:1d.7[D] -> Link [LNKH] -> GSI 11 (level, low) -> IRQ 11
[ 29.037552] PCI: Setting latency timer of device 0000:00:1d.7 to 64
[ 29.037561] ehci_hcd 0000:00:1d.7: EHCI Host Controller
[ 29.037975] ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 4
[ 29.038089] ehci_hcd 0000:00:1d.7: debug port 1
[ 29.038140] PCI: cache line size of 32 is not supported by device 0000:00:1d.7
[ 29.038156] ehci_hcd 0000:00:1d.7: irq 11, io mem 0xfaeffc00
[ 29.067326] usb 1-1: new low speed USB device using uhci_hcd and address 2
[ 29.067399] ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[ 29.067674] usb usb4: configuration #1 chosen from 1 choice
[ 29.067781] hub 4-0:1.0: USB hub found
[ 29.067836] hub 4-0:1.0: 6 ports detected
[ 29.171802] Yenta: CardBus bridge found at 0000:01:01.0 [1028:0163]
[ 29.171876] Yenta: Using CSCINT to route CSC interrupts to PCI
[ 29.171925] Yenta: Routing CardBus interrupts to PCI
[ 29.171975] Yenta TI: socket 0000:01:01.0, mfunc 0x012c1222, devctl 0x64
[ 29.330234] input: PS/2 Mouse as /class/input/input2
[ 29.348284] input: AlpsPS/2 ALPS GlidePoint as /class/input/input3
[ 29.403961] Yenta: ISA IRQ mask 0x04f8, PCI irq 11
[ 29.404013] Socket status: 30000086
[ 29.404057] Yenta: Raising subordinate bus# of parent bus (#01) from #01 to #05
[ 29.404128] pcmcia: parent PCI bridge I/O window: 0xe000 - 0xefff
[ 29.404178] cs: IO port probe 0xe000-0xefff: clean.
[ 29.404944] pcmcia: parent PCI bridge Memory window: 0xfc000000 - 0xfdffffff
[ 29.404997] pcmcia: parent PCI bridge Memory window: 0x50000000 - 0x53ffffff
[ 29.407128] ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 11
[ 29.407182] ACPI: PCI Interrupt 0000:01:08.0[A] -> Link [LNKE] -> GSI 11 (level, low) -> IRQ 11
[ 29.447148] e100: eth0: e100_probe: addr 0xfcffe000, irq 11, MAC addr 00:0F:1F:C3:3D:0B
[ 29.683261] usb 4-3: new high speed USB device using ehci_hcd and address 3
[ 29.700793] cs: IO port probe 0x100-0x3af: clean.
[ 29.701831] cs: IO port probe 0x3e0-0x4ff: clean.
[ 29.702328] cs: IO port probe 0x820-0x8ff: excluding 0x8e0-0x8e7
[ 29.703536] cs: IO port probe 0xc00-0xcf7: clean.
[ 29.704171] cs: IO port probe 0xa00-0xaff: clean.
[ 29.783793] ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3] C4[C3])
[ 29.783956] ACPI: Processor [CPU0] (supports 8 throttling states)
[ 29.792372] ACPI: Thermal Zone [THM] (47 C)
[ 29.827439] usb 4-3: configuration #1 chosen from 1 choice
[ 30.067241] usb 1-1: new low speed USB device using uhci_hcd and address 3
[ 30.251121] usb 1-1: configuration #1 chosen from 1 choice
[ 30.256342] usbcore: registered new interface driver libusual
[ 30.270008] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
[ 30.270018] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
[ 30.285037] SCSI subsystem initialized
[ 30.288372] Initializing USB Mass Storage driver...
[ 30.288508] scsi0 : SCSI emulation for USB Mass Storage devices
[ 30.288601] usb-storage: device found at 3
[ 30.288607] usb-storage: waiting for device to settle before scanning
[ 30.288649] usbcore: registered new interface driver usb-storage
[ 30.288655] USB Mass Storage support registered.
[ 30.318684] usbcore: registered new interface driver hiddev
[ 30.356827] input: Microsoft Microsoft® Digital Media Pro Keyboard as /class/input/input4
[ 30.357069] input: USB HID v1.11 Keyboard [Microsoft Microsoft® Digital Media Pro Keyboard] on usb-0000:00:1d.0-1
[ 30.387265] input: Microsoft Microsoft® Digital Media Pro Keyboard as /class/input/input5
[ 30.387479] input: USB HID v1.11 Device [Microsoft Microsoft® Digital Media Pro Keyboard] on usb-0000:00:1d.0-1
[ 30.387663] usbcore: registered new interface driver usbhid
[ 30.387807] /build/buildd/linux-source-2.6.22-2.6.22/drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
[ 31.485425] usbcore: registered new interface driver usbkbd
[ 31.485641] /build/buildd/linux-source-2.6.22-2.6.22/drivers/hid/usbhid/usbkbd.c: :USB HID Boot Protocol keyboard driver
[ 31.507205] usbcore: registered new interface driver usbserial
[ 31.508370] /build/buildd/linux-source-2.6.22-2.6.22/drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
[ 31.509516] usbcore: registered new interface driver usbserial_generic
[ 31.509526] /build/buildd/linux-source-2.6.22-2.6.22/drivers/usb/serial/usb-serial.c: USB Serial Driver core
[ 32.023607] vga16fb: initializing
[ 32.023618] vga16fb: mapped to 0xc00a0000
[ 32.025191] fb0: VGA16 VGA frame buffer device
[ 32.144761] Console: switching to colour frame buffer device 80x30
[ 35.286942] usb-storage: device scan complete
[ 35.290880] scsi 0:0:0:0: Direct-Access USB Flash Memory 1.04 PQ: 0 ANSI: 0 CCS
[ 35.338853] sd 0:0:0:0: [sda] 1001472 512-byte hardware sectors (513 MB)
[ 35.342826] sd 0:0:0:0: [sda] Write Protect is off
[ 35.342835] sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
[ 35.342842] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 35.350824] sd 0:0:0:0: [sda] 1001472 512-byte hardware sectors (513 MB)
[ 35.354828] sd 0:0:0:0: [sda] Write Protect is off
[ 35.354837] sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
[ 35.354843] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 35.355217] sda: unknown partition table
[ 35.367322] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 11.788000] Marking TSC unstable due to: possible TSC halt in C2.
[ 11.816000] Time: acpi_pm clocksource has been installed.
[ 47.256000] floppy0: no floppy controllers found
[ 47.308000] ide-floppy driver 0.99.newide
[ 50.376000] NET: Registered protocol family 17
[ 50.476000] e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex
Mathias