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

2008-07-14 Thread Jiaying Zhang
On Fri, Jul 11, 2008 at 1:02 AM, Jeff Dike <[EMAIL PROTECTED]> wrote: > On Thu, Jul 10, 2008 at 10:25:29AM +0800, Jiaying Zhang wrote: > > Do you have any thought about what the problem might be? > > Thanks a lot! > > Yeah, my first thought is that your code is buggy. > > Since 2.6.25 seems OK, yo

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

2008-07-14 Thread Jeff Dike
On Mon, Jul 14, 2008 at 05:06:49PM +0800, Jiaying Zhang wrote: > The 2.6.24 kernels are OK, but I have seen this problem with all of the > 2.6.25 kernels I have tried. There have been a lot of changes between > 2.6.24 kernels and 2.6.25 kernels. I am not sure which one may lead > to this problem.

Re: [uml-devel] [PATCH] fix extern inline errors with gcc 4.3.0

2008-07-14 Thread David Shane Holden
I tried to build a UML 2.6.26 kernel on Debian (32-bit) and ran into the same problem reported here http://marc.info/?t=12101153352&r=1&w=2. If I use gcc 4.3 everything works fine, but if I use gcc 4.1 or 4.2, UML crashes on startup. I changed the gcc version check to 0430 and both 4.1 a