Gentoo Archives: gentoo-amd64

From: Jonathan Schaeffer <joschaeffer@×××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Re: Recovering from emerge --prune
Date: Fri, 19 May 2006 21:25:16
Message-Id: d60596f50605191419x3b448eb2k4dd9f3ef0ce8ee3b@mail.gmail.com
In Reply to: Re: [gentoo-amd64] Re: Recovering from emerge --prune by Jonathan Schaeffer
1 Hi people,
2
3 After having made a real mistake (emerge -P, jsut trust the mnpage,
4 don't try it), I've got a system up and running again. I followed
5 Duncan's advice about emerging the allready compiled grub package and
6 storing the merged packages.
7
8 revdep-rebuild finally found that the consitency was OK, so I run now
9 a full ~amd64 box.
10
11 Full ? not completely...
12
13 I switched back to Xorg-x11-6.8 because af a strange crash that
14 happens precisely 30 minutes after X starts. It's all happening like X
15 would restart and I'm back to my entrance login screen. Weird ...
16 I still have this problem even with the stable marked xorg-x11. No
17 significant logs found ... I disabled the proprietary 3D NVidia
18 drivers, just to be sure.
19
20 I don't have much time left before it crashes again, so I'll end it up.
21
22 I put what can be seen in /var/log/messages (note the timestamps) :
23
24 May 19 22:07:59 azile su(pam_unix)[10831]: session opened for user
25 root by (uid=1000)
26 May 19 22:35:56 azile entrance_login[10744]: Ending PAM session for user "jo".
27 May 19 22:35:56 azile entrance(pam_unix)[10744]: session closed for user jo
28 May 19 22:35:56 azile entranced: The session has ended normally.
29 May 19 22:35:56 azile su(pam_unix)[10831]: session closed for user root
30 May 19 22:35:57 azile entrance: Debug: ipc_title = /var/lib/entrance_ipc_7559
31 May 19 22:35:57 azile entrance: entrance_ipc_init: Success
32 May 19 22:35:57 azile entrance: Warning: No users found.
33 May 19 22:36:25 azile (jo-10797): GConf server is not in use, shutting down.
34 May 19 22:36:25 azile (jo-10797): Exiting
35 May 19 22:37:11 azile entrance: PAM: Success.
36 May 19 22:37:12 azile entrance: entranced: Requesting auth for uid
37 1000 (/home/jo)
38 May 19 22:37:12 azile entrance: Executing /etc/X11/xdm/Xsession
39 May 19 22:37:12 azile entrance: entrance_ipc_shutdown: Success
40 May 19 22:37:12 azile entrance: Starting session for user "jo".
41 May 19 22:37:12 azile entrance(pam_unix)[12809]: session opened for
42 user jo by (uid=0)
43 May 19 22:37:12 azile entrance[12809]: Opened PAM session. jo : :0.
44 May 19 22:37:12 azile entrance[12809]: Replacing Entrance with simple
45 login program to wait for session end.
46 May 19 22:37:15 azile (jo-12870): starting (version 2.14.0), pid 12870 user 'jo'
47 May 19 22:37:15 azile (jo-12870): Resolved address
48 "xml:readonly:/etc/gconf/gconf.xml.mandatory" to a read-only
49 configuration source at position 0
50 May 19 22:37:15 azile (jo-12870): Resolved address
51 "xml:readwrite:/home/jo/.gconf" to a writable configuration source at
52 position 1
53 May 19 22:37:15 azile (jo-12870): Resolved address
54 "xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only
55 configuration source at position 2
56 May 19 22:38:13 azile su[12892]: Successful su for root by jo
57 May 19 22:38:13 azile su[12892]: + pts/0 jo:root
58 May 19 22:38:13 azile su(pam_unix)[12892]: session opened for user
59 root by (uid=1000)
60 May 19 23:07:16 azile entrance_login[12809]: Ending PAM session for user "jo".
61 May 19 23:07:16 azile entrance(pam_unix)[12809]: session closed for user jo
62 May 19 23:07:16 azile entranced: The session has ended normally.
63 May 19 23:07:16 azile su(pam_unix)[12892]: session closed for user root
64 May 19 23:07:19 azile entrance: Debug: ipc_title = /var/lib/entrance_ipc_7559
65 May 19 23:07:19 azile entrance: entrance_ipc_init: Success
66 May 19 23:07:19 azile entrance: Warning: No users found.
67 May 19 23:07:26 azile entrance: PAM: Success.
68 May 19 23:07:27 azile entrance: entranced: Requesting auth for uid
69 1000 (/home/jo)
70 May 19 23:07:27 azile entrance: Executing /etc/X11/xdm/Xsession
71 May 19 23:07:27 azile entrance: entrance_ipc_shutdown: Success
72 May 19 23:07:27 azile entrance: Starting session for user "jo".
73 May 19 23:07:27 azile entrance(pam_unix)[31810]: session opened for
74 user jo by (uid=0)
75 May 19 23:07:27 azile entrance[31810]: Opened PAM session. jo : :0.
76 May 19 23:07:27 azile entrance[31810]: Replacing Entrance with simple
77 login program to wait for session end.
78
79 Thanks for the hints
80
81 Jonathan, Specialist in weird problems.
82
83 2006/5/16, Jonathan Schaeffer <joschaeffer@×××××.com>:
84 > Thanks for the complete answer Duncan, there is matter to try things
85 > out. I think I'll learn a lot in recovering my system :)
86 >
87 > I'll try those things out and if I'm unlucky, I'll consider
88 > reinstalling from scratch.
89 >
90 > 2006/5/16, Duncan <1i5t5.duncan@×××.net>:
91 > > "Jonathan Schaeffer" <joschaeffer@×××××.com> posted
92 > > d60596f50605152339u5a5173c6s7659c73403a95308@××××××××××.com, excerpted
93 > > below, on Tue, 16 May 2006 08:39:10 +0200:
94 > >
95 > > > just for improving my knowledge of the Gentoo system, I tried out the
96 > > > emerge -P option (... well one would say reading the man page is a
97 > > > good way to learn too)
98 > >
99 > > Yeah... that's a mistake I don't believe you'll do again! How many times
100 > > does it have to be said, use --pretend on any emerge operation,
101 > > PARTICULARLY when unmerging, and check for sanity before actually doing it!?
102 > >
103 > > Hopefully, your post averts someone else's mistake. =8^)
104 > >
105 > > > Allwright, the system is broken but it seems that it is recoverable.
106 > > > emerge -uDN world will recompile the libraries I've lost.
107 > >
108 > > Right. Of course, if you were using FEATURES=buildpkg, you'd have binary
109 > > versions of everything, so it'd likely be a matter of half an hour's work
110 > > to remerge them. Features=buildpkg is my favorite under-publicised portage
111 > > feature! =8^) It's saved my butt several times, now! You may wish to
112 > > read up on it right away, and consider turning it on before you start
113 > > rebuilding things. That'll give you a head-start at getting all your
114 > > packages backed up in binary package format, and you'll be better prepared
115 > > the next time something goes wrong. (If you are worried about space,
116 > > you'll need 2 gig minimum for binary copies of all packages in a full
117 > > desktop system. It won't take quite that much, but you do want to be able
118 > > to upgrade stuff and have both copies on hand for awhile, in case you need
119 > > to revert to the old version. 4 gigs is better -- you won't have to
120 > > clean out old packages as often.)
121 > >
122 > > > While doing this, an error occured in emerging grub. This is what
123 > > > shows up in the config.log
124 > >
125 > > Unfortunately, I can't help you there. I might be able to trial and error
126 > > my way thru fixing it if it occurred here, but I see anything I'm familiar
127 > > enough with to dare trying to explain.
128 > >
129 > > One thing you might try... emerge grub-static for the time being. That's
130 > > a binary no-compile version. If you want the self-compiled one later, try
131 > > grub again, after everything else is merged. That might well cure the
132 > > problem, and is what I'd try in that situation.
133 > >
134 > > Also... note that grub is 32-bit. It's possible your 32-bit side isn't
135 > > set up quite right, while the 64-bit side is still working fine. I've had
136 > > that happen a couple times. You may need to get a known-good binary
137 > > package glibc, to bootstrap a working 32-bit glibc, again. I had to do
138 > > that at one point. Before you do that, however, try merging it with
139 > > FEATURES=-sandbox. It's possible your 32-bit sandbox is screwed up, and
140 > > it'll work if you merge without that. (If you are worried about security,
141 > > try FEATURES=userpriv whenever you turn off sandbox. It doesn't always
142 > > work and you have to go without both, but sometimes it does.)
143 > >
144 > > Shots in the dark and true, I can't explain how they'd fix the problem
145 > > you reported, but maybe one of them will have gotten lucky and hit whatever
146 > > your problem is. =8^)
147 > >
148 > >
149 > >
150 > > --
151 > > Duncan - List replies preferred. No HTML msgs.
152 > > "Every nonfree program has a lord, a master --
153 > > and if you use the program, he is your master." Richard Stallman
154 > >
155 > > --
156 > > gentoo-amd64@g.o mailing list
157 > >
158 > >
159 >
160
161 --
162 gentoo-amd64@g.o mailing list