Opened 16 years ago

Closed 16 years ago

#3445 closed bug (fixed)

smp_do_mp_config does not check MPS table CPU entries for the enabled flag

Reported by: jkeeping Owned by: axeld
Priority: normal Milestone: R1
Component: System Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

In system/boot/platform/bios_ia32/smp.cpp if ACPI is disabled and the MPS tables are loaded, then the enabled flag is not checked for CPUs. This causes Haiku to fail to boot under KVM on Linux.

Attachments (1)

haiku-mps-check-enabled.patch (1.3 KB ) - added by jkeeping 16 years ago.
Updated patch which is much cleaner and doesn't rely on the enabled processors being the first ones.

Download all attachments as: .zip

Change History (3)

comment:1 by jkeeping, 16 years ago

The patch I've attached is sufficient in the case when the enabled CPUs are the first CPUs found. It is sufficient to allow Haiku to run as a KVM guest, but a more involved patch will be needed for proper support.

by jkeeping, 16 years ago

Updated patch which is much cleaner and doesn't rely on the enabled processors being the first ones.

comment:2 by phoudoin, 16 years ago

Resolution: fixed
Status: newclosed

Patch applied in hrev29222.

Thanks.

Note: See TracTickets for help on using tickets.