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

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
protosub
n00b
n00b


Joined: 24 Jun 2004
Posts: 14
Location: England

PostPosted: Sat Jun 26, 2004 9:30 pm    Post subject: udev Reply with quote

my second post, so go easy on me, please? :wink:

Ok since devfs has been depreciated and all I was thinking about using udev instead for a new installation on my ibook. However I havnt heard much in regards to udev on ppc (did a search on these forums and only turned up one person, a google search turned up a few more). Is it possible to do a new installation and use udev on ppc with Gentoo? Is it wise to do so? I have read that udev hasnt quite got the same device support that devfs has yet, is this still the case? I have a g4, 800Mhz iBook and I basically want to know if its ok to use udev on it.

I would really appreciate your thoughts and experiences etc on this topic. Thats all folks...
_________________
<insert witty sig here>
Back to top
View user's profile Send private message
ralph
Advocate
Advocate


Joined: 02 Mar 2003
Posts: 2001
Location: Hamburg

PostPosted: Sat Jun 26, 2004 9:58 pm    Post subject: Reply with quote

I'm using udev on my ibook and I ran into some minor problems (onece or twice some needed device files were missing, but that was also with older versions of udev). So from my experience you might encounter some problem but they are all easily solvable.

Anyway, iirc you can simply compile your kernel with devfs, then merge udev, add it to the default runlevel and your system will use udev. If you encounter problems you can easily switch back to devfs by removing udev from the runlevel.
_________________
The computer can't tell you the emotional story. It can give you the exact mathematical design, but what's missing is the eyebrows.
- Frank Zappa
Back to top
View user's profile Send private message
protosub
n00b
n00b


Joined: 24 Jun 2004
Posts: 14
Location: England

PostPosted: Sat Jun 26, 2004 10:12 pm    Post subject: Reply with quote

ralph wrote:
Anyway, iirc you can simply compile your kernel with devfs, then merge udev, add it to the default runlevel and your system will use udev. If you encounter problems you can easily switch back to devfs by removing udev from the runlevel.


Well that sounds easy enough. In fact it sounds a little too easy :lol:

I would still like to here from others who have tried udev and also from anyone who can confirm what ralph had to say about the ease of switching between devfs and udev. It's not that I dont believe you ralph, honestly :wink: Anyway from what you had to say it all sounds very promising indeed, thanks!
_________________
<insert witty sig here>
Back to top
View user's profile Send private message
ralph
Advocate
Advocate


Joined: 02 Mar 2003
Posts: 2001
Location: Hamburg

PostPosted: Sat Jun 26, 2004 10:22 pm    Post subject: Reply with quote

Pah, if you don't believe, then:

Quote:
You can leave the /dev file system support (OBSOLETE) active if you wish.

...

If you want to use devfs and deactivate udev, add gentoo=noudev as kernel parameter.


http://www.gentoo.org/doc/en/udev-guide.xml

:wink:
_________________
The computer can't tell you the emotional story. It can give you the exact mathematical design, but what's missing is the eyebrows.
- Frank Zappa
Back to top
View user's profile Send private message
protosub
n00b
n00b


Joined: 24 Jun 2004
Posts: 14
Location: England

PostPosted: Sat Jun 26, 2004 11:21 pm    Post subject: Reply with quote

ralph wrote:

Pah, if you don't believe, then:

Quote:

You can leave the /dev file system support (OBSOLETE) active if you wish.

...

If you want to use devfs and deactivate udev, add gentoo=noudev as kernel parameter.



heh, well be honest, thats not exactly what you said :D
Anyway thanks for clearing that up and reminding me about the Gentoo doc on this subject.
_________________
<insert witty sig here>
Back to top
View user's profile Send private message
Immortal Q
Apprentice
Apprentice


Joined: 14 Sep 2003
Posts: 241
Location: Silicone Valley

PostPosted: Sun Jun 27, 2004 1:37 am    Post subject: Reply with quote

I just got it going on my Aluminum PB last night - seems to be working fine, and the /dev folder makes a lot more sense now (no longer are there thousands of dummy files). I haven't gotten sound going yet, so we'll see how that goes.
_________________
Osmos.org
Now with 20% fewer rabid primates.
Back to top
View user's profile Send private message
protosub
n00b
n00b


Joined: 24 Jun 2004
Posts: 14
Location: England

PostPosted: Sun Jun 27, 2004 5:31 pm    Post subject: Reply with quote

Are you guys running with pure udev or with the Gentoo tweaks in place? What I mean to say is are you getting udev to dynamically generate all the device nodes or are they being read from the devices.tar.bz2 on startup? Have you set the variable RC_DEVICE_TARBALL to equal "no" in your /etc/conf.d/rc file? Is there any need to use this anymore?

Also what version of udev are you using, the current stable version on ppc (24-r1)?
_________________
<insert witty sig here>
Back to top
View user's profile Send private message
ralph
Advocate
Advocate


Joined: 02 Mar 2003
Posts: 2001
Location: Hamburg

PostPosted: Sun Jun 27, 2004 7:28 pm    Post subject: Reply with quote

I'm using the device tarball. I'm not at my ibook right now, but I think I'm using the latest ~ppc udev version.
_________________
The computer can't tell you the emotional story. It can give you the exact mathematical design, but what's missing is the eyebrows.
- Frank Zappa
Back to top
View user's profile Send private message
Immortal Q
Apprentice
Apprentice


Joined: 14 Sep 2003
Posts: 241
Location: Silicone Valley

PostPosted: Sun Jun 27, 2004 7:33 pm    Post subject: Reply with quote

I cleared out my /dev tree, disabled the device tarball, rebooted, and re-enabled the tarball. It seems to work fine now either way, but I've been mucking with ALSA lately and I thought it might help. After creating the /dev/null and /dev/console nodes, the latest stable udev seems to work fine.

Now if only I can get speaker sound working... :roll:
_________________
Osmos.org
Now with 20% fewer rabid primates.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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