Gentoo Archives: gentoo-user

From: "John P. Burkett" <burkett@×××.edu>
To: gentoo-user@l.g.o
Subject: [gentoo-user] udev, cryptsetup, and ensuing problems
Date: Wed, 24 Jun 2009 00:39:53
Message-Id: 4A4175C5.7030005@uri.edu
1 On an x86 machine with kernel 2.6.17-gentoo-r4, I did "eix-sync" and
2 "emerge -NauvD system" and received a response including the following line:
3
4 [blocks B ] >=sys-fs/udev-126 (">=sys-fs/udev-126" is blocking
5 sys-fs/cryptsetup-1.0.5-r1)
6
7 Doing "emerge -p -C udev" elicited the following lines:
8
9 !!! 'sys-fs/udev' is part of your system profile.
10 !!! Unmerging it may be damaging to your system.
11
12 Looking for a safer fix for the blockage, I did "emerge -C cryptsetup".
13
14 Repeating "emerge -NauvD system", produced output including the following:
15
16 >>> Emerging (1 of 2) sys-libs/db-4.6.21_p4
17 * patch.4.6.21.1 RMD160 SHA1 SHA256 size ;-) ...
18 [ ok ]
19 * db-4.6.21.tar.gz RMD160 SHA1 SHA256 size ;-) ...
20 [ ok ]
21 * patch.4.6.21.2 RMD160 SHA1 SHA256 size ;-) ...
22 [ ok ]
23 >>> Downloading 'http://distfiles.oshean.org/distfiles/patch.4.6.21.3'
24 --2009-06-20 12:42:25--
25 http://distfiles.oshean.org/distfiles/patch.4.6.21.3
26 Resolving distfiles.oshean.org... failed: Name or service not known.
27 wget: unable to resolve host address `distfiles.oshean.org'
28 >>> Downloading
29 'http://open-systems.ufl.edu/mirrors/gentoo/distfiles/patch.4.6.21.3'
30 --2009-06-20 12:42:25--
31 http://open-systems.ufl.edu/mirrors/gentoo/distfiles/patch.4.6.21.3
32 Resolving open-systems.ufl.edu... 128.227.74.33
33 Connecting to open-systems.ufl.edu|128.227.74.33|:80... connected.
34 HTTP request sent, awaiting response... 403 Forbidden
35 2009-06-20 12:42:25 ERROR 403: Forbidden.
36
37 >>> Downloading
38 'http://www.oracle.com/technology/products/berkeley-db/db/update/4.6.21/patch.4.6.21.3'
39 --2009-06-20 12:42:25--
40 http://www.oracle.com/technology/products/berkeley-db/db/update/4.6.21/patch.4.6.21.3
41 Resolving www.oracle.com... 141.146.9.91
42 Connecting to www.oracle.com|141.146.9.91|:80... connected.
43 HTTP request sent, awaiting response... 200 OK
44 Length: 1911 (1.9K) [application/octet-stream]
45 Saving to: `/usr/portage/distfiles/patch.4.6.21.3'
46
47 100%[======================================>] 1,911 --.-K/s in
48 0s
49
50 2009-06-20 12:42:25 (203 MB/s) - `/usr/portage/distfiles/patch.4.6.21.3'
51 saved [1911/1911]
52
53 ('Filesize does not match recorded size', 1911L, 1517)
54 !!! Fetched file: patch.4.6.21.3 VERIFY FAILED!
55 !!! Reason: Filesize does not match recorded size
56 !!! Got: 1911
57 !!! Expected: 1517
58 Refetching... File renamed to
59 '/usr/portage/distfiles/patch.4.6.21.3._checksum_failure_.wsiPuJ'
60
61 !!! Couldn't download 'patch.4.6.21.3'. Aborting.
62 * Fetch failed for 'sys-libs/db-4.6.21_p4', Log file:
63 * '/var/tmp/portage/sys-libs/db-4.6.21_p4/temp/build.log'
64
65 >>> Failed to emerge sys-libs/db-4.6.21_p4, Log file:
66
67 >>> '/var/tmp/portage/sys-libs/db-4.6.21_p4/temp/build.log'
68
69 * Messages for package sys-libs/db-4.6.21_p4:
70
71 * Fetch failed for 'sys-libs/db-4.6.21_p4', Log file:
72 * '/var/tmp/portage/sys-libs/db-4.6.21_p4/temp/build.log'
73
74 Doing "emerge --resume --skip-first" yielded output including the following:
75
76 * Updating persistent-net rules file
77 *
78 * restarting udevd now.
79 *
80 * persistent-net does assigning fixed names to network devices.
81 * If you have problems with the persistent-net rules,
82 * just delete the rules file
83 * rm /etc/udev/rules.d/70-persistent-net.rules
84 * and then reboot.
85 *
86 * This may however number your devices in a different way than they are
87 now.
88 *
89 * If you build an initramfs including udev, then please
90 * make sure that the /sbin/udevadm binary gets included,
91 * and your scripts changed to use it,as it replaces the
92 * old helper apps udevinfo, udevtrigger, ...
93 *
94 * mount options for directory /dev are no longer
95 * set in /etc/udev/udev.conf, but in /etc/fstab
96 * as for other directories.
97 *
98 * For more information on udev on Gentoo, writing udev rules, and
99 * fixing known issues visit:
100 * http://www.gentoo.org/doc/en/udev-guide.xml
101 >>> Regenerating /etc/ld.so.cache...
102
103 * Messages for package sys-fs/udev-141:
104
105 * If you want to use udev reliable you should update
106 * to at least kernel version 2.6.22!
107
108 *
109 * Moving //etc/modprobe.d//pnp-aliases to pnp-aliases.conf
110 * Moving //etc/modprobe.d//blacklist to blacklist.conf
111 *
112 * Updating persistent-net rules file
113 *
114 * restarting udevd now.
115 *
116 * persistent-net does assigning fixed names to network devices.
117 * If you have problems with the persistent-net rules,
118 * just delete the rules file
119 * rm /etc/udev/rules.d/70-persistent-net.rules
120 * and then reboot.
121 *
122 * This may however number your devices in a different way than they are
123 now.
124 *
125 * If you build an initramfs including udev, then please
126 * make sure that the /sbin/udevadm binary gets included,
127 * and your scripts changed to use it,as it replaces the
128 * old helper apps udevinfo, udevtrigger, ...
129 *
130 * mount options for directory /dev are no longer
131 * set in /etc/udev/udev.conf, but in /etc/fstab
132 * as for other directories.
133 *
134 * For more information on udev on Gentoo, writing udev rules, and
135 * fixing known issues visit:
136 * http://www.gentoo.org/doc/en/udev-guide.xml
137 >>> Auto-cleaning packages...
138
139 >>> No outdated packages were found on your system.
140
141 * GNU info directory index is up-to-date.
142
143 * IMPORTANT: 2 config files in '/etc' need updating.
144
145 I did "dispatch-conf" followed by "emerge cryptsetup". That produced
146 the following:
147
148 >>> Emerging (1 of 1) sys-fs/cryptsetup-1.0.6-r2
149 >>> Downloading
150 'http://distfiles.oshean.org/distfiles/cryptsetup-1.0.6.tar.bz2'
151 --2009-06-20 12:53:21--
152 http://distfiles.oshean.org/distfiles/cryptsetup-1.0.6.tar.bz2
153 Resolving distfiles.oshean.org... failed: Name or service not known.
154 wget: unable to resolve host address `distfiles.oshean.org'
155 >>> Downloading
156 'http://open-systems.ufl.edu/mirrors/gentoo/distfiles/cryptsetup-1.0.6.tar.bz2'
157 --2009-06-20 12:53:21--
158 http://open-systems.ufl.edu/mirrors/gentoo/distfiles/cryptsetup-1.0.6.tar.bz2
159 Resolving open-systems.ufl.edu... 128.227.74.33
160 Connecting to open-systems.ufl.edu|128.227.74.33|:80... connected.
161 HTTP request sent, awaiting response... 403 Forbidden
162 2009-06-20 12:53:21 ERROR 403: Forbidden.
163
164 >>> Downloading 'http://luks.endorphin.org/source/cryptsetup-1.0.6.tar.bz2'
165 --2009-06-20 12:53:21--
166 http://luks.endorphin.org/source/cryptsetup-1.0.6.tar.bz2
167 Resolving luks.endorphin.org... failed: Name or service not known.
168 wget: unable to resolve host address `luks.endorphin.org'
169 !!! Couldn't download 'cryptsetup-1.0.6.tar.bz2'. Aborting.
170 * Fetch failed for 'sys-fs/cryptsetup-1.0.6-r2', Log file:
171 * '/var/tmp/portage/sys-fs/cryptsetup-1.0.6-r2/temp/build.log'
172
173 >>> Failed to emerge sys-fs/cryptsetup-1.0.6-r2, Log file:
174
175 >>> '/var/tmp/portage/sys-fs/cryptsetup-1.0.6-r2/temp/build.log'
176
177 * Messages for package sys-fs/cryptsetup-1.0.6-r2:
178
179 * Fetch failed for 'sys-fs/cryptsetup-1.0.6-r2', Log file:
180 * '/var/tmp/portage/sys-fs/cryptsetup-1.0.6-r2/temp/build.log'
181 >>> Emerging (1 of 27) media-plugins/live-2008.09.02
182 >>> Downloading
183 'http://distfiles.oshean.org/distfiles/live.2008.09.02.tar.gz'
184 --2009-06-20 12:59:02--
185 http://distfiles.oshean.org/distfiles/live.2008.09.02.tar.gz
186 Resolving distfiles.oshean.org... failed: Name or service not known.
187 wget: unable to resolve host address `distfiles.oshean.org'
188 >>> Downloading
189 'http://open-systems.ufl.edu/mirrors/gentoo/distfiles/live.2008.09.02.tar.gz'
190 --2009-06-20 12:59:02--
191 http://open-systems.ufl.edu/mirrors/gentoo/distfiles/live.2008.09.02.tar.gz
192 Resolving open-systems.ufl.edu... 128.227.74.33
193 Connecting to open-systems.ufl.edu|128.227.74.33|:80... connected.
194 HTTP request sent, awaiting response... 403 Forbidden
195 2009-06-20 12:59:02 ERROR 403: Forbidden.
196
197 >>> Downloading
198 'http://www.live555.com/liveMedia/public/live.2008.09.02.tar.gz'
199 --2009-06-20 12:59:02--
200 http://www.live555.com/liveMedia/public/live.2008.09.02.tar.gz
201 Resolving www.live555.com... 4.79.217.242
202 Connecting to www.live555.com|4.79.217.242|:80... connected.
203 HTTP request sent, awaiting response... 404 Not Found
204 2009-06-20 12:59:18 ERROR 404: Not Found.
205
206
207 !!! Couldn't download 'live.2008.09.02.tar.gz'. Aborting.
208 * Fetch failed for 'media-plugins/live-2008.09.02', Log file:
209 * '/var/tmp/portage/media-plugins/live-2008.09.02/temp/build.log'
210
211 >>> Failed to emerge media-plugins/live-2008.09.02, Log file:
212
213 >>> '/var/tmp/portage/media-plugins/live-2008.09.02/temp/build.log'
214
215 * Messages for package media-plugins/live-2008.09.02:
216
217 * Fetch failed for 'media-plugins/live-2008.09.02', Log file:
218 * '/var/tmp/portage/media-plugins/live-2008.09.02/temp/build.log'
219
220 After doing "emerge --resume --skipfirst" a few more times I got a
221 seemingly clean ending:
222 >>> Auto-cleaning packages...
223 >>> No outdated packages were found on your system.
224
225 At that point I had the impression that the machine was not up-to-date
226 but nonetheless functional. However, the next morning I noticed that
227 the computer would not print to my local printer. Using the CUPS menu
228 did not rectify the problem. When I rebooted, the machine wouldn't
229 start X and the mouse wouldn't work. Rebooting again, I used the Grub
230 menu to select an old reliable configuration which allowed me to login
231 at a command line interface but did allow me to start X.
232
233 I would be grateful for suggestions about how to diagnose and fix the
234 above noted problems with cryptsetup, printer, mouse, and X.
235
236 John
237
238 --
239 John P. Burkett
240 Department of Economics
241 University of Rhode Island
242 Kingston, RI 02881-0808
243 USA
244
245 phone (401) 874-9195

Replies

Subject Author
Re: [gentoo-user] udev, cryptsetup, and ensuing problems Alan McKinnon <alan.mckinnon@×××××.com>
Re: [gentoo-user] udev, cryptsetup, and ensuing problems Paul Hartman <paul.hartman+gentoo@×××××.com>