Custom kernel rebuild fails for kernel-2.6.18-1.2798

Dave Jones davej at redhat.com
Tue Oct 31 00:29:57 UTC 2006


On Mon, Oct 30, 2006 at 06:25:23PM -0500, Kevin Flynn wrote:
 > 
 > After a clean install of FC6, I wanted to build a custom kernel.  Nothing 
 > exotic:  I just selected my specific CPU type (pentium 4) in generating the 
 > .config file.  Then I use rpmbuild to build it.

You do realise that the fc6 kernel is built with -march=generic, which
optimises for the CPUs of the day, and is likely pretty close to what -march=pentium4
is already doing?

I'll be very surprised if you find a noticable difference.

 > Sometime during the module building it exits with the following error:
 > ----------------------------------------------------------------------------------------------------
 > + for i in '`cat modnames`'
 > + sh ./scripts/modsign/modsign.sh 
 > /var/tmp/kernel-2.6.18-1.2798-root/lib/modules/2.6.18-1.2798PAE/kernel/drivers/media/dvb/frontends/dib3000mc.ko 
 > Red
 > ./scripts/modsign/modsign.sh: line 46: 21871 Segmentation fault      gpg 
 > --no-greeting $KEYFLAGS -b $module.out
 > error: Bad exit status from /var/tmp/rpm-tmp.98856 (%build)
 > 
 > RPM build errors:
 >     Bad exit status from /var/tmp/rpm-tmp.98856 (%build)

gpg crashed.  Find the core dump, run gdb on it, and file a bug
with the backtrace.

	Dave

-- 
http://www.codemonkey.org.uk




More information about the fedora-list mailing list