Re: [Qemu-devel] [PATCH] ARM MMU translation - fix small (4k) page access

2007-02-02 Thread Justin Fletcher
On Fri, 2 Feb 2007, Scott Oom wrote: Hello, Found a problem when using small pages and getting permission faults. This patch corrects the decoding of access permissions for small pages on ARM, was just off by 2 bits. I may be confused on this, but it still doesn't seem right to me. You have..

RE: [Qemu-devel] Re: strange crash on FreeBSD-current/amd64 (pointertruncation?)

2007-02-02 Thread Paul Robinson
> From: > [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > rg] On Behalf Of Thiemo Seufer > Sent: 02 February 2007 04:02 > To: Juergen Lock > Cc: qemu-devel@nongnu.org > Subject: Re: [Qemu-devel] Re: strange crash on > FreeBSD-current/amd64 (pointertruncation?) > > Juergen Lock wrote: > > On Wed

[Qemu-devel] Problem with threads in Scratchbox with Qemu for ARM

2007-02-02 Thread Stephane Epardaud
Hello, I'm trying the Scratchbox/Maemo devkit for the Nokia770/N800 ARM device, and I'm having a problem running a multi-threaded program under application Qemu ARM emulation on my x86 linux box. The application I'm trying to run is the Boehm GC, which seems to run fine on the N770 device, but

Re: [Qemu-devel] Problem with threads in Scratchbox with Qemu for ARM

2007-02-02 Thread Vincent Palatin
> Does anyone know of known problems under Qemu for ARM and pthreads ? Yes, it is known ... last occurence in the mailing list archive is : On Saturday 20 January 2007 14:43, Paul Brook wrote: [...] > > Threaded applications don't work reliably under qemu. > See mailing list archives for discus

Re: [Qemu-devel] Problem with threads in Scratchbox with Qemu for ARM

2007-02-02 Thread Stephane Epardaud
Vincent Palatin wrote: Does anyone know of known problems under Qemu for ARM and pthreads ? Yes, it is known ... last occurence in the mailing list archive is : Thanks, I guess I failed to find the exact posts mentioning the reasons. Any idea if this area will improve in the near future ? Or

[Qemu-devel] QEMU wiki down?

2007-02-02 Thread Dirk Behme
Anybody else with problems accessing QEMU wiki http://kidsquid.com/cgi-bin/moin.cgi ? Dirk ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel

Re: [Qemu-devel] Problem with threads in Scratchbox with Qemu for ARM

2007-02-02 Thread Vincent Palatin
On Friday 02 February 2007 16:11, Stephane Epardaud wrote: > Vincent Palatin wrote: > >> Does anyone know of known problems under Qemu for ARM and pthreads ? > > > > Yes, it is known ... last occurence in the mailing list archive is : > > Thanks, I guess I failed to find the exact posts mentioning

Re: [Qemu-devel] Problem with threads in Scratchbox with Qemu for ARM

2007-02-02 Thread Stephane Epardaud
Thanks for the infos! ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel

RE: [Qemu-devel] Re: strange crash on FreeBSD-current/amd64 (pointertruncation?)

2007-02-02 Thread Gwenole Beauchesne
On Fri, 2 Feb 2007, Paul Robinson wrote: > But the T0, T1, and T2 registers are being saved for the benefit of the > host not the target. FWIW, I use the following patch for Virtual Box on x86_64. The proper fix would be to not globally allocate registers for the whole program but only for the mi

Re: [Qemu-devel] [PATCH] ARM MMU translation - fix small (4k) page access

2007-02-02 Thread Justin Fletcher
On Fri, 2 Feb 2007, Justin Fletcher wrote: On Fri, 2 Feb 2007, Scott Oom wrote: Hello, Found a problem when using small pages and getting permission faults. This patch corrects the decoding of access permissions for small pages on ARM, was just off by 2 bits. I may be confused on this, but i

Re: [Qemu-devel] [PATCH] ARM MMU translation - fix small (4k) page access

2007-02-02 Thread Scott Oom
Justin Fletcher wrote: > > I may be confused on this, but it still doesn't seem right to me. > > You have... > > -ap = (desc >> (4 + ((address >> 13) & 6))) & 3; > +ap = (desc >> (4 + ((address >> 11) & 6))) & 3; /* SRO */ > > For 4K pages, the L2 table is ... >

RE: [Qemu-devel] Re: strange crash on FreeBSD-current/amd64 (pointertruncation?)

2007-02-02 Thread Gwenole Beauchesne
On Fri, 2 Feb 2007, Gwenole Beauchesne wrote: > The proper fix would be to not globally allocate registers for the whole > program but only for the micro-ops. Then, make the necessary > save/restore around the gen_func call. Hmm, I realized in the train that this wouldn't work for QEMU. > +/

Re: [Qemu-devel] QEMU wiki down?

2007-02-02 Thread Stefan Weil
Dirk Behme schrieb: > > Anybody else with problems accessing QEMU wiki > > http://kidsquid.com/cgi-bin/moin.cgi > > ? > > Dirk > Yes. Stefan ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel

[Qemu-devel] Solaris amd64 patch

2007-02-02 Thread Ben Taylor
This patch (by Martin Bochnig [EMAIL PROTECTED]) fixes a register allocation issue on Solaris. Some supporting evidence and the original patch were posted at: http://www.opensolaris.org/jive/thread.jspa?threadID=22392&tstart=0 diff -ruN qemu-ORIG/dyngen-exec.h qemu/dyngen-exec.h --- qemu-ORIG/dy

[Qemu-devel] SPARC ops

2007-02-02 Thread Ben Taylor
This patch coded by Martin Bochnig ([EMAIL PROTECTED]) adds support for a couple of Sparc V9 operations. diff -ruN qemu-ORIG/dyngen.c qemu/dyngen.c --- qemu-ORIG/dyngen.c 2006-12-21 11:49:27.0 -0500 +++ qemu/dyngen.c 2007-02-02 15:06:56.019613000 -0500 @@ -2349,6 +2349,33 @@

Re: [Qemu-devel] Solaris amd64 patch

2007-02-02 Thread Igor Kovalenko
On 2/2/07, Ben Taylor <[EMAIL PROTECTED]> wrote: This patch (by Martin Bochnig [EMAIL PROTECTED]) fixes a register allocation issue on Solaris. Some supporting evidence and the original patch were posted at: http://www.opensolaris.org/jive/thread.jspa?threadID=22392&tstart=0 This also make

Re: [Qemu-devel] Re: strange crash on FreeBSD-current/amd64 (pointer truncation?)

2007-02-02 Thread Juergen Lock
On Fri, Feb 02, 2007 at 04:02:00AM +, Thiemo Seufer wrote: > Juergen Lock wrote: > > On Wed, Jan 24, 2007 at 09:00:19PM +0100, Juergen Lock wrote: > > > Hi! > > > > > > I got a report of qemu segfaulting here on FreeBSD-current/amd64: > > > > > > > #0 main_loop () at > > > > /usr/ports-cvs

[Qemu-devel] qemu/linux-user syscall.c

2007-02-02 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/02/02 22:05:00 Modified files: linux-user : syscall.c Log message: sem* and msg* for qemu, part1, by Kirill Shutemov. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/sys

[Qemu-devel] qemu/linux-user syscall.c

2007-02-02 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/02/02 22:05:44 Modified files: linux-user : syscall.c Log message: sem* and msg* for qemu, part2, by Kirill Shutemov. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/sys

Re: [Qemu-devel] Re: strange crash on FreeBSD-current/amd64 (pointer truncation?)

2007-02-02 Thread Thiemo Seufer
Juergen Lock wrote: > > > Ok Jung-uk Kim found the following fix: (Thanx!) > > > > > > --- qemu/cpu-exec.c.orig Wed Jan 31 16:58:03 2007 > > > +++ qemu/cpu-exec.c Wed Jan 31 17:08:11 2007 > > > @@ -226,9 +226,9 @@ > > > > > > int cpu_exec(CPUState *env1) > > > { > > > -int saved_T0,

Re: [Qemu-devel] Re: strange crash on FreeBSD-current/amd64 (pointer truncation?)

2007-02-02 Thread andrzej zaborowski
On 02/02/07, Juergen Lock <[EMAIL PROTECTED]> wrote: On Fri, Feb 02, 2007 at 04:02:00AM +, Thiemo Seufer wrote: > Juergen Lock wrote: > > On Wed, Jan 24, 2007 at 09:00:19PM +0100, Juergen Lock wrote: > > > Hi! > > > > > > I got a report of qemu segfaulting here on FreeBSD-current/amd64: > >

Re: [Qemu-devel] Re: strange crash on FreeBSD-current/amd64 (pointer truncation?)

2007-02-02 Thread Paul Brook
> > Isn't that 32 bit for 32 bit targets? Then it wouldn't fix the bug, > > Well, it just happens that target_ulong is 64 bit even for 32 bit > target on a 64 bit host (as a workaround for something I think, was > wondering about it too. I asked on IRC once but no one knew the actual > reason). Th

Re: [Qemu-devel] Re: strange crash on FreeBSD-current/amd64 (pointer truncation?)

2007-02-02 Thread andrzej zaborowski
On 02/02/07, Paul Brook <[EMAIL PROTECTED]> wrote: > > Isn't that 32 bit for 32 bit targets? Then it wouldn't fix the bug, > > Well, it just happens that target_ulong is 64 bit even for 32 bit > target on a 64 bit host (as a workaround for something I think, was > wondering about it too. I asked

[Qemu-devel] [PATCH] Fix typo in hw/usb.h

2007-02-02 Thread Ed Swierk
This patch fixes an apparent typo in hw/usb.h. --Ed Index: qemu-snapshot-2007-02-02_05/hw/usb.h === --- qemu-snapshot-2007-02-02_05.orig/hw/usb.h +++ qemu-snapshot-2007-02-02_05/hw/usb.h @@ -164,7 +164,7 @@ struct USBPacket { US

[Qemu-devel] Please help build qemu/darwin-user on Mac Intel

2007-02-02 Thread Ilya Shar
Hi, I am trying to build i386-darwin-user to run it on an x86 Mac. I'm on Mac OS 10.4 Intel with gcc 3.3 and I'm getting compiler errors right away: $ cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/darwine co qemu $ cd qemu/ $ ./configure --target-list=i386-darwin-user --cc=/opt/gcc3/bin/gcc $ make

Re: [Qemu-devel] Re: strange crash on FreeBSD-current/amd64 (pointer truncation?)

2007-02-02 Thread Juergen Lock
On Fri, Feb 02, 2007 at 10:24:28PM +, Thiemo Seufer wrote: > Juergen Lock wrote: > > > > Ok Jung-uk Kim found the following fix: (Thanx!) > > > > > > > > --- qemu/cpu-exec.c.origWed Jan 31 16:58:03 2007 > > > > +++ qemu/cpu-exec.c Wed Jan 31 17:08:11 2007 > > > > @@ -226,9 +226,9 @

Re: [Qemu-devel][Patch] qemu console.c

2007-02-02 Thread Thiemo Seufer
Stefan Weil wrote: > > > CVSROOT: /sources/qemu > > Module name: qemu > > Changes by: Thiemo Seufer 07/01/16 23:02:36 > > > > Modified files: > > . : console.c > > > > Log message: > > Improved console handling, thanks Stefan Weil. > Here are two additional smaller changes for console.c. > They f

Re: [Qemu-devel] qemu vl.c

2007-02-02 Thread Kazu
ssage: > Mingw build fix, by Johannes Schindelin. > > CVSWeb URLs: > http://cvs.savannah.gnu.org/viewcvs/qemu/vl.c?cvsroot=qemu&r1=1.245&r2=1.246 > > qemu-20070202-serial.patch Description: Binary data ___ Qemu-devel mailing

Re: [Qemu-devel] QEMU wiki down?

2007-02-02 Thread Dirk Behme
Stefan Weil wrote: Dirk Behme schrieb: Anybody else with problems accessing QEMU wiki http://kidsquid.com/cgi-bin/moin.cgi ? Dirk Yes. Stefan Looks okay again. Thanks Dirk Btw: Our QuickStartGuide reached > 10 view counts: http://kidsquid.com/cgi-bin/moin.cgi/PageHits :)

Re: [Qemu-devel] Please help build qemu/darwin-user on Mac Intel

2007-02-02 Thread Pierre d'Herbemont
Hi, On 3 févr. 07, at 02:37, Ilya Shar wrote: I am trying to build i386-darwin-user to run it on an x86 Mac. I'm on Mac OS 10.4 Intel with gcc 3.3 and I'm getting compiler errors right away: $ cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/darwine Ilya, qemu's CVS has the most up-to-date version