Project

General

Profile

Bug #7183

Panic when booting illumos on linux KVM host

Added by Michael Kruger about 4 years ago. Updated about 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
kernel
Start date:
2016-07-14
Due date:
% Done:

0%

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

Description

When booting OpenIndiana Hipster as a KVM guest on a Linux Mint 17.2 host, receiving a kernel panic.
This is 100 % reproducible. Found when the CPU feature xsave is disabled, it resolves the problem. See details below:

Loading kmdb...
SunOS Release 5.11 Version illumos-538c7da 64-bit
Copyright (c) 1983, 2010, Oracle and/or its affiliates. All rights reserved.
trap: Unknown trap type 8 in user mode

panic[cpu0]/thread=fffffffffbc313e0: BAD TRAP: type=d (#gp General protection) rp=fffffffffbc3c770 addr=0

#gp General protection
pid=0, pc=0xfffffffffb86071d, sp=0xfffffffffbc3c868, eflags=0x10286
cr0: 8005003b<pg,wp,ne,et,ts,mp,pe> cr4: 406f8<osxsav,xmme,fxsr,pge,mce,pae,pse,de>
cr2: 0cr3: 4400000cr8: 0

rdi: 0 rsi: 0 rdx: 40
rcx: 2 r8: fffffffffbc3c9c8 r9: 2
rax: fffffffffbc313e0 rbx: 0 rbp: fffffffffbc3c8d0
r10: fffffffffb8558e8 r11: f000ff53f000ff00 r12: 0
r13: f000ff53f000ff00 r14: 0 r15: 0
fsb: 200000000 gsb: fffffffffbc32620 ds: 0
es: 0 fs: 0 gs: 0
trp: d err: 0 rip: fffffffffb86071d
cs: 30 rfl: 10286 rsp: fffffffffbc3c868
ss: 38

Warning - stack not written to the dump buffer
fffffffffbc3c650 unix:real_mode_stop_cpu_stage2_end+b243 ()
fffffffffbc3c760 unix:trap+a30 ()
fffffffffbc3c770 unix:_cmntrap+e6 ()
fffffffffbc3c8d0 unix:mutex_owner_running+d ()
fffffffffbc3c970 genunix:dump_one_core+71 ()
fffffffffbc3ca10 genunix:core+360 ()
fffffffffbc3cb60 unix:kern_gpfault+188 ()
fffffffffbc3cc70 unix:trap+a10 ()
fffffffffbc3cc80 unix:_cmntrap+e6 ()

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

Welcome to kmdb
kmdb: unable to determine terminal type: assuming `vt100'
Loaded modules: [ scsi_vhci mac uppc unix krtld apix genunix specfs pcplusmp
cpu.generic ]
[0]> ::status
debugging live kernel (64-bit) on (not set)
operating system: 5.11 illumos-538c7da (i86pc)
image uuid: (not set)
DTrace state: inactive
stopped on: debugger entry trap
[0]>

History

#1

Updated by Michael Kruger about 4 years ago

QEMU emulator version 2.0.0 (Debian 2.0.0+dfsg-2ubuntu1.24), Copyright (c) 2003-2008 Fabrice Bellard

Also available in: Atom PDF