Project

General

Profile

Actions

Bug #4402

open

kernel panic at boot: assertion failed: lwptoregs(lwp) == rp

Added by Marcel Kroontje almost 9 years ago. Updated almost 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2013-12-13
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
External Bug:

Description

I was running oi_151a8 in KVM on Debian 7.2. This was running fine. I then downloaded the sources and
build a new Illumos kernel (hg clone ssh:/illumos-gate). Build was OK. Booting
from the new kernel was also OK. However after booting from the new kernel a number of times, suddenly
I get the following panic at each boot:

krtld: Unused kernel arguments: `zfs-bootfs=rpool/160,bootpath="/pci@0,0/pci-ide@1,1/ide@0/cmdk@0,0:a",diskdevid="id1,cmdk@AQEMU_HARDDISK=QM00001/a"'.
Loading kmdb...
SunOS Release 5.11 Version illumos-gate 64-bit
Copyright (c) 1983, 2010, Oracle and/or its affiliates. All rights reserved.
DEBUG enabled

panic[cpu0]/thread=fffffffffbc3dac0: assertion failed: lwptoregs(lwp) == rp, file: ../../i86pc/os/trap.c, line: 557

Warning - stack not written to the dump buffer
>> warning! 8-byte aligned %fp = fffffffffbc48e58
fffffffffbc48e58 genunix:process_type+17b780 ()
>> warning! 8-byte aligned %fp = fffffffffbc48f68
fffffffffbc48f68 unix:trap+12a ()
fffffffffbc7fd60 unix:_patch_xrstorq_rbx+1ca ()
fffffffffbc7fe80 unix:wrmsr+b ()
fffffffffbc7ff40 unix:ntv_wrmsr_xc+56 ()
fffffffffbc7ffe0 unix:call_func_ntv+164 ()
fffffffffbc80020 unix:ntv_wrmsr+3d ()
fffffffffbc80070 unix:cmi_hdl_wrmsr+4b ()
fffffffffbc80120 cpu.generic:gcpu_mca_init+62a ()
fffffffffbc80150 unix:cmi_mca_init+44 ()
fffffffffbc80180 unix:startup_modules+2e2 ()
fffffffffbc80190 unix:startup+4a ()
fffffffffbc801d0 genunix:main+9b ()
fffffffffbc801e0 unix:_locore_start+90 ()

panic: entering debugger (no dump device, continue to reboot)

Welcome to kmdb
kmdb: unable to determine terminal type: assuming `vt100'
Loaded modules: [ mac unix krtld genunix specfs cpu.generic ]
[0]> ::cpuinfo -v
ID ADDR FLG NRUN BSPL PRI RNRN KRNRN SWITCH THREAD PROC
0 fffffffffbc49120 1b 0 0 96 no no - fffffffffbc3dac0
(idle) |
RUNNING <--+
READY
EXISTS
ENABLE

[0]> ::threadlist -v
ADDR PROC LWP CLS PRI WCHAN
fffffffffbc3dac0 fffffffffbc3cb80 fffffffffbc3f5e0 0 96 0
PC: panicsys+0x109 CMD:
stack pointer for thread fffffffffbc3dac0: fffffffffbc7fd10
0xfffffffffb80028e()
wrmsr+0xb()
ntv_wrmsr_xc+0x56()
call_func_ntv+0x164()
ntv_wrmsr+0x3d()
cmi_hdl_wrmsr+0x4b()
cpu.generic`gcpu_mca_init+0x62a()
cmi_mca_init+0x44()
startup_modules+0x2e2()
startup+0x4a()
main+0x9b()
_locore_start+0x90()

[0]> ::msgbuf
MESSAGE
SunOS Release 5.11 Version illumos-gate 64-bit
Copyright (c) 1983, 2010, Oracle and/or its affiliates. All rights reserved.
DEBUG enabled
x86_feature: lgpg
x86_feature: tsc
x86_feature: msr
x86_feature: mtrr
x86_feature: pge
x86_feature: de
x86_feature: cmov
x86_feature: mmx
x86_feature: mca
x86_feature: pae
x86_feature: cv8
x86_feature: pat
x86_feature: sse
x86_feature: sse2
x86_feature: asysc
x86_feature: sse4a
x86_feature: cpuid
x86_feature: clfsh
x86_feature: 64
x86_feature: svm
mem = 2096756K (0x7ff9d000)
NOTICE: MAC Services loaded
NOTICE: Data-Link Services loaded
ACPI: RSDP fd990 00014 (v0 BOCHS )
ACPI: RSDT 7fffe5b0 00038 (v1 BOCHS BXPCRSDT 00000001 BXPC 00000001)
NOTICE: acpica: table [FACP] v1 OEM ID [BOCHS ] OEM TABLE ID [BXPCFACP] OEM rev
1
ACPI: FACP 7fffff80 00074 (v1 BOCHS BXPCFACP 00000001 BXPC 00000001)
NOTICE: acpica: table [DSDT] v1 OEM ID [BXPC] OEM TABLE ID [BXDSDT] OEM rev 1
ACPI: DSDT 7fffe5f0 01121 (v1 BXPC BXDSDT 00000001 INTL 20100528)
NOTICE: acpica: table [FACS] v0 OEM ID [] OEM TABLE ID [] OEM rev 0
ACPI: FACS 7fffff40 00040
NOTICE: acpica: table [SSDT] v1 OEM ID [BOCHS ] OEM TABLE ID [BXPCSSDT] OEM rev
1
ACPI: SSDT 7ffffea0 0009E (v1 BOCHS BXPCSSDT 00000001 BXPC 00000001)
NOTICE: acpica: table [APIC] v1 OEM ID [BOCHS ] OEM TABLE ID [BXPCAPIC] OEM rev
1
ACPI: APIC 7ffffdb0 00078 (v1 BOCHS BXPCAPIC 00000001 BXPC 00000001)
NOTICE: acpica: table [HPET] v1 OEM ID [BOCHS ] OEM TABLE ID [BXPCHPET] OEM rev
1
ACPI: HPET 7ffffd70 00038 (v1 BOCHS BXPCHPET 00000001 BXPC 00000001)
NOTICE: acpica: table [SSDT] v1 OEM ID [BXPC] OEM TABLE ID [BXSSDTPC] OEM rev 1
ACPI: SSDT 7ffff720 00644 (v1 BXPC BXSSDTPC 00000001 INTL 20100528)
Parsing all Control Methods:
Table [DSDT](id 1) - 146 Objects with 17 Devices 60 Methods 8 Regions
Parsing all Control Methods:
Table [SSDT](id 2) - 8 Objects with 0 Devices 4 Methods 0 Regions
Parsing all Control Methods:
Table [SSDT](id 3) - 125 Objects with 31 Devices 32 Methods 0 Regions
tbxface-0563 [02] TbLoadNamespace : ACPI Tables successfully acquired
evxfevnt-0088 [01] Enable : System is already in ACPI mode
evgpeblk-0449 [03] EvCreateGpeBlock : GPE 00 to 0F [_GPE] 2 regs on int 0x9
NOTICE: acpica: attaching SCI 9
NOTICE: acpica: ECDT not found
WARNING: acpica:ec_probe_ns: PNP0C09 not found
Completing Region/Field/Buffer/Package initialization:...................
Initialized 6/8 Regions 0/0 Fields 8/8 Buffers 5/5 Packages (288 nodes)
Initializing Device/Processor/Thermal objects by executing _INI methods:
Executed 0 _INI methods requiring 0 _STA executions (examined 51 objects)
evgpeblk-0541 [02] EvInitializeGpeBlock : Enabled 16 GPEs in this block
SMBIOS v2.4 loaded (263 bytes)
NOTICE: SMBIOS is not compatible with x86 generic topology.
NOTICE: Invoking legacy x86 topology enumeration.

panic[cpu0]/thread=fffffffffbc3dac0:
assertion failed: lwptoregs(lwp) == rp, file: ../../i86pc/os/trap.c, line: 557

Warning - stack not written to the dump buffer
>> warning! 8-byte aligned %fp = fffffffffbc48e58
fffffffffbc48e58 genunix:process_type+17b780 ()
>> warning! 8-byte aligned %fp = fffffffffbc48f68
fffffffffbc48f68 unix:trap+12a ()
fffffffffbc7fd60 unix:_patch_xrstorq_rbx+1ca ()
fffffffffbc7fe80 unix:wrmsr+b ()
fffffffffbc7ff40 unix:ntv_wrmsr_xc+56 ()
fffffffffbc7ffe0 unix:call_func_ntv+164 ()
fffffffffbc80020 unix:ntv_wrmsr+3d ()
fffffffffbc80070 unix:cmi_hdl_wrmsr+4b ()
fffffffffbc80120 cpu.generic:gcpu_mca_init+62a ()
fffffffffbc80150 unix:cmi_mca_init+44 ()
fffffffffbc80180 unix:startup_modules+2e2 ()
fffffffffbc80190 unix:startup+4a ()
fffffffffbc801d0 genunix:main+9b ()
fffffffffbc801e0 unix:_locore_start+90 ()

[0]>

Any info on what could cause this or any help on further debugging would be appreciated.

Thanks,
Marcel

Actions

Also available in: Atom PDF