Kernel Panic!

Kent Frazier kentfrazier at gmail.com
Tue Dec 21 22:20:18 UTC 2004


On Tue, 21 Dec 2004 23:18:50 +0200, Duncan Anderson
<duncangareth at yahoo.co.uk> wrote:
> Hi Kent
> 
> I may be way off beam here, but the first thing I'd do in a situation
> like that is something like the following:
> 
>  From a knoppix root command line, I would fsck the offending file
> system, then I'd mount the root fs on the hd, then I'd chroot to it and
> then I'd "su -", then I'd run "makedev /dev", after which I'd reboot and
> see what happens.

OK, I followed your instructions, but when I run "makedev /dev" it
cannot find makedev.  A quick "locate makedev" finds the following:

/etc/init.d/makedev
/etc/rc0.d/K20makedev
/etc/rc1.d/K20makedev
/etc/rc2.d/S20makedev
/etc/rc3.d/S20makedev
/etc/rc4.d/S20makedev
/etc/rc5.d/S20makedev
/etc/rc6.d/K20makedev
/usr/share/doc/makedev
/usr/share/doc/makedev/README.Debian
/usr/share/doc/makedev/copyright
/usr/share/doc/makedev/changelog.Debian.gz
/var/lib/dpkg/info/makedev.postinst
/var/lib/dpkg/info/makedev.list
/var/lib/dpkg/info/makedev.preinst
/var/lib/dpkg/info/makedev.prerm
/var/lib/dpkg/info/makedev.postrm
/var/lib/dpkg/info/makedev.conffiles
/var/lib/dpkg/info/makedev.md5sums
/var/cache/apt/archives/makedev_2.3.1-75_all.deb

None of these are in my path.  Should I specify one of these
explicitly?  It seems like this is being run by the system at boot
anyway.

Also, I am not very familiar with fsck.  When I ran it, it said the following:

# fsck /dev/hda1
fsck 1.35 (28-Feb-2004)
e2fsck 1.35 (28-Feb-2004)
/dev/hda1: recovering journal
/dev/hda1: clean, 209061/2443200 files, 1366723/4885760 blocks

Does the "recovering journal" line indicate that the journal was
damaged?  If so, is it possible that this was causing the problem?  I
am about to reboot to see if it fixed it.  I will report back.

Kent




More information about the ubuntu-users mailing list