[TriLUG] Kernel Question
crimsun at fungus.sh.nu
crimsun at fungus.sh.nu
Sat Jan 31 17:44:22 EST 2004
On Sat, Jan 31, 2004 at 02:23:53PM -0500, Mark Fowle wrote:
> I am trying to build a new kernel (RHLE 3) - This was a fresh install,
> so I run make oldconfig, made a change to the .config file to include
> TUN -- did make dep, clean, bzImage and then make modules. It failed.
> I cleared it all (make clean, the make mrproper), make oldconfig and
> tried to build the existing kernel without any modifications and it too
> fails in the make modules stage. Am I missing something?
I'm not entirely familiar with RH's placement of kernel configs in 2.4,
but if there is a copy in /boot/config-`uname -r` or /proc/config.gz,
I would copy that over to your kernel-source directory before you
begin. Something along the lines of:
$ cd /lib/modules/`uname -r`/build
# make mrproper
# cp /boot/config-`uname -r` .config
# make oldconfig
# make menuconfig -> then modify the option for TUN, save, and exit
# make bzImage && make modules && make modules_install -> then move
the new vmlinuz into place per usual and update your bootloader
as necessary
I believe the problem is that by only modifying .config, you're not
also modifying the rules structure. 2.4's kbuild system is bass
ackwards; 2.6's is much more sane.
--
Daniel T. Chen crimsun at fungus.sh.nu
GPG key: www.sh.nu/~crimsun/pubkey.gpg.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://www.trilug.org/pipermail/trilug/attachments/20040131/7b49bf3c/attachment.pgp>
More information about the TriLUG
mailing list