View previous topic :: View next topic |
Author |
Message |
magnesium Apprentice
Joined: 28 Oct 2003 Posts: 280 Location: Toronto, Canada
|
Posted: Sun Apr 24, 2005 8:46 pm Post subject: udev, 2005.0 and kernel 2.6.11-r6 teaming up to frustrate me |
|
|
hey all,
I've just re-built my amd64 system from the 2005.0 image and stage1, but I've got issues with udev, and I don't know how to fix it. basically, udev is preventing me from using applications because some of my devices are not showing up in /dev at boot time.
I was able to solve this issue in one instance by loading the drivers that I needed for sound through modprobe, running /etc/init.d/alsasound start and then running udevstart. At this point my /dev/snd device showed up.
I have not been so lucky with /dev/i2c and lm_sensors (and sensor-detect)
I've also noticed a huge amount of devices in /dev and stuff that I didn't even compile into my kernel like a bunch of radio devices etc... I did delete all items in udev and recreate them with udevstart, but I'm still stuck with a rediculous amount of ptys and ttys
I know other people are having similar issues, but no one seems to have really resolved it. I'm really not all that familliar with udev, or makefs, so I'm open to enlightenment from those that are.
FYI, my udev version is 045
thanks for any help in advance. if you need any log files or configurations, please let me know and I'll post.
|Mg| _________________ Adopt an unanswered post |
|
Back to top |
|
|
dsd Developer
Joined: 30 Mar 2003 Posts: 2162 Location: nr London
|
Posted: Sun Apr 24, 2005 9:37 pm Post subject: |
|
|
you originally saw so many devices because you had the RC_DEVICE_TARBALL enabled in /etc/conf.d/rc - you probably want to turn it off. this has been mentioned many many times on these forums..
yes, there are a lot of console nodes (symlinks), this is the way the kernel works, i dont think you have any reason to be bothered about it
as for nodes not appearing - well, they only appear after the module is loaded. just building things straight into the kernel will save you some hassle here. the notable exception is alsa which should be built as modules, but the alsasound init script will take care of loading them for you.
i suspect that you might have missed CONFIG_HOTPLUG from your kernel configuration too. this is required for udev.
as for lm_sensors - i think thats totally unrelated to udev. last time i used it (admittedly a while back) it pulled the values out of /sys - not needing a /dev interface at all. _________________ http://dev.gentoo.org/~dsd |
|
Back to top |
|
|
magnesium Apprentice
Joined: 28 Oct 2003 Posts: 280 Location: Toronto, Canada
|
Posted: Mon Apr 25, 2005 2:59 pm Post subject: Yes, you are the king! |
|
|
dsd, you rock so much. you are an elite gentooer so let me put this to you in 'leet speak: U r t3h RoX0rz
You were very correct with the /etc/conf.d/rc file mod needing to be performed, as well as the hotplug not being put in my module. You'd think that they'd put something like that in the manual...
the lm_sensors was me not modprobing i2c-dev before running sensors detect. my bad. Oh and I can live with all the tty and pty devices being there now that the other devices aren't there anymore.
In short, I salute you dsd. _________________ Adopt an unanswered post |
|
Back to top |
|
|
dsd Developer
Joined: 30 Mar 2003 Posts: 2162 Location: nr London
|
|
Back to top |
|
|
gfuhrer n00b
Joined: 07 Jan 2005 Posts: 22 Location: Russia, MSK
|
Posted: Wed Jul 13, 2005 10:12 pm Post subject: |
|
|
Discovered that fbsplash not working well with devfs while using initrd (if it's just /etc/init.d/splash - it's ok), so had to switch to udev. And then this problem with alsa... This branch helped a lot, thanx, guys. _________________ Because it sucked. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|