NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-xen/41755: NetBSD/Xen Dom0 doesn't boot on large machines

>Number:         41755
>Category:       port-xen
>Synopsis:       NetBSD/Xen Dom0 doesn't boot on large machines
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-xen-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 20 13:00:00 +0000 2009
>Originator:     Christoph Egger
>Release:        -current
NetBSD/Xen amd64 Dom0

Booting Dom0 on a large machine panics with

   cpu12 at mainbus0 apid 32panic: cpu at apic id 32 already attached?

A native GENERIC kernel boots fine with all CPUs enabled.
The problem is the phycpu_info array in sys/arch/xen/x86/cpu.c
makes the wrong assumption that the array index matches the apic id.

On the big machine, cpu0 starts with apic id 20 and cpu23 ends with
apic id 44.




Home | Main Index | Thread Index | Old Index