LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   Kernel-debuginfo rpm (https://www.linuxquestions.org/questions/linux-kernel-70/kernel-debuginfo-rpm-478382/)

linux_guy 08-29-2006 06:05 AM

Kernel-debuginfo rpm
 
I need the following RPMs for my kernel. I searched the internet but
could not find them.

1. kernel-devel
2. Kernel-debuginfo

My kernel version is 2.6.11.1-1369_FC4

thanks in advance

Lenard 08-30-2006 03:46 PM

First you will not find a kernel-debuginfo file, second did you ever have a look at the media or the Fedora Core Download site??? An example;

http://download.fedora.redhat.com/pu...9_FC4.i686.rpm

Second this kernel (2.6.11.1-1369_FC4) is horribly out of date, in fact FC4 has been moved to legacy mode. It would be a VERY GOOD idea you update your system now.

http://www.fedoralegacy.org/

FYI: the latest kernel for FC4 is;

kernel-2.6.17-1.2142_FC4.src.rpm 14-Jul-2006 20:12 40M

linux_guy 08-31-2006 02:32 AM

Kernel-debuginfo
 
thanks for the reply......

I tried updating my kernel 2.6.17.1-2143 version but this
kernel did not have DRM module to support Xorg.

Secondly, I must have kernel-debuginfo. I want to experiment
with system tap for which this kernel-debuginfo is a must.

Could you suggest a kernel with DRM module and which
also has kernel-debuginfo module supporting it ?

COuld you also suggest me the procedure of upgrading the
kernel.

Lenard 08-31-2006 05:11 AM

No, sorry I cannot as I do not use FC$ or use Red Hat supplied kernels. The idea of the kernel-debuginfo is something new to me, I have built my own kernels for a few years now and I never seen a kernel-debuginfo file bult. This includes building from the Red Hat source as well as the kernel.org source.

Nothing is stopping you from keeping the old kernel and installing the new, many keep at least one older kernel available when installing the new kernel;

Download the new kernel and do; rpm -ivh kernel-<version>.rpm or build your own.

FYI: Just because Red Hat /Fedora choose to require the kernel-drm for the xorg files and now no longer has this in the kernels they supply is not a shoe stopper. Download the xorg-x11 source rpm and modify the spec file to remove this requirement;

# kernel-drm requirement is so DRI works properly. The kernel RPM package
# should have a "Provides: kernel-drm = 4.2.0". Future kernels that provide
# new kernel-drm, should list all supported DRM interfaces with multiple
# Provides: lines. The 4.2.0 DRM is backward compatible with XFree86 4.1.0
# also. <mharris@redhat.com>
%if %{with_DRI}
Requires: kernel-drm = 4.3.0
%endif

Then rebuild the binary files. Or add the Provides line(s) to a new kernel spec file.

Quote:

Secondly, I must have kernel-debuginfo. I want to experiment
with system tap for which this kernel-debuginfo is a must.
Then you need the kernel-<version>.src.rpm and build your own. Please read;

http://www.digitalhermit.com/linux/K...ild-HOWTO.html
http://fedora.redhat.com/docs/releas...ata/#sn-kernel

Building a kernel for the Red Hat family is a bit different then shown in the kernel-rebuild guide, the steps in order are;

make mrproper
make menuconfig (or the others as shown by the rebuild guide)
make
make modules_install
make install

If you rebuild a kernel from the src.rpm as supplied by Red Hat / Fedora then commands from the FC4 Installation are required before attempting to build the kernel;

cd /usr/src/redhat/SPECS
rpmbuild -bp --target $(arch) kernel-2.6.spec


All times are GMT -5. The time now is 01:49 AM.