Re: Oops in 2.4.0-test4 (its still this one introduced in

From: Russell King (rmk@arm.linux.org.uk)
Date: Sat Jul 15 2000 - 10:19:56 EST


Alan Cox writes:
> The oops is caused because some kernel threads are created before we have
> the root fs mounted. That leaves them with invalid things procfs follows
> with fatal results.

I encountered this before. You want to make sure that all such threads
are created with the following flags:

        CLONE_FILES | CLONE_FS | CLONE_SIGHAND

See bottom of fs/buffer.c for example usage.
   _____
  |_____| ------------------------------------------------- ---+---+-
  | | Russell King rmk@arm.linux.org.uk --- ---
  | | | | http://www.arm.linux.org.uk/~rmk/aboutme.html / / |
  | +-+-+ --- -+-
  / | THE developer of ARM Linux |+| /|\
 / | | | --- |
    +-+-+ ------------------------------------------------- /\\\ |

-
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 : Sat Jul 15 2000 - 21:00:22 EST