Gentoo Archives: gentoo-user

From: Bob Young <RKY@×××××.Net>
To: Gentoo-user List <gentoo-user@l.g.o>
Subject: [gentoo-user] How Bad Is This...?
Date: Wed, 16 Apr 2008 14:43:37
Message-Id: 002b01c89fd0$37afa110$05200a0a@Cyor.Lan
1 I'm in the process of installing a new box, last night before going to bed I
2 started installing xorg server. This morning, I found the 82nd build (out of
3 162) had failed with the following error:
4
5
6 1450K .......... .......... .......... .......... .......... 89% 44.2K
7 0:04
8 1500K .......... .......... .......... .......... .......... 92% 51.2K
9 0:02
10 1550K .......... .......... .......... .......... .......... 95% 20.0K
11 0:04
12 1600K .......... .......... .......... .......... .......... 98% 61.9K
13
14 1650K .......... .......... .......... . 100% 46.4K
15
16
17 00:33:24 (29.93 KB/s) - `/usr/portage/distfiles/curl-7.17.1.tar.bz2' saved
18 [1721551/1721551]
19
20 >>> Unpacking curl-7.17.1.tar.bz2 to
21 /var/tmp/portage/net-misc/curl-7.17.1/work
22 * Applying curl-7.16.2-strip-ldflags.patch ...
23 [ ok ]
24 * Applying curl-7.17.1-null-handler-segfault.patch ...
25 [ ok ]
26 * Running elibtoolize in: curl-7.17.1
27 * Applying install-sh-1.5.patch ...
28 * Applying portage-1.5.10.patch ...
29 * Applying sed-1.5.6.patch ...
30 >>> Source unpacked.
31 >>> Compiling source in
32 /var/tmp/portage/net-misc/curl-7.17.1/work/curl-7.17.1 ...
33 *
34 * ERROR: net-misc/curl-7.17.1 failed.
35 * Call stack:
36 * ebuild.sh, line 49: Called src_compile
37 * environment, line 2344: Called die
38 * The specific snippet of code:
39 * die 'ldap and kerberos (gssapi) not playing nicely try version
40 >=7.18.1';
41 * The die message:
42 * ldap and kerberos (gssapi) not playing nicely try version >=7.18.1
43 *
44 * If you need support, post the topmost build error, and the call stack if
45 relevant.
46 * A complete build log is located at
47 '/var/tmp/portage/net-misc/curl-7.17.1/temp/build.log'.
48 * The ebuild environment file is located at
49 '/var/tmp/portage/net-misc/curl-7.17.1/temp/environment'.
50 *
51 * Regenerating GNU info directory index...
52 * Processed 133 info files.
53
54 Okay, looks like there's something wrong with curl, let's see what the
55 current and latest version I can unmask is:
56
57
58 [ 00:33:41 ] Wed Apr 16 /home/Cyor $ emerge -s curl
59 Searching... -Traceback (most recent call last):
60 File "/usr/bin/emerge", line 6971, in ?
61 retval = emerge_main()
62 File "/usr/bin/emerge", line 6945, in emerge_main
63 myopts, myfiles, spinner)
64 File "/usr/bin/emerge", line 5811, in action_search
65 searchinstance.execute(mysearch)
66 File "/usr/bin/emerge", line 566, in execute
67 if not self.portdb.xmatch("match-visible", package):
68 File "/usr/bin/emerge", line 494, in _xmatch
69 matches.update(db.xmatch(level, atom))
70 File "/usr/lib/portage/pym/portage.py", line 7438, in xmatch
71
72 File "/usr/lib/portage/pym/portage.py", line 7372, in xmatch
73
74 File "/usr/lib/portage/pym/portage.py", line 7481, in visible
75
76 File "/usr/lib/portage/pym/portage.py", line 7085, in aux_get
77
78 File "/usr/lib/portage/pym/cache/template.py", line 82, in __delitem__
79
80 File "/usr/lib/portage/pym/cache/flat_hash.py", line 98, in _delitem
81 raise cache_errors.CacheCorruption(cpv, e)
82 cache.cache_errors.CacheCorruption: dev-lisp/cl-curl-20050609 is corrupt:
83 [Errno 13] Permission denied:
84 '/var/cache/edb/dep/usr/portage/dev-lisp/cl-curl-20050609'
85
86
87 What...! the file is corrupt..? okay, maybe a --sync will fix it:
88
89
90 [ 06:41:58 ] Wed Apr 16 /home/Cyor $ emerge --sync
91 emergelog(): [Errno 30] Read-only file system: '/var/log/emerge.log'
92 emergelog(): [Errno 30] Read-only file system: '/var/log/emerge.log'
93 emergelog(): [Errno 30] Read-only file system: '/var/log/emerge.log'
94 Permission denied: '/usr/portage/metadata/timestamp.chk'
95 emergelog(): [Errno 30] Read-only file system: '/var/log/emerge.log'
96
97 "Permission denied," " Read-only file system" ... WTF..!?!
98
99 [ 06:42:52 ] Wed Apr 16 /home/Cyor $ df
100 bash: /bin/df: Input/output error
101
102 "I/O error" okay enough of this, time to reboot.
103
104
105 [ 06:43:22 ] Wed Apr 16 /home/Cyor $ shutdown -h now
106 bash: /sbin/shutdown: Input/output error
107
108 Uh-oh, this is starting to look bad.
109
110 [ 06:44:48 ] Wed Apr 16 /home/Cyor $ man emerge
111 bash: man: command not found
112 [ 06:45:05 ] Wed Apr 16 /home/Cyor $ cd /
113 [ 06:45:13 ] Wed Apr 16 / $ ls
114 ls: cannot access stage3-i686-2007.0.tar.bz2.DIGESTS: Permission denied
115 ls: cannot access portage-20080407.tar.bz2: Permission denied
116 total 105521
117 1 drwxr-xr-x 21 NormalUser Domain Admins 736 Apr 12 12:02 .
118 1 drwxr-xr-x 21 NormalUser Domain Admins 736 Apr 12 12:02 ..
119 4 drwxr-xr-x 2 NormalUser Domain Admins 3888 Apr 13 09:41 bin
120 0 drwxr-xr-x 2 NormalUser Domain Admins 48 Apr 7 17:23 boot
121 0 drwxr-xr-x 15 NormalUser Domain Admins 3120 Apr 15 21:23 dev
122 3 drwxr-xr-x 40 NormalUser Domain Admins 3144 Apr 16 00:32 etc
123 0 drwxr-xr-x 5 NormalUser Domain Admins 144 Apr 12 11:21 home
124 4 drwxr-xr-x 8 NormalUser Domain Admins 4048 Apr 12 14:31 lib
125 0 drwxr-xr-x 4 NormalUser Domain Admins 80 Apr 12 05:19 log
126 0 drwxr-xr-x 6 NormalUser Domain Admins 168 Apr 11 21:44 mnt
127 0 drwxr-xr-x 2 NormalUser Domain Admins 72 Apr 19 2007 opt
128 ? ?????????? ? ? ? ? ?
129 portage-20080407.tar.bz2
130 4 -rw-r--r-- 1 NormalUser Domain Admins 59 Apr 9 07:42
131 portage-20080407.tar.bz2.md5sum
132 0 dr-xr-xr-x 67 NormalUser Domain Admins 0 Apr 15 14:21 proc
133 0 drwx------ 3 NormalUser Domain Admins 216 Apr 12 14:12 root
134 4 drwxr-xr-x 2 NormalUser Domain Admins 3856 Apr 12 15:18 sbin
135 105491 -rw-r--r-- 1 NormalUser Domain Admins 107915722 Apr 8 22:35
136 stage3-i686-2007.0.tar.bz2
137 ? ?????????? ? ? ? ? ?
138 stage3-i686-2007.0.tar.bz2.DIGESTS
139 0 drwxr-xr-x 12 NormalUser Domain Admins 0 Apr 15 14:21 sys
140 0 drwxrwxrwt 4 NormalUser Domain Admins 112 Apr 16 00:32 tmp
141 0 drwxr-xr-x 13 NormalUser Domain Admins 368 Apr 10 09:52 usr
142 0 drwxr-xr-x 15 NormalUser Domain Admins 408 Apr 16 00:14 var
143 [ 06:45:14 ] Wed Apr 16 / $ reboot
144 bash: /sbin/reboot: Input/output error
145 [ 06:45:32 ] Wed Apr 16 / $ cd sbin/
146 [ 06:46:04 ] Wed Apr 16 /sbin $ ls
147 ls: cannot access grub: Permission denied
148 ls: cannot access grub-md5-crypt: Permission denied
149 ls: cannot access grub-terminfo: Permission denied
150 ls: cannot access reiserfstune: Permission denied
151 ls: cannot access grub-install: Permission denied
152 ls: cannot access debugreiserfs: Permission denied
153 ls: cannot access grub-set-default: Permission denied
154 ls: cannot access resize_reiserfs: Permission denied
155 total 5314
156 4 drwxr-xr-x 2 NormalUser Domain Admins 3856 Apr 12 15:18 .
157 1 drwxr-xr-x 21 NormalUser Domain Admins 736 Apr 12 12:02 ..
158 52 -rwxr-xr-x 1 NormalUser Domain Admins 51168 Apr 19 2007 MAKEDEV
159 16 -rwxr-xr-x 1 NormalUser Domain Admins 14748 Apr 19 2007 agetty
160 4 -rwxr-xr-x 1 NormalUser Domain Admins 3928 Apr 19 2007 ctrlaltdel
161 .
162 .
163 .
164 68 -rwxr-xr-x 1 NormalUser Domain Admins 66096 Apr 19 2007 debugfs
165 ? ?????????? ? ? ? ? ? debugreiserfs
166 36 -rwxr-xr-x 1 NormalUser Domain Admins 35232 Apr 19 2007 depmod
167 .
168 .
169 .
170 12 -rwxr-xr-x 1 NormalUser Domain Admins 9493 Apr 19 2007
171 generate-modprobe.conf
172 36 -rwxr-xr-x 1 NormalUser Domain Admins 36364 Apr 19 2007 genksyms
173 ? ?????????? ? ? ? ? ? grub
174 ? ?????????? ? ? ? ? ? grub-install
175 ? ?????????? ? ? ? ? ?
176 grub-md5-crypt
177 ? ?????????? ? ? ? ? ?
178 grub-set-default
179 ? ?????????? ? ? ? ? ? grub-terminfo
180 12 -rwxr-xr-x 1 NormalUser Domain Admins 10376 Apr 19 2007 halt
181 56 -rwxr-xr-x 1 NormalUser Domain Admins 56212 Apr 19 2007 hdparm
182 8 -rwxr-xr-x 1 NormalUser Domain Admins 5546 Apr 19 2007 rc-update
183 0 lrwxrwxrwx 1 NormalUser Domain Admins 4 Apr 9 07:45 reboot ->
184 halt
185 288 -rwxr-xr-x 1 NormalUser Domain Admins 293800 Apr 11 22:25 reiserfsck
186 ? ?????????? ? ? ? ? ? reiserfstune
187 28 -rwxr-xr-x 1 NormalUser Domain Admins 28484 Apr 19 2007 resize2fs
188 ? ?????????? ? ? ? ? ?
189 resize_reiserfs
190 12 -rwxr-xr-x 1 NormalUser Domain Admins 9556 Apr 19 2007 rmmod
191 0 lrwxrwxrwx 1 NormalUser Domain Admins 10 Apr 9 07:45 rmmod.old ->
192 insmod.old
193 20 -rwxr-xr-x 1 NormalUser Domain Admins 18580 Apr 19 2007 udevtrigger
194 0 lrwxrwxrwx 1 NormalUser Domain Admins 14 Apr 9 07:45
195 update-modules -> modules-update
196 [ 06:46:07 ] Wed Apr 16 /sbin $ ./halt -r now
197 bash: ./halt: Input/output error
198 [ 06:48:33 ] Wed Apr 16 /sbin $ ./reboot
199 bash: ./reboot: Input/output error
200
201
202 BTW, the user:group "NormalUser : Domain Admins" in normal and correct that
203 is 0:0, it comes from the W2K3 domain controller that is the NIS server, and
204 NIS is listed first in nsswitch.conf.
205
206 Also worthy of note is the reason for installing this new box, the previous
207 install developed severe hard disk corruption. Because of that, this install
208 is located on a brand new 250G Seagate with a five year warranty, so while
209 not impossible, I tend to doubt that the hard disk it self is the true root
210 cause.
211
212 Okay, so my question is how bad is it?
213
214 Is there anyway to shutdown cleanly?
215
216 I do have a second brand new 250G Seagate, is another clean install, with a
217 *second* brand new drive the best alternative, or is some even lower level
218 hardware (i.e. disk controller) the more likely culprit at this point?
219
220 Thanks for listening
221 Bob Young
222 San Jose, CA.
223
224 --
225 gentoo-user@l.g.o mailing list

Replies

Subject Author
RE: [gentoo-user] How Bad Is This...? Sylvain Chouleur <neolistic@×××××××.com>
Re: [gentoo-user] How Bad Is This...? Alan McKinnon <alan.mckinnon@×××××.com>
Re: [gentoo-user] How Bad Is This...? Volker Armin Hemmann <volker.armin.hemmann@××××××××××××.de>
Re: [gentoo-user] How Bad Is This...? Florian Philipp <lists@××××××××××××××××××.net>