public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Patch: linux-2.5.8-pre1/kernel/exit.c change caused BUG() at boot time
@ 2002-04-04 11:59 Adam J. Richter
  2002-04-04 12:56 ` Stelian Pop
  2002-04-04 16:23 ` David C. Hansen
  0 siblings, 2 replies; 32+ messages in thread
From: Adam J. Richter @ 2002-04-04 11:59 UTC (permalink / raw)
  To: torvalds, haveblue, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 786 bytes --]

	When I attempted to boot linux-2.5.8-pre1, I got a kernel
BUG() for exit.c line 519.  The was a small change to to kernel/exit.c
in 2.5.8-pre1 which deleted a kernel_lock() call.  Restoring that line
resulted in a kernel that booted fine.  I am sending this email from
the machine running that kernel (so I guess a matching release of
the kernel lock is already in the code).

	Here is the patch.  Of course, it would be helpful if someone
who actually understands this could take a look at it.

-- 
Adam J. Richter     __     ______________   4880 Stevens Creek Blvd, Suite 104
adam@yggdrasil.com     \ /                  San Jose, California 95129-1034
+1 408 261-6630         | g g d r a s i l   United States of America
fax +1 408 261-6631      "Free Software For The Rest Of Us."

[-- Attachment #2: exit.diff --]
[-- Type: text/plain, Size: 263 bytes --]

--- linux-2.5.8-pre1/kernel/exit.c	2002-04-03 23:38:32.000000000 -0800
+++ linux/kernel/exit.c	2002-04-04 03:52:18.000000000 -0800
@@ -499,6 +499,7 @@
 	acct_process(code);
 	__exit_mm(tsk);
 
+	lock_kernel();
 	sem_exit();
 	__exit_files(tsk);
 	__exit_fs(tsk);

^ permalink raw reply	[flat|nested] 32+ messages in thread
[parent not found: <Pine.LNX.4.33.0204041740220.7731-100000@penguin.transmeta.com>]

end of thread, other threads:[~2002-04-05 20:02 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-04 11:59 Patch: linux-2.5.8-pre1/kernel/exit.c change caused BUG() at boot time Adam J. Richter
2002-04-04 12:56 ` Stelian Pop
2002-04-04 13:40   ` Alessandro Suardi
2002-04-04 16:23 ` David C. Hansen
2002-04-04 18:28   ` Dave Hansen
2002-04-04 18:51     ` Robert Love
2002-04-04 19:14       ` Linus Torvalds
2002-04-04 19:26         ` Robert Love
2002-04-04 19:41           ` Dave Hansen
2002-04-04 20:02             ` Patch: linux-2.5.8-pre1/kernel/exit.c change caused BUG() atboot time george anzinger
2002-04-04 20:54           ` Andrew Morton
2002-04-04 21:34           ` Patch: linux-2.5.8-pre1/kernel/exit.c change caused BUG() at boot time Roger Larsson
2002-04-04 22:38             ` Andrew Morton
2002-04-04 22:42               ` Linus Torvalds
2002-04-04 22:54                 ` Patch: linux-2.5.8-pre1/kernel/exit.c change caused BUG() atboot time Andrew Morton
2002-04-04 23:07                 ` Patch: linux-2.5.8-pre1/kernel/exit.c change caused BUG() at boot time Robert Love
2002-04-04 23:42                   ` Linus Torvalds
2002-04-04 23:47                     ` Robert Love
2002-04-04 23:55                       ` Linus Torvalds
2002-04-05  0:03                         ` [PATCH] preemptive kernel behavior change: don't be rude Robert Love
2002-04-05  1:51                           ` george anzinger
2002-04-05  2:06                             ` Robert Love
2002-04-04 22:55               ` Patch: linux-2.5.8-pre1/kernel/exit.c change caused BUG() at boot time Robert Love
2002-04-04 23:10                 ` Patch: linux-2.5.8-pre1/kernel/exit.c change caused BUG() atboot time Andrew Morton
2002-04-04 23:16                   ` Robert Love
2002-04-04 19:13     ` Patch: linux-2.5.8-pre1/kernel/exit.c change caused BUG() at boot time Linus Torvalds
2002-04-04 19:16       ` Robert Love
2002-04-04 19:45         ` Linus Torvalds
2002-04-04 20:09           ` Patch: linux-2.5.8-pre1/kernel/exit.c change caused BUG() atboot time george anzinger
2002-04-04 19:48       ` george anzinger
     [not found] <Pine.LNX.4.33.0204041740220.7731-100000@penguin.transmeta.com>
2002-04-05  3:09 ` [PATCH] preemptive kernel behavior change: don't be rude Robert Love
2002-04-05 20:03   ` Roger Larsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox