On Wednesday 30 January 2002 07:54 pm, Eric McClure wrote: > Well my kernel is name 2.4.17-10 using 'uname -r' to check. > But when I used 'rpm -ivh kernel*' it updated the kernel no problem. > I tried to update the source, headers, docs but gave me an error on > the headers. > > so with uname -r it shows the new kernel but with the command 'rpm > -qa kernel*' it shows the old kernel headers, docs, source.
kernel-headers are no longer matched to the kernel, but to glibc. I believe this began about 2.4.16-11. for example ~ $ rpm -qa |grep header kernel-headers-2.4.17-22mdk ~ $ rpm -qa |grep glibc glibc-2.2.4-22mdk glibc-devel-2.2.4-22mdk Note that the headers and glibc version (-22mdk) match. All you need to install is the kernel (2.4.17-10) rpm. If you also want to recompile it, or other software against it, then download the matching kernel-source rpm. for example ~ $ rpm -qa |grep 2.4.17.6 kernel-2.4.17.6mdk-1-1mdk kernel-source-2.4.17.6mdk-1-1mdk I'm usin 2.4.17-6, but recompiled to trim out stuff I don't need ~ $ uname -r 2.4.17-6athlon I used Mandrake's default .config, but then reconfigured, EG cd /usr/src/linux (edit Makefile, EXTRAVERSION = -6<anythingyou want> and uncomment this line, export INSTALL_PATH=/boot ) make mrproper cp /boot/config-2.4.17-6mdk .config make xconfig make dep && make clean && make bzImage && make modules make modules_install && make install See http://www.mandrakeuser.org/docs/install/index.html#ku all four pages for more complete information. If you install and use the latest kernels you should also check the cooker archives, http://marc.theaimsgroup.com/?l=mandrake-cooker to see if there are any issues with the latest. IIRC, 2.4.17-10 does have a few that appear to be fixed in 2.4.17-12 Usually the issues revolve around specific hardware or configurations, and may not (probly don't) affect you. The same applies to vanilla kernel source from kernel.org, ie, you should check the linux-kernel archives. I recommend sticking with Mandrake kernels tho. They include proper Mandrake patches, and often have already fixed issues with vanilla source kernels. -- Tom Brinkman Corpus Christi, Texas, USA
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
