Recompile kernel without SMP

Roberto Ragusa mail at robertoragusa.it
Sun Aug 16 15:15:32 UTC 2009


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




More information about the fedora-list mailing list