lkml.org 
[lkml]   [1999]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: PROBLEM:kernel bug while starting gdm
romain griffiths wrote:
>
> PROBLEM:kernel bug while starting gdm
>
> I have just switched from linux-2.3.31 to linux-2.3.32 and gdm (gnome
> display manager like xdm) is crashing.
> It seems to be a kernel error. Im using SMP.
> X debian display XFree86 gnome kernel

There is a bug in the ipc threading code that triggers the new spinlock
debugging code [shm is used by gdm]. Please apply the attached patch.

--
Manfred// $Header$
// Kernel Version:
// VERSION = 2
// PATCHLEVEL = 3
// SUBLEVEL = 32
// EXTRAVERSION =
diff -ur --exclude ptrace.h --exclude Makefile --exclude i386-stubs.c --exclude traps.c --exclude fault.c --exclude ioctls.h 2.3/ipc/util.c build-2.3/ipc/util.c
--- 2.3/ipc/util.c Wed Dec 8 23:17:05 1999
+++ build-2.3/ipc/util.c Tue Dec 14 18:22:43 1999
@@ -130,7 +130,7 @@
if(ids->seq > ids->seq_max)
ids->seq = 0;

- ipc_lock(ids,id);
+ spin_lock(&ids->ary);
ids->entries[id].p = new;
return id;
}
\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.031 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site