pc system firmware (pflash) must be a multiple of 0x1000

Bug #1048610 reported by Marietto
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro QEMU
New
Undecided
Unassigned

Bug Description

This is what I did on the pandaboard ES :

git clone git://git.linaro.org/qemu/qemu-linaro.git

/configure --disable-kvm --enable-tcg-interpreter --enable-curses --enable-sdl --enable-vnc --enable-debug-tcg --enable-vhost-net

make

make install

you can see what happens from this screenshot :

www.montedivenere.it/p1000.png

Revision history for this message
Peter Maydell (pmaydell) wrote :

I think this is the effect of qemu-linaro not shipping the BIOS ROM images. It looks like you're running Ubuntu, so can you try installing the 'qemu-common' package? That should have the necessary ROM images.

PS1: Why are you configuring with --enable-tcg-interpreter? This is rarely a good idea as it will just make everything very slow.

PS2: Why --enable-debug-tcg ?

PS3: for textual error messages there is really no need to provide them as a graphical screenshot -- simply cut and paste the text of the command and error message into the bug report.

Revision history for this message
Marietto (marietto2008) wrote : Re: [Bug 1048610] Re: pc system firmware (pflash) must be a multiple of 0x1000

I have compiled qemu-linaro on my X86 Workstation and then I copied
the folder on the pandaboard ES. Please check the screenshot.

2012/10/5 Peter Maydell <email address hidden>:
> I think this is the effect of qemu-linaro not shipping the BIOS ROM
> images. It looks like you're running Ubuntu, so can you try installing
> the 'qemu-common' package? That should have the necessary ROM images.
>
> PS1: Why are you configuring with --enable-tcg-interpreter? This is
> rarely a good idea as it will just make everything very slow.
>
> PS2: Why --enable-debug-tcg ?
>
> PS3: for textual error messages there is really no need to provide them
> as a graphical screenshot -- simply cut and paste the text of the
> command and error message into the bug report.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1048610
>
> Title:
> pc system firmware (pflash) must be a multiple of 0x1000
>
> Status in Linaro QEMU:
> New
>
> Bug description:
> This is what I did on the pandaboard ES :
>
> git clone git://git.linaro.org/qemu/qemu-linaro.git
>
> /configure --disable-kvm --enable-tcg-interpreter --enable-curses
> --enable-sdl --enable-vnc --enable-debug-tcg --enable-vhost-net
>
> make
>
> make install
>
> you can see what happens from this screenshot :
>
> www.montedivenere.it/p1000.png
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/qemu-linaro/+bug/1048610/+subscriptions

--
Mario.

Revision history for this message
Marietto (marietto2008) wrote :

Instead,this is what happens if I invoke qemu-system-i386 outside of
the qemu-linaro folder : (I had to compile qemu-linaro on my X86
computer with the cross toolchain because directly on the pandaboard
is not possible to do it,because it reboots each time) :

root@supermario:/home/marietto/Scrivania# qemu-system-i386
qemu-system-i386: /qemu-linaro-1.0.50-2012.03/qemu/tci.c:1214:
tcg_qemu_tb_exec: Assertion `tb_ptr == old_code_ptr + op_size' failed.
Annullato (core dump creato)

2012/10/6 Mario <email address hidden>:
> I have compiled qemu-linaro on my X86 Workstation and then I copied
> the folder on the pandaboard ES. Please check the screenshot.
>
> 2012/10/5 Peter Maydell <email address hidden>:
>> I think this is the effect of qemu-linaro not shipping the BIOS ROM
>> images. It looks like you're running Ubuntu, so can you try installing
>> the 'qemu-common' package? That should have the necessary ROM images.
>>
>> PS1: Why are you configuring with --enable-tcg-interpreter? This is
>> rarely a good idea as it will just make everything very slow.
>>
>> PS2: Why --enable-debug-tcg ?
>>
>> PS3: for textual error messages there is really no need to provide them
>> as a graphical screenshot -- simply cut and paste the text of the
>> command and error message into the bug report.
>>
>> --
>> You received this bug notification because you are subscribed to the bug
>> report.
>> https://bugs.launchpad.net/bugs/1048610
>>
>> Title:
>> pc system firmware (pflash) must be a multiple of 0x1000
>>
>> Status in Linaro QEMU:
>> New
>>
>> Bug description:
>> This is what I did on the pandaboard ES :
>>
>> git clone git://git.linaro.org/qemu/qemu-linaro.git
>>
>> /configure --disable-kvm --enable-tcg-interpreter --enable-curses
>> --enable-sdl --enable-vnc --enable-debug-tcg --enable-vhost-net
>>
>> make
>>
>> make install
>>
>> you can see what happens from this screenshot :
>>
>> www.montedivenere.it/p1000.png
>>
>> To manage notifications about this bug go to:
>> https://bugs.launchpad.net/qemu-linaro/+bug/1048610/+subscriptions
>
>
>
> --
> Mario.

--
Mario.

Revision history for this message
keeran (keeran6) wrote :

I have similar issue when

keeran@keeran-vm:/mnt/hgfs/mysw/panda-uefi/uefi.git/edk2/OvmfPkg$ sudo ./build.sh -a X64 qemu
....
---------------------------------------------------------------------
Ran 234 tests in 2.794s

OK
make[1]: Leaving directory `/mnt/hgfs/mysw/panda-uefi/uefi.git/edk2/BaseTools/Tests'
make: Leaving directory `/mnt/hgfs/mysw/panda-uefi/uefi.git/edk2/BaseTools'
Running: qemu-system-x86_64 -L /mnt/hgfs/mysw/panda-uefi/uefi.git/edk2/Build/OvmfX64/DEBUG_GCC46/QEMU -hda fat:/mnt/hgfs/mysw/panda-uefi/uefi.git/edk2/Build/OvmfX64/DEBUG_GCC46/X64
vvfat fat:/mnt/hgfs/mysw/panda-uefi/uefi.git/edk2/Build/OvmfX64/DEBUG_GCC46/X64 chs 1024,16,63
vvfat fat:/mnt/hgfs/mysw/panda-uefi/uefi.git/edk2/Build/OvmfX64/DEBUG_GCC46/X64 chs 1024,16,63
qemu: PC system firmware (pflash) must be a multiple of 0x1000
keeran@keeran-vm:/mnt/hgfs/mysw/panda-uefi/uefi.git/edk2/OvmfPkg$

Is there is any work around for now?

Revision history for this message
Marietto (marietto2008) wrote :

Now qemu-system-386 works. I've tried to boot Android 4.0 x86,but there
have been problems. For example the keyboard keys do not work correctly and
android freezes at the beginning.

2012/11/29 keeran <email address hidden>

> I have similar issue when
>
> keeran@keeran-vm:/mnt/hgfs/mysw/panda-uefi/uefi.git/edk2/OvmfPkg$ sudo
> ./build.sh -a X64 qemu
> ....
> ---------------------------------------------------------------------
> Ran 234 tests in 2.794s
>
> OK
> make[1]: Leaving directory
> `/mnt/hgfs/mysw/panda-uefi/uefi.git/edk2/BaseTools/Tests'
> make: Leaving directory `/mnt/hgfs/mysw/panda-uefi/uefi.git/edk2/BaseTools'
> Running: qemu-system-x86_64 -L
> /mnt/hgfs/mysw/panda-uefi/uefi.git/edk2/Build/OvmfX64/DEBUG_GCC46/QEMU -hda
> fat:/mnt/hgfs/mysw/panda-uefi/uefi.git/edk2/Build/OvmfX64/DEBUG_GCC46/X64
> vvfat
> fat:/mnt/hgfs/mysw/panda-uefi/uefi.git/edk2/Build/OvmfX64/DEBUG_GCC46/X64
> chs 1024,16,63
> vvfat
> fat:/mnt/hgfs/mysw/panda-uefi/uefi.git/edk2/Build/OvmfX64/DEBUG_GCC46/X64
> chs 1024,16,63
> qemu: PC system firmware (pflash) must be a multiple of 0x1000
> keeran@keeran-vm:/mnt/hgfs/mysw/panda-uefi/uefi.git/edk2/OvmfPkg$
>
> Is there is any work around for now?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1048610
>
> Title:
> pc system firmware (pflash) must be a multiple of 0x1000
>
> Status in Linaro QEMU:
> New
>
> Bug description:
> This is what I did on the pandaboard ES :
>
> git clone git://git.linaro.org/qemu/qemu-linaro.git
>
> /configure --disable-kvm --enable-tcg-interpreter --enable-curses
> --enable-sdl --enable-vnc --enable-debug-tcg --enable-vhost-net
>
> make
>
> make install
>
> you can see what happens from this screenshot :
>
> www.montedivenere.it/p1000.png
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/qemu-linaro/+bug/1048610/+subscriptions
>

--
Mario.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.