qemu-user[armel/mips] and debian-rootfs
Hi! First of all, sorry for breaking the thread [0] (although it is too old maybe).
[0] <http://lists.gnu.org/archive/html/qemu-devel/2010-05/msg00116.html>
As I have stumbled upon this bug, I would like to know if there is something I can do to try to help fixing it. I have never seen qemu's code and I am really a newbie to it, so any pointer would be higly appreciated.
Kinds regrads, Lisandro.
Signature · 10 lines
Wiki is not WysiWyg. It's an intelligence test of sorts to be able to edit a wiki page. It's not rocket science, but it doesn't appeal to the VideoAddicts. If it doesn't appeal, they don't participate, which leaves those of us who read and write to get on with rational discourse. http://www.c2.com/cgi/wiki?WhyWikiWorks Lisandro Damián Nicanor Pérez Meyer http://perezmeyer.com.ar/ http://perezmeyer.blogspot.com/
Quoted 8 lines · On Vie 01 Jul 2011 14:46:05 Lisandro Damián Nicanor Pérez Meyer escribió:
Hi! First of all, sorry for breaking the thread [0] (although it is too old maybe).
[0] <http://lists.gnu.org/archive/html/qemu-devel/2010-05/msg00116.html>
As I have stumbled upon this bug, I would like to know if there is something I can do to try to help fixing it. I have never seen qemu's code and I am really a newbie to it, so any pointer would be higly appreciated.
I have clearly not been verbose enough, so I'll better try to solve that :-)
The problem is the following: once I create a chroot, I copy /usr/bin/qemu- mips-static to $CHROOT/usr/bin and then chroot $CHROOT.
Now if I do run touch on any file, I get:
root@debian:/# touch tito /usr/bin/touch: setting times of `tito': Level 2 not synchronized
Once again, any pointer to try to debug it would be highly appreciated.
Also I would like to thank josch who has been helping me a lot with this :-)
Kinds regards, Lisandro.
Signature · 9 lines
Quizá, para muchos, ahora que lo pienso, Wikipedia tiene ciertamente un defecto imperdonable. No adorna. Ariel Torres, "Probablemente, la Wikipedia esté bien" La Nación Tecnología, Sábado 25 de agosto de 2007 http://www.lanacion.com.ar/tecnologia/nota.asp?nota_id=937889 Lisandro Damián Nicanor Pérez Meyer http://perezmeyer.com.ar/ http://perezmeyer.blogspot.com/
Quoted 11 lines · Lisandro Damián Nicanor Pérez Meyer
I have clearly not been verbose enough, so I'll better try to solve that :-)
The problem is the following: once I create a chroot, I copy
/usr/bin/qemu-mips-static to $CHROOT/usr/bin and then chroot $CHROOT.Now if I do run touch on any file, I get:
root@debian:/# touch tito /usr/bin/touch: setting times of `tito': Level 2 not synchronizedOnce again, any pointer to try to debug it would be highly appreciated.
You can run /usr/bin/qemu-mips-static -strace /bin/touch tito to see what syscall are being run, and what gives the level2 error.
Some basic details should also be provided for good bugreport:
1. version of qemu being used (a release or latest git?)
2. host linux version (2.6.?) and architecture (i386, x86_64, ?)
3. version of debian used to create chroot (lenny. squeeze, sid, ??)
Riku
Quoted 17 lines · On Lun 11 Jul 2011 10:45:27 riku voipio escribió:
Quoted 6 lines · Lisandro Damián Nicanor Pérez Meyer
I have clearly not been verbose enough, so I'll better try to solve that :-)
The problem is the following: once I create a chroot, I copy
/usr/bin/qemu-mips-static to $CHROOT/usr/bin and then chroot $CHROOT.Quoted 6 lines
Now if I do run touch on any file, I get:
root@debian:/# touch tito /usr/bin/touch: setting times of `tito': Level 2 not synchronizedOnce again, any pointer to try to debug it would be highly appreciated.
You can run
/usr/bin/qemu-mips-static-strace/bin/touchtito to see what syscall are being run, and what gives the level2 error.
Quoted 7 lines
Some basic details should also be provided for good bugreport:
1. version of qemu being used (a release or latest git?)
2. host linux version (2.6.?) and architecture (i386,x86_64, ?)
3. version of debian used to create chroot (lenny. squeeze, sid, ??)Riku
Thanks Riku! This bug has already been solved by Wesley Terpstra:
<http://lists.nongnu.org/archive/html/qemu-devel/2011-07/msg00313.html>
I have patched the debian package, rebuilt and use it perfectly :-)
Kinds regards, Lisandro.
Signature · 8 lines
The volume of a pizza of thickness a and radius z can be described by the following formula: pi zz a Lisandro Damián Nicanor Pérez Meyer http://perezmeyer.com.ar/ http://perezmeyer.blogspot.com/
Quoted 3 lines · Lisandro Damián Nicanor Pérez Meyer
Thanks Riku! This bug has already been solved by Wesley Terpstra:
<http://lists.nongnu.org/archive/html/qemu-devel/2011-07/msg00313.html>
Ok, I missed these patches. Will adjust the linux-user patchset to include these patches if no bugs found in them.
Riku
2011/7/11 Riku Voipio <[email protected]>:
Quoted 7 lines · Lisandro Damián Nicanor Pérez Meyer
Quoted 3 lines
Thanks Riku! This bug has already been solved by Wesley Terpstra:
<http://lists.nongnu.org/archive/html/qemu-devel/2011-07/msg00313.html>
Ok, I missed these patches. Will adjust the linux-user patchset to include these patches if no bugs found in them.
Just a heads up---if you only use my original patch, mipseb still won't be able to run 'make'.
My final patchset (sent as a series of 6 patches) resolves this in addition to the other problems.
On Mar 12 Jul 2011 08:32:51 Wesley W. Terpstra escribió:
[snip]
Quoted 4 lines
Just a heads up---if you only use my original patch, mipseb still won't be able to run 'make'.
My final patchset (sent as a series of 6 patches) resolves this in addition to the other problems.
And there you solved my last problem :-)
Thanks!
Signature · 3 lines
Lisandro Damián Nicanor Pérez Meyer http://perezmeyer.com.ar/ http://perezmeyer.blogspot.com/
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 1 line · On Mar 12 Jul 2011 11:23:40 riku voipio escribió:
Hi Wesley
[snip]
Quoted 7 lines
For whatever reason I was unable to apply your patches directly, so I had to recreate them.
I've rolled your patches to:
http://git.linaro.org/gitweb?p=people/rikuvoipio/qemu.git;a=shortlog;h=refs
/heads/linux-user-for-upstream
I have tested this by getting the source code, creating a Debian package as if it were a NMU of the last version in Sid (although with different sources, but fair enough for testing I guess) and I can say it works :-)
I have both been able to setup a rootfs for my Ubiquiti RouterStation Pro and also compiled some qt stuff in a chroot in my desktop :-)
Kinds regards, Lisandro.
Signature · 6 lines
The box said 'Requires Windows 95 or better'. So I installed Linux. Anonymous Lisandro Damián Nicanor Pérez Meyer http://perezmeyer.com.ar/ http://perezmeyer.blogspot.com/