Building the kernel and kernel objects

Tony Nelson tonynelson at georgeanelson.com
Wed Feb 10 20:03:29 UTC 2010


On 10-02-10 05:39:06, Dave Higton wrote:
> > -----Original Message-----
> > From: users-bounces at lists.fedoraproject.org 
> > [mailto:users-bounces at lists.fedoraproject.org] On Behalf Of 
> > Dave Higton
> > Sent: 2010 February 10 09:43
> > To: users at lists.fedoraproject.org
> > Subject: Building the kernel and kernel objects
> > 
> > I'm trying to build the kernel (although all I want at the moment 
> > is udf.ko) following the instructions at
> > http://fedoraproject.org/wiki/Docs/CustomKernel but udf.ko is 
> > coming out at over 20 times the size of the distribution version.  
> > I presume it's a debug version?
> > 
> > How do I build something that is identical (other than maybe 
> > the version string) to the distribution version I'm using?
> > 
> > Please be gentle with me; I'm a first time kernel builder (i.e. 
> > I've tried several times, but never yet succeeded).

I can see that you're also a first-time RPM (rpmbuild) user.

> Even more frustrating: while the kernel build was running, I
> searched for udf.ko and found one that was of identical size
> to the distribution version.  By the time I tried to run a
> binary comparison, the file had been deleted.
> 
> The penultimate line in the build window was:
> 
> + rm -rf
> /home/my-username/rpmbuild/BUILDROOT/
> kernel-2.6.27.41-170.2.117.abc42.fc
> 10.i386
> 
> so that's what did the damage.  Where and why does that line
> exist?
 ...

It means that the new RPMs are all built.  You just need to install 
them.  See the instructions you're following.  You might also look into 
building "out of tree" kernel modules, also in those instructions.

-- 
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson at georgeanelson.com>
      '                              <http://www.georgeanelson.com/>


More information about the users mailing list