Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, I have installed a Red Hat Enterprise 5. It boot right which its kernel 2.6.X default. I need to install a 2.4 kernel (i need load a old driver ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2009
    Posts
    1

    Kernel Panic


    Hi,

    I have installed a Red Hat Enterprise 5. It boot right which its kernel 2.6.X default.

    I need to install a 2.4 kernel (i need load a old driver module).

    When system boot with 2.4 boot messages is showed:

    Mounting root filesystem
    kjournald starting. Commit inetrval 5 seconds
    EXT3-fs: mounted filesystem with ordered data mode
    VFS: Mounted root (ext3 filesystem) readonly on device
    Freeing usused kernelmemory: 164k free
    Warning: unable to open an initial console
    Kernel Panic Attempt to kill init


    I check /etc/fstab, /etc/mtab

    Boot detect the HD in hdc (it is a solid-memory HDD) (I dont have any other HD).
    mount/fdisk detect particion in /dev/hdc too.

    menu.lts say root(hd0,0) and I don't know why (becouse it has to be hd2,0. Kernel 2.6 boot with no problems.

    What i missed?
    I'm very lost right now. one day lost with that thing.

    It seens like it doesn't find root althought boot process mounting it.

    Thank you very much.

    PD: why .config says #no set CONFIG_DEVFS_FS ?¿¿
    if a try to set to y(yes), a compile error is showed. ¿Why config or menuconfig doesn't show this option?
    Last edited by willthrom; 07-29-2009 at 09:50 AM. Reason: update

  2. #2
    Linux Engineer Segfault's Avatar
    Join Date
    Jun 2008
    Location
    Acadiana
    Posts
    877
    You better tell us what old module it is you cannot do without. Maybe there is a workaround. There have been significant changes since 2.6 kernel come out, I'd not even try to get 2.4 working on RHEL 5. It would involve downgrading lots of system libraries and services.

  3. #3
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,578
    Actually, I don't think it would be possible to downgrade RHEL/CentOS 5 to a 2.4 kernel and expect the system to function in any reasonably reliable manner. If you have the kernel module code, you might be able to modify and build it for the current kernels, otherwise you need to contact the manufacturer or see if there is an FOSS kernel module for the device in question.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

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