Find the answer to your Linux question:
Results 1 to 8 of 8
Debian Sarge, old dell 350 mhz, p2, current working kernel: 2.4.27 Alright.. i configured and compiled my 2.6.14 kernel, moved it into boot, and changed my menu.lst. This is all ...
  1. #1
    Linux Newbie
    Join Date
    Jul 2005
    Location
    Turn Around
    Posts
    202

    Kernel panic at 2.6 boot

    Debian Sarge, old dell 350 mhz, p2, current working kernel: 2.4.27

    Alright.. i configured and compiled my 2.6.14 kernel, moved it into boot, and changed my menu.lst. This is all i did before boot-up. im using my 2.4 initrd.img (i was told this shouldnt be a problem, but truthfully i dont really know what it is). At boot-up i get the following error:

    Code:
    initrd-tools: 0.1.81.1
    mount: unknown filesystem type 'devfs'
    modprobe: Can't open dependencies file /lib/modules/2.6.14/modules.dep
    modprobe: Can't open dependencies file /lib/modules/2.6.14/modules.dep
    umount: devfs: not mounted
    mount unknown filesystem type 'devfs'
    umount: devfs: not mounted
    pivot_root no such file or directory
    /sbin/init: 432: connot open /dev/console: no such file
    Kernel panic - not syncing: Attemped to kill init!
    What do you linux gurus expect my problem is? is there anything i need to do before boot (possibly module-related?)?

    Thanks,
    Dan

    PS: i am in a continuous google search with noting found so far. if i figure out any of my problem ill post here.

  2. #2
    Linux Engineer
    Join Date
    Oct 2004
    Location
    Vancouver
    Posts
    1,366
    did you compile devfs support into the kernel?
    Operating System: GNU Emacs

  3. #3
    Linux Newbie
    Join Date
    Jul 2005
    Location
    Turn Around
    Posts
    202
    i suppose its possible that i didnt, but i think i did. i will check. do you think that would solve my problem completely? if i run make menuconfig will it have my saved settings from the last time i ran it?

  4. #4
    Linux Engineer
    Join Date
    Oct 2004
    Location
    Vancouver
    Posts
    1,366
    make menuconfig save previous changes, which is a godsend considering how god****ingaweful it is to compile a kernel sometimes...
    Operating System: GNU Emacs

  5. #5
    Linux Newbie
    Join Date
    Jul 2005
    Location
    Turn Around
    Posts
    202
    i have found that devfs is completely removed from 2.6.14 and only udev is used. i searched and found no options for either udev or devfs. this is messed up pretty good.

  6. #6
    Linux Engineer
    Join Date
    Oct 2004
    Location
    Vancouver
    Posts
    1,366
    udev is now automatically included in the kernel I think, take a look at the lines in your grub.conf or lilo.conf and see if devfs needs to be removed anywhere, and you can always use an updated initrd...
    Operating System: GNU Emacs

  7. #7
    Linux Newbie
    Join Date
    Jul 2005
    Location
    Turn Around
    Posts
    202
    woo she works!

    had to make a initrd.img!

    new problem: /dev has no sda sdb, etc
    now it shows a bunch of ptyxx ttyxx things (x is a letter or number)

    kinda makes me mad


    _Dan

  8. #8
    Linux Engineer
    Join Date
    Oct 2004
    Location
    Vancouver
    Posts
    1,366
    hmm, that's odd, I still have my /dev/sxxs
    Operating System: GNU Emacs

Posting Permissions

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