lkml.org 
[lkml]   [2002]   [Apr]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectPatch: linux-2.5.8-pre1/kernel/exit.c change caused BUG() at boot time
    	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."
    --- 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);
    \
     
     \ /
      Last update: 2005-03-22 13:22    [W:0.023 / U:0.336 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site