Re: 2.4.0-test7-pre3 wont boot

From: Lincoln Dale (ltd@interlink.com.au)
Date: Sun Aug 13 2000 - 05:49:47 EST


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/



This archive was generated by hypermail 2b29 : Tue Aug 15 2000 - 21:00:30 EST