#5865 closed bug (fixed)
PANIC: add_used_mtrr - out of MTRRs!
Reported by: | tonestone57 | Owned by: | bonefish |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | System/Kernel | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | x86 |
Description
Alpha2 RC 36542
Laptop crashes when booting Haiku with ACPI on. Disabling ACPI, from safe mode, allows laptop to fully boot into Haiku.
Screenshot of crash attached showing stack crawl. I will look at adding syslog to ticket in next day or so if I can.
I assigned to ACPI driver but maybe System/Kernel issue?
Attachments (3)
Change History (10)
by , 15 years ago
Attachment: | mtrr-alpha2.jpg added |
---|
by , 15 years ago
comment:1 by , 15 years ago
Component: | Drivers/ACPI → System/Kernel |
---|---|
Owner: | changed from | to
comment:2 by , 15 years ago
Owner: | changed from | to
---|---|
Status: | new → in-progress |
Version: | R1/alpha1 → R1/Development |
Similar to #5703. I'll try to improve the MTRR algorithm later.
A related question: Is it necessary to map all ACPI memory uncachable?
follow-up: 5 comment:3 by , 15 years ago
I can't find any specifics about how the mapping is to be done in 'ACPI Component Architecture Programmer Reference'. So I'd say no.
by , 15 years ago
Attachment: | syslog-acpi added |
---|
comment:4 by , 15 years ago
Added to ticket syslog-acpi which is probably more helpful for you.
Booted with ACPI on, used continue (co) 3 times from KDL to boot into Haiku.
comment:5 by , 15 years ago
Replying to tqh:
I can't find any specifics about how the mapping is to be done in 'ACPI Component Architecture Programmer Reference'. So I'd say no.
Mmh, it might as well rely on the OS to know what physical memory ranges need what caching attributes. The e820 memory map can list two kinds of ACPI ranges, "reclaim" and "NVS", the former apparently being normal RAM. Not sure about the other. The ACPI 4.0 specs also mention in section 14.2 that the map contains extended attributes for the ranges. So it might be possible to infer the caching attributes from those.
comment:6 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | in-progress → closed |
Should be fixed in hrev36591 (trunk).
comment:7 by , 15 years ago
Thanks, I will assume you have fixed this for now until I can verify with nightly image or may set up another build system to test with later on.
The syslog seems to only be with ACPI disabled.
Also changing to system/kernel as I suspect it's more related to MTRR handling.