* Bug in reboot when using scsi or virtio
@ 2008-08-29 18:43 Stuart Sheldon
2008-08-29 20:21 ` Brian Jackson
2008-08-30 10:06 ` Avi Kivity
0 siblings, 2 replies; 7+ messages in thread
From: Stuart Sheldon @ 2008-08-29 18:43 UTC (permalink / raw)
To: kvm
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Guest boots and runs fine, but does not see boot device on guest reboot
if if=scsi or if=virtio is used.
Boot Screen after reboot:
Booting from Hard Disk...
Boot from Hard Disk failed: could not read boot disk
... More failed boot devices that shouldn't boot anyway...
FATAL: No bootable device
CPU: Intel(R) Pentium(R) D CPU 3.00GHz
KVM: kvm-74
Host: Debian Lenny - Vanilla 2.6.26.2
Guest: Debian Lenny - Vanilla 2.6.26.2
Command: {
export QEMU_AUDIO_DRV=oss
qemu-system-x86_64 \
-m 1024 \
-std-vga \
-soundhw es1370 \
-name 'Debian Vitrual Host' \
-net nic,macaddr=52:54:00:12:31:02 \
-drive file=/projects/stu/kvm-drives/debian.img,if=scsi,boot=on \
-net tap,ifname=tap2 -daemonize
}
Still exists with -no-kvm-* combinations.
Software not built to run without kvm
To reproduce, just bring the guest host up with either a if=scsi or
if=virtio.
Stu
- --
If you took all the girls I knew When I was single And brought
them all together for one night I know theyd never match My sweet
imagination And everything looks worse in black and white
-- Paul Simon - "Kodachrome Lyrics"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAki4Q24ACgkQK69Y+xPZrWbD3QCghTlNiadqbtdQpG3y/S5z/8Dz
VoQAoIQbJDXVbnjeN3jZW1kcRT86q/UI
=wp2/
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: Bug in reboot when using scsi or virtio
2008-08-29 18:43 Bug in reboot when using scsi or virtio Stuart Sheldon
@ 2008-08-29 20:21 ` Brian Jackson
2008-08-29 21:23 ` Stuart Sheldon
2008-08-30 10:06 ` Avi Kivity
1 sibling, 1 reply; 7+ messages in thread
From: Brian Jackson @ 2008-08-29 20:21 UTC (permalink / raw)
To: Stuart Sheldon; +Cc: kvm
Can you try using the extboot.bin from the last version that worked
for you?
On Aug 29, 2008, at 1:43 PM, Stuart Sheldon wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Guest boots and runs fine, but does not see boot device on guest
> reboot
> if if=scsi or if=virtio is used.
>
> Boot Screen after reboot:
> Booting from Hard Disk...
> Boot from Hard Disk failed: could not read boot disk
> ... More failed boot devices that shouldn't boot anyway...
> FATAL: No bootable device
>
> CPU: Intel(R) Pentium(R) D CPU 3.00GHz
> KVM: kvm-74
> Host: Debian Lenny - Vanilla 2.6.26.2
> Guest: Debian Lenny - Vanilla 2.6.26.2
> Command: {
> export QEMU_AUDIO_DRV=oss
> qemu-system-x86_64 \
> -m 1024 \
> -std-vga \
> -soundhw es1370 \
> -name 'Debian Vitrual Host' \
> -net nic,macaddr=52:54:00:12:31:02 \
> -drive file=/projects/stu/kvm-drives/
> debian.img,if=scsi,boot=on \
> -net tap,ifname=tap2 -daemonize
> }
>
> Still exists with -no-kvm-* combinations.
> Software not built to run without kvm
>
> To reproduce, just bring the guest host up with either a if=scsi or
> if=virtio.
>
> Stu
>
>
> - --
> If you took all the girls I knew When I was single And brought
> them all together for one night I know theyd never match My sweet
> imagination And everything looks worse in black and white
> -- Paul Simon - "Kodachrome Lyrics"
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAki4Q24ACgkQK69Y+xPZrWbD3QCghTlNiadqbtdQpG3y/S5z/8Dz
> VoQAoIQbJDXVbnjeN3jZW1kcRT86q/UI
> =wp2/
> -----END PGP SIGNATURE-----
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: Bug in reboot when using scsi or virtio
2008-08-29 20:21 ` Brian Jackson
@ 2008-08-29 21:23 ` Stuart Sheldon
0 siblings, 0 replies; 7+ messages in thread
From: Stuart Sheldon @ 2008-08-29 21:23 UTC (permalink / raw)
To: Brian Jackson; +Cc: kvm
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hey Brian,
The last version I had been running is kvm-70. After copying the
extboot.bin from that version over to the share/kvm directory, the
system rebooted several times in scsi and virtio mode.
Please let me know if you would like me to build any additional versions
for testing.
Stu
Brian Jackson wrote:
> Can you try using the extboot.bin from the last version that worked for
> you?
>
>
>
> On Aug 29, 2008, at 1:43 PM, Stuart Sheldon wrote:
>
> Guest boots and runs fine, but does not see boot device on guest reboot
> if if=scsi or if=virtio is used.
>
> Boot Screen after reboot:
> Booting from Hard Disk...
> Boot from Hard Disk failed: could not read boot disk
> ... More failed boot devices that shouldn't boot anyway...
> FATAL: No bootable device
>
> CPU: Intel(R) Pentium(R) D CPU 3.00GHz
> KVM: kvm-74
> Host: Debian Lenny - Vanilla 2.6.26.2
> Guest: Debian Lenny - Vanilla 2.6.26.2
> Command: {
> export QEMU_AUDIO_DRV=oss
> qemu-system-x86_64 \
> -m 1024 \
> -std-vga \
> -soundhw es1370 \
> -name 'Debian Vitrual Host' \
> -net nic,macaddr=52:54:00:12:31:02 \
> -drive file=/projects/stu/kvm-drives/debian.img,if=scsi,boot=on \
> -net tap,ifname=tap2 -daemonize
> }
>
> Still exists with -no-kvm-* combinations.
> Software not built to run without kvm
>
> To reproduce, just bring the guest host up with either a if=scsi or
> if=virtio.
>
> Stu
>
>
- --
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
- --
Open up the window Let some air into this room I think I'm almost
chokin' From the smell of stale perfume And that cigarette you're
smoking 'Bout scared me half to death Open up the window, sucker
Let me catch my breath
-- Three Dog Night - "Mama Told Me Not to Come - Lyrics"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAki4aMIACgkQK69Y+xPZrWZTHACfbeN8qlgVAIj+gK7l0eJ/qKce
RgkAn2tCIbkwpy2H2BZZ32H+PweAumB5
=1uc3
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Bug in reboot when using scsi or virtio
2008-08-29 18:43 Bug in reboot when using scsi or virtio Stuart Sheldon
2008-08-29 20:21 ` Brian Jackson
@ 2008-08-30 10:06 ` Avi Kivity
2008-08-30 15:17 ` Stuart Sheldon
2008-08-30 19:48 ` Henrik Holst
1 sibling, 2 replies; 7+ messages in thread
From: Avi Kivity @ 2008-08-30 10:06 UTC (permalink / raw)
To: Stuart Sheldon; +Cc: kvm
Stuart Sheldon wrote:
> Guest boots and runs fine, but does not see boot device on guest reboot
> if if=scsi or if=virtio is used.
>
> Boot Screen after reboot:
> Booting from Hard Disk...
> Boot from Hard Disk failed: could not read boot disk
> ... More failed boot devices that shouldn't boot anyway...
> FATAL: No bootable device
>
>
This was caused by the extboot rom writing into itself, thus failing
checksum on the next reboot. I fixed this for kvm-75 by reloading the
rom on reset.
--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Bug in reboot when using scsi or virtio
2008-08-30 10:06 ` Avi Kivity
@ 2008-08-30 15:17 ` Stuart Sheldon
2008-08-31 7:38 ` Avi Kivity
2008-08-30 19:48 ` Henrik Holst
1 sibling, 1 reply; 7+ messages in thread
From: Stuart Sheldon @ 2008-08-30 15:17 UTC (permalink / raw)
To: Avi Kivity; +Cc: kvm
Thanks Avi,
Should I test against the daily to verify?
Stu
Avi Kivity wrote:
> Stuart Sheldon wrote:
>> Guest boots and runs fine, but does not see boot device on guest reboot
>> if if=scsi or if=virtio is used.
>>
>> Boot Screen after reboot:
>> Booting from Hard Disk...
>> Boot from Hard Disk failed: could not read boot disk
>> ... More failed boot devices that shouldn't boot anyway...
>> FATAL: No bootable device
>>
>>
>
> This was caused by the extboot rom writing into itself, thus failing
> checksum on the next reboot. I fixed this for kvm-75 by reloading the
> rom on reset.
>
--
Randomly Generated Fortune Tag:
Many pages make a thick book.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Bug in reboot when using scsi or virtio
2008-08-30 10:06 ` Avi Kivity
2008-08-30 15:17 ` Stuart Sheldon
@ 2008-08-30 19:48 ` Henrik Holst
1 sibling, 0 replies; 7+ messages in thread
From: Henrik Holst @ 2008-08-30 19:48 UTC (permalink / raw)
To: Avi Kivity; +Cc: Stuart Sheldon, kvm
2008/8/30 Avi Kivity <avi@qumranet.com>:
> Stuart Sheldon wrote:
>>
>> Guest boots and runs fine, but does not see boot device on guest reboot
>> if if=scsi or if=virtio is used.
>>
>> Boot Screen after reboot:
>> Booting from Hard Disk...
>> Boot from Hard Disk failed: could not read boot disk
>> ... More failed boot devices that shouldn't boot anyway...
>> FATAL: No bootable device
>>
>>
>
> This was caused by the extboot rom writing into itself, thus failing
> checksum on the next reboot. I fixed this for kvm-75 by reloading the rom
> on reset.
Many many thanks!
/Henrik Holst
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-08-31 7:38 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-29 18:43 Bug in reboot when using scsi or virtio Stuart Sheldon
2008-08-29 20:21 ` Brian Jackson
2008-08-29 21:23 ` Stuart Sheldon
2008-08-30 10:06 ` Avi Kivity
2008-08-30 15:17 ` Stuart Sheldon
2008-08-31 7:38 ` Avi Kivity
2008-08-30 19:48 ` Henrik Holst
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox