Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Masking udev to postpone the update
Date: Sat, 24 Mar 2012 00:48:03
Message-Id: 20120324024520.08e13466@khamul.example.com
In Reply to: Re: [gentoo-user] Masking udev to postpone the update by Allan Gottlieb
1 On Thu, 22 Mar 2012 21:44:53 -0400
2 Allan Gottlieb <gottlieb@×××.edu> wrote:
3
4 > On Sun, Mar 18 2012, Allan Gottlieb wrote:
5 >
6 > > On Sun, Mar 18 2012, Alan McKinnon wrote:
7 > >
8 > >> On Sun, 18 Mar 2012 13:14:48 -0700
9 > >> Allan Gottlieb <gottlieb@×××.edu> wrote:
10 > >>
11 > >>> I will update to the new world order, but would very much prefer
12 > >>> to postpone that for a few weeks. Is it enough to put
13 > >>>
14 > >>> >sys-fs/udev-171-r5
15 > >>>
16 > >>> in /etc/portage/package.mask ?
17 > >>
18 > >>>=sys-fs/udev-181
19 > >>
20 > >> would be better. Rather mask the first version that causes issues
21 > >> and all subsequent versions. With your suggestions, there may be
22 > >> future updates between 171 and 181 (without initrd issues) that you
23 > >> want, but you can't use them as you masked them.
24 > >
25 > > Done, thanks. Thank you volker as well.
26 > >
27 > > allan
28 >
29 > I am now unable to update world
30 >
31 > Total: 26 packages (20 upgrades, 3 new, 1 in new slot, 2
32 > reinstalls, 1 uninstall), Size of downloads: 604,681 kB Conflict: 3
33 > blocks
34 >
35
36 I see you already have the solution from later in the thread.
37
38 Just don't do what I did and act like a dumbass like so:
39
40 1. emerge world including a couple days ago including udev-182
41 2. don't read the elog
42 3. miss the part where it says CONFIG_DEVTMPFS=y is required (and you
43 don't have it enabled)
44 4. don't run conf-update
45 5. walk away in blissful unawareness never rebooting just suspend/resume
46
47 Then:
48
49 1. Crawl out of bed one fine morning facing a deadline
50 2. Approach computer
51 3. Shit. The bloody thing hit some weird segfault again overnight and
52 killed X
53 4. Hmmmmmmmmm, virtual consoles don't seem to work. Machine frozen
54 5. Press big red power button
55
56 Only to find:
57
58 1. Nothing starts up properly, machine essentially useless
59 2. Oh dear. Other than /, nothing mounts. /dev is almost empty
60 3. That deadline didn't go away
61
62 To fix:
63
64 1. reboot into maintenance mode
65 2. <phew>, /usr is part of / so no mounting issues for that
66 3. find copy of elog, read it
67 4. configure and build kernel
68 5. Reboot
69 6. Didn't work. Scratch head, look around. Oh, hang on, the kernel was
70 installed to /boot on /, not the real /boot as that couldn't mount
71 7. Reboot, fiddle with grub menu, desperately trying to remember how
72 that shit all works again
73 8. Finally grub finds the new kernel and boots
74 9. Lots of errors, not quite the same as before. Something
75 about /sbin/udevd not found. Ohhhhhh shit......
76 10. Reboot again to maintenance mode
77 11. Poke around, bang head. Idiot! You forgot to run conf-update
78 12. conf-update lets everything else know udevd is now
79 in /lib64/udev/udevd
80 13. reboot. Finally, everything works again.
81 14. Realize new kernel is now in a directory underneath the /boot mount
82 (exactly where it can't be gotten to). Read man mount, search for --bind
83 15. Curse, swear, now 90 minutes late. Get on motorbike and roar off to
84 work in a foul mood dicing death by riding between motorcars causing
85 taking 2 old ladies by surprise and scaring 3 wandering cats witless
86
87
88 Moral of the story:
89
90 Read the elog right now and do what it says :-)
91
92
93
94 --
95 Alan McKinnnon
96 alan.mckinnon@×××××.com

Replies

Subject Author
Re: [gentoo-user] Masking udev to postpone the update Dale <rdalek1967@×××××.com>