kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sterling Windmill <sterling@ampx.net>
To: Avi Kivity <avi@redhat.com>
Cc: kvm@vger.kernel.org
Subject: Re: freebsd 7.0 32-bit won't boot with kvm scsi
Date: Wed, 1 Oct 2008 09:05:54 -0400 (EDT)	[thread overview]
Message-ID: <144281855.921222866354878.JavaMail.root@mail.ampx.net> (raw)
In-Reply-To: <48E32802.1040503@redhat.com>

The only difference between my working IDE config and the broken SCSI is the "if=" parameter.

Here is how I am calling qemu for this virtual machine:

/usr/local/kvm/bin/qemu-system-x86_64 -m 512 -drive file=/dev/mapper/storage-freebsd,if=scsi,boot=on -net nic,model=e1000 -net tap,script=/root/kvmstuff/qemu-ifup -daemonize -vnc :2 \
-boot c -cdrom /root/kvmstuff/7.0-RELEASE-i386-disc1.iso

Interestingly, I also note that while IDE seems to work fine, restarting the guest by issuing a shutdown -r while logged into freebsd or by sending a ctrl+alt+del to the virtual machine via VNC results in a boot failure. Shutting down the qemu instance and starting it up again allows freebsd to boot properly.

Thanks again,
Sterling Windmill

----- Original Message ----- 
From: "Avi Kivity" <avi@redhat.com> 
To: "Sterling Windmill" <sterling@ampx.net> 
Cc: kvm@vger.kernel.org 
Sent: Wednesday, October 1, 2008 3:34:26 AM GMT -05:00 US/Canada Eastern 
Subject: Re: freebsd 7.0 32-bit won't boot with kvm scsi 

Sterling Windmill wrote: 
> I am attempting to get freebsd 7.0 32-bit running under kvm-76 and have been successful with the emulated ide interface and e1000 networking. 
> 
> When I try to use kvm's scsi interface, I am able to complete the freebsd install but get a bootloader message stating that the kernel cannot be found upon attempting to boot into freebsd. 
> 
> Has anyone else experienced this? 
> 

Have you enabled extboot (-drive ...,boot=on)? 

-- 
I have a truly marvellous patch that fixes the bug which this 
signature is too narrow to contain. 


  reply	other threads:[~2008-10-01 13:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-01  1:06 freebsd 7.0 32-bit won't boot with kvm scsi Sterling Windmill
2008-10-01  7:34 ` Avi Kivity
2008-10-01 13:05   ` Sterling Windmill [this message]
2008-10-16  0:47     ` Fwd: " Sterling Windmill

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=144281855.921222866354878.JavaMail.root@mail.ampx.net \
    --to=sterling@ampx.net \
    --cc=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).