Re: PROBLEM:kernel bug while starting gdm

Manfred Spraul (manfreds@colorfullife.com)
Tue, 14 Dec 1999 19:44:04 +0100


This is a multi-part message in MIME format.
--------------1A23ECD6531DCADB0BF046CA
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

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
--------------1A23ECD6531DCADB0BF046CA
Content-Type: text/plain; charset=us-ascii;
 name="patch-ipclock"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="patch-ipclock"

// $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; }

--------------1A23ECD6531DCADB0BF046CA--

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/