Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
udev Status
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Apollyon
n00b
n00b


Joined: 10 Mar 2003
Posts: 22
Location: Spain

PostPosted: Sat May 28, 2005 9:31 am    Post subject: udev Status Reply with quote

Hi,

I may be installing Gentoo on a new machine sometime soon, and I wanted to know what the status of Gentoo's udev support is. Last time I checked (admittedly a while ago, but less than a year) you still needed to compile devfs support in the kernel. Is this still the case?
Back to top
View user's profile Send private message
iverson0881
Apprentice
Apprentice


Joined: 08 Jan 2004
Posts: 285
Location: CA

PostPosted: Sat May 28, 2005 9:46 am    Post subject: Reply with quote

udev is now supported by the gentoo devs. You can find the guide on it here:
http://www.gentoo.org/doc/en/udev-guide.xml

udev works great here.
Back to top
View user's profile Send private message
Apollyon
n00b
n00b


Joined: 10 Mar 2003
Posts: 22
Location: Spain

PostPosted: Sat May 28, 2005 10:13 am    Post subject: Reply with quote

Yes, that guide was around when I tried it too.

I see that it says "You can leave the /dev file system support (OBSOLETE) active if you wish ...". If I remember correctly, the Gentoo bootup scripts used to complained about not having devfs compiled in the kernel, even if you where going to use udev. Is this still the case, or have the scripts been fixed already?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54317
Location: 56N 3W

PostPosted: Sat May 28, 2005 10:34 am    Post subject: Reply with quote

Apollyon,

udev Just Works. Get the 2005.0 install.

You can build the kernel to support either devfs or udev and switch back and forth if you need to.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
blue.sca
l33t
l33t


Joined: 28 Aug 2003
Posts: 680
Location: Mainz, Germany

PostPosted: Sat May 28, 2005 11:01 am    Post subject: Reply with quote

hmm? pure udev works since about a year or so perfectly. devfs is gone on my system forever.
_________________
geek by nature, linux by choice
i want my avatar back... thank you
:wq
Back to top
View user's profile Send private message
Apollyon
n00b
n00b


Joined: 10 Mar 2003
Posts: 22
Location: Spain

PostPosted: Sat May 28, 2005 12:11 pm    Post subject: Reply with quote

Great, my next system will be udev only! Thanks!
Back to top
View user's profile Send private message
daoist
n00b
n00b


Joined: 14 May 2003
Posts: 28

PostPosted: Sat May 28, 2005 12:51 pm    Post subject: Reply with quote

I have recently (finished 10 minutes ago) installing based on a stage1 tarball from 2005.0. During bootup I get a big scary screen browbeating me because I did not compile my kernel (2.6.11-gentoo-r9) with DEVFS support.

How do I suppress this message? Does it indicate some other problem with my system?

After hitting enter at the scary warning message the system appears to boot successfully.

I apologize if this is off-topic, but after searching this thread appears to be the same issue I'm having; the scary warning message ;)
Back to top
View user's profile Send private message
blue.sca
l33t
l33t


Joined: 28 Aug 2003
Posts: 680
Location: Mainz, Germany

PostPosted: Sat May 28, 2005 1:01 pm    Post subject: Reply with quote

are you using devfs or udev?
_________________
geek by nature, linux by choice
i want my avatar back... thank you
:wq
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54317
Location: 56N 3W

PostPosted: Sat May 28, 2005 1:02 pm    Post subject: Reply with quote

daoist,

Did you
Code:
emerge udev coldplug hotplug
Check by doing it again with the -p option and seeing if any are flagged as New. Do it if needed.

You also need to
Code:
rc-update add coldplug boot
rc-update add hotplug default
so that theservices run.
Check with
Code:
rc-update -s

_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Sat May 28, 2005 4:02 pm    Post subject: Reply with quote

Moved from Unsupported Software.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
daoist
n00b
n00b


Joined: 14 May 2003
Posts: 28

PostPosted: Sat May 28, 2005 10:27 pm    Post subject: Reply with quote

NeddySeagoon wrote:
daoist,

Did you
Code:
emerge udev coldplug hotplug
Check by doing it again with the -p option and seeing if any are flagged as New. Do it if needed.

You also need to
Code:
rc-update add coldplug boot
rc-update add hotplug default
so that theservices run.
Check with
Code:
rc-update -s

Thanks for the quick reply.

According to http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1 I only need to emerge coldplug and hotplug if I'm using genkernel, but I am not using genkernel. And the handbook never mentions emerging udev, whether using genkernel or not :-/

Do I really need to use coldplug/hotplug? I don't want my system to take 10 minutes to start while it autodetects the hardware. I know what hardware I have, and I've compiled them into the kernel or made the appropriate modules. Should I just go back to a 2.4 series kernel?

Thanks for any advice you can give.
Back to top
View user's profile Send private message
blue.sca
l33t
l33t


Joined: 28 Aug 2003
Posts: 680
Location: Mainz, Germany

PostPosted: Sun May 29, 2005 10:06 am    Post subject: Reply with quote

for the case you didn't already answered this question, what do you want to use? pure udev, udev + devfs or just devfs?
_________________
geek by nature, linux by choice
i want my avatar back... thank you
:wq
Back to top
View user's profile Send private message
daoist
n00b
n00b


Joined: 14 May 2003
Posts: 28

PostPosted: Sun May 29, 2005 10:50 am    Post subject: Reply with quote

heh, honestly I don't care.

Does udev do the slow autodetection thing like the livecd does? if so, then not only no, but hell no. :)

if udev can work without making the machine take several minutes to boot, then sure, how about udev.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54317
Location: 56N 3W

PostPosted: Sun May 29, 2005 11:14 am    Post subject: Reply with quote

daoist,

No. It uses coldboot if you want, or you can do it manully with entries in /etc/modules.autolaod.d/kern....
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Fat Bastard
n00b
n00b


Joined: 06 May 2005
Posts: 53

PostPosted: Sun May 29, 2005 11:58 am    Post subject: Reply with quote

iverson0881 wrote:
udev is now supported by the gentoo devs. You can find the guide on it here:
http://www.gentoo.org/doc/en/udev-guide.xml

udev works great here.

Oh, and just to state the (somewhat) obvious - the upstream udev developer is a Gentoo developer.
Back to top
View user's profile Send private message
Crispy Beef
Apprentice
Apprentice


Joined: 29 Apr 2003
Posts: 194
Location: UK

PostPosted: Mon May 30, 2005 2:11 pm    Post subject: Reply with quote

Just out of interest what are the advantages of using udev over devfs? Is it really worth me switching to udev, if this can be done on a system already installed with devfs?

From what I've read if I did want to switch then all I need to do is compile coldplug (and udev obviously) and add it with rc-update as I already have hotplug installed.

Is there anything else to consider?

Edit: Have since done a proper search and found out a lot of info, but just to be sure I would still like to hear about how easy it is to switch to udev. :-)
_________________
--
______
Crispy
Back to top
View user's profile Send private message
blue.sca
l33t
l33t


Joined: 28 Aug 2003
Posts: 680
Location: Mainz, Germany

PostPosted: Mon May 30, 2005 2:36 pm    Post subject: Reply with quote

took me about half an hour, without any fiddling with device nodes. look [url=http://webpages.charter.net/decibelshelp/LinuxHelp_UDEVPrimer.html]here[/code], the udev bible ;) should be most up-to-date.
_________________
geek by nature, linux by choice
i want my avatar back... thank you
:wq
Back to top
View user's profile Send private message
Crispy Beef
Apprentice
Apprentice


Joined: 29 Apr 2003
Posts: 194
Location: UK

PostPosted: Mon May 30, 2005 3:06 pm    Post subject: Reply with quote

Have just done the switch and completely disabled devfs in my kernel, now udev only. The only thing that I had to change was the entry for my mouse in the xorg.conf file. Had to switch it from /dev/mouse to /dev/input/mouse1, everything else seems to work as it did before. USB scanner, bluetooth dongle and printer all seem just fine. :-)

There's two errors on startup which I need to investigate, will check out the link too, cheers.
_________________
--
______
Crispy
Back to top
View user's profile Send private message
daoist
n00b
n00b


Joined: 14 May 2003
Posts: 28

PostPosted: Tue May 31, 2005 2:14 am    Post subject: Reply with quote

thanks for all the quick replies. I've emerged udev and hotplug, and now it seem great.
Back to top
View user's profile Send private message
Crispy Beef
Apprentice
Apprentice


Joined: 29 Apr 2003
Posts: 194
Location: UK

PostPosted: Tue May 31, 2005 11:09 am    Post subject: Reply with quote

The error message I get is when coldplug starts up and looks for usb devices. It says something along the lines of:

Code:
Can't find /proc/bus/usb/001/002 no such file or directory


Would this be related to udev and the way it allocates names etc.?
_________________
--
______
Crispy
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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