lkml.org 
[lkml]   [2000]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.4.0-test7-pre3 wont boot
At 06:28 13/08/00, Heinz Diehl wrote:
>On Sun Aug 13 2000, Norbert Tretkowski wrote:
>
>[2.4.0-test7-pre3]
> > Kernel stops booting after
> > Freeing unused kernel memory: 160k freed
>
> > No Errors, just stops booting. pre2 works fine.
>
>Exactly the same thing here.

Mike's patch fixed it for me ...

From: Mike Galbraith <mikeg@weiden.de>
To: Alexander Viro <viro@math.psu.edu>
cc: linux-kernel <linux-kernel@vger.rutgers.edu>
Subject: test7-pre3 looping in flush_old_exec()

Hi Al,
Upon boot, my box gets stuck in flush_old_exec(). The below may
be dead wrong.. but does make box happy enough to boot and run.
-Mike
--- linux-2.4.0-test7-pre3.ikd.mike/fs/exec.c.org Sun Aug 13
09:09:28 2000
+++ linux-2.4.0-test7-pre3.ikd.mike/fs/exec.c Sun Aug 13 09:13:07
2000
@@ -481,8 +481,10 @@
if (i >= files->max_fds || i >= files->max_fdset)
break;
set = files->close_on_exec->fds_bits[j];
- if (!set)
+ if (!set) {
+ j++;
continue;
+ }
files->close_on_exec->fds_bits[j] = 0;
j++;
write_unlock(&files->file_lock);


cheers,

lincoln.


-
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/

\
 
 \ /
  Last update: 2005-03-22 13:58    [W:0.059 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site