Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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...
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.
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
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...
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.
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
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.
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...
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.
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...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.