Re: boot problem after compiling kernel 2.6.4

From: Drew Kroft (dkroft_at_mindless.com)
Date: 04/30/04


Date: Thu, 29 Apr 2004 15:08:11 -0700

for what it's worth, i've stumbled through similar situations -
particularly when alternating between RedHat and generic kernels.
you MAY be seeing a combination of issues:
- devfs enabling/disabling - /dev entries appear/disappear if/when devfs
turns on/off. /dev/null missing indicates that.
- kernel module ext3 being locaded/built-into-the-kernel/not in the
initrd image. if hda1 is an ext3 formatted drive, missing this
functionality can trigger a slew of mount errors/fsck repairs. similar
with reiserfs formatted devices.

somtimes regenerating the initrd.....img in /boot can help load any
missing modules.
or, init'ing into single-user mode (kernel param "single" or "1") can
give you the opportunity
to load missing modules as you go along the boot process.
there are bootparams (man bootparam) to control devfs and ext3 loading.

hope that helps,
d-

Tim Buchanan wrote:

> Hey all,
>
> Just compiled the kernel 2.6.4 and now my system won't boot. I backed
> up the old kernel and I have restored it but the same thing still
> happens. Everything goes fine until the following appears:
>
> (I'm not sure how much of this is relevant)
>
> ERROR: Couldn't open /dev/null (Read-only file system)
> fsck.ext2: No such file or directory while trying to open /dev/hda1
> /dev/hda1: The superblock could not be read or does not describe a
> correct ext2 filesystem. If the device is valid and it really contains
> an ext2 filesystem (and not swap or ufs or something else), then the
> superblock is corrupt, and you might try running e2fsck with an
> alternate superblock: e2fsck -b 8183 <device>
>
> ...
>
> INIT: Entering runlevel: 3
> -- /etc/rc.d/rc.mu --
> [Pauses for approx 1 minute]
> INIT: Id "c1" respawning too fast: disables for 5 minutes
> INIT: Id "c2" respawning too fast: disables for 5 minutes
> INIT: Id "c3" respawning too fast: disables for 5 minutes
> INIT: no more processes left in this runlevel
>
> Does anyone know what this all means? any help would be appreciated
>
> Cheers
> Tim
>
>



Relevant Pages

  • Re: How To Capture All Start Up Messages
    ... (Which can be compiled into the kernel, as can serial console which I use ... will be to do with missing modules, ... after compiling the kernel. ...
    (uk.comp.os.linux)
  • Re: locating and installation of missing drivers, which are not installed on the hd
    ... for unwanted kernel code. ... > manually install them ... To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org ...
    (Debian-User)
  • Re: saa7127 missing from kernel-2.6.19-1.2895.fc6.i686?
    ... It's true that 2.6.19-1.2895 is missing saa7127, along with a few other drivers that are crucial to the hauppauge 350 and mythtv. ... This supposedly will add the missing modules back into place for ya. ... Previously, I was able to upgrade the kernel using yum with no problem, but now the new kernel kernel-2.6.19-1.2895.fc6.i686 doesn't have saa7127, only saa7115. ... If I go back to kernel-2.6.18-1.2798.fc6.i686 (came with the install DVD iso), ...
    (Fedora)
  • Re: Hardware hassles: Linux vs. Windows - kernels
    ... > No, still one kernel, different drivers. ... i suppose, in my view, "one linux kernel", but with the gazillion ... missing modules or misconfigured modules.conf or equiv files ...
    (Debian-User)
  • Re: Compiling for 2 hdds
    ... Tim Buchanan wrote: ... > Was wondering which optioni have to set to compile a kernel with ... > support for 2 ide hard disks? ... There shouldn't be anything require for you to support 2 HD. ...
    (comp.os.linux.misc)