Subject: port-i386/33918: ACPI code causes kernel panics during system startup
To: None <port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <tron@colwyn.zhadum.org.uk>
List: netbsd-bugs
Date: 07/04/2006 19:25:00
>Number: 33918
>Category: port-i386
>Synopsis: ACPI code causes kernel panics during system startup
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: port-i386-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jul 04 19:25:00 +0000 2006
>Originator: tron@colwyn.zhadum.org.uk
>Release: NetBSD 3.99.21 2006-07-04 sources
>Organization:
Matthias Scheler http://scheler.de/~matthias/
>Environment:
System: NetBSD lyssa.zhadum.org.uk 3.99.21 NetBSD 3.99.21 (LYSSA) #0: Thu Jun 29 10:35:52 BST 2006 tron@lyssa.zhadum.org.uk:/src/sys/compile/LYSSA i386
Architecture: i386
Machine: i386
>Description:
If I try too boot a kernel build from NetBSD-current sources from 2006-07-03
or newer my system panics early during system startup with this message:
BIOS32 rev. 0 found at 0xf0010
mainbus0 (root)
panic: x86_mem_add_mapping: overflow
The stack trace looks like this:
x86_mem_add_mapping
acpi_md_OsMapMemory
AcpiTbGetThisTable
I don't have a crash dump because the machine dies before it starts
looking for disks.
I tried two standard kernel configurations afterwards:
1.) "GENERIC" (which doesn't include any ACPI support) works fine.
2.) "GENERIC.MPACPI" dies after a NULL pointer access in the function
AcpiTbVerifyTableChecksum(). Hisashi T Fujinaka reported a
similar problem on the "current-users" mailing list.
>How-To-Repeat:
Build the "GENERIC.MPACPI" kernel and boot it.
>Fix:
None provided.