qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [50809c8] Attempt to boot a guest results in - qemu: could not load PC BIOS 'bios-256k.bin'
@ 2014-06-08 12:18 Kashyap Chamarthy
  2014-06-10  8:32 ` Kashyap Chamarthy
  2014-06-10  8:55 ` Paolo Bonzini
  0 siblings, 2 replies; 4+ messages in thread
From: Kashyap Chamarthy @ 2014-06-08 12:18 UTC (permalink / raw)
  To: qemu-devel

Heya,

I built QEMU from this commit:

    $ git log | head -2
    commit 50809c8b9288a9bfe1fdec926b7ef985608a7ea6
    Merge: 4e627ae ae74bbe


And, attempted to boot a Fedora guest via this QEMU CLI results as
below:

    $ /usr/local/sbin/qemu-system-x86_64 -s -S -nographic \
      -nodefconfig -nodefaults -machine accel=kvm -m 3000 \
      -drive file=/var/lib/libvirt/images/Fedora-x86_64-20-20140407-sda.qcow2,if=ide,format=qcow2,cache=none \
      -serial stdio
    qemu: could not load PC BIOS 'bios-256k.bin'


That's the seabios-bin version:

    $ rpm -q seabios-bin
    seabios-bin-1.7.4-3.fc21.noarch


That's how I build QEMU:

    $ git clone git://git.qemu.org/qemu.git
    $ mkdir -p ~/build/qemu && cd ~/build/qemu
    $ ~/src/qemu/./configure --target-list=x86_64-softmmu \
      --disable-werror --enable-debug 
    $ make -j4


Any hints as to why can't QEMU load the BIOS in this case?

-- 
/kashyap

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [50809c8] Attempt to boot a guest results in - qemu: could not load PC BIOS 'bios-256k.bin'
  2014-06-08 12:18 [Qemu-devel] [50809c8] Attempt to boot a guest results in - qemu: could not load PC BIOS 'bios-256k.bin' Kashyap Chamarthy
@ 2014-06-10  8:32 ` Kashyap Chamarthy
  2014-06-10  8:55 ` Paolo Bonzini
  1 sibling, 0 replies; 4+ messages in thread
From: Kashyap Chamarthy @ 2014-06-10  8:32 UTC (permalink / raw)
  To: qemu-devel

On Sun, Jun 08, 2014 at 05:48:58PM +0530, Kashyap Chamarthy wrote:
> Heya,
> 
> I built QEMU from this commit:
> 
>     $ git log | head -2
>     commit 50809c8b9288a9bfe1fdec926b7ef985608a7ea6
>     Merge: 4e627ae ae74bbe
> 
> 
> And, attempted to boot a Fedora guest via this QEMU CLI results as
> below:
> 
>     $ /usr/local/sbin/qemu-system-x86_64 -s -S -nographic \
>       -nodefconfig -nodefaults -machine accel=kvm -m 3000 \
>       -drive file=/var/lib/libvirt/images/Fedora-x86_64-20-20140407-sda.qcow2,if=ide,format=qcow2,cache=none \
>       -serial stdio
>     qemu: could not load PC BIOS 'bios-256k.bin'

Pointing to pc-bios sub-directory worked:

   $ qemu-system-x86 . . . -L  /home/kashyap/tinker-space/qemu-upstream/pc-bios/

(Thanks Rich Jones/Amit.)
 
> That's the seabios-bin version:
> 
>     $ rpm -q seabios-bin
>     seabios-bin-1.7.4-3.fc21.noarch
> 
> 
> That's how I build QEMU:
> 
>     $ git clone git://git.qemu.org/qemu.git
>     $ mkdir -p ~/build/qemu && cd ~/build/qemu
>     $ ~/src/qemu/./configure --target-list=x86_64-softmmu \
>       --disable-werror --enable-debug 
>     $ make -j4
> 
> 

-- 
/kashyap

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [50809c8] Attempt to boot a guest results in - qemu: could not load PC BIOS 'bios-256k.bin'
  2014-06-08 12:18 [Qemu-devel] [50809c8] Attempt to boot a guest results in - qemu: could not load PC BIOS 'bios-256k.bin' Kashyap Chamarthy
  2014-06-10  8:32 ` Kashyap Chamarthy
@ 2014-06-10  8:55 ` Paolo Bonzini
  2014-06-10  9:20   ` Kashyap Chamarthy
  1 sibling, 1 reply; 4+ messages in thread
From: Paolo Bonzini @ 2014-06-10  8:55 UTC (permalink / raw)
  To: Kashyap Chamarthy, qemu-devel

Il 08/06/2014 14:18, Kashyap Chamarthy ha scritto:
> Heya,
>
> I built QEMU from this commit:
>
>     $ git log | head -2
>     commit 50809c8b9288a9bfe1fdec926b7ef985608a7ea6
>     Merge: 4e627ae ae74bbe
>
>
> And, attempted to boot a Fedora guest via this QEMU CLI results as
> below:
>
>     $ /usr/local/sbin/qemu-system-x86_64 -s -S -nographic \
>       -nodefconfig -nodefaults -machine accel=kvm -m 3000 \
>       -drive file=/var/lib/libvirt/images/Fedora-x86_64-20-20140407-sda.qcow2,if=ide,format=qcow2,cache=none \
>       -serial stdio
>     qemu: could not load PC BIOS 'bios-256k.bin'
>
>
> That's the seabios-bin version:
>
>     $ rpm -q seabios-bin
>     seabios-bin-1.7.4-3.fc21.noarch
>
>
> That's how I build QEMU:
>
>     $ git clone git://git.qemu.org/qemu.git
>     $ mkdir -p ~/build/qemu && cd ~/build/qemu
>     $ ~/src/qemu/./configure --target-list=x86_64-softmmu \
>       --disable-werror --enable-debug
>     $ make -j4
>
>
> Any hints as to why can't QEMU load the BIOS in this case?
>

QEMU's "make install" should have installed the firmware blobs in 
/usr/share/local/qemu, including bios-256k.bin.  Did it?

Paolo

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [50809c8] Attempt to boot a guest results in - qemu: could not load PC BIOS 'bios-256k.bin'
  2014-06-10  8:55 ` Paolo Bonzini
@ 2014-06-10  9:20   ` Kashyap Chamarthy
  0 siblings, 0 replies; 4+ messages in thread
From: Kashyap Chamarthy @ 2014-06-10  9:20 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: qemu-devel

On Tue, Jun 10, 2014 at 10:55:13AM +0200, Paolo Bonzini wrote:
> Il 08/06/2014 14:18, Kashyap Chamarthy ha scritto:

[. . .]

> 
> QEMU's "make install" should have installed the firmware blobs in
> /usr/share/local/qemu, including bios-256k.bin.  Did it?

Yes it did. I just tested it by providing --prefix=/home/kashyap/install
and yes 'bios-256k.bin' _is_ installed:

    kashyap@install$ pwd
    /home/kashyap/install
    kashyap@install$ find . -name bios-256k.bin
    ./share/qemu/bios-256k.bin

I see that it's a fairly recent addition[1].

Thanks for your comment.



  [1] http://lists.gnu.org/archive/html/qemu-devel/2013-12/msg01612.html
-- 
/kashyap

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-06-10  9:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-08 12:18 [Qemu-devel] [50809c8] Attempt to boot a guest results in - qemu: could not load PC BIOS 'bios-256k.bin' Kashyap Chamarthy
2014-06-10  8:32 ` Kashyap Chamarthy
2014-06-10  8:55 ` Paolo Bonzini
2014-06-10  9:20   ` Kashyap Chamarthy

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