Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jul 2006 21:54:27 GMT
From:      Tom Birrer <thomas.birrer@intel.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   amd64/100838: FreeBSD 6.0/6.1 kernel panics when booting with EIST enabled on Intel Bensley platform
Message-ID:  <200607252154.k6PLsRxV090079@www.freebsd.org>
Resent-Message-ID: <200607252200.k6PM0eUj012666@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         100838
>Category:       amd64
>Synopsis:       FreeBSD 6.0/6.1 kernel panics when booting with EIST enabled on Intel Bensley platform
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-amd64
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 25 22:00:40 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Tom Birrer
>Release:        FreeBSD 6.0 and 6.1
>Organization:
Intel Corporation
>Environment:
FreeBSD 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Mon Jul 24 09:04:56 PDT 2006
root@:/usr/obj/usr/src/sys/TBIRRER  amd64
>Description:
Right after selecting "1" at the boot menu to select the default OS install this kernel panic occurs:
    panic: kmem_malloc: entry not found or misaligned

The panic only occurs when EIST is enabled in the BIOS. EIST is fully functional in Windows and RedHat OS's with no problems on this same platform. With EIST disabled the OS installs without issue. The failure also occurs on ia32/i386 kernel.

I noticed that EIST support was first added to 6.0. I tried this version and it also fails. I tried 5.4(no EIST support) and it works fine.

Here's the stack trace after the panic occured:

db> trace
Tracing pid 0 tid 0 td 0xffffffff808b66c0
kdb_enter() at kdb_enter+0x2f
panic() at panic+0x1ec
kmem_malloc() at kmem_malloc+0x2fa
uma_large_malloc() at uma_large_malloc+0x45
malloc() at malloc+0xbf
AcpiUtAllocate() at AcpiUtAllocate+0x34
AcpiExLoadOp() at AcpiExLoadOp+0x17e
AcpiExOpcode_1A_1T_0R() at AcpiExOpcode_1A_1T_0R+0x63
AcpiDsExecEndOp() at AcpiDsExecEndOp+0x342
AcpiPsParseLoop() at AcpiPsParseLoop+0x279
AcpiPsParseAml() at AcpiPsParseAml+0x1ca
AcpiPsxExecute() at AcpiPsxExecute+0x207
AcpiNsExecuteControlMethod() at AcpiNsExecuteControlMethod+0x51
AcpiNsEvaluateByHandle() at AcpiNsEvaluateByHandle+0x9e
AcpiNsEvaluateRelative() at AcpiNsEvaluateRelative+0xc8
AcpiEvaluateObject() at AcpiEvaluateObject+0x87
acpi_cpu_attach() at acpi_cpu_attach+0x498
device_attach() at device_attach+0x292
bus_generic_attach() at bus_generic_attach+0x18
acpi_attach() at acpi_attach+0x7f1
device_attach() at device_attach+0x292
bus_generic_attach() at bus_generic_attach+0x18
nexus_attach() at nexus_attach+0x19
device_attach() at device_attach+0x292
root_bus_configure() at root_bus_configure+0x1e
configure() at configure+0xa
mi_startup() at mi_startup+0xd3
btext() at btext+0x2c



Here's a stack trace taken around the same spot with EIST disabled:

db> trace
Tracing pid 0 tid 0 td 0xffffffff808b66c0
kmem_malloc() at kmem_malloc
malloc() at malloc+0xbf
device_set_driver() at device_set_driver+0xc2
device_probe_and_attach() at device_probe_and_attach+0xb7
bus_generic_attach() at bus_generic_attach+0x18
acpi_pci_attach() at acpi_pci_attach+0xf1
device_attach() at device_attach+0x292
bus_generic_attach() at bus_generic_attach+0x18
acpi_pcib_attach() at acpi_pcib_attach+0xf0
acpi_pcib_acpi_attach() at acpi_pcib_acpi_attach+0xdb
device_attach() at device_attach+0x292
bus_generic_attach() at bus_generic_attach+0x18
acpi_attach() at acpi_attach+0x7f1
device_attach() at device_attach+0x292
bus_generic_attach() at bus_generic_attach+0x18
nexus_attach() at nexus_attach+0x19
device_attach() at device_attach+0x292
root_bus_configure() at root_bus_configure+0x1e
configure() at configure+0xa

Here's a screeen capture:

FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3
 cpu4 (AP): APIC ID:  4
 cpu5 (AP): APIC ID:  5
 cpu6 (AP): APIC ID:  6
 cpu7 (AP): APIC ID:  7
ioapic0: Changing APIC ID to 8
ioapic0 <Version 2.0> irqs 0-23 on motherboard
ioapic1 <Version 2.0> irqs 24-47 on motherboard
kbd1 at kbdmux0
acpi0: <INTEL TIANO> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0: <ACPI CPU> on acpi0
panic: kmem_malloc: entry not found or misaligned
cpuid = 0
Uptime: 1s
Automatic reboot in 15 seconds - press a key on the console to abort
--> Press a key on the console to reboot,
--> or switch off the system now.
>How-To-Repeat:
System Configuration:
Intel Bensley server platform
Intel Xeon 5000(Dempsey) processor. Also tried Xeon 5100(Woodcrest)-same failure.
EIST enabled

Boot to the install CD and hit "1" for the default install. Kernel panic occurs within seconds.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607252154.k6PLsRxV090079>