Messages in this thread |  | | Date | Thu, 16 Jan 1997 10:36:39 -0500 (EST) | From | "Adam D. Bradley" <> | Subject | Re: 2.1.21 booting problem... |
| |
> > It seems that when I try to boot with 2.1.21 it oops's right after init > > says "remounting root partition read write", something about being > > unable to handle a "null reference pointer" or something to that effect. > > I can get the actuall oops message if it's required(I really don't want > > to because it isn't logged, and I'd have to copy it by hand ;/ ). > > Anyway, is this aa commom problem? and yes, I'm running init 2.69. > > Thanks, > > nerull@home.virtual-pc.com > > > > I second that problem. (Also not wanting to copy out and type back the > oops... I am booting umsdos, so I thought it had something to do with > that.
This is fixed in Alan's patches...or, do it yourself w/ this handy tidbit fm Linus (posted just yesterday):
----Forwarded Message---- From torvalds@cs.Helsinki.FIThu Jan 16 10:35:25 1997 Date: Wed, 15 Jan 1997 03:08:30 +0200 (EET) From: Linus Torvalds <torvalds@cs.Helsinki.FI> To: Aaron Tiensivu <tiensivu@pilot.msu.edu> Cc: Linux Kernel Digest <linux-kernel@vger.rutgers.edu> Subject: Re: [2.1.21] Instant death
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
-- He feeds on ashes; a deluded mind has led him Adam Bradley, UNCA Senior astray, and he cannot deliver himself or say, Computer Science "Is there not a lie in my right hand?" Isaiah 44:20 bradley@cs.unca.edu http://www.cs.unca.edu/~bradley <><
|  |