[Buildroot] [Bug 8271] Buildroot wit x86_64 architecture fails to boot on qemu with kernels >=3.10

bugzilla at busybox.net bugzilla at busybox.net
Wed Oct 14 12:38:19 UTC 2015


https://bugs.busybox.net/show_bug.cgi?id=8271

Thomas Petazzoni <thomas.petazzoni at free-electrons.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME

--- Comment #4 from Thomas Petazzoni <thomas.petazzoni at free-electrons.com> 2015-10-14 12:38:18 UTC ---
Did you specify explicitly a CPU model to be emulated by Qemu using the -cpu
option? If you don't, my understanding is that it will emulate a CPU similar to
the host CPU (but I'm not sure about this). In any case, if your Qemu was
emulating something that didn't support the movbe instruction, then it would
break exactly like it did for you. Can you please check your Qemu setup ?

Also, old versions of Qemu were not properly emulating the n270 (which is the
Qemu speak for Atom), and were precisely not emulating the movbe instruction:
https://lists.gnu.org/archive/html/qemu-devel/2013-02/msg01201.html.

So my bet is really an emulation issue on your side. I've looked at the kernel,
and the ARCH_USE_BUILTIN_BSWAP option has not been removed since commit
83a57a4de1a222c351667ef9a0fedaac1295e85b, so I believe that this kernel commit
has since then been widely tested, and that it is correct.

I'll mark the bug as "works for me". Please do not hesitate to re-open with
more details about your Qemu setup (version, and which -cpu option you've used)
if you can still reproduce the problem. Thanks!

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the buildroot mailing list