Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#16055 closed bug (fixed)

Only one CPU core is detected

Reported by: MatejHorvat Owned by: nobody
Priority: normal Milestone: R1/beta3
Component: System/Boot Loader/BIOS Version: R1/Development
Keywords: Cc: tqh
Blocked By: Blocking:
Platform: All

Description

Similar to #13257. On this dual-core computer, only one core is detected (hrev54154+31). I have updated the BIOS to the latest version and this doesn't fix it. However, FreeBSD detects both cores.

Attachments (1)

syslog (121.5 KB ) - added by MatejHorvat 4 years ago.

Download all attachments as: .zip

Change History (12)

by MatejHorvat, 4 years ago

Attachment: syslog added

comment:1 by waddlesplash, 4 years ago

Component: System/KernelSystem/Boot Loader/BIOS
KERN: smp: using ACPI to detect MP configuration
KERN: smp: Failed to find MADT!
KERN: smp_mp_probe: entry base 0x9fc00, limit 0xa0000
KERN: smp_mp_probe: entry base 0xf0000, limit 0x100000
KERN: smp_mp_probe: found floating pointer structure at 0x000fccf0
KERN: smp: intel mp version 1.4, virtual wire compatibility mode.
KERN: smp: invalid config table signature, aborting

comment:2 by MatejHorvat, 4 years ago

If it helps, this is what FreeBSD's dmesg says:

FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s)
Firmware Warning (ACPI): Incorrect checksum in table [XSDT] - 0x89, should be 0xFD (20171214/tbprint-337)
Firmware Warning (ACPI): Optional FADT field Pm2ControlBlock has valid Length but zero Address: 0x0000000000000000/0x1 (20171214/tbfadt-796)
ioapic0: Changing APIC ID to 0
ioapic0 <Version 2.1> irqs 0-23 on motherboard
SMP: AP CPU #1 Launched!
<...>
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0

comment:3 by waddlesplash, 4 years ago

Cc: tqh added

So, FreeBSD also says the checksum is invalid, but continues anyway. I'm not sure that's very wise...

tqh, what do you think we should do here?

comment:4 by tqh, 4 years ago

We don't use ACPICA for that I think. It is some early Haiku specific kernel code, so I think someone that knows about the multiprocessor config needs to take a look. Or we'd need to use ACPICA early in boot process instead.

comment:5 by korli, 4 years ago

acpica isn't available in the boot loader (and won't be).

comment:7 by tqh, 4 years ago

Use of ACPI tables to init hardware is parts where others know better. Not sure what the implications of ignoring a broken checksum would be. I probably would fail, but add a boot flag to circumvent failing.

comment:8 by korli, 4 years ago

merged in hrev54231

comment:9 by MatejHorvat, 4 years ago

Both cores are detected now. If this is a satisfactory solution, then this ticket can be closed.

comment:10 by diver, 4 years ago

Resolution: fixed
Status: newclosed

comment:11 by nielx, 4 years ago

Milestone: UnscheduledR1/beta3
Note: See TracTickets for help on using tickets.