Gentoo Archives: gentoo-user

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