Re: [uml-devel] [Patch] um: fix a build error

2008-07-21 Thread Alan Cox
On Mon, 21 Jul 2008 17:54:09 +0100 WANG Cong <[EMAIL PROTECTED]> wrote: > > Fixed this build error: > > /home/wangcong/Projects/linux-2.6/arch/um/drivers/line.c: In function > ‘line_write_interrupt’: > /home/wangcong/Projects/linux-2.6/arch/um/drivers/line.c:366: error: > ‘struct tty_ldisc’ has

Re: [uml-devel] [uml-user] [PATCH] Fix for 2.6.26 ptrace crash

2008-07-21 Thread vincent-perrier
Hello, I also had the crash with a lot of zeros in a vertical line with kernel 2.6.26, I was sad then. But I am now happy, I applied the patch: bash-3.1# cd linux-2.6.26 bash-3.1# patch -p1 < ../jeff.patch patching file arch/um/include/init.h Hunk #1 succeeded at 45 with fuzz 2. Hunk #2 succeeded

[uml-devel] [Patch] um: fix a build error

2008-07-21 Thread WANG Cong
Fixed this build error: /home/wangcong/Projects/linux-2.6/arch/um/drivers/line.c: In function ‘line_write_interrupt’: /home/wangcong/Projects/linux-2.6/arch/um/drivers/line.c:366: error: ‘struct tty_ldisc’ has no member named ‘write_wakeup’ /home/wangcong/Projects/linux-2.6/arch/um/drivers/line.c

[uml-devel] [PATCH] Fix for 2.6.26 ptrace crash

2008-07-21 Thread Jeff Dike
I believe I figured out the ptrace crash that showed up with 2.6.26, thanks to Toralf Förster. The patch is below. I have one confirmation that this fixes the problem - I'd like a few more just to be sure. Jeff -- Work email - jdike at linux dot intel dot com Index: li

Re: [uml-devel] 2.6.25 uml kernel crashes when it calls down() on a semaphore with zero counter

2008-07-21 Thread Mattia Dongili
On Sun, Jul 20, 2008 at 11:44:20AM -0400, Jeff Dike wrote: > On Mon, Jul 21, 2008 at 12:20:22AM +0900, Mattia Dongili wrote: > > it's not entirely clear to me why, but that patch fixes a segfault that > > I experience when booting uml 2.6.25 built with gcc-4.3 on a 2.6.25 > > host (I also applied y