[SeaBIOS] Unable to boot VM with scsi enabled.

Roman Kagan rkagan at virtuozzo.com
Wed Jun 7 14:47:23 CEST 2017


On Wed, Jun 07, 2017 at 01:57:19PM +0200, Maciej Józefczyk wrote:
> Hello,
> 
> my environment:
> - qemu: 2.5+dfsg-5ubuntu10.13~cloud0
> - seabios: latest master
> 
> I'm trying to boot VM with parameters:
> 
> <disk type='file' device='disk'>
>       <driver name='qemu' type='qcow2' cache='none'/>
>       <source file='/home/instances/xxxxx-xxxx/disk'/>
>       <target dev='sda' bus='scsi'/>
>       <address type='drive' controller='0' bus='0' target='0' unit='0'/>
> </disk>
> <controller type='scsi' index='0'>
>       <address type='pci' domain='0x0000' bus='0x00' slot='0x04'
> function='0x0'/>
> </controller>
> 
> and it fails  with message (instance screen):
> Booting from Hard Disk...
> Boot failed: could not read the boot disk
> No bootable device.
> 
> I figure out that rollback of those commits:
> - 3198c06b7b5457eecf5fbc6fd47fbea300a843e7 (lsi-scsi: try to enumerate
> luns with REPORT LUNS)
> - 11277846e819b9eef3db5ac833a6a47f95f5ef15 (lsi-scsi: reset in case of a
> serious problem)
> 
> Solves the problem. What i'm doing wrong? Maybe its a bug?

Quite possible.

I reproduced it with QEMU from Fedora25 and I'm looking into it now.

Roman.



More information about the SeaBIOS mailing list