Bug#754336: qemu-mips-static doesn't recognize ELF header correctly

2014-08-02 Thread Michael Tokarev
Control: retitle -1 qemu-mips-static doesn't recognize broken ELF headers

I'm retitling this bugreport to reflect reality.  Qemu implements its own
ELF parser, and it looks like it is a bit stricter than the one in linux
kernel.  I'm not sure whenever to treat it as a bug or a feature.  And
these binaries are indeed broken.  Qemu can be made less strict ofcourse.

I'm also forwarding this upstream, let's see what upstream will say...

Thanks,

/mjt


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#754336: qemu-mips-static doesn't recognize ELF header correctly

2014-07-10 Thread Cellier

> I checked your image, and noticed that only the binaries which are

reported as having a corrupted section header produce this error
message.
first time we hit such a situation, it must be something in your
device or uclibc (and maybe kernel as well). Google can't find any
similar cases either.

And since it is apparently a situation unique to this (kind of)
device, I'm lowering the severity of this bugreport.

Thanks,

/mjt

No really...


The bcm6358 is part of the the bcm63xx series.
Those SoC are used in most professional router/consumer modems. It is
used in all consumer modems in France (with every models from ISP).

While the kernel contain proprietary drivers it's source code have been
released by the manufacturer at http://www.efixo.net/gpl/ . Except some
.ko delivered as binary, there is nothing in particular. the µClibc
version is definitely unpatched.


A complete toolchain for building a very older flash image is available
at http://www.efixo.net/



The Neufox is one of consumer ADSL modem which use an SoC from the 
broadcom bcm63xx family.


regards..


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#754336: qemu-mips-static doesn't recognize ELF header correctly

2014-07-10 Thread Michael Tokarev

Control: severity -1 minor

10.07.2014 04:15, lcell...@lycee-joliverie.fr wrote:

Package: qemu-user-static
Version: 2.0.0+dfsg-6+b1
Severity: important
Tags: upstream

Hello,

I can't run some mips32 binaries with qemu:

root@localhost:/tmp# chroot /tmp/temp/ /usr/bin/qemu-mips-static /bin/dmesg
/lib/ld-uClibc.so.0: Invalid ELF image for this architecture


I checked your image, and noticed that only the binaries which are
reported as having a corrupted section header produce this error
message.

I'm in no way an expert in mips or file format issues like this. So
unless you talk with upstream directly, there's little chance I can
do anything with it. More, your case is unique, because it is the
first time we hit such a situation, it must be something in your
device or uclibc (and maybe kernel as well). Google can't find any
similar cases either.

And since it is apparently a situation unique to this (kind of)
device, I'm lowering the severity of this bugreport.

Thanks,

/mjt


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org