Re: [uml-devel] ptrace_test.c program on PPC

2005-03-20 Thread Blaisorblade
On Friday 18 March 2005 01:15, ashwin tanugula wrote: > Hi! > I tried running ptrace_test.c on my ppc. Initially i initialized > ORIG_EAX to 20 which is the system call number for getpid on my ppc, > but it gave out two different pids. > Then i started playing with the numbers > Finally i got same

[uml-devel] Fixing fp-state handling

2005-03-20 Thread Blaisorblade
From arch/um/os-Linux/sys-i386/registers.c: /* XXX These need to use [GS]ETFPXREGS and copy_sc_{to,from}_user_skas needs * to pass in a sufficiently large buffer */ Could fixing this be the real fix instead of "fp-state" in the incrementals? -- Paolo Giarrusso, aka Blaisorblade Linux registere

[uml-devel] Supporting building on x86-64 host as 32-bit UML

2005-03-20 Thread Blaisorblade
It is really difficult for the end-user (and tricky for a developer) to build a 32-bit UML on a 64-bit host box... I would like to address this, but I've not definite ideas. The problems are: 1) how the user must choose what he wants (SUBARCH=i386 can be useful, maybe a Kconfig option would be

Re: [uml-devel] [patch] Remove unnecessary config symbol from makefile.

2005-03-20 Thread Blaisorblade
On Friday 18 March 2005 00:59, Rob Landley wrote: > On Thursday 17 March 2005 02:22 pm, Blaisorblade wrote: > > On Thursday 17 March 2005 08:19, Rob Landley wrote: > > > There can be only one! > > > > Yes, but I prefer slightly the current way, since it's more similar to > > the obj-$(CONFIG_WHATEV

Re: [uml-devel] Re: [uml-user] uml help __alloc_pages: 0-order allocation failed (gfp=0xf0/0)

2005-03-20 Thread Blaisorblade
On Thursday 17 March 2005 20:25, Chris Wedgwood wrote: > On Thu, Mar 17, 2005 at 04:13:37PM -0300, itamar wrote: > > I am running the guest kernel with mem=256M > > does it sound reasonable that 256MB of memory is in use? if so can > you trim that down? > > if this seems too high we need to see if

Re: [uml-devel] http://www.user-mode-linux.org/~blaisorblade/ down?

2005-03-20 Thread Blaisorblade
On Friday 18 March 2005 02:27, Jeff Dike wrote: > [EMAIL PROTECTED] said: > > Yes, just verified... the mirror below is still up, and seems up to > > date... > > > > http://uml.linode.com/blaisorblade/ > > > > Note I don't run the mirror (it's auto-synced periodically) and I > > don't manage the m

Re: [uml-devel] remap_page_range

2005-03-20 Thread Blaisorblade
On Thursday 17 March 2005 16:40, Tsillas, Demetrios J wrote: > I'm trying to simulate some hardware with a driver > which maps a region of kernel memory (allocated with > kmalloc) to user space. > > The user is called mmap which gives him direct access > to some register space. Are you using 2.4? O

[uml-devel] Testing GCOV handling in -bk

2005-03-20 Thread Blaisorblade
Anton, would you test the current -bk tree for the CONFIG_GCOV problem and the patch I and Jeff put together? http://user-mode-linux.sourceforge.net/work/current/2.6/2.6.11-bk8/patches/weak_gcov_init The above should fix the situation for you... for real 3.4 Gcc, however, the problems are bigge

[uml-devel] Re: Supporting building on x86-64 host as 32-bit UML

2005-03-20 Thread Gerd Knorr
> 1) how the user must choose what he wants (SUBARCH=i386 can be useful, > maybe a Kconfig option would be nice - we need to choose the default > depending on the host arch). That one is easy -- just use "linux32 make ...". That will switch the personality and "uname" will return "i686" instead o

[uml-devel] (no subject)

2005-03-20 Thread William Stearns
Good day, all, Charlyn Dike! Jeff and Charlyn were married yesterday in Boston Mass, USA in a small ceremony near the MIT campus. The two of them will be traveling for a few weeks. Jeff is unlikely to be near a good Internet connection for a while, so we should find our own UML answers until

Re: [uml-devel] Re: [uml-user] uml help __alloc_pages: 0-order allocation failed (gfp=0xf0/0)

2005-03-20 Thread Paul Warren
[ trimmed cc to just -devel list] On Thu, Mar 17, 2005 at 08:49:38PM +0100, Blaisorblade wrote: > Paul Warren said that there is a leak in 2.4 UML related to hostfs stuff.. > and > I already saw this message from some 2.4 recent UMLs. I hope Paul Warren can > explain what he saw and help us...

[uml-devel] Hostfs permission checks are all wonky.

2005-03-20 Thread Rob Landley
If I open a device like /dev/loop0 or /dev/console from a hostfs mount, I'll get the UML device, not the host device, right? So why are the permissions checks on hostfs devices done relative to the _host_ user? If /dev/console doesn't belong to the current user, the system can't even open the

Re: [uml-devel] [patch] Remove unnecessary config symbol from makefile.

2005-03-20 Thread Rob Landley
On Sunday 20 March 2005 05:42 am, Blaisorblade wrote: > > Without the fix I posted, I have to remove existing > > symbols from the list, > > If you enable the other symbol, Kbuild will remove it from .config for you > (and output a warning message, yes, but that's hardly a problem). When I > remov

BUG with proposed fix Re: [uml-devel] Can't compile under vanilla 2.6.11

2005-03-20 Thread Ian McDonald
OK after much further investigation, redownloading of source (2.6.11.4) and looking at what you have said I know why it is breaking I had assumed (wrongly of course) that ARCH_SYSCALLS was a one line symbol definition but it is much more than this. The problem occurs because in both arch/um/i

[uml-devel] 2.4 do_mmap_pgoff compile problem

2005-03-20 Thread Peter
linux-2.4.27.tar.bz2 + uml-2.4.27-bs2-pre6.patch.bz2 patches with no error. But I get the error below compile. It seems like the UML code is passing in a mm as the first arg and the only definitions of `do_mmap_pgoff' I can find start with a file arg and have no mm. I dropped the mm arg in t

Re: BUG with proposed fix Re: [uml-devel] Can't compile under vanilla 2.6.11

2005-03-20 Thread Ian McDonald
The other problem with not linking va_copy has been resolved by changing to __va_copy in skas/uaccess.c. This seems to be a known problem with older compilers and there is a patch out there but not in 2.6.11 or by the looks of it 2.6.12 rc1 by my reading of the log (nor for one for my previous e-ma