Jump to content

OK, so now I have the 2.4.19-24 kernel, now what?


Guest 1on1
 Share

Recommended Posts

Docs are not usually distributed for this type of upgrade although it would be nice to get a changelog. New users are indeed at sea when the differences in kernal upgrades are compared with normal upgrades and you did the right thing asking before doing. Otherwise you would have hosed your system.

 

Counterspy

Link to comment
Share on other sites

If it's installed;

[root@localhost bvc]# rpm -qa | grep kernel

NVIDIA_kernel-1.0-4191

kernel-source-2.4.19-16mdk

kernel-2.4.19.16mdk-1-1mdk

kernel-headers-2.4.18-41mdk

[root@localhost bvc]# rpm -ql kernel-2.4.19.16mdk-1-1mdk

will list all the files in the rpm. The last line in my output is

/usr/share/doc/kernel-2.4.19.16mdk-1
I don't know if the updates have this or not.
Link to comment
Share on other sites

Docs are not usually distributed for this type of upgrade although it would be nice to get a changelog.  New users are indeed at sea when the differences in kernal upgrades are compared with normal upgrades and you did the right thing asking before doing. Otherwise you would have hosed your system.

 

Counterspy

 

No...I know for a fact there were docs installed...I remember checking the box. I just checked "Remove Software" and they are there...but where I don't know.

 

(No, I didn't remove them. :) )

Link to comment
Share on other sites

do

If it's installed;

[root@localhost bvc]# rpm -qa | grep kernel<!--QuoteEBegin--><!--QuoteEBegin-->NVIDIA_kernel-1.0-4191<!--QuoteEBegin--><!--QuoteEBegin-->kernel-source-2.4.19-16mdk<!--QuoteEBegin--><!--QuoteEBegin-->kernel-2.4.19.16mdk-1-1mdk<!--QuoteEBegin--><!--QuoteEBegin-->kernel-headers-2.4.18-41mdk<!--QuoteEBegin--><!--QuoteEBegin-->[root@localhost bvc]# rpm -ql kernel-2.4.19.16mdk-1-1mdk

will list all the files in the rpm. The last line in my output is

/usr/share/doc/kernel-2.4.19.16mdk-1
I don't know if the updates have this or not.

 

It wasn't an RPM...it was "Mandrake Update".

 

I do have 2.4.19-24 in the src, but I don't see any docs or anything.

 

...they just threw things in my computer and didn't bother telling me anything about them.

 

Here's what grep says...

 

[root@MyComputer src]# rpm -qa | grep kernel

kernel-headers-2.4.18-41mdk

kernel-source-2.4.19-24mdk

kernel-2.4.19.16mdk-1-1mdk

kernel-doc-2.4.19-24mdk

[root@MyComputer src]#

 

So...how do I find the doc?

Link to comment
Share on other sites

from rpm -qa | grep, the

kernel-2.4.19.16mdk-1-1mdk
is your kernel, and the
kernel-source-2.4.19-24mdk
is the source which you downloaded. This is used when rebuild rpms or compiling a tarball, and to compile the linux kernel. If you just wanted the update, you need the kernel-2.4.19-24mdk. You need to keep the versions the same when rebuilding/ compiling apps, so it's not a waste that you have the new kernel-source...unless you never plan to rebuild an rpm or compile a tar.gz, in which case you can uninstall the kernel-source. If you are going to use the source, then you'll also want the new kernel-headrs as well, though they don't have to match and I honestly don't know if it's reqired...I've just always done all three and kept the versions as close as possible.

 

 

Look at my last rpm command above;

[root@localhost bvc]# rpm -ql kernel-2.4.19.16mdk-1-1mdk
do that, and you should find the docs that come with the kernel in
/usr/share/doc/kernel-2.4.19.16mdk-1

[EDIT]mine is empty. But I'll bet this is where your kernel-doc rpm is installed to.

[root@localhost bvc]# ls -a /usr/share/doc/kernel-2.4.19.16mdk-1  

./  ../

[root@localhost bvc]# ls /usr/share/doc/kernel-2.4.19.16mdk-1  

[root@localhost bvc]# cd /usr/share/doc/kernel-2.4.19.16mdk-1  

[root@localhost kernel-2.4.19.16mdk-1]# ls

[root@localhost kernel-2.4.19.16mdk-1]# ls -a

./  ../

[root@localhost kernel-2.4.19.16mdk-1]#

 

 

 

BUT, you have, and are looking for

kernel-doc-2.4.19-24mdk
So do

rpm -ql kernel-doc-2.4.19-24mdk

or

rpm -ql kernel-doc

 

to find the docs (full version)

Link to comment
Share on other sites

BUT, you have, and are looking for
kernel-doc-2.4.19-24mdk
So do

rpm -ql kernel-doc-2.4.19-24mdk

or

rpm -ql kernel-doc

 

to find the docs (full version)

 

Thank you...yes, apparently it just replaced the earlier docs.

Unfortunately they also replaced the earlier sources also...instaed of just having them both there. In the process they overwrote any previous .config file I had.

 

Now I am not sure how to configure the new kernel.

 

They didn't even warn me that they were going to do this. Now I guess it's trial & error.

Link to comment
Share on other sites

For instructions on kernel upgrade see http://www.mandrakeusers.org/docs/install/.../kupgrade2.html .

 

Sorry but that is incomplete...I have had to hunt around for the right directions. Let me show you just one minor detail thay left out...

 

Due to the way that Mandrake generates multiple versions of the kernel

(uniprocessor, smp, enterprise, boot, secure), recompiling the kernel

from the kernel source installed in /usr/src/linux *MUST* be preceded

by one step:

 

   make mrproper

 

This is roughly equivalent to "make distclean", but not quite.  The

best explanation of why this scenario exists appeared in the Cooker

Mailing List by Andrej Borsenkow:

 

   PLEASE do not forget - you must not need to configure your kernel

   before you compile EXTERNAL module (as example, nVidia). PLEASE

   remember that Mandrake has 5 (five!) kernel flavours and you can

   compile external modules for any of them WITHOUT RECONFIGURATION

   IN BETWEEN. PLEASE look into this "regenrated files" in clean

   kernel-source and after you have reconfigured your kernel.

 

To summarize, the kernel source tree is left in a state such that you

compile custom kernel modules for any of the five versions of the

kernel without having to do anything special.  One of the side effects

of this is that if you want to start a compile from scratch, you must

remove various configuration files (as well as object files and

binaries).  To do this, you *MUST* do the "make mrproper" first.

 

Regards, the MandrakeSoft Team

 

And, there's a few other things they left out... :evil:

Link to comment
Share on other sites

It looks like if you downloaded the kernel source.  I think you'll have to compile it yourself.  Here is a tutorial on how to do that if you are interested.

 

http://icculus.org/~dolson/mdkxp/?c=ttrls/mdkkernel

 

MOttS

 

Also outdated & incomplete...even if it's close.

 

I had to go to the RPM for 2.4.20 to find the right directions.

 

I don't know if they are in another one or not, but they sure aren't anywhere to be found if you do the (expected to be the safest way) Mandrake Update.

Link to comment
Share on other sites

Kernel is not supposed to be installed via Mandrake Update. Mandrakesoft made a mistake a few version back (either 8.0 or 8.1, forgot which one exactly) and the result is that all people who use MandrakeUpdate to upgrade their kernel find themselves unable to boot up their computer. That "to upgrade your software you can use mandrakeupdate, blah blah blah" statement in the security warning is basically a canned statement, kinda like an automatic signature. You can update the kernel-sources via mandrakeupdate however.

 

Here is the way to upgrade your kernel.

Download the kernel manually. Usually, you need to download three things, kernel-2.4.19-blah.mdk.rpm kernel-source-2.4.19-blah.mdk.rpm

and kernel-doc-2.4.19-blah.mdk.rpm. Yet if you have a multiprocessor computer or something with a huge amount of memory (1 gig plus) you need to download something else such as kernel-smp-blah.mdk.rpm (for multiprocessor) or kernel-enterprise-blah.mdk.rpm (for enterprise kernel).

 

Here is an example for the link

 

http://mandrake.redbox.cz/Mandrake/updates...1-1mdk.i586.rpm

 

Now su to root, then type this in console

rpm -ivh kernel-2.4.19.24-1-1.mdk.i586.rpm

 

(it's -i not -U)

Then edit your /etc/lilo.conf to make sure everything is right. Then just to make sure, run lilo again by typing /sbin/lilo -v

 

(I am not sure how to do this if you are using grub instead of lilo as bootloader, someone?)

 

Then to upgrade your kernel-sources and kernel-doc, type

rpm -Uvh kernel-sources-blah.rpm

rpm -Uvh kernel-doc.blah.rpm

 

Make sure you rebuild/recompile any kernel-dependant driver you have, such as nvidia, aureal, winmodem, and so on.

 

Then restart.

 

Hope it works.

Link to comment
Share on other sites

Kernel is not supposed to be installed via Mandrake Update. Mandrakesoft made a mistake a few version back (either 8.0 or 8.1, forgot which one exactly) and the result is that all people who use MandrakeUpdate to upgrade their kernel find themselves unable to boot up their computer. That "to upgrade your software you can use mandrakeupdate, blah blah blah" statement in the security warning is basically a canned statement, kinda like an automatic signature. You can update the kernel-sources via mandrakeupdate however.

 

<clip>

 

Hope it works.

 

Thanks for the info. It would have been nice to know when I cranked up Mandrake Update and found the 2.4.19-24 there to be upgraded.

 

They could at least have placed a README in the file explaining this.

Link to comment
Share on other sites

I saw you say you were going to do that, but I did not know whether the problems with Mupdate and the kernel had been solved. Apparently not, so there should be a warning on the errata page (always read that before updating) which in their lazy-ass fashion is not there. Hopefully yhey get their act together in the allotted six months or thier history.

 

Counterspy

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...