Opened 11 years ago

Closed 11 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:
Has a Patch: no 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 11 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 Changed 11 years ago by jkeeping

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.

Changed 11 years ago by jkeeping

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

comment:2 Changed 11 years ago by phoudoin

Resolution: fixed
Status: newclosed

Patch applied in hrev29222.

Thanks.

Note: See TracTickets for help on using tickets.