LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   kernel 2.6.9 and udev ?? (https://www.linuxquestions.org/questions/debian-26/kernel-2-6-9-and-udev-259825/)

CloudyWizzard 11-27-2004 09:02 AM

kernel 2.6.9 and udev ??
 
Hi,
I'm running Debian SID with a custom kernel 2.6.8.1 with SMP on a P4 system, I've been trying to upgrade to kernel 2.6.9 but it keeps failing.

The first problem was during compiling the kernel (make-kpkg), there was an error about not beeing able to bet firmware information, and I was able to fix it by removing the BT848 support from the kernel (so no V4L in this one).

The 2nd problem is on I can't seem to fix,
during boottime everything seems to go fine until I get the following errors :

/etc/rc.S.D/S05keymap.sh: line 8: /dev/null not a directory
and I get a lot of these errors, the last one beeing :

the device node /dev/hda2 for the root filesystem is missing,
incorrect, or there is no entry for the root filesystem
listed in /etc/fstab

The system is also unable to create a temporary node in
/dev/shm to use as a work-around

This means you have to fix this manually.

CONTROL-D will exit from this shell and REBOOT the system.

/dev/console: Not a directory
Give root pasword for maintenance
(op type Control-D to continue)
(none):~#


At this point I get the Bash shell but I can't do much, and also my keyboard is not in my local layout.

I guess this is a UDEV problem (Since I've read they are gonna abandone the old system /dev/hdxx) and go with the nex UDEV system.

I've been searching the net with google but I can't find any information on setting-up UDEV correctly in Debian. I did found some information on Gentoo but that didn't help. I did install some UDEV packages with apt-get that were required but that also didn't work.

I think I will need to modify my LILO.CONF for this to work, but I don't know HOW or WHAT I have to do.

So my question is :
Is there anybody who can help me out with this, or point me to some information that I can use.

And what is so good about this new UDEV anyways ?

clueless_one 11-27-2004 09:08 AM

Hi not sure if this helps >> http://www.kernel.org/pub/linux/util...tplug/udev-FAQ and also look in your /etc/udev/udev.rules.

CloudyWizzard 11-27-2004 09:51 AM

Well thanks for the quick reply !
The only thing I understood was that I needed to have support for tmpfs and hotplug subsystem in the kernel.

I looked at my .config and I noticed tmpfs wasn't even configured, so I uncommented it and included it in the kernel. Hotpluging should already be included in the kernel.

I'm now recompiling my kernel with tmpfs support so I'm keeping my fingers crossed and we'll see what this turn up.

CloudyWizzard 11-27-2004 10:36 AM

Well, adding the tmpfs support in the Kernel made it boot the system.
but I can't mount stuff like the FDD so I guess some more tweaking is needed, but at least the system boot ;)

thanks


All times are GMT -5. The time now is 07:58 PM.