[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Kernel 2.4.20 panic



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday 12 Apr 2003 3:10 pm, Roberto Sanchez wrote:
> > > I´ve loaded all modules related to this machine, including scsi...
>
> I just went through this yesterday on my machine.  You MUST compile in
> support for the device your root fs is located on.  In my case, I opted for
> IDE as a module.  Well, the modules are located on the root fs (an IDE disk
> on my machine), which must be mounted before modules become accessible.  So
> the kernel is unable to communicate to the disk.

Not true

Thats what initrd is for.  You load the kernel, load initrd as an initial 
ramdisk and a script (linuxrc?) in this initial ram disk loads the modules 
that you need into the kernel.  You can then switch to the real root disk.

With the debian kernel packages this happens automatically. Take a look at the 
initrd-tools package which builds this initrd image for you.

- -- 
Alan Chandler
alan@chandlerfamily.org.uk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+mC4TuFHxcV2FFoIRAvkFAKCcr5AHspDipkUWB0QdMBiY+jZvWQCff8vM
UxNaTZ2ZOV+sKtHUlYWRXcY=
=rUOX
-----END PGP SIGNATURE-----



Reply to: