Re: [2.1.21] Instant death

Linus Torvalds (torvalds@cs.Helsinki.FI)
Wed, 15 Jan 1997 03:08:30 +0200 (EET)


On Tue, 14 Jan 1997, Aaron Tiensivu wrote:
> Subject: [2.1.21] Instant death
>
> I did a clean compile off of the source of linux-2.1.21.tar.gz
>
> It'll die after this:
> VFS: Mounted root (ext2 filesystem) readonly.
>
> Instantly.. it complains of a NULL dereference from virtual address 00000000,
> in the process 'swapper'. I did not write down the specifics, but I assume
> that others are going to run into this problem.

It's due to init/main.c - the "execve(execute_command.." stuff. Add a test
that execve_command is non-zero before that execve and you should be ok.

Sorry for that, I never saw it on my intel machine due to the way the
mappings are set up. It was obvious on the alpha, though..

Linus