1 |
Alan McKinnon wrote: |
2 |
> On Wednesday 03 June 2009 17:43:56 James Homuth wrote: |
3 |
> |
4 |
>> Related, however, if I do recompile it and |
5 |
>> decide to do so with genkernel, |
6 |
>> |
7 |
> |
8 |
> Yuck. I tell people to stay away from that thing. |
9 |
> |
10 |
> Just learn how to do it yourself. It's not hard, you get only what you want, |
11 |
> and there are thousands of howtos all over the net |
12 |
> |
13 |
|
14 |
I agree with this big time. Both parts. |
15 |
|
16 |
> |
17 |
>> will it respect the settings I've compiled |
18 |
>> into 2.6.28 or will they need to be reset again before 2.6.29 is compiled? |
19 |
>> |
20 |
> |
21 |
> No. Not unless you give it the old config to use. IIRC it has some feature to |
22 |
> use the config for the currently running kernel (/proc/config.gz) if the |
23 |
> running kernel supports it. But I could be may off course here too. |
24 |
> |
25 |
|
26 |
Why not copy the config from the old kernel over and run make |
27 |
oldconfig? May need to do some cleaning after genkernel tho. |
28 |
|
29 |
> |
30 |
>> thanks for any information on the subject. |
31 |
>> |
32 |
> |
33 |
> You'll get MUCH better answers by reading the kernel compile guide in the docs |
34 |
> section of gentoo.org. Your post implies that you have not read it, as all |
35 |
> your questions are answered in it. Knowledgeable folks here will give you the |
36 |
> same answers, so just read the doc instead... |
37 |
> |
38 |
> |
39 |
|
40 |
I would agree with Alan here. Learn to compile your own kernel. It is |
41 |
not nearly as bad as you may think. If you use grub, just save the old |
42 |
kernel you are using now. If the boot fails, reboot, edit the grub boot |
43 |
line and use the old kernel. Heck, I keep at least 2 working kernels |
44 |
here and during testing, I may have a dozen or more. Grub is wonderful |
45 |
when testing kernels. |
46 |
|
47 |
Curious to know a what to know which kernel is which, check this out: |
48 |
|
49 |
root@smoker / # ls /boot/bzImage-2.6.2* |
50 |
-rw-r--r-- 1 root root 2460088 Jan 2 20:13 /boot/bzImage-2.6.23-r8-7 |
51 |
-rw-r--r-- 1 root root 2463768 Apr 16 17:10 /boot/bzImage-2.6.23-r8-8 |
52 |
-rw-r--r-- 1 root root 2347324 May 16 12:09 /boot/bzImage-2.6.25-r9-1 |
53 |
-rw-r--r-- 1 root root 2347356 May 18 07:59 /boot/bzImage-2.6.25-r9-2 |
54 |
-rw-r--r-- 1 root root 2352956 May 23 09:51 /boot/bzImage-2.6.25-r9-3 |
55 |
-rw-r--r-- 1 root root 2370876 May 27 11:01 /boot/bzImage-2.6.25-r9-4 |
56 |
root@smoker / # |
57 |
|
58 |
I know what version the sources are and what local version I compiled, |
59 |
the number on the very end where each compile goes up one number. I |
60 |
been using Linux for years, notice it took me 4 tries to get my current |
61 |
kernel working. The last fix was USB, sort of missed the drivers for |
62 |
that. lol I still keep my old trusty 2.6.23. It took me 8 tries to |
63 |
get that one perfected. I say all that so you know you may not get it |
64 |
perfect the very first time. |
65 |
|
66 |
Hope that helps. |
67 |
|
68 |
Dale |
69 |
|
70 |
:-) :-) |