LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 09-02-2003, 10:37 PM   #1
carrierel
LQ Newbie
 
Registered: Aug 2003
Location: Saint-Hubert, Québec
Distribution: Mandrake 9.0
Posts: 18

Rep: Reputation: 0
Question Kernel upgrade


Ok here it goes... I have Mandrake 9.0 installed and I have downloaded Mdk9.1. The upgrade fonction did not goes right neither a fresh installation so I rebuilded my entire server on 9.0

Now, I have downloaded the patch-2.4.22.tar.gz file from kernel.org and I want to use it to upgrade from 2.4.19 (Mdk9.0).

I'm trying what is in the Kernel Howto (chapter 6-Patching the kernel) and it says:

#make clean
#cd /usr/src
#tar zcvf old-kernel-2.4.19.tar.gz linux

I have the 'patch-2.4.22.tar.gz' and the 'old-kernel-2.4.19.tar.gz' files in my /usr/src/ directory.

Now it says:

#zcat patch-2.4.22 [verbar]
^^^^----- what's that?? ain't working
#patch -p0 patch-2.4.22.tar.gz

^^^^^^^^^^^^^^^^---- it ain't working either, it need another file, so I tryed unsuccesfully with the 'old-kernel-2.4.19.tar.gz' file

So since in the doc it's more like:
#zcat patch-2.4.22 patch -p0 patch-2.4.22.tar.gz
i've tried it but ... not working.

What is wrong???
 
Old 09-02-2003, 10:41 PM   #2
kundor
Member
 
Registered: Aug 2003
Distribution: GoboLinux
Posts: 167

Rep: Reputation: 30
The Mandrake kernel is too heavily modified to make use of patches from kernel.org. And the system depends on those changes, so it isn't a good idea to install a whole kernel from kernel.org either.

You can get a newer kernel as an upgrade. Set up urpmi as at http://plf.zarb.org/~nanardon , then become root and type "urpmi kernel." If it gives a list, choose the one with the highest number (Currently kernel-2.4.22.4mdk-1-1mdk.i586, at least on cooker, I don't know what's available on standard mdk.) At any rate, I know at least kernel-2.4.21-25mdk was out. urpmi will get and install that kernel for you.
 
Old 09-02-2003, 11:35 PM   #3
carrierel
LQ Newbie
 
Registered: Aug 2003
Location: Saint-Hubert, Québec
Distribution: Mandrake 9.0
Posts: 18

Original Poster
Rep: Reputation: 0
Question

Do you have the adress of cooker? I've tried like 5 servers in usa and it report "everything already isntalled" even if I'm still 2.4.19
 
Old 09-03-2003, 12:50 AM   #4
jkrohn
Member
 
Registered: Jan 2003
Location: Urbana, IL
Distribution: Slackware, Mandrake
Posts: 62

Rep: Reputation: 15
I don't think that it will automaticly upgrade the kernel for you.

Try urpmq kernel. Select the highest that you want and urpmi kernel-2.4.21.0.25mdk (if you choose that one).

It should add another lilo entry (or grub).

Note that anything like the binary NVIDIA module will need to be recompiled.
 
Old 09-04-2003, 10:59 AM   #5
carrierel
LQ Newbie
 
Registered: Aug 2003
Location: Saint-Hubert, Québec
Distribution: Mandrake 9.0
Posts: 18

Original Poster
Rep: Reputation: 0
Thumbs down

Anyways, forget it guys, messing with the kernel updates & rpms just gave me an headache and my linux box did not want to boot the kernel after a reboot (init error). So I make a backup of my .conf and reinstalled on 9.1 wich did not worked (cant access either kde or gnome after the installation (seem to run something in a loop since after a 5hr sleep it was still looking as if it was loading gnome...). So this morning i've started a fresh install of 9.0 (last working mdk version I had). I hope everything goes well toninght when I come back from work.
 
Old 09-04-2003, 01:09 PM   #6
Zgwortz
LQ Newbie
 
Registered: Aug 2003
Posts: 8

Rep: Reputation: 0
Quote:
Originally posted by kundor
The Mandrake kernel is too heavily modified to make use of patches from kernel.org. And the system depends on those changes, so it isn't a good idea to install a whole kernel from kernel.org either.
I was considering doing just that, so I could apply the latest -ac patch (which will NOT work with the mandrake patched sources...). Do you have any idea what changes the Mandrake system depends on, and what would happen if I were to try a vanilla 2.4.22 kernel with the latest -ac patch?

I'm currently faced with the problem that I *need* the -ac patches to get my SATA working properly, but they can't be applied to the Mandrake sources, so I either have to do this or abandon Mandrake entirely, which I really don't want to have to do...

-->Steve Bennett
 
Old 09-04-2003, 11:38 PM   #7
carrierel
LQ Newbie
 
Registered: Aug 2003
Location: Saint-Hubert, Québec
Distribution: Mandrake 9.0
Posts: 18

Original Poster
Rep: Reputation: 0
Red face

Me, it was for Nessus... I needed a rpm that needed x number of dependencies and so on til I needed 2.4.22 but Mdk 9.0 is 2.4.19. Man.. I'm seem to be stock. I just finished rebuilding the server not since upgranding the kernels gave me a kernel init error so I reinstalled 1 time 9.1 over 9.0 (not working) the formated and 9.1 (not working) and this morning I started the install of 9.0 before going to work and I just finished pfffff I'm tired now but the gateway is working, firewall on, dns ok, dhcp fine, samba tomorow lol... Anyways I would like to know too what mandrake can modify so much on the kernel I search a bit their site but I did not found that info.
 
Old 09-05-2003, 04:56 PM   #8
kundor
Member
 
Registered: Aug 2003
Distribution: GoboLinux
Posts: 167

Rep: Reputation: 30
You can INSTALL a vanilla kernel, or an ac-patched kernel, and the system should boot and run, but there will probably be a lot of weirdness.
Mandrake has the supermount patch, the xfs patch, and who knows what else. You can try doing the patch set at http://members.optusnet.com.au/ckolivas/kernel/ in addition to AC, as it adds some of the stuff mandrake does.

Be aware that if you try to do more than one patch, there may be rejections, because of interference. In that case the differences are saved as .rej files, which you should examine manually and see if you can reconcile the changes. If you're not comfortable enough to do that, try booting a kernel with just ac and see whether it works alright.

Last edited by kundor; 09-05-2003 at 04:57 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Audit Support Unavaible error when booting after kernel upgrade abefroman Red Hat 2 03-21-2013 08:32 AM
Kernel Upgrade now Kernel Panic saltireboy Slackware 9 01-23-2006 11:44 PM
kernel panic after kernel upgrade flebber Debian 8 04-08-2005 07:26 AM
What first upgrade kernel or upgrade slack 10.0 to current Kelean Slackware 7 01-16-2005 06:54 PM
Kernel upgrade: Unable to handle kernel paging request deviantintegral Debian 4 07-14-2004 04:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 09:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration