Re: [uml-devel] [UML] Problems building and running 2.6.17-rc4 on x86-64ync-mailbox>set editor=vim

2006-05-16 Thread Blaisorblade
On Wednesday 17 May 2006 04:39, Alberto Bertogli wrote: > On Tue, May 16, 2006 at 03:12:44PM -0400, Jeff Dike wrote: > > On Mon, May 15, 2006 at 12:29:58PM -0300, Alberto Bertogli wrote: > > > Sure, here it is: > > > (gdb) disas stub_segv_handler > > > > Sorry, I misread the error message and asked

Re: [uml-devel] [PATCH] RFC allow PTRACE_SYSCALL to selectively skip syscalls

2006-05-16 Thread Blaisorblade
On Saturday 13 May 2006 19:40, Steven James wrote: > Greetings, > > I have been working on a few experimental system calls using a ptrace > mechanism similar to UML to implement the calls. Naturally this lead me to > look at PTRACE_SYSEMU vs. PTRACE_SYSCALL. Since the extra system calls are > imple

Re: [uml-devel] [UML] Problems building and running 2.6.17-rc4 on x86-64ync-mailbox>set editor=vim

2006-05-16 Thread Alberto Bertogli
On Tue, May 16, 2006 at 03:12:44PM -0400, Jeff Dike wrote: > On Mon, May 15, 2006 at 12:29:58PM -0300, Alberto Bertogli wrote: > > Sure, here it is: > > (gdb) disas stub_segv_handler > > Sorry, I misread the error message and asked for the wrong thing. > Your UML is seeing a process segfault durin

Re: [uml-devel] [UML] Problems building and running 2.6.17-rc4 on x86-64

2006-05-16 Thread Jeff Dike
On Mon, May 15, 2006 at 12:29:58PM -0300, Alberto Bertogli wrote: > Sure, here it is: > (gdb) disas stub_segv_handler Sorry, I misread the error message and asked for the wrong thing. Your UML is seeing a process segfault during a system call, before the SIGTRAP expected at the end of the system c

Re: [uml-devel] Re: Bug#366915: user-mode-linux: fails when host kernel is linux-image-2.6.16-1-k7

2006-05-16 Thread Jeff Dike
On Mon, May 15, 2006 at 12:39:48PM +0200, Blaisorblade wrote: > The error message is different. However, I can't exclude there is the same > root cause acting in a different way, but I've now debugged this a bit and > this seems unlikely. Have you learned anything? See the register dumping patc

Re: [Pkg-uml-pkgs] Bug#366915: [uml-devel] Re: Bug#366915: user-mode-linux: fails when host kernel is linux-image-2.6.16-1-k7

2006-05-16 Thread Jeff Dike
On Tue, May 16, 2006 at 08:09:39PM +0200, Mattia Dongili wrote: > > More a bug. We are considering ways of detecting the host vmsplit at > > run time and adapting to it, but added back the CONFIG_HOST_2G_2G as > > an interim measure. > > Thanks, will enable it in the .17 release of the debian pac

Re: [uml-devel] Re: Bug#366915: user-mode-linux: fails when host kernel is linux-image-2.6.16-1-k7

2006-05-16 Thread Blaisorblade
On Friday 12 May 2006 22:08, Mattia Dongili wrote: > Hello UML developers, > > I received the following bugreport for 2.6.16 UML running on a 2.6.16 > host (both are debian packages). I found a similar report on a french > site[1], it seems to be the same problem. > > Can you help putting some ligh

Re: [Pkg-uml-pkgs] Bug#366915: [uml-devel] Re: Bug#366915: user-mode-linux: fails when host kernel is linux-image-2.6.16-1-k7

2006-05-16 Thread Mattia Dongili
On Mon, May 15, 2006 at 09:23:19PM -0400, Jeff Dike wrote: > On Mon, May 15, 2006 at 09:55:09PM +0200, Mattia Dongili wrote: > > Does this mean that UML will run on a non-standard-vm-split _only_ if > > the host has CONFIG_VMSPLIT_2G=y ? > > The question is not clear. The host will only have a no

Re: [uml-devel] [PATCH] RFC allow PTRACE_SYSCALL to selectively skip syscalls

2006-05-16 Thread Steven James
On Tue, 16 May 2006, Jeff Dike wrote: > On Sat, May 13, 2006 at 01:40:48PM -0400, Steven James wrote: > > The patch below for x86_64 implements a scheme where a ptraced system call > > U, so where's the patch? > I suppose it WOULD help to actually send it: diff -urN linux-2.6.12.2-nimbus1/ar

[uml-devel] unsbuscribe

2006-05-16 Thread Michael Stowe
 

Re: Bug#366915: [uml-devel] Re: Bug#366915: user-mode-linux: fails when host kernel is linux-image-2.6.16-1-k7

2006-05-16 Thread Jeff Dike
On Mon, May 15, 2006 at 12:08:58PM +0200, Mattia Dongili wrote: > Oh, I found > CONFIG_PAGE_OFFSET=0xB000 > > may this be the problem? I found reports telling it broke other SW: > http://lists.debian.org/debian-kernel/2006/04/msg00042.html Yup, that's the problem. They did spring a split cha

Re: [uml-devel] [PATCH] RFC allow PTRACE_SYSCALL to selectively skip syscalls

2006-05-16 Thread Jeff Dike
On Sat, May 13, 2006 at 01:40:48PM -0400, Steven James wrote: > The patch below for x86_64 implements a scheme where a ptraced system call > is skipped if the ptrace thread sets a return value (in RAX) when it > handles the syscall entry. Otherwise things proceed normally. U, so where's the pa

Re: [uml-devel] Kernel mode fault at addr 0x87800000, ip 0x400007b0

2006-05-16 Thread Jeff Dike
On Wed, May 10, 2006 at 03:08:18AM -0500, Christopher S. Aker wrote: > 2.6.16 + bb1 > > Kernel panic - not syncing: Kernel mode fault at addr 0x8780, ip > 0x47b0 > > EIP: 0073:[<47b0>] CPU: 0 Not tainted ESP: 007b:bfe19380 EFLAGS: > 0212 > Not tainted > EAX: EBX: 00

Re: Bug#366915: [uml-devel] Re: Bug#366915: user-mode-linux: fails when host kernel is linux-image-2.6.16-1-k7

2006-05-16 Thread Jeff Dike
On Mon, May 15, 2006 at 12:08:58PM +0200, Mattia Dongili wrote: > did you mean .17-rc4? Debian kernels contain very little modifications, > and usually track upstream very closely. Yes I did, sorry. Jeff --- Usi

Re: Bug#366915: [uml-devel] Re: Bug#366915: user-mode-linux: fails when host kernel is linux-image-2.6.16-1-k7

2006-05-16 Thread Mattia Dongili
On Mon, May 15, 2006 5:44 am, Jeff Dike said: > On Fri, May 12, 2006 at 10:08:06PM +0200, Mattia Dongili wrote: >> > kjournald starting. Commit interval 5 seconds >> > EXT3-fs: mounted filesystem with ordered data mode. >> > VFS: Mounted root (ext3 filesystem) readonly. >> > mapping mmap stub fail

Re: [Pkg-uml-pkgs] Bug#366915: [uml-devel] Re: Bug#366915: user-mode-linux: fails when host kernel is linux-image-2.6.16-1-k7

2006-05-16 Thread Mattia Dongili
On Mon, May 15, 2006 at 08:39:54AM -0400, Jeff Dike wrote: > On Mon, May 15, 2006 at 12:08:58PM +0200, Mattia Dongili wrote: > > Oh, I found > > CONFIG_PAGE_OFFSET=0xB000 > > > > may this be the problem? I found reports telling it broke other SW: > > http://lists.debian.org/debian-kernel/2006/

[uml-devel] [PATCH] RFC allow PTRACE_SYSCALL to selectively skip syscalls

2006-05-16 Thread Steven James
Greetings, I have been working on a few experimental system calls using a ptrace mechanism similar to UML to implement the calls. Naturally this lead me to look at PTRACE_SYSEMU vs. PTRACE_SYSCALL. Since the extra system calls are implemented entirely by the ptrace thread it seems a shame to take

Re: [uml-devel] [UML] Problems building and running 2.6.17-rc4 on x86-64

2006-05-16 Thread Jeff Dike
On Sun, May 14, 2006 at 03:25:41PM -0300, Alberto Bertogli wrote: > So I copied them from sysdeps/x86_64/jmpbuf-offsets.h, and building went > on. Probably, the same happens under i386. The current patch for this is http://user-mode-linux.sourceforge.net/work/current/2.6/2.6.17-rc4/patches/jmpbuf

Re: [uml-devel] [UML] Problems building and running 2.6.17-rc4 on x86-64

2006-05-16 Thread Alberto Bertogli
On Sun, May 14, 2006 at 11:39:19PM -0400, Jeff Dike wrote: > On Sun, May 14, 2006 at 03:25:41PM -0300, Alberto Bertogli wrote: > > So I copied them from sysdeps/x86_64/jmpbuf-offsets.h, and building went > > on. Probably, the same happens under i386. > > The current patch for this is > http://use