Skip to contentSkip to conversation

Only one working partition node

DISCUSSION Thorsten Wilms 2 participants 3 messages Oct 14, 2004 – Oct 18, 2004

lore
Share & tools
lore
#0 lore raw

Hi!

I would like to switch to pure udev system.
But with a devfs-less kernel (2.6.9) the boot process stops with complaint about that /dev/hda6 (root) couldn't be opened. Root password for maintenance ...

Everything is fine with my partitions and fstab, works with the old kernel. in /dev there is hda7 as actualy working device node (I can mount it), but all other hd entries are non-functional leftovers from devfs.

Any ideas what might be going on?

---
Thorsten Wilms

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#1 lore raw
Quoted 5 lines · Greg KH

That needs to be there. If that doesn't happen, something is wrong. Make sure you aren't booting with a command line that disables udev, or enables devfs. Also make sure you don't have devfs in your kernel at all.

There are no special boot parameters at all.
And i tripple checked the kernel is configured without devfs.

Quoted 9 lines
Quoted 1 line

But there's a udevd running.

The kernel started that up, not the init scripts.

Quoted 3 lines

And how could there be a working device mount, allowing me to mount a partition without udev (since that kernel comes without devfs)?

The kernel does this on it's own in the boot process.

I understand the kernel mounts root by itself. But the one working device node is for another partition, what makes no sense to me at all.

In what script is udev supposed to be started?

The system gets to mount sys and proc, then complains it couldn't remove /dev/.devfsd.

And mount tells me /dev would be mounted as devfs.

All this with varying kernel builds and udev versions.

---
Thorsten Wilms

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#2 lore raw
In reply to Thorsten Wilms
Quoted 18 lines · Thorsten Wilms
Quoted 5 lines · Greg KH

That needs to be there. If that doesn't happen, something is wrong. Make sure you aren't booting with a command line that disables udev, or enables devfs. Also make sure you don't have devfs in your kernel at all.

There are no special boot parameters at all.
And i tripple checked the kernel is configured without devfs.

Quoted 8 lines
Quoted 1 line

But there's a udevd running.

The kernel started that up, not the init scripts.

Quoted 3 lines

And how could there be a working device mount, allowing me to mount a partition without udev (since that kernel comes without devfs)?

Quoted 7 lines
Quoted 1 line

The kernel does this on it's own in the boot process.

I understand the kernel mounts root by itself. But the one working device node is for another partition, what makes no sense to me at all.

In what script is udev supposed to be started?

/sbin/rc

Quoted 2 lines

The system gets to mount sys and proc, then complains it couldn't remove /dev/.devfsd.

That means that you have a kernel with devfs enabled. Please fix this, and udev should work.

Quoted 1 line

And mount tells me /dev would be mounted as devfs.

Then again, fix your kernel.

Quoted 1 line

All this with varying kernel builds and udev versions.

I suggest reading over the various gentoo udev web pages, they should be able to help you. Also read the gentoo forum threads.

Good luck,

greg k-h

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel