Gentoo Archives: gentoo-user

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