[hardy] kvm crashes when booting an opensuse CD

Bug #193518 reported by Baptiste Mille-Mathias

This bug report was converted into a question: question #63300: [hardy] kvm crashes when booting an opensuse CD.

2
Affects Status Importance Assigned to Milestone
kvm (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: kvm

I downloaded http://download.opensuse.org/distribution/10.3/iso/cd/openSUSE-10.3-GM-x86_64-mini.iso
and then ran
 /usr/bin/kvm -cdrom ~/Téléchargement/openSUSE-10.3-GM-x86_64-mini.iso -hda opensuse.hd -m 384 -cpu qemu32
kvm immediatly crashes with this error
exception 13 (33)
rax 0000000000000671 rbx 0000000000800000 rcx 0000000000000000 rdx 00000000000013ca
rsi 0000000000055e1c rdi 0000000000055e1d rsp 00000000fffa0080 rbp 000000000000200b
r8 0000000000000000 r9 0000000000000000 r10 0000000000000000 r11 0000000000000000
r12 0000000000000000 r13 0000000000000000 r14 0000000000000000 r15 0000000000000000
rip 000000000000b071 rflags 00033096
cs 4004 (00040040/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
ds 4004 (00040040/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
es 00ff (00000ff0/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
ss ff11 (000ff110/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
fs 3002 (00030020/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
gs 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
tr 0000 (fffbd000/00002088 p 1 dpl 0 db 0 s 0 type b l 0 g 0 avl 0)
ldt 0000 (00000000/0000ffff p 1 dpl 0 db 0 s 0 type 2 l 0 g 0 avl 0)
gdt 40920/47
idt 0/ffff
cr0 60000010 cr2 0 cr3 0 cr4 0 cr8 0 efer 0
code: 17 06 29 4b 01 18 eb 18 a8 25 aa 19 28 4c 01 28 4d 01 01 17 --> 0f 17 0f 01 17 0f 17 12 01 17 2c 25 4b 19 21 00 02 17 1a 94 0a 76 67 61 3d 30 78 25 78 20
Abandon (core dumped)

in gdb I have this error
(gdb) thread apply all bt

Thread 1 (Thread 0xb7a9b6b0 (LWP 23177)):
#0 0xb7f18410 in __kernel_vsyscall ()
#1 0xb7badf35 in raise () from /lib/tls/i686/cmov/libc.so.6
#2 0xb7baf8b1 in abort () from /lib/tls/i686/cmov/libc.so.6
#3 0x0815feda in kvm_run (kvm=0x9e0a028, vcpu=0) at libkvm.c:881
#4 0x080dd277 in kvm_cpu_exec (env=0x0)
    at /build/buildd/kvm-60+dfsg/qemu/qemu-kvm.c:143
#5 0x080dddf3 in kvm_main_loop_cpu (env=0x9ec7da0)
    at /build/buildd/kvm-60+dfsg/qemu/qemu-kvm.c:343
#6 0x080591c3 in main (argc=9, argv=0xbfe5eb64)
    at /build/buildd/kvm-60+dfsg/qemu/vl.c:7817
#7 0xb7b99450 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#8 0x0804ced1 in _start ()

it crashes when the kvm kernel module is loaded, I uses kvm_intel as I owns a core duo 2
~> cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz
stepping : 6
cpu MHz : 2135.047
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm
bogomips : 4273.23
clflush size : 64

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz
stepping : 6
cpu MHz : 2135.047
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm
bogomips : 4270.11
clflush size : 64

kvm version is 1:60+dfsg-0ubuntu1, linux kernel is 2.6.24-8.14

ProblemType: Bug
Architecture: i386
Date: Wed Feb 20 00:13:57 2008
DistroRelease: Ubuntu 8.04
NonfreeKernelModules: nvidia
Package: kvm 1:60+dfsg-0ubuntu1
PackageArchitecture: i386
SourcePackage: kvm
Uname: Linux mushroom 2.6.24-8-generic #1 SMP Thu Feb 14 20:40:45 UTC 2008 i686 GNU/Linux

Tags: apport-bug
Revision history for this message
Baptiste Mille-Mathias (bmillemathias) wrote :
Revision history for this message
Soren Hansen (soren) wrote : Re: [Bug 193518] [NEW] [hardy] kvm crashes when booting an opensuse CD

This is a known problem with the version of gfxboot used in opensuse.

status confirmed

--
Soren Hansen
Virtualisation specialist
Ubuntu Server Team
http://www.ubuntu.com/

Soren Hansen (soren)
Changed in kvm:
status: New → Confirmed
Changed in kvm:
importance: Undecided → Medium
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

From https://help.ubuntu.com/community/KVM/FAQ

    * Q: I'm on Intel hardware, and I'm trying to boot Dapper, Edgy, Feisty, Gutsy, OpenSUSE, etc... but kvm fails immediately.
    * A: Yes, this is rather unfortunate. The issue is a limitation in Intel's virtualisation extensions that don't interact very well with gfxboot. The evil, hacky workaround is to modify the ISO to disable gfxboot. The following has worked for me, but it might kill your cat or make your coffee go cold or make other unpleasantries happen to you. You've been warned!

$ sed -e 's/GFXBOOT bootlogo/#FXBOOT bootlogo/g' < ubuntu-7.10-server-amd64.iso > ubuntu-7.10-server-amd64-nogfxboot.iso

:-Dustin

Changed in kvm:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.