Crash when booting from SCSI disk using Grub
When I try to boot from a SCSI device using grub, Qemu crashes (see below). I have been able to boot from SCSI devices using Windows, but anytime I use grub I get a crash, even when booting off a CD with grub. Any ideas?
# qemu-system-x86_64 -drive \ file=junk.raw,if=scsi,bus=0,index=0,media=disk,boot=on \ -cdrom /srv/vm/.kvm/install/slim-cd-v4.iso -boot d \ -m 64 -vnc :0 exception 13 (33) rax 0000000000000000 rbx 0000000000000800 rcx 0000000000000000 rdx 00000000000000e0 rsi 00000000ffff7d98 rdi 000000000008f788 rsp 0000000000002018 rbp 0000000000000001 r8 0000000000000000 r9 0000000000000000 r10 0000000000000000 r11 0000000000000000 r12 0000000000000000 r13 0000000000000000 r14 0000000000000000 r15 0000000000000000 rip 0000000000000003 rflags 00033202 cs 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) ds 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) es 0800 (00008000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) ss 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) fs 0000 (00000000/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 fb1f2/30 idt 0/3ff cr0 10 cr2 0 cr3 0 cr4 0 cr8 0 efer 0 code: 53 ff 00 --> f0 53 ff 00 f0 53 ff 00 f0 53 ff 00 f0 53 ff 00 f0 53 ff 00 f0 53 ff 00 f0 53 ff 00 f0 a5 fe 00 f0 87 e9 00 f0 53 ff 00 f0 53 ff 00 f0 53 ff Aborted
Signature · 8 lines
Alberto Treviño [email protected] ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
Quoted 10 lines · Alberto Treviño
When I try to boot from a SCSI device using grub, Qemu crashes (see below). I have been able to boot from SCSI devices using Windows, but anytime I use grub I get a crash, even when booting off a CD with grub. Any ideas?
# qemu-system-x86_64 -drive \ file=junk.raw,if=scsi,bus=0,index=0,media=disk,boot=on \ -cdrom /srv/vm/.kvm/install/slim-cd-v4.iso -boot d \ -m 64 -vnc :0
You aren't booting from SCSI, you're booting from a CDROM.
Does the problem still exist if you omit ,boot=on? My suspicion is that you're seeing the classic big real mode problem. What guest are you trying to install?
Regards,
Anthony Liguori
Quoted 17 lines
exception 13 (33)
rax 0000000000000000 rbx 0000000000000800 rcx 0000000000000000 rdx00000000000000e0
rsi00000000ffff7d98rdi000000000008f788rsp 0000000000002018 rbp 0000000000000001
r8 0000000000000000 r9 0000000000000000 r10 0000000000000000 r11 0000000000000000
r12 0000000000000000 r13 0000000000000000 r14 0000000000000000 r15 0000000000000000
rip 0000000000000003 rflags 00033202
cs 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) ds 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) es 0800 (00008000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) ss 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0) fs 0000 (00000000/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)
Quoted 10 lines
ldt 0000 (00000000/0000ffff p 1 dpl 0 db 0 s 0 type 2 l 0 g 0 avl 0) gdt fb1f2/30
idt 0/3ff
cr0 10 cr2 0 cr3 0 cr4 0 cr8 0 efer 0
code: 53 ff 00 --> f0 53 ff 00 f0 53 ff 00 f0 53 ff 00 f0 53 ff 00 f0 53 ff 00 f0 53 ff 00 f0 53 ff 00 f0 a5 fe 00 f0 87 e9 00 f0 53 ff 00 f0 53 ff 00 f0 53 ff
Aborted
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone