Recompile kernel without SMP

Paul Grinberg pgrinberg at nyc.saic.com
Sun Aug 16 15:39:04 UTC 2009


Roberto,

I did it per instructions on the website.

history | grep rpmbuild
  813  rpmbuild -bb --with firmware --target=i686 kernel.spec

http://www.isrcomputing.com/rpmtree.txt


Best,
Paul


-----Original Message-----
From: fedora-list-bounces at redhat.com
[mailto:fedora-list-bounces at redhat.com] On Behalf Of Roberto Ragusa
Sent: Sunday, August 16, 2009 11:16 AM
To: Community assistance, encouragement, and advice for using Fedora.
Subject: Re: Recompile kernel without SMP

Paul Grinberg wrote:
> Roberto,
> 
> Actually it does have all my changes:
> 
> [josh at panther linux-2.6.29.i686]$ pwd
> /home/josh/rpmbuild/BUILD/kernel-2.6.29/linux-2.6.29.i686
> [josh at panther linux-2.6.29.i686]$ cat config-i686-PAE | grep SMP
> CONFIG_BROKEN_ON_SMP=y
> # CONFIG_SMP is not set
> CONFIG_X86_FIND_SMP_CONFIG=y
> # CONFIG_X86_VSMP is not set
> CONFIG_SCSI_SAS_HOST_SMP=y
> CONFIG_VIDEO_VP27SMPX=m
> [josh at panther linux-2.6.29.i686]$

There is still something weird with what you are doing.

The description of your steps is not realistic. You edit
the .config inside BUILD but you have still not run anything
which creates the files inside BUILD (you have no rpmbuild -bp
and the src.rpm installation is missing too).
The rpmbuild -bb will create the BUILD stuff, but this
is after your modifications, so they can't survive.

I think you are actually modifying something and building
something else.

If you are interested in understanding, start again from
zero (rm -rf rpmbuild), do every step and paste here the entire
shell session.

Be investigative on the effect of every step: what has been
created? did the resulting rpm have a different size from the normal
SMP one?

Best regards.
-- 
   Roberto Ragusa    mail at robertoragusa.it

-- 
fedora-list mailing list
fedora-list at redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines:
http://fedoraproject.org/wiki/Communicate/MailingListGuidelines




More information about the fedora-list mailing list