public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Crash when booting from SCSI disk using Grub
@ 2008-04-11 15:50 Alberto Treviño
  2008-04-12  0:19 ` Anthony Liguori
  0 siblings, 1 reply; 2+ messages in thread
From: Alberto Treviño @ 2008-04-11 15:50 UTC (permalink / raw)
  To: kvm-devel

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

-- 
Alberto Treviño
alberto@byu.edu

-------------------------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Crash when booting from SCSI disk using Grub
  2008-04-11 15:50 Crash when booting from SCSI disk using Grub Alberto Treviño
@ 2008-04-12  0:19 ` Anthony Liguori
  0 siblings, 0 replies; 2+ messages in thread
From: Anthony Liguori @ 2008-04-12  0:19 UTC (permalink / raw)
  To: Alberto Treviño; +Cc: kvm-devel

Alberto Treviño wrote:
> 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

> 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
>
>   


-------------------------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-04-12  0:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-11 15:50 Crash when booting from SCSI disk using Grub Alberto Treviño
2008-04-12  0:19 ` Anthony Liguori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox