1 |
On Thursday, 15. September 2011 01:58:59 Trifu Catalin Florin wrote: |
2 |
> On Thursday, 15. September 2011 01:16:12 Trifu Catalin Florin wrote: |
3 |
> > First, make sure you have emerged the kernel's sources. |
4 |
> > Second, check that the newer sources have been selected: 'eselect kernel |
5 |
> > list' followed by 'eselect kernel set'. Build the kernel, either using |
6 |
> > genkernel or make triumvirate (make menuconfig && make && make |
7 |
> > modules_install) Install the new kernel in /boot. |
8 |
> > Reboot. |
9 |
> > Warning: packages that build their own kernel modules, e.g., |
10 |
> > xtables-addons, must be re-emerged prior to rebooting. Rgds, |
11 |
> > |
12 |
> > --- |
13 |
> > |
14 |
> > :((((((((((((((((((( |
15 |
> > :((((((((((((((((((( |
16 |
> > |
17 |
> > Is it possible to compile the kernel without emerging kernel's sources? |
18 |
> |
19 |
> No. |
20 |
> |
21 |
> > I have made an installation one week ago on a virtual machine and it |
22 |
> > worked fine. The kernel on that virtual machine is 2.6.39-gentoo-r3. |
23 |
> > How is it possible to use the same manual, same mirrors, same steps and |
24 |
> > still to have a different kernel version? How is it possible not to |
25 |
> > work? |
26 |
> |
27 |
> You did not reboot. |
28 |
> |
29 |
> > If I use genkernel is because I DON'T KNOW how to compile the kernel |
30 |
> > manually. This being said, sentences like: |
31 |
> > |
32 |
> > "Warning: packages that build their own kernel modules, e.g., |
33 |
> > xtables-addons, must be re-emerged prior to rebooting." |
34 |
> > |
35 |
> > are the Gordian knot for me. |
36 |
> |
37 |
> No problem. Just use genkernel, if you like. It works for many of us without |
38 |
> problems. But you have to reboot. No matter how you build your kernel. |
39 |
> > I'm very frustrated because on gentoo's forum no one didn't answer for |
40 |
> > three days now, and on this mailing list we have changed 4-5 emails |
41 |
> > regarding how an email should be written. |
42 |
> |
43 |
> If you want help, you need to know, how to ask questions in a "correct way" |
44 |
> - if your mails are unreadable, nobody will read them and you will get no |
45 |
> answers. |
46 |
> |
47 |
> > Meanwhile, my server is still offline. |
48 |
> |
49 |
> Why don't you follow my advices? Have you tried only one of the options I |
50 |
> offered? You know, I am an experienced user, I don't tell you shit. |
51 |
> |
52 |
> > Now, in another order of ideas: |
53 |
> > - I have searched the internet for 2-3 days before sending an email here |
54 |
> |
55 |
> Here's a tip. If you see an error, you cannot decipher, put it into google |
56 |
> with quotes and gentoo, in your case: |
57 |
> |
58 |
> "touch: setting times of" gentoo |
59 |
> |
60 |
> The second hit, I get here, describes your problem. |
61 |
> |
62 |
> > - I didn't read the standard of how to send an email and I'm sorry for |
63 |
> > that but I didn't had time - I wrote the emails using the format that |
64 |
> > seemed more "natural" for me, the newest on top having the track of |
65 |
> > emails bellow, so that anyone who sees the email can understand what's |
66 |
> > this all about, including myself; I had to search for a half an our in |
67 |
> > my emails to find the first email on another topic... - I do not now |
68 |
> > how you format your emails to look the way they look, having that |
69 |
> > sentence on top with "x wrote on..." and ">" before each line of the |
70 |
> > text you keep for reply; this is why I have used standard reply from |
71 |
> > yahoo, because I didn't wanted to reinvent the wheel |
72 |
> |
73 |
> I hit reply in my mail-client (kmail). That's all I have to do. Is yahoo's |
74 |
> reply really so broken? Hmmm. |
75 |
> |
76 |
> > - I HAVE A LOT OF RESPECT FOR EACH USER ON THIS EMAIL LIST BUT I NEED |
77 |
> > URGENT HELP ON THE TOPIC: I CANNOT INSTALL GENTOOOOOOO - I AM NOT AN |
78 |
> > EXPERIENCED USER WHO CAN CREATE HIS OWN KERNEL, RE-WRITE DRIVERS AND SO |
79 |
> > ON; PLEASE TAKE THIS INTO CONSIDERATION AND IF YOU ANSWER HAVE PATIENCE |
80 |
> |
81 |
> Shouting at people, that try to help, is a bad idea in my book. |
82 |
> |
83 |
> > Thank you in advance! |
84 |
> |
85 |
> Best, |
86 |
> Michael |
87 |
> |
88 |
> ---- |
89 |
> Dear Michael |
90 |
> |
91 |
> Thank you for your help! |
92 |
> I didn't reboot my machine as the installation is not complete yet. How can |
93 |
> I reboot when the installation isn't finish, if things that should work |
94 |
> don't work in the first place? |
95 |
|
96 |
I can well understand, that you don't like to reboot your server right now. |
97 |
|
98 |
> I didn't try your advices as I don't now how to try them. How do I |
99 |
> deactivate sandbox? |
100 |
|
101 |
In /etc/make.conf |
102 |
1) it already has a line starting with FEATURES= |
103 |
a) that line already has an entry "sandbox" |
104 |
solution: add a - before it, so it reads -sandbox |
105 |
b) the line does not contain "sandbox" |
106 |
solution: add -sandbox at the end |
107 |
2) there's no line starting with FEATURES= |
108 |
solution: add line FEATURES="-sandbox" to /etc/make.conf |
109 |
|
110 |
> I tried to search for |
111 |
> "touch: setting times of" gentoo |
112 |
> but I don't understand how this is related to my problem. |
113 |
|
114 |
That's (part of) the error-message you got, when you tried to compile syslog- |
115 |
ng (in fact, it was part of the error, when emerge tried to compile autoconf, |
116 |
which is needed by syslog-ng) |
117 |
|
118 |
> Yahoo reply broken? I don't know what to say about that... gmail works in |
119 |
> the same way, outlook in the same way, thunderbird in the same way. |
120 |
|
121 |
No, they don't. A lot of people here on the list use thunderbird and gmail, |
122 |
most replies are wellformed. Don't know, what outlook does. There's no linux- |
123 |
or BSD-version, so I don't care. |
124 |
|
125 |
> Now I'm at work, but when I will get home I will try your advices. I don't |
126 |
> know how to that but I will find a way. Suppose that it will work, I'm |
127 |
> afraid that I will have big problems with my server after that. I think it |
128 |
> will keep stop me from working with errors similar to this one. |
129 |
|
130 |
If you have busybox installed, I would replace touch with the busybox version, |
131 |
until your server is up and running again with a new kernel. |
132 |
|
133 |
How to do this: |
134 |
a) check if busybox is installed and if it has "touch" in it |
135 |
type in a shell: |
136 |
~ $ busybox |
137 |
and press return. |
138 |
If busybox is installed, you will get a lot of output, among it there will be |
139 |
something like: |
140 |
|
141 |
Currently defined functions: |
142 |
<lot of stuff> |
143 |
|
144 |
See if "touch" is included in <lot of stuff> |
145 |
|
146 |
b) If it is, do the following as root: |
147 |
|
148 |
mv /bin/touch /root |
149 |
ln -s /bin/bb /bin/touch |
150 |
|
151 |
If touch is not included in your busybox install or you don't have busybox |
152 |
installed: |
153 |
try, if emerge busybox works |
154 |
If that fails try |
155 |
FEATURES="-sandbox" emerge busybox |
156 |
if that also fails, disable sandbox in /etc/make.conf as explained above. |
157 |
Otherwise continue with b). |
158 |
|
159 |
After all that, your emerge should work again. |
160 |
When you are done upgrading your server: |
161 |
a) you did disable sandbox in /etc/make.conf |
162 |
solution: revert the changes in /etc/make.conf |
163 |
|
164 |
b) you replaced touch by busybox: |
165 |
rm /bin/touch |
166 |
mv /root/touch /bin |
167 |
|
168 |
> Sorry for "shouting" but I do not have power to continue anymore... :(( what |
169 |
> should have been a straight forward installation, converted into a |
170 |
> nightmare |
171 |
|
172 |
I know that. Upgrading oldish gentoo-installs can be a very disappointing |
173 |
experience. |
174 |
|
175 |
Best, |
176 |
Michael |