1 |
Mark Knecht wrote: |
2 |
> On Sun, Feb 1, 2009 at 2:03 PM, Dale <rdalek1967@×××××.com> wrote: |
3 |
> |
4 |
>> Mark Knecht wrote: |
5 |
>> |
6 |
>>> On Sun, Feb 1, 2009 at 1:32 PM, KH <gentoo-user@××××××××××××××××.de> wrote: |
7 |
>>> |
8 |
>>> |
9 |
>>>> Volker Armin Hemmann schrieb: |
10 |
>>>> |
11 |
>>>> |
12 |
>>>>> On Sonntag 01 Februar 2009, Dale wrote: |
13 |
>>>>> |
14 |
>>>>> |
15 |
>>>>> |
16 |
>>>>>> Hi, |
17 |
>>>>>> |
18 |
>>>>>> I just rebuilt a newer kernel and noticed something. It seems bzImage |
19 |
>>>>>> has moved from arch/i386/boot/bzImage to arch/x86/boot/bzImage. When |
20 |
>>>>>> did this happen? Is x86 the same as i386? |
21 |
>>>>>> |
22 |
>>>>>> |
23 |
>>>>>> |
24 |
>>>>> yes. They merged the '386' and the amd64/x86_64 architecture into x86. |
25 |
>>>>> |
26 |
>>>>> And it happend a couple of kernel versions ago. |
27 |
>>>>> |
28 |
>>>>> |
29 |
>>>>> |
30 |
>>>> I am running amd64 using 2.6.27-gentoo-r8 and in arch there still is x86 |
31 |
>>>> an x86_64. Am I doing anything wrong or did I just missanderstand you? |
32 |
>>>> |
33 |
>>>> kh |
34 |
>>>> |
35 |
>>>> |
36 |
>>> cd in there and look around. x86_64 only has a boot directory and when |
37 |
>>> you look at the bzImage file in it you find it's a link to |
38 |
>>> ../../x86/boot/bzImage so what's happening is all the files are under |
39 |
>>> x86 but if you say 'I built AMD64' and do cp arch/x86_64/boot/bzImage |
40 |
>>> you are really getting the file under x86. |
41 |
>>> |
42 |
>>> Hope this helps, |
43 |
>>> Mark |
44 |
>>> |
45 |
>>> |
46 |
>>> |
47 |
>>> |
48 |
>> Well, when I tried to copy the old way, it just copied the link itself, |
49 |
>> then when I looked in /boot, it was red and really upset. I had to copy |
50 |
>> the kernel with Konqeror to get it into /boot, after finding the stupid |
51 |
>> thing. Don't get mad at me, every time I copied it it was a broken |
52 |
>> link. Sometimes you got to do what you got to do. :/ |
53 |
>> |
54 |
>> Dale |
55 |
>> |
56 |
>> :-) :-) |
57 |
>> |
58 |
>> |
59 |
> |
60 |
> Dale, |
61 |
> There isn't a reason in the world why I'd get mad at you! :-)))) |
62 |
> |
63 |
> I guess I'm not sure I know what you mean by 'when I tried to copy |
64 |
> it the old way'. I think my kernel management is far less |
65 |
> sophisticated than what I'm reading the real Linux guys here do. I'm |
66 |
> embarrased to say that the only thing in my /boot directory is a bunch |
67 |
> of bzImage files and a grub subdirectory. I have nothing else. |
68 |
> Basically I build the kernel using make && make modules_install and |
69 |
> then copy the kernel by hand using |
70 |
> |
71 |
> cp arch/x86_64/boot/bzImage /boot/bzImage-2.6.27-gentoo-r8 |
72 |
> |
73 |
> or whatever the kernel is. I add that to grub.conf and I'm done. works for me. |
74 |
> |
75 |
> Possibly you've done more or less the same thing but using i386 |
76 |
> instead of x86_64 or x86? I think the i386/boot/bzImage file has |
77 |
> actually been a link to the x86 directory for awhile now. I looked in |
78 |
> an older 2.6.23 kernel on this machine and found an i386 directory but |
79 |
> didn't in the 2.6.24 kernel so I guess that's when things changed. |
80 |
> |
81 |
> Hope this helps, |
82 |
> Mark |
83 |
> |
84 |
> |
85 |
> |
86 |
|
87 |
I sort of do the way you do but I change the name so I know what version |
88 |
of kernel it came from and what version it is from my build. Sometimes |
89 |
I have to build three or four before I get what I want. I also copy the |
90 |
config over with the same naming scheme so I know which config goes with |
91 |
which kernel. I always keep two kernels in there but sometimes I get a |
92 |
dozen or more when I am testing new ones. |
93 |
|
94 |
The problem I ran into when I copied the old way, cp |
95 |
arch/i386/boot/bzImage /boot, that wasn't the kernel but was a link to |
96 |
the kernel in the x86 directory tree. When I copied the link then the |
97 |
link got broke and then it appeared red on my screen. I thought I was |
98 |
going nuts for a bit. I hadn't heard anything about the kernel being |
99 |
moved and it had been a while. I'm old and I do forget sometimes. |
100 |
|
101 |
I don't get mad about much either. It's just another day. I got enough |
102 |
things to worry about already. |
103 |
|
104 |
Dale |
105 |
|
106 |
:-) :-) |