[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sarge: 2.6.14 kernel panics on boot



On 15:41 Sun 06 Nov     , Alex Teclo wrote:
> >> Here is the entry in /boot/grub/menu.lst on machine A:
> >> title           Debian GNU/Linux, kernel 2.6.14
> >> root           (hd0,4)
> >> kernel        /vmlinuz-2.6.14 root=/dev/ataraid/d0p7 ro
> >> initrd          /initrd.img-2.6.14
> >> savedefault
> >> boot
> >>
> >> But, when I boot machine A with this 2.6.14 kernel, I get:
> >>
> >> RAMDISK: cramfs filesystem found at block 0
> >> RAMDISK: Loading 2144 KiB [1 disk] into ram disk... done
> >> mount: unknown filesystem type 'devfs'
> >> umount: devfs: not mounted
> >> mount: unknown filesystem type 'devfs'
> >> umount: devfs: not mounted
> >> pivot_root: No such file or directory
> >> /sbin/init: 432: cannot open dev/console: No such file
> >> Kernel panic - not syncing: Attempted to kill init!
> >>
> >You need to create the /dev/console file. Use a rescue disk and run:
> >mknod -m 660 /dev/console c 5 1
> >
> >When you reboot, i would install udev to create your device nodes.
> 
> Thanks for the hint, but I can boot the machine with a 2.4.x kernel,
> and /dev/console is there:
> 
> ls -l /dev/console
> crw-------  1 root tty 5, 1 Nov  6 15:37 /dev/console

Thats because devfs is creating the nodes in kernels < 2.6.14. 
With 2.6.14 DEVFS is no longer supported in the kernel, so you have
to use another method to create device nodes like udev (the new way) 
or MAKEDEV( the old way, before devfs).



Reply to: