<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="+1">john,<br>
<br>
when installing the src.rpm for the kernel it says bad key ID.<br>
<br>
jerry<br>
</font>
<pre>On Tue, 2005-06-14 at 10:32 -0500, Johnny Hughes wrote:
><i> On Tue, 2005-06-14 at 10:05 -0500, Jerry Geis wrote:
</i>><i> > I am attempting to recompile the kernel with the following steps.
</i>><i> > 
</i>><i> > Install kernel-sourcecode rpm
</i>><i> > 
</i>><i> > cd /usr/src/linux-2.6.9-11.EL
</i>><i> > cp /boot/config-2.6.9-11.EL .config
</i>><i> > make menuconfig
</i>><i> >        Device Drivers -> Character Devices -> Serial Drivers
</i>><i> >         change Max number of non legacy 8250_NR_UARTS to 36
</i>><i> > make bzImage
</i>><i> > make modules_install
</i>><i> > make install
</i>><i> > 
</i>><i> > Then after rebooting and selecting my -custom image from the above compile
</i>><i> > 
</i>><i> > "mount: error 19 mounting ext3"
</i>><i> > "mount: error 2 mounting none"
</i>><i> > 
</i>><i> > Then the machine stops of source.
</i>><i> > 
</i>><i> > What happended? How do I get my custom kernel to boot.
</i>><i> 
</i>><i> Jerry,
</i>><i> 
</i>><i> The kernel-sourcecode package (it is no-arch) doesn't always apply all
</i>><i> kernel patches for the arch in question.  I actually think it is kind of
</i>><i> worthless and we will probably stop including it.
</i>><i> 
</i>><i> Try this instead :)
</i>><i> 
</i>><i> Download the kernel-xxxxx.src.rpm
</i>><i> 
</i>><i> do:
</i>><i> 
</i>><i> rpm -Uvh kernel-xxxxx.src.rpm
</i>><i> 
</i>><i> go to the SPECS directory and do this:
</i>><i> 
</i>><i> rpmbuild -bp --target i686 kernel-xxx.spec
</i>><i> 
</i>><i> then go to the BUILD directory and go down to the kernel directory and
</i>><i> build there.
</i>><i> 
</i>><i> (substitute the versions for xxxxx ... also use the correct --target for
</i>><i> the kernel you are trying to compile)  This will get all the target
</i>><i> related patches applied.</i></pre>
<br>
</body>
</html>