Carried over from the libata.force thread: libata force parameter
Now…I’m looking to extract a config from a working kernel…that much was pretty easy…all ya gotta do is “cp /proc/config.gz .” which will put it in whatever directory you’re currently in and then do a “gzip -d config.gz” to get the config file.
Now…after that it gets a bit tricky…Linus says you should never compile a kernel in /usr/src/ because those header files in …/include should never change. He says you should extract a new kernel gz in your home directory and compile it there. I tend to agree (who am I to argue?). Anyway…whereever your sources are this is where you need to copy the config file…
Like this…my home dir is “/home/dart”. So I would put the kernel sources there under “/home/dart/linux”. I would cd to /home/dart/linux and do “cp /proc/config.gz .” then “gzip -d config.gz” which should leave you with a file called “config”, then “mv config .config”
Now here’s where I run into a problem…when I do “make xconfig” I get this…
Windeath:/usr/src/linux # make xconfig
CHECK qt
*
- Unable to find the QT3 installation. Please make sure that
- the QT3 development package is correctly installed and
- either install pkg-config or set the QTDIR environment
- variable to the correct location.
make[1]: *** No rule to make target scripts/kconfig/.tmp_qtcheck', needed by
scripts/kconfig/qconf.o’. Stop.
make: *** [xconfig] Error 2
Tried to install the qt3-devel packages from CD but guess what? I ran into cdrom errors which is what I was trying to fix in the first **** place…catch 22 eh?
Refer to this thread…libata force parameter