Bug 105973 - /sbin/new-kernel-pkg segfaults while installing kernel
Summary: /sbin/new-kernel-pkg segfaults while installing kernel
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: mkinitrd
Version: rawhide
Hardware: i386
OS: Linux
high
high
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact: David Lawrence
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-09-30 03:00 UTC by louisgtwo
Modified: 2007-11-30 22:10 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2003-10-01 22:01:56 UTC


Attachments (Terms of Use)

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@redhat.com  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@bellsouth.net  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.


Note You need to log in before you can comment on or make changes to this bug.