On Sun, Dec 23, 2007 at 05:13:37PM +0000, Deadly Earnest wrote:
> 
> I then got to thinking. I installed LFS from the LFS live CD which
> did not have a problem with either powerdown or the Wifi card so I
> decided why not use the ".config" file from the Live CD. When I copied
> the .config file from /usr/src/linux into my system I ran make
> menuconfig and got an entirely new set of options in the configuration
> which I don't understand, but no matter.
> 
 Whenever you update a kernel .config by hand or by copying one from
elsewhere, you should use 'make oldconfig' to ensure it matches any
newer options.  In theory, if you copy for the *exact* same version it
_should_ work without doing this, but I've seen examples (on test
kernels, maybe happen on releases) where questions were being asked -
the kernel config language can be somewhat arcane, and developers
often make sub-optimal choices when they add new features.

 If you are getting new sets of options, that probably means some of
the 'Code maturity level options' are set differently (the second
part of the .config).

 Mounting the root filesystem not only needs the correct filesystem
type, it needs the correct drivers.  It sounds to me as if you have
picked up the default .config - that contains the settings that suit
the architecture maintainer.

 Try copying the config from the cd again - you might as well
freshly untar the kernel sources (maybe into a different directory
so you can go back later and compare the differences : do that by
renaming the existing directory first), then look at the start of
.config, copy the config from the Live CD, and make sure it is
different, run 'make oldconfig', answer any questions, then look at
the config again both to see that it has been regenerated and to
make sure it has any settings you know you want.  If necessary, use
menuconfig to change it.

 As always, updating LOCALVERSION is a good idea, to stop it storing
its own modules with those you have already created in a different
build.

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to