Results 1 to 5 of 5

Thread: Kernel panic - reiserfs

  1. #1
    Junior Member
    Join Date
    Aug 2003
    Posts
    3

    Kernel panic - reiserfs

    I recompiled kernel 2.4.21-xfs to include raid0 and md modules, I installed lilo, after reboot I obtain this error:

    /modules/reiserfs.o: kernel module version mismatch
    /modules/reiserfs.o was compiled for kernel version 2.4.21-xfs
    while this kernel is version 2.4.21
    FAT: bogous logical sector size 0
    FAT: bogous logical sector size 0
    md: swapper(pid 1) used obsolete MD ioctl, upgrade your software to use new ictls
    kernel panic: VFS: Unable to mount root fs on 09:00

    The system has 2 hard disks with 3 partitions with raid 0 fs:reiserfs, swap partitions and a ext3 /boot non-raid partition
    I recompiled source of knoppix 2.4.21-xfs kernel not 2.4.21 vanilla version, then I don't understand the error.

    Please help me to boot the system.

    Thanks.

  2. #2
    Junior Member registered user
    Join Date
    Feb 2003
    Posts
    14
    Hi,
    did you run "make modules modules_install" from /usr/src/linux after kernel compilation ?
    I would compile the reiserfs and ext3 support directly into the kernel (or at least the filesystem used for the root-fs). Otherwise you'd need to have an initial ram-disk (initrd).

    good luck

  3. #3
    Junior Member
    Join Date
    Aug 2003
    Posts
    3
    I compiled the kernel with the live-cd mounting the root partition in /mnt/root/

    My banal doubt is:
    How run "modules install" in this root directory tree mounted under /mnt/root ?

  4. #4
    Senior Member registered user
    Join Date
    Apr 2003
    Location
    Muscat.Oman
    Posts
    262
    I had the same problem before and the reason was that reiser file system was compiled as a module. Try to modify your new kernel config by putting a 'y' to lines containing 'reiser'in the file system section of the config file. then do another kernel compile.

  5. #5
    Junior Member
    Join Date
    Aug 2003
    Posts
    3
    Ok, done.

    But how can I run "make modules_install" if my /dev/md0 (raid0 reiserfs) - the root filesystem on hard disk where I compiled the kernel - is mounted under /mnt/root of live-cd fs?

    I tried to chroot to /mnt/root but many commands doesn't run, maybe because environment paths still reamain the same of live cd.

Similar Threads

  1. remaster kernel--Kernel Panic: VFS......
    By Trace Green in forum Customising & Remastering
    Replies: 2
    Last Post: 05-19-2005, 04:33 PM
  2. Errors and kernel panic during boot (2.6 Kernel)
    By gitarzysta in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 06-03-2004, 08:36 PM
  3. kernel panic with custom kernel
    By cYmen in forum Customising & Remastering
    Replies: 0
    Last Post: 07-14-2003, 10:17 AM
  4. Modified kernel results in Kernel Panic - No init found.
    By tji in forum Customising & Remastering
    Replies: 4
    Last Post: 06-12-2003, 06:40 PM
  5. Reiserfs and kernel compilation
    By mordor in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 03-26-2003, 03:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •