LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 05-18-2003, 12:04 PM   #1
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 58
downgrade kernel


ok i am running MDK 9.1 which uses kernel 2.4.21-0.13mdk as most of you know...now my question is...how would i go about downgrading to kernel 2.4.18...
i have the following files....
kernel-2.4.18.8.1mdk-1-3mdk.i586.rpm: md5 OK
kernel-enterprise-2.4.18.8.1mdk-1-3mdk.i586.rpm: md5 OK
kernel-headers-2.4.18-26.1mdk.i586.rpm: md5 OK
kernel-secure-2.4.18.8.1mdk-1-3mdk.i586.rpm: md5 OK
kernel-smp-2.4.18.8.1mdk-1-3mdk.i586.rpm: md5 OK
kernel-source-2.4.18-8.1mdk.i586.rpm: md5 OK

so i would like to have someone tell me if out of them files i have above, do i have all necessary files, and if not which other ones should i get....and of course how do i go about getting this done...
 
Old 05-18-2003, 12:34 PM   #2
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
Erm, have you compiled any apps for your install yet? I think some pre-compiled rpm files might be dependant on your kernel version-best to pick the kernel at install and not change/downgrade it.
 
Old 05-18-2003, 01:28 PM   #3
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Original Poster
Rep: Reputation: 58
well this is the thing...i haven't really done anything since putting mdk9.1 on my box...i am trying to get the nvidia drivers to work for my geforce2mx400 card, and i know of people getting them to work when they downgrade to a stable kernel....because the kernel is unstable that comes with mdk9.1....all i know when i try to do a simple rpm -ivh with the kernel header files it just says in conflicts with all kinds of files in the /usr/include folder and it aborts the install....
and just to fill you in, why i am going threw this, is because when i install the nvidia drivers as is, when i type in startx it just hangs at a black screen and you have to reboot with the restart button

Last edited by DrOzz; 05-18-2003 at 01:29 PM.
 
Old 05-18-2003, 01:36 PM   #4
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Did you edit your XF86Config-4 file according to the README doc? If not, that could be your problem...

Also, instead of using the RPM file (assuming you are using that) use the .run file.

Cool
 
Old 05-18-2003, 01:40 PM   #5
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Original Poster
Rep: Reputation: 58
ok first off, i have no problems with the install of the nvidia drivers...and yes i did edit the XF86Config-4 file...i have added many more options like the nvagp but this is not the problem...the installer runs fine, and i have used the shell script install, and also did try the rpms, but that is not when i am presently working with...i have tried everything, there is even known fixes by setting some things in the bios and whatnot, but again i still have had no luck along with many others.. this is why i am resorting to the downgrading of the kernel because a couple of people have tried downgrading to a stable kernel such as 2.4.18 and have had success...so i have nothing to lose and that is what i wish to try...and that is why i am here trying to find out how i go about this...
 
Old 05-18-2003, 01:54 PM   #6
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64

Just trying to help you so you don't have to downgrade. That should be the last ditch effort, and I was just making sure it actually was

So...
kernel-source-2.4.18-8.1mdk.i586.rpm
kernel-headers-2.4.18-26.1mdk.i586.rpm
kernel-2.4.18.8.1mdk-1-3mdk.i586.rpm

Should be the only ones you need to do the downgrade. What I suggest is to instead use urpmi to do it:
urpmi kernel-2.4.18
And see if it works. If not, then resort to the standard RPM's.

Cool
 
Old 05-18-2003, 02:01 PM   #7
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Original Poster
Rep: Reputation: 58
well thx for keeping with me here and trying to help me through this, and i did try the command you said and it worked for both the:
kernel-2.4.18.8.1mdk-1-3mdk.i586.rpm
kernel-source-2.4.18-8.1mdk.i586.rpm

but again when i tried it on the following...
kernel-headers-2.4.18-26.1mdk.i586.rpm

its says it conflicts with files in that same directory....
anymore ideas ?

and btw, whats the difference between the way you told me to do it (urpmi) and the way i did it (rpm -ivh) although it didn't help really, i am just curious...

oh and btw i just copied a little section of the conflicting errors...just to show you what it is saying...but again there is alot more than what i am showing i just took a tidbit to give you the idea..

Quote:
file /usr/include/linux/wanrouter.h from install of kernel-headers-2.4.18-26.1mdk conflicts with file from package glibc-devel-2.3.1-10mdk file /usr/include/linux/watchdog.h from install of kernel-headers-2.4.18-26.1mdk conflicts with file from package glibc-devel-2.3.1-10mdk file /usr/include/linux/wireless.h from install of kernel-headers-2.4.18-26.1mdk conflicts with file from package glibc-devel-2.3.1-10mdk file /usr/include/linux/xattr.h from install of kernel-headers-2.4.18-26.1mdk conflicts with file from package glibc-devel-2.3.1-10mdk file /usr/include/linux/zorro.h from install of kernel-headers-2.4.18-26.1mdk conflicts with file from package glibc-devel-2.3.1-10mdk
 
Old 05-18-2003, 02:10 PM   #8
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
I'm just guessing but I think those errors are because that kernel (2.4.18) was compiled with a different gcc version, an older one, using an older glibc; which (taken for what it's worth) means that it won't work (very well if at all) on a system compiled with new glibc/gcc such as the case with newer mandrake releases.

In a nutshell:
You might have to compile a 2.4.18 kernel yourself. Not a big deal, just not a good thing for a n00b to have to do. I don't know your level of experience so it might not be a big deal for ya.

The difference in:
urpmi linux-2.4.18
And
rpm -ivh filename.rpm
Is that urpmi will take care of figuring out which other files you need Also, it will get the latest files for you (if you setup a mirror in your Mandrake Control Center) for updates.

Cool
 
Old 05-18-2003, 02:19 PM   #9
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Original Poster
Rep: Reputation: 58
well my level of experience isn't all that detailed when it comes to linux, but i would love to know a stepping stone to get me started on how i would go about compiling the kernel myself....i may not have done it before but i would want to know, just to learn and also to try and resolve my problem....and info would be appreciated...
 
Old 05-18-2003, 02:41 PM   #10
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
http://www.linuxquestions.org/questi...threadid=49035
There is actually a thread dedicated to this. It's not really slackware specific, but it's posted in the slackware section.

Cool
 
Old 05-18-2003, 02:42 PM   #11
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Original Poster
Rep: Reputation: 58
thx d00d i'll look at it and see if i can grasp it
 
Old 05-18-2003, 02:51 PM   #12
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Original Poster
Rep: Reputation: 58
actually d00d i have one question..i was just looking at my lilo.conf file and at the end it has the entry:

image=/boot/vmlinuz-2.4.18-8.1mdk
label=2418-1
root=/dev/hda1
read-only
optional
vga=788
append=" devfs=mount hdd=ide-scsi acpi=off quiet"
initrd=/boot/initrd-2.4.18-8.1mdk.img

does this mean when i installed them other two rpms, that the kernel did install?
 
Old 05-18-2003, 03:08 PM   #13
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
It at least means that it properly edited your lilo.conf file. You could test it out, it's possible that NVidia's installer doesn't need the headers file.

Cool
 
Old 05-18-2003, 03:10 PM   #14
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Original Poster
Rep: Reputation: 58
well right now i am following the steps in that post, so i will just finish doing that cause i am almost completly done..just have to wait for the make install to finish, then i have to do the make modules...
 
Old 05-18-2003, 03:15 PM   #15
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
make install? I thought that was slack specific. If not, make sure you've backed up your lilo.conf...



Cool
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Downgrade dlc2000 Linux - General 2 10-24-2005 10:42 AM
Downgrade Kernel? apachedude Suse/Novell 1 10-22-2005 05:25 AM
downgrade kernel zoings Linux - Software 2 11-07-2004 05:46 PM
should i downgrade my kernel? help please sweet*amber Linux - Newbie 3 04-30-2004 09:07 PM
kernel downgrade Pleun Linux - Newbie 3 12-16-2003 06:09 AM


All times are GMT -5. The time now is 08:22 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration