* Re: [Qemu-devel] qemu-user[armel/mips] and debian-rootfs
@ 2011-07-01 17:46 Lisandro Damián Nicanor Pérez Meyer
2011-07-01 23:52 ` Lisandro Damián Nicanor Pérez Meyer
0 siblings, 1 reply; 9+ messages in thread
From: Lisandro Damián Nicanor Pérez Meyer @ 2011-07-01 17:46 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 853 bytes --]
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.
--
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/
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] qemu-user[armel/mips] and debian-rootfs
2011-07-01 17:46 [Qemu-devel] qemu-user[armel/mips] and debian-rootfs Lisandro Damián Nicanor Pérez Meyer
@ 2011-07-01 23:52 ` Lisandro Damián Nicanor Pérez Meyer
2011-07-11 13:45 ` riku voipio
0 siblings, 1 reply; 9+ messages in thread
From: Lisandro Damián Nicanor Pérez Meyer @ 2011-07-01 23:52 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: Text/Plain, Size: 1403 bytes --]
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.
--
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/
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] qemu-user[armel/mips] and debian-rootfs
2011-07-01 23:52 ` Lisandro Damián Nicanor Pérez Meyer
@ 2011-07-11 13:45 ` riku voipio
2011-07-11 14:10 ` Lisandro Damián Nicanor Pérez Meyer
0 siblings, 1 reply; 9+ messages in thread
From: riku voipio @ 2011-07-11 13:45 UTC (permalink / raw)
To: Lisandro Damián Nicanor Pérez Meyer; +Cc: qemu-devel
On 07/02/2011 02:52 AM, Lisandro Damián Nicanor Pérez Meyer wrote:
> 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.
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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] qemu-user[armel/mips] and debian-rootfs
2011-07-11 13:45 ` riku voipio
@ 2011-07-11 14:10 ` Lisandro Damián Nicanor Pérez Meyer
2011-07-11 14:18 ` Riku Voipio
0 siblings, 1 reply; 9+ messages in thread
From: Lisandro Damián Nicanor Pérez Meyer @ 2011-07-11 14:10 UTC (permalink / raw)
To: qemu-devel; +Cc: riku voipio
[-- Attachment #1: Type: Text/Plain, Size: 1482 bytes --]
On Lun 11 Jul 2011 10:45:27 riku voipio escribió:
> On 07/02/2011 02:52 AM, Lisandro Damián Nicanor Pérez Meyer wrote:
> > 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.
>
> 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
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.
--
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/
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Qemu-devel] qemu-user[armel/mips] and debian-rootfs
@ 2010-05-03 19:30 Kenneth Johansson
0 siblings, 0 replies; 9+ messages in thread
From: Kenneth Johansson @ 2010-05-03 19:30 UTC (permalink / raw)
To: qemu-devel
I'm trying to setup a debian root that I can chroot into for armel and
mips from an ubuntu 9.10 x86_64.
While I have it working for armel on a specific qemu the mips target is
more problematic.
first both fail for qemu newer than
6173d56bdcb53389c54e803873e6bf8f87836a4f.
doing /sbin/ldconfig. I get "bad address"
now on to mips. during installation of debian I get the following error,
/bin/tar: ./postinst: Cannot utime: Level 2 not synchronized
now I guess what is really happening is that my x86_64 kernel is
returning ENOSYS and that maps to the mostly unused EL2NSYNC on mips.
arch/mips/include/asm/errno.h:#define EL2NSYNC 38 /* Level 2 not synchronized */
include/asm-generic/errno.h:#define EL2NSYNC 45 /* Level 2 not synchronized */
include/asm-generic/errno.h:#define ENOSYS 38 /* Function not implemented */
Is there anything that can be done to fix this ??
I do not know what syscall this is happening on :(
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2011-07-22 21:00 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-01 17:46 [Qemu-devel] qemu-user[armel/mips] and debian-rootfs Lisandro Damián Nicanor Pérez Meyer
2011-07-01 23:52 ` Lisandro Damián Nicanor Pérez Meyer
2011-07-11 13:45 ` riku voipio
2011-07-11 14:10 ` Lisandro Damián Nicanor Pérez Meyer
2011-07-11 14:18 ` Riku Voipio
2011-07-12 11:32 ` Wesley W. Terpstra
2011-07-12 13:17 ` Lisandro Damián Nicanor Pérez Meyer
[not found] ` <4E1C58EC.8000002@iki.fi>
2011-07-22 20:59 ` Lisandro Damián Nicanor Pérez Meyer
-- strict thread matches above, loose matches on Subject: below --
2010-05-03 19:30 Kenneth Johansson
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).