Bug 105973

Summary: /sbin/new-kernel-pkg segfaults while installing kernel
Product: [Fedora] Fedora Reporter: louisgtwo
Component: mkinitrdAssignee: Jeremy Katz <katzj>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: high Docs Contact:
Priority: high    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-10-01 22:01:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description louisgtwo 2003-09-30 03:00:50 UTC
after rebuilding kernel srpm, installing segfaults /sbin/new-kernel-pkg

Comment 1 Bill Nottingham 2003-09-30 03:17:01 UTC
Does new-kernel-pkg itself segfault, or something that it calls?

Comment 2 louisgtwo 2003-09-30 05:49:30 UTC
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.

Comment 3 Jeremy Katz 2003-10-01 20:28:58 UTC
(bugzilla db horkage, adding comments back by hand)

------- Additional Comments From katzj  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 louisg00  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.

Comment 4 Jeremy Katz 2003-10-01 20:30:54 UTC
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

Comment 5 louisgtwo 2003-10-01 21:46:57 UTC
[louisg00@tiger louisg00]$ rpm -q elfutils
elfutils-0.86-3

If there is a newer one in rawhide I will update and rebuild kernel. Any other
packages go with this?


Comment 6 Jeremy Katz 2003-10-01 22:01:56 UTC
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.