Only one working partition nodey
Quoted 7 lines · Thorsten Wilms
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 ...
Quoted 6 lines
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?
What does "fdisk -l /dev/hda" print?
What does "ls -la /dev/hda*" say?
Try to run "/sbin/udevstart" and look at "ls -la /dev/hda*" again.
Kay
-------------------------------------------------------
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
Quoted 1 line · Kay Sievers
What does "fdisk -l
/dev/hda" print?
It prints nothing at all!
With old kernel the to be expected list.
What does "ls -la /dev/hda*" say?
All hda entries point to ide/host0 ... and so on.
Only hda7 is a device node.
Quoted 1 line
Try to run "
/sbin/udevstart" and look at "ls -la/dev/hda*" again.
No change.
---
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
Quoted 10 lines · Thorsten Wilms
Quoted 1 line · Kay Sievers
What does "fdisk -l
/dev/hda" print?It prints nothing at all!
With old kernel the to be expected list.What does "ls -la
/dev/hda*" say?
Quoted 7 lines
All hda entries point to ide/host0 ... and so on.
Only hda7 is a device node.Quoted 1 line
Try to run "
/sbin/udevstart" and look at "ls -la/dev/hda*" again.No change.
You do have sysfs mounted at /sys, right? Why not use your distro's udev package instead of trying to install it yourself into the boot process?
thanks,
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
Quoted 2 lines · Greg KH
You do have sysfs mounted at /sys, right?
Right.
Quoted 3 lines
Why not use your distro's
udev package instead of trying to install it yourself into the boot process?
I am using my distros udev package!
That is, I emerged udev on my gentoo.
I followed the available documentation, checked the gentoo forum and asked on irc ... everybody out of ideas.
Far as I know there should be a line about udev populating /dev on bootup. couldn't see/find that. But there's a udevd running. And how could there be a working device mount, allowing me to mount a partition without udev (since that kernel comes without devfs)?
---
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
Quoted 10 lines · Thorsten Wilms
Quoted 2 lines · Greg KH
You do have sysfs mounted at /sys, right?
Right.
Quoted 3 lines
Why not use your distro's
udev package instead of trying to install it yourself into the boot process?
Quoted 7 lines
I am using my distros udev package!
That is, I emerged udev on my gentoo.
I followed the available documentation, checked the gentoo forum and asked on irc ... everybody out of ideas.Far as I know there should be a line about udev populating /dev on bootup. couldn't see/find that.
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.
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.
thanks,
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