Skip to contentSkip to conversation

freebsd 7.0 32-bit won't boot with kvm scsi

DISCUSSION Sterling Windmill 2 participants 4 messages Oct 1, 2008 – Oct 16, 2008 KVM

lore
Share & tools
lore
#0 lore raw

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?

Thanks,
Sterling Windmill

#1 lore raw
Quoted 6 lines · Sterling Windmill

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

Signature · 2 lines
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.
#2 lore raw

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" <[email protected]>
To: "Sterling Windmill" <[email protected]>
Cc: [email protected]
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

Quoted 6 lines · Sterling Windmill

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

Signature · 2 lines
I have a truly marvellous patch that fixes the bug which this 
signature is too narrow to contain. 
#3 lore raw

Is there a bugzilla I can post this issue to?

I'm still unable to get freebsd 7.0 booting after install with if=scsi on kvm-77

Thanks in advance,
Sterling Windmill

----- Forwarded Message -----
From: "Sterling Windmill" <[email protected]>
To: "Avi Kivity" <[email protected]>
Cc: [email protected]
Sent: Wednesday, October 1, 2008 9:05:54 AM GMT -05:00 US/Canada Eastern
Subject: Re: freebsd 7.0 32-bit won't boot with kvm scsi

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" <[email protected]>
To: "Sterling Windmill" <[email protected]>
Cc: [email protected]
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

Quoted 6 lines · Sterling Windmill

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

Signature · 7 lines
I have a truly marvellous patch that fixes the bug which this 
signature is too narrow to contain. 

-- 
To unsubscribe from this list: send the line "unsubscribe kvm" in 
the body of a message to [email protected] 
More majordomo info at http://vger.kernel.org/majordomo-info.html