Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Is there something wrong with my new installation?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Tractor Girl
Apprentice
Apprentice


Joined: 16 May 2013
Posts: 159

PostPosted: Sat Feb 01, 2014 12:55 am    Post subject: Is there something wrong with my new installation? Reply with quote

Last time when I installed Gentoo (custom kernel) all important modules (like network drivers) were load automatically during the boot procedure. This is not the case with my newest installation. lsmod command shows that only fuse module is loaded. From what I understand (please correct me if I'm wrong) it's udev's job to load appropriate modules. So I've checked "rc-update show", and indeed udev and udev-mount aren't there (on my other gentoo machine they're in sysinit runlevel)
Is there something wrong with my new installation? Or maybe there were some changes in installation procedure and now udev has to be added to proper runlevel manually?
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Sat Feb 01, 2014 4:38 am    Post subject: Reply with quote

you might want to check your menuconfig for
Quote:
[*] Gentoo Linux support
[*] Linux dynamic and persistent device naming (userspace devfs) support
Support for init systems, system and service managers --->
[*] OpenRC, runit and other script based systems and managers
[*] systemd


this stuff is pretty new, systemd is invoked with "init=/usr/lib/systemd/systemd" on the kernel command line, if not invoked openrc runs for me. gnome >=3.8 requires systemd support to install but does not require systemd be invoked and running for gnome 3.8 to run. udev is now incorporated in systemd

http://wiki.gentoo.org/wiki/Systemd
http://wiki.gentoo.org/wiki/Udev
http://wiki.gentoo.org/wiki/Project:Eudev
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Tractor Girl
Apprentice
Apprentice


Joined: 16 May 2013
Posts: 159

PostPosted: Sat Feb 01, 2014 5:12 pm    Post subject: Reply with quote

Thank you
Quote:
[*] Gentoo Linux support
[*] Linux dynamic and persistent device naming (userspace devfs) support
Support for init systems, system and service managers --->
[*] OpenRC, runit and other script based systems and managers
[*] systemd

I'm using hardened-sources 3.11.7-r1 and maybe I'm blind but I checked in menuconfig and I grep my .config file but I didn't find any of these options.
Anyway I read about systemd and definitely I don't want to use it. I decided to switch to eudev. Here's what I did:

Code:
rc-update add udev sysinit
rc-update add udev-mount sysinit
emerge -avC udev
emerge avt eudev
/etc/init.d/udev --nodeps restart
rc-update add udev-postmount default
etc-update
emerge @preserved-rebuild


After reboot everything seems to work fine. Modules are loaded, and I even have these good old sexy interfaces' names (eth0, wlan0) back.
But I don't know if there are any additional steps I should follow to get rid of old udev for good. For example I still have this package installed, should I unmerge it?
Code:
virtual/udev-208
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Sat Feb 01, 2014 6:09 pm    Post subject: Reply with quote

the menuconfig stuff was from gentoo-sources
as i understand it the virtuals are to allow the choice of which version of a dependency is used to vary based on the app needing it
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 21706

PostPosted: Sat Feb 01, 2014 6:11 pm    Post subject: Reply with quote

Keep virtual/udev. If you looked at its dependencies, you would see that it is a meta-package that lets other packages depend on having any of the packages that provide a udev-like program: sys-fs/eudev, sys-fs/udev, or sys-apps/systemd. This is useful when the package needs a dynamic device manager, but its needs can be satisfied by any of the udev-like managers.
Back to top
View user's profile Send private message
Tractor Girl
Apprentice
Apprentice


Joined: 16 May 2013
Posts: 159

PostPosted: Sat Feb 01, 2014 9:18 pm    Post subject: Reply with quote

Thanks :)
Back to top
View user's profile Send private message
Atom2
Apprentice
Apprentice


Joined: 01 Aug 2011
Posts: 185

PostPosted: Tue Feb 04, 2014 4:29 pm    Post subject: Re: Is there something wrong with my new installation? Reply with quote

Tractor Girl wrote:
So I've checked "rc-update show", and indeed udev and udev-mount aren't there (on my other gentoo machine they're in sysinit runlevel)
Is there something wrong with my new installation? Or maybe there were some changes in installation procedure and now udev has to be added to proper runlevel manually?

Interestingly enough, I have had the same issue with my latest stage 3 tarball for gentoo-hardened - I also had to add udev to the proper runlevel manually. There must have been some changes recently as also the size of the stage 3 tarball has increased pretty substantially (see here for some information about that).

Atom2
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing 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