[DragonFlyBSD - Bug #2409] assertion "cpuid < ncpus" failed in ioapic_abi_legacy_intr_config on Pentium 4

Sepherosa Ziehau via Redmine bugtracker-admin at leaf.dragonflybsd.org
Mon Aug 27 23:40:40 PDT 2012


Issue #2409 has been updated by Sepherosa Ziehau.


On Sat, Aug 25, 2012 at 1:28 AM, David Shao via Redmine
<bugtracker-admin at leaf.dragonflybsd.org> wrote:
>
> Issue #2409 has been reported by David Shao.
>
> ----------------------------------------
> Bug #2409:  assertion "cpuid < ncpus" failed in ioapic_abi_legacy_intr_config on Pentium 4
> http://bugs.dragonflybsd.org/issues/2409
>
> Author: David Shao
> Status: New
> Priority: Normal
> Assignee:
> Category:
> Target version:
>
>
> Using i386 through dcece5c7521207769edc2756956f76ef8b485ce1 mutex.9: Misc updates and minor improvements,
> problem has existed a while on Pentium 4, Asus P4B266 motherboard, since lapic overhaul,
> required to
> set hw.apic_io_enable=0
> for without have kernel panic, partial trace:
>
>         powerspec 2  supports D0 D1 D2 D3  current D0
>         map[10]: type Memory, range 32, base 0xdd800000, size 12, enabled
> pcib2: requested memory range 0xdd800000-0xdd800fff: good
> pcib2: matched entry for 2.4.INTB
> pcib2: slot 4 INTB hardwired to IRQ 22
> panic: assertion "cpuid < ncpus" failed in ioapic_abi_legacy_intr_config at
>    /usr/src/platform/pc32/apic/ioapic_abi.c:921
> cpuid = 0
> Trace beginning at frame 0xc0f485a4
> panic(ffffffff,0,c07a6724,c0f485d8,c0939900) at panic+0x1a8 0xc03d32b0
> panic(c07a6724,c07dcbc1,c0869f0f,c0869730,399,0,0,0,1d,16,1,c0f4863d,a) at panic+0x1a8 0xc03d32b0
> ioapic_abi_legacy_intr_config(16,2,2,c0f48648,c03f1d8e) at ioapic_abi_legacy_intr_config+0x23a 0xc0769fca

I have pushed several commits to master, hopefully it could fix the panic.

Best Regards,
sephe

> nexus_config_intr
> bus_generic_config_intr
> bus_generic_config_intr
> bus_generic_config_intr
> bus_generic_config_intr
> bus_generic_config_intr
> acpi_pcib_route_interrupt
> acpi_pcib_pci_route_interrupt
> pci_assign_interrupt_method
> pci_assign_interrupt
> pci_add_resources
> pci_add_child
> pci_add_children
> acpi_pci_attach
> device_doattach
> device_probe_and_attach
> bus_generic_attach
> acpi_pcib_attach
> acpi_pcib_pci_attach
> device_doattach
> device_probe_and_attach
> bus_generic_attach
> acpi_pci_attach
> device_doattach
> device_probe_and_attach
> bus_generic_attach
> acpi_pcib_attach
> acpi_pcib_acpi_attach
> device_doattach
> device_probe_and_attach
> bus_generic_attach
> acpi_attach
> device_doattach
> device_probe_and_attach
> bus_generic_attach
> nexus_attach
> device_doattach
> device_probe_and_attach
> root_bus_configure
> configure(0,f44c00,f44c00,f5500,f55000) at configure+0xb 0xc074ecd0
> mi_startup(f44000,0,0,0,0) at mi_startup+0x89 0xc03a9930
> begin() at begin+0x42 0xc016a68b
> Debugger("panic")
>
> CPU0 stopping CPUs: 0x00000000
>  stopped
> Stopped at      Debugger+0x3f:  movb  $0,in_Debugger.4994
>
>
> --
> You have received this notification because you have either subscribed to it, or are involved in it.
> To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



-- 
Tomorrow Will Never Die
----------------------------------------
Bug #2409:  assertion "cpuid < ncpus" failed in ioapic_abi_legacy_intr_config on Pentium 4
http://bugs.dragonflybsd.org/issues/2409

Author: David Shao
Status: New
Priority: Normal
Assignee: 
Category: 
Target version: 


Using i386 through dcece5c7521207769edc2756956f76ef8b485ce1 mutex.9: Misc updates and minor improvements,
problem has existed a while on Pentium 4, Asus P4B266 motherboard, since lapic overhaul,
required to
set hw.apic_io_enable=0
for without have kernel panic, partial trace:

        powerspec 2  supports D0 D1 D2 D3  current D0
        map[10]: type Memory, range 32, base 0xdd800000, size 12, enabled
pcib2: requested memory range 0xdd800000-0xdd800fff: good
pcib2: matched entry for 2.4.INTB
pcib2: slot 4 INTB hardwired to IRQ 22
panic: assertion "cpuid < ncpus" failed in ioapic_abi_legacy_intr_config at
   /usr/src/platform/pc32/apic/ioapic_abi.c:921
cpuid = 0
Trace beginning at frame 0xc0f485a4
panic(ffffffff,0,c07a6724,c0f485d8,c0939900) at panic+0x1a8 0xc03d32b0
panic(c07a6724,c07dcbc1,c0869f0f,c0869730,399,0,0,0,1d,16,1,c0f4863d,a) at panic+0x1a8 0xc03d32b0
ioapic_abi_legacy_intr_config(16,2,2,c0f48648,c03f1d8e) at ioapic_abi_legacy_intr_config+0x23a 0xc0769fca
nexus_config_intr
bus_generic_config_intr
bus_generic_config_intr
bus_generic_config_intr
bus_generic_config_intr
bus_generic_config_intr
acpi_pcib_route_interrupt
acpi_pcib_pci_route_interrupt
pci_assign_interrupt_method
pci_assign_interrupt
pci_add_resources
pci_add_child
pci_add_children
acpi_pci_attach
device_doattach
device_probe_and_attach
bus_generic_attach
acpi_pcib_attach
acpi_pcib_pci_attach
device_doattach
device_probe_and_attach
bus_generic_attach
acpi_pci_attach
device_doattach
device_probe_and_attach
bus_generic_attach
acpi_pcib_attach
acpi_pcib_acpi_attach
device_doattach
device_probe_and_attach
bus_generic_attach
acpi_attach
device_doattach
device_probe_and_attach
bus_generic_attach
nexus_attach
device_doattach
device_probe_and_attach
root_bus_configure
configure(0,f44c00,f44c00,f5500,f55000) at configure+0xb 0xc074ecd0
mi_startup(f44000,0,0,0,0) at mi_startup+0x89 0xc03a9930
begin() at begin+0x42 0xc016a68b
Debugger("panic")

CPU0 stopping CPUs: 0x00000000
 stopped
Stopped at      Debugger+0x3f:  movb  $0,in_Debugger.4994


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account





More information about the Bugs mailing list