Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Update udev from 171 to 215 [SOLVED]
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
bulliver
n00b
n00b


Joined: 31 Aug 2010
Posts: 26
Location: Edmonton AB

PostPosted: Tue Sep 09, 2014 11:31 pm    Post subject: Update udev from 171 to 215 [SOLVED] Reply with quote

I've recently resurrected and old Gentoo (stable AMD64) system that hadn't had any updates for almost a year. Over the last several days I have finally gotten everything updated to the point where I have a clean 'emerge -uDN @world' and revdep-rebuild is happy. I am now ready to give it a reboot, but I am concerned about the udev upgrade. I can't say exactly which version I updated from, but based on the udev tarballs in distfiles I would say it was from version 171. Current installed version is 215-r1.

So I have gone through everything in the upgrade guide on the gentoo wiki (http://wiki.gentoo.org/wiki/Udev/upgrade). But there are a few lingering doubts in my mind.

Quote:
If there is a /dev line in /etc/fstab, it must have the devtmpfs filesystem type or it will conflict with the above options


There is a '/dev' line for every partition in my fstab, like always. Filesystems include ext2, ext3, and reiserfs. Am I really supposed to change all those to devtmpfs? That doesn't sound right?

I have rolled a new kernel (3.14.14), because my understanding is that my old kernel will not boot with the new udev.

I have:

Code:

CONFIG_BLK_DEV_BSG=y
CONFIG_DEVTMPFS=y
CONFIG_FHANDLE=y
CONFIG_DMIID=y
# CONFIG_IDE is not set


in it.

I have replaced /etc/init.d/net.eth0 with net.enp0s8.

Anything else I'm forgetting? Again, I'm just concerned because my understanding is my old kernel won't boot with the new udev if I've missed something, and I really don't want to deal with an unbootable system.

Thanks...
_________________
"...the number of UNIX installations has grown to 10, with more expected..."
- Dennis Ritchie and Ken Thompson, June 1972
Some codes I hack on: https://github.com/DarrenKirby


Last edited by bulliver on Wed Sep 10, 2014 12:45 am; edited 1 time in total
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2678

PostPosted: Wed Sep 10, 2014 12:11 am    Post subject: Reply with quote

Quote:
There is a '/dev' line for every partition in my fstab, like always. Filesystems include ext2, ext3, and reiserfs. Am I really supposed to change all those to devtmpfs? That doesn't sound right?
That isn't the /dev they are referring to. The wiki is literally referring to a line like
Code:
devtmpfs       /dev         devtmpfs mode=0755,nosuid    0     0
If you don't have one you shouldn't need it. Also, if udev fails to work properly you shouldn't be completely up a creek.

Quote:
I have rolled a new kernel (3.14.14), because my understanding is that my old kernel will not boot with the new udev.
Partially correct. Udev wouldn't work, but I think you would still get to a rescue shell. Assuming you started with a clean .config and added your drivers then you should be fine. If you used make oldconfig then you are probably fine, but large jumps could be a problem.

The only other consideration I can think of is if /usr is a separate partition. If it is you will want to take steps. If not, I think shutdown -r now is about the only way to know if you did everything right. I'd keep a System Rescue CD handy, but then I always do.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
bulliver
n00b
n00b


Joined: 31 Aug 2010
Posts: 26
Location: Edmonton AB

PostPosted: Wed Sep 10, 2014 12:16 am    Post subject: Reply with quote

The Doctor wrote:
Quote:
There is a '/dev' line for every partition in my fstab, like always. Filesystems include ext2, ext3, and reiserfs. Am I really supposed to change all those to devtmpfs? That doesn't sound right?
That isn't the /dev they are referring to. The wiki is literally referring to a line like
Code:
devtmpfs       /dev         devtmpfs mode=0755,nosuid    0     0
If you don't have one you shouldn't need it.


That is what I thought, thank you. Just wanted some clarification.
My /usr is part of /, so no problem there.

I'm going to give it a go, wish me luck ha ha ha...
_________________
"...the number of UNIX installations has grown to 10, with more expected..."
- Dennis Ritchie and Ken Thompson, June 1972
Some codes I hack on: https://github.com/DarrenKirby
Back to top
View user's profile Send private message
bulliver
n00b
n00b


Joined: 31 Aug 2010
Posts: 26
Location: Edmonton AB

PostPosted: Wed Sep 10, 2014 12:45 am    Post subject: Reply with quote

Booted like a champ, even the networking works. Thanks again...
_________________
"...the number of UNIX installations has grown to 10, with more expected..."
- Dennis Ritchie and Ken Thompson, June 1972
Some codes I hack on: https://github.com/DarrenKirby
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