LONG: Kernel panic: no init found - Help

This is a discussion on LONG: Kernel panic: no init found - Help ; I'm having problems getting the 2.6 kernel to work on my pc. I currently have Mandrake 9.2 (2.4.22-10 kernel) running on an Abit BP6 with dual 400MHz Celeron. I've downloaded 2.6.2 and then 2.6.3-rc2, but can't get either one to ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: LONG: Kernel panic: no init found

  1. LONG: Kernel panic: no init found

    I'm having problems getting the 2.6 kernel to work on my pc. I
    currently have Mandrake 9.2 (2.4.22-10 kernel) running on an Abit BP6
    with dual 400MHz Celeron.

    I've downloaded 2.6.2 and then 2.6.3-rc2, but can't get either one to
    boot. I've started from scratch a few times. The steps I take are:
    - make clean
    - make mrproper
    - make
    - make modules_install
    - make install
    - check lilo.conf and run lilo

    When I boot to the new kernel, I see:
    ....
    Mounting /proc filesystem
    Creating root device
    Mounting root filesystem
    Mount: error 6 mounting ext3 flags default
    ...retry without options flags, and then without any flags, but keep
    getting error 6
    ...
    Kernel panic: no init found

    I've included all the filesystems in the kernel. Here's an extract of
    my config:
    ...CONFIG_EXT2_FS=y
    CONFIG_EXT2_FS_XATTR=y
    # CONFIG_EXT2_FS_POSIX_ACL is not set
    # CONFIG_EXT2_FS_SECURITY is not set
    CONFIG_EXT3_FS=y
    # CONFIG_EXT3_FS_XATTR is not set
    CONFIG_JBD=y
    # CONFIG_JBD_DEBUG is not set
    CONFIG_FS_MBCACHE=y
    ...
    CONFIG_IDE=y
    CONFIG_BLK_DEV_IDE=y
    CONFIG_BLK_DEV_IDEDISK=y
    CONFIG_IDEDISK_MULTI_MODE=y
    CONFIG_IDE_GENERIC=y
    # CONFIG_BLK_DEV_CMD640 is not set
    # CONFIG_BLK_DEV_IDEPNP is not set
    CONFIG_BLK_DEV_IDEPCI=y
    CONFIG_IDEPCI_SHARE_IRQ=y
    # CONFIG_BLK_DEV_OFFBOARD is not set
    CONFIG_BLK_DEV_GENERIC=y
    CONFIG_BLK_DEV_RZ1000=m
    CONFIG_BLK_DEV_IDEDMA_PCI=y

    I've changed the ext2 and ext3 settings to no avail. Here's a diff
    between recent runs:
    1596,1597c1596,1597
    < # CONFIG_EXT2_FS_POSIX_ACL is not set
    < # CONFIG_EXT2_FS_SECURITY is not set
    ---
    > CONFIG_EXT2_FS_POSIX_ACL=y
    > CONFIG_EXT2_FS_SECURITY=y

    1599c1599,1601
    < # CONFIG_EXT3_FS_XATTR is not set
    ---
    > CONFIG_EXT3_FS_XATTR=y
    > CONFIG_EXT3_FS_POSIX_ACL=y
    > CONFIG_EXT3_FS_SECURITY=y



    Here's an extract of my lilo.conf:
    boot=/dev/hda
    map=/boot/map
    vga=normal
    default="linux-smp"
    keytable=/boot/us.klt
    prompt
    nowarn
    timeout=100
    message=/boot/message
    menu-scheme=wb:bw:wb:bw
    disk=/dev/hdg bios=0x82
    disk=/dev/hde bios=0x81
    image=/boot/vmlinuz
    label="linux"
    root=/dev/hdg5
    initrd=/boot/initrd.img
    append="devfs=mount resume=/dev/hdg6"
    read-only
    image=/boot/vmlinuz-smp
    label="linux-smp"
    root=/dev/hdg5
    initrd=/boot/initrd-smp.img
    append="devfs=mount resume=/dev/hdg6"
    read-only

    Here are my mount points:
    /dev/ide/host3/bus0/target0/lun0/part5 on / type ext3 (rw)
    none on /proc type proc (rw)
    none on /dev type devfs (rw)
    /dev/ide/host3/bus0/target0/lun0/part1 on /boot type ext3 (rw)
    none on /dev/pts type devpts (rw,mode=0620)
    /dev/ide/host3/bus0/target0/lun0/part9 on /home type ext3 (rw)
    /dev/ide/host0/bus0/target0/lun0/part1 on /mnt/win_c type ntfs
    (ro,iocharset=iso8859-1)
    /dev/ide/host3/bus0/target0/lun0/part7 on /tmp type ext3 (rw)
    /dev/ide/host3/bus0/target0/lun0/part8 on /usr type ext3 (rw)

    All files are copied to /boot using make install. The linux-smp kernel
    is 2.4.2, and works fine.

    What has me confused is the small size of the initrd.img. The 2.6
    version is only about 24KB, while the 2.4 version is about 370KB. This
    is my prime suspect, but I don't know how to fix it. I'd hate to
    include everything in the kernel.

    Here's a listing of my /boot directory:
    30 Feb 14 00:36 kernel.h -> /boot/kernel.h-2.4.22-10mdksmp
    22 Feb 14 00:35 config -> config-2.4.22-10mdksmp
    345600 Feb 14 00:27 map
    24588 Feb 14 00:13 initrd-2.6.3-rc2.img
    20 Feb 14 00:13 initrd.img -> initrd-2.6.3-rc2.img
    34710 Feb 14 00:13 config-2.6.3-rc2
    906099 Feb 14 00:13 System.map-2.6.3-rc2
    17 Feb 14 00:13 vmlinuz -> vmlinuz-2.6.3-rc2
    2424988 Feb 14 00:13 vmlinuz-2.6.3-rc2
    13 Feb 13 22:17 vmlinuz.old -> vmlinuz-2.6.2
    19256 Feb 11 22:25 initrd-2.6.2.img
    34645 Feb 11 22:25 config-2.6.2
    830991 Feb 11 22:25 System.map-2.6.2
    1911655 Feb 11 22:25 vmlinuz-2.6.2
    26 Feb 9 23:13 System.map -> System.map-2.4.22-10mdksmp
    537 Feb 4 22:36 kernel.h-2.4.22-10mdksmp
    15 Feb 4 15:38 message -> message-graphic
    132 Feb 4 15:38 message-text
    374514 Feb 4 15:37 initrd-2.4.22-10mdk.img
    164755 Feb 4 15:37 message-graphic
    376855 Feb 4 15:37 initrd-2.4.22-10mdksmp.img
    26 Feb 4 15:37 initrd-smp.img -> initrd-2.4.22-10mdksmp.img
    23 Feb 4 15:37 vmlinuz-smp -> vmlinuz-2.4.22-10mdksmp
    4096 Feb 4 14:18 grub/
    512 Dec 10 18:08 boot.0300
    256 Dec 10 18:08 us.klt
    5032 Sep 18 09:46 diag1.img
    16796 Sep 18 09:46 diag2.img
    52049 Sep 18 05:43 config-2.4.22-10mdk
    625045 Sep 18 05:43 System.map-2.4.22-10mdk
    1343803 Sep 18 05:43 vmlinuz-2.4.22-10mdk
    51602 Sep 18 04:30 config-2.4.22-10mdksmp
    620252 Sep 18 04:30 System.map-2.4.22-10mdksmp
    1354494 Sep 18 04:30 vmlinuz-2.4.22-10mdksmp

    Any help in getting me past this error would be very much appreciated.
    I must've compiled the kernel at least 10 times now with different
    configs without much luck.


  2. Re: LONG: Kernel panic: no init found

    Finally found out what I was missing. I ran Harddrake, and looked at
    all chipsets I could see. Found Intel 8371AB PIIX4.

    I turned on CONFIG_BLK_DEV_PIIX=y, which I had previously marked as a
    module.

    A quick recompile and I finally booted up to 2.6.3-rc2. Another compile
    to fix my NIC, and now I'm off and running.


+ Reply to Thread