Kernel Mayhem. Please Help
I've been trying to upgrade to kernel 2.4.2. I can't get the bzImage command to work. Linux does not recognize this command. Also can't get make xconfig command to work. Linux says it does not have a target set for such a "rule"?? I've been following the directions of a couple different How-To's and they say to modify my lilo.conf file. The How-To says I should have some lines it using that "bzImage" command, but as stated before my linux box does not understand this command. Here's what my /usr/src/linux directory looks like at the present time: bash-2.04# cd /usr/src/linux bash-2.04# ls -l total 122836 drwxr-xr-x 3 root root 4096 Apr 7 14:54 include -r-xr-xr-x 1 root root 9727302 Apr 7 14:28 k_deflt_24-2.4.2-4.i386.rpm lrwxrwxrwx 1 root root 11 Apr 7 14:44 linux -> linux-2.4.2 -r-xr-xr-x 1 root root 115517440 Apr 7 14:26 linux-2.4.2.SuSE-5.tar -r-xr-xr-x 1 root root 390247 Apr 7 14:29 modutils-2.4.2-7.i386.rpm bash-2.04# I'm writing this email from my linux box currently using kernel 2.2.16, so I guess I haven't blown anything up. However, l'm worried I may have made a mess of all the stuff contained in the kernel 2.4.2 .tar.gz file. By the way, I am using Suse 7.0 Help, someone. Mike
On Sat, Apr 07, 2001 at 04:31:41PM -0400, mhf wrote:
I've been trying to upgrade to kernel 2.4.2. I can't get the bzImage command to work. Linux does not recognize this command. Also can't get make xconfig command to work. Linux says it does not have a target set for such a "rule"??
Here's what my /usr/src/linux directory looks like at the present time:
bash-2.04# cd /usr/src/linux bash-2.04# ls -l total 122836 drwxr-xr-x 3 root root 4096 Apr 7 14:54 include -r-xr-xr-x 1 root root 9727302 Apr 7 14:28 k_deflt_24-2.4.2-4.i386.rpm lrwxrwxrwx 1 root root 11 Apr 7 14:44 linux -> linux-2.4.2 -r-xr-xr-x 1 root root 115517440 Apr 7 14:26 linux-2.4.2.SuSE-5.tar -r-xr-xr-x 1 root root 390247 Apr 7 14:29 modutils-2.4.2-7.i386.rpm
You don't have the kernel sources installed. Grab the lx_suse24 rpm and try again. - v -- Victor R. Cardona vcardona@home.com "Behold the keyboard of Kahless, the greatest Klingon code warrior that ever lived!"
Vic, Thanks for your response. Where do you find the file that you mentioned below. The only file I find that looks similar is: ftp://ftp.suse.com/pub/people/mantel/next/lx_sus24.changes But this is not an an rpm file. Now that I think of it, I don't even see the 2.4.2 .tar.gz file in there anymore, either. Now it's the 2.4.3 .tar.gz. Hmmm......I'll keep looking. Thank you for your help. Mike michael.flug@snet.net On Sat, 07 Apr 2001, Victor R. Cardona wrote:
You don't have the kernel sources installed. Grab the lx_suse24 rpm and try again.
Hi, The sources can be found : ftp://ftp.suse.com/pub/suse_update/7.1/d2 and the rpms : ftp://ftp.suse.com/pub/suse_update/7.1/kernel ...../mantel gives you the latest. Ciao Filip. Le Dimanche 8 Avril 2001 17:59, vous avez écrit :
Vic,
Thanks for your response.
Where do you find the file that you mentioned below. The only file I find that looks similar is: ftp://ftp.suse.com/pub/people/mantel/next/lx_sus24.changes
But this is not an an rpm file.
Now that I think of it, I don't even see the 2.4.2 .tar.gz file in there anymore, either. Now it's the 2.4.3 .tar.gz.
Hmmm......I'll keep looking.
Thank you for your help.
Mike michael.flug@snet.net
On Sat, 07 Apr 2001, Victor R. Cardona wrote:
You don't have the kernel sources installed. Grab the lx_suse24 rpm and try again.
Filip, My mistake. I forgot to say that I am using Suse 7.0. Is it okay to use the files from the 7.1 directory or do I need to use files found only in the 7.0 directory? Thanks for your help. Mike michael.flug@snet.net On Sun, 08 Apr 2001, filip wrote: > Hi,
The sources can be found : ftp://ftp.suse.com/pub/suse_update/7.1/d2 and the rpms : ftp://ftp.suse.com/pub/suse_update/7.1/kernel
...../mantel gives you the latest. CCiao Filip.
Hi, Kernels are kernels. But there is quite a big difference between 7.0 and 7.1 as 7.1 has a double kernel choise install. In your case, I would go for the 2.4.2 sources in ftp..../7.1 as SuSE puts the same 2.4.2 rpm in ftp...../7.0 ( !! rpm will be faster ). Make sure you have modutils aswell ( ..../7.1) Make first a cloneconfig of your 2.2.16 kernel, it will give you a good .config file which you can copy to your new linux src directory. Be sure your linux link points to the correct kernel tree. Before compiling from source, read a lot, take a paper and write down step by step what you have to do. ( don't forget the steps lilo, mk_initrd in some cases etc....) Anyway, be carefull but have FUN. Filip Le Dimanche 8 Avril 2001 20:27, mhf a écrit :
Filip,
My mistake. I forgot to say that I am using Suse 7.0. Is it okay to use the files from the 7.1 directory or do I need to use files found only in the 7.0 directory?
Thanks for your help.
Mike michael.flug@snet.net
On Sun, 08 Apr 2001, filip wrote: > Hi,
The sources can be found : ftp://ftp.suse.com/pub/suse_update/7.1/d2 and the rpms : ftp://ftp.suse.com/pub/suse_update/7.1/kernel
...../mantel gives you the latest. CCiao Filip.
* filip (vhf@skynet.be) [010408 12:54]: =>Make first a cloneconfig of your 2.2.16 kernel, it will give you a good =>.config file which you can copy to your new linux src directory. Sorry, but I was told not to do this. What should be done is a config file from a 2.4 kernel...because 2.2 and 2.4 are different. I could be wrong..if so someone could hip me to this..but as far as I know..a cloneconfig of a 2.2.X shouldn't be used for 2.4.X kernels. Regards, -- Ben Rosenberg mailto:ben@whack.org ----- If two men agree on everything, you can be sure that only one of them is doing the thinking.
Hi Ben, You're probably right. It's been already +/- 1 month ago since I upgraded to 2.4.2 from kernel.org( remember the nvidia problems). At that time edited the .config file of 2.2.18 and used the settings for the new 2.4.2 make menuconfig file. Please excuse me. Filip. Le Dimanche 8 Avril 2001 21:57, Ben Rosenberg a écrit :
* filip (vhf@skynet.be) [010408 12:54]:
=>Make first a cloneconfig of your 2.2.16 kernel, it will give you a good =>.config file which you can copy to your new linux src directory.
Sorry, but I was told not to do this. What should be done is a config file from a 2.4 kernel...because 2.2 and 2.4 are different.
I could be wrong..if so someone could hip me to this..but as far as I know..a cloneconfig of a 2.2.X shouldn't be used for 2.4.X kernels.
Regards,
participants (4)
-
Ben Rosenberg
-
filip
-
mhf
-
Victor R. Cardona