On Fri, 16 Sep 2016 11:04:07 +0200
Igor Mammedov <imamm...@redhat.com> wrote:

It actually doesn't boot with defconfig either,
I'm using current master at 642db1905ab133007d7427b6758a2103fb09a19a

> This happens only when combination of build options
>  CONFIG_RELOCATE_INIT=n + CONFIG_DEBUG_LEVEL=3
> 
> to reproduce compile seabios defconfig + above options
> 
> and start guest with a single virtio drive: -drive if=virtio,file=guest.img
> 
> As result one gets:
> 
>   No bootable device.
> 
> 
> here is debug log:
> [...]
> init virtio-blk
> /3ffba000\ Start thread
> |3ffba000| found virtio-blk at 00:04.0
> |3ffba000| pci dev 0:4 virtio cap at 0x84 type 5 [pci cfg access]
> |3ffba000| WARNING - internal error detected at pci_enable_membar:197!
> |3ffba000| ERROR: queue size is 0
> |3ffba000| fail to find vq for virtio-blk 00:04.0
> \3ffba000/ End thread
> init virtio-scsi
> init lsi53c895a
> init esp
> init megasas
> init pvscsi
> init MPT
> init lpt
> Found 1 lpt ports
> init serial
> Found 1 serial ports
> |3ffbc000| PS2 keyboard initialized
> \3ffbc000/ End thread
> |3ffbb000| DVD/CD [ata1-0: QEMU DVD-ROM ATAPI-4 DVD/CD]
> |3ffbb000| Searching bootorder for: /pci@i0cf8/*@1,1/drive@1/disk@0
> |3ffbb000| Registering bootable: DVD/CD [ata1-0: QEMU DVD-ROM ATAPI-4 DVD/CD] 
> (type:3 prio:103 data:f5a70)
> \3ffbb000/ End thread
> All threads complete.
> Scan for option roms
> WARNING - Unable to allocate resource at copy_rom:234!
> Searching bootorder for: /rom@genroms/kvmvapic.bin
> Registering bootable: Legacy option rom (type:129 prio:101 data:c9800003)
> Searching bootorder for: HALT
> Running option rom at c980:0003
> Mapping floppy drive 0x000f5ae0
> Mapping cd drive 0x000f5a70
> finalize PMM
> malloc finalize
> Space available for UMB: cc000-d7800, f5660-f5a40
> Returned 131072 bytes of ZoneHigh
> e820 map has 7 items:
>   0: 0000000000000000 - 000000000009fc00 = 1 RAM
>   1: 000000000009fc00 - 00000000000a0000 = 2 RESERVED
>   2: 00000000000f0000 - 0000000000100000 = 2 RESERVED
>   3: 0000000000100000 - 000000003ffe0000 = 1 RAM
>   4: 000000003ffe0000 - 0000000040000000 = 2 RESERVED
>   5: 00000000feffc000 - 00000000ff000000 = 2 RESERVED
>   6: 00000000fffc0000 - 0000000100000000 = 2 RESERVED
> locking shadow ram
> Jump to int19
> enter handle_19:
>   NULL
> Booting from Hard Disk...
> invalid handle_legacy_disk:729:
>    a=00000201  b=00000000  c=00000001  d=00000080 ds=0000 es=07c0 ss=c900
>   si=00000000 di=00000000 bp=00000000 sp=0000fcde cs=f000 ip=ceef  f=0202
> Boot failed: could not read the boot disk
> 
> enter handle_18:
>   NULL
> Booting from Floppy...
> Floppy_drive_recal 0
> Floppy_enable_controller
> Floppy_media_sense on drive 0 found rate 0
> floppy error: 40 00 00 00 00 01 02
> invalid basic_access:158:
>    a=00000200  b=00000000  c=00000001  d=00000000 ds=0000 es=07c0 ss=c900
>   si=00000000 di=00000000 bp=00000000 sp=0000fcde cs=f000 ip=ceef  f=0202
> Boot failed: could not read the boot disk
> 
> enter handle_18:
>   NULL
> Booting from DVD/CD...
> Device reports MEDIUM NOT PRESENT
> scsi_is_ready returned -1
> Boot failed: Could not read from CDROM (code 0003)
> enter handle_18:
>   NULL
> No bootable device.
> 
> _______________________________________________
> SeaBIOS mailing list
> SeaBIOS@seabios.org
> https://www.coreboot.org/mailman/listinfo/seabios


_______________________________________________
SeaBIOS mailing list
SeaBIOS@seabios.org
https://www.coreboot.org/mailman/listinfo/seabios

Reply via email to