Red Hat Bugzilla – Bug 105973
/sbin/new-kernel-pkg segfaults while installing kernel
Last modified: 2007-11-30 17:10:31 EST
after rebuilding kernel srpm, installing segfaults /sbin/new-kernel-pkg
Does new-kernel-pkg itself segfault, or something that it calls?
Well, when I go rpm -i kernel-XXX it installed but there is a seqfault and the
modules.* files in /lib/modules/2.4.22* are not created.
If there are some debugging option I should use let me know.
(bugzilla db horkage, adding comments back by hand)
------- Additional Comments From firstname.lastname@example.org 2003-09-30 12:59 ------
Which kernel were you installing?
And you can do `sh -x /sbin/new-kernel-pkg --mkinitrd --depmod
--installkernelversion` to see exactly what's segfaulting.
------- Additional Comments From email@example.com 2003-10-01 02:51-----
I'm trying to install the recent rawhide kernel. Recompiled with a few options I
like. I just replaced the kernel-2.4.22-i686.config file with a version made
with menuconfig and did a rpmbuild -ba --target i686 kernel-2.4.spec. I compile
what I need into the kernel so no need for a initrd image.
What version of elfutils did you have installed when you built the kernel?
There was a version (0.86) that created horked modules that then would cause a
depmod segfault like this. 0.89 should have it fixed
[louisg00@tiger louisg00]$ rpm -q elfutils
If there is a newer one in rawhide I will update and rebuild kernel. Any other
packages go with this?
Newer's in rawhide and will definitely fix this. Only other things that go
along are the elfutils-libelf and elfutils-devel if you have them installed.