IRQ mapping problem under amd64

Dennis Glatting freebsd at penx.com
Thu Nov 30 11:41:24 PST 2006


I have a Dell 2950 running the amd64 bit kernel. It works fine except
when a card is plugged into the riser slot. There, the system fails to
boot -- it locks up.

The system will work if I boot with ACPI disabled but the caveat is I
loose all but one processor. That's a problem.

In tracking down the problem I found the following discrepancy.
Sometimes when the system fails to boot it fails immediately after the
message "Waiting 2 seconds for SCSI devices to settle." My suspicion is
my interrupts are getting remapped and that is confusing the system.
I've attached a boot pass (ACPI disabled) and a boot failed output.

Any hints on how to fix this?



Boot ok (ACPI disabled):

ahc0: <Adaptec 3960D Ultra160 SCSI adapter> port 0xec00-0xecff mem
0xfc4ff000-0xfc4fffff irq 5 at device 3.0 on pci15
ahc1: <Adaptec 3960D Ultra160 SCSI adapter> port 0xe800-0xe8ff mem
0xfc4fe000-0xfc4fefff irq 11 at device 3.1 on pci15

Boot fail (ACPI enabled):

ahc0: <Adaptec 3960D Ultra160 SCSI adapter> port 0xec00-0xecff mem
0xfc4ff000-0xfc4fffff irq 160 at device 3.0 on pci15
ahc1: <Adaptec 3960D Ultra160 SCSI adapter> port 0xe800-0xe8ff mem
0xfc4fe000-0xfc4fefff irq 161 at device 3.1 on pci15

Additionally, in boot failure I have these error messages:

ioapic0 <Version 2.0> irqs 0-23 on motherboard
ioapic1 <Version 2.0> irqs 64-87 on motherboard
ioapic2 <Version 2.0> irqs 160-183 on motherboard
ioapic3 <Version 2.0> irqs 224-247 on motherboard
....
MADT: Found IO APIC ID 5, Interrupt 64 at 0xfec81000
ioapic1: Changing APIC ID to 5
ioapic1: WARNING: intbase 64 != expected base 24
....
MADT: Found IO APIC ID 6, Interrupt 160 at 0xfec84000
ioapic2: Changing APIC ID to 6
ioapic2: WARNING: intbase 160 != expected base 88
....

....
MADT: Found IO APIC ID 7, Interrupt 224 at 0xfec84800
ioapic3: Changing APIC ID to 7
ioapic3: WARNING: intbase 224 != expected base 184





-------------- next part --------------
A non-text attachment was scrubbed...
Name: boot.fail
Type: application/octet-stream
Size: 56621 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20061130/7ef67820/boot-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: boot.ok.1
Type: application/octet-stream
Size: 41327 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20061130/7ef67820/boot.ok-0001.obj


More information about the freebsd-questions mailing list