[TriLUG] Kernel Question

Kevin Sonney alchemist at darkcanvas.com
Sun Feb 1 10:11:10 EST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark Fowle <mark at thefowles.com> writes:
> 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?

If you're looking for the tun tunneling module, it's in the
kenrle-unsupported package, which is not installed by default. Kernel
unsupporte dis the palce where we (red Hat) put kernel modules that are
currently unmaintained upsytream or not stable enough to be supported by the
Gobal Support Services staff. 

That being said, the process for rebuilding any Red Hat (RHL, RHEL,
Fedora) kernel is pretty much the same. These steps assume you're
running the same version you wish to compile :

1) install the kernel-source rpm
2) cd /usr/src/linux-2.4
3) make mrproper
4) cp configs/config-2.4.x-arch.config ./.config (where x and arch are the
   kenrel version and your arch, respectively)
5) make oldconfig dep bzImage modules
6) make modules_install
7) cp arch/i386/boot?bzImage /boot/vmlinuz-$(uname -r)custom
8) mkinitrd /boot/initrd-$(uname -r)CUSTOM.img $(uname -r)custom
9) modify grub.conf to include the new kernel and initrd
10) double check everything!!
11) Reboot into the new kenrel

Full disclosure - I work for Red Hat. If you run your own compiled RHEL
kernel, Red Hat sill not support you while running that kernel. Any
issues would ahve to be duplicated using the kernel Red Hat provides and
has tested.  This email message does not mean our suppoort services will
help you if this breaks. Etc, Etc.

- -- 
- ----------------------------------
- --         Kevin Sonney         --
- ----------------------------------
1024D/320C 0336 3BC4 13EC 4AEC  6AF2 525F CED7 7BB6 12C9
 I Had a Coupon! -- Gir
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQFAHRcNUl/O13u2EskRAkyFAJ9jHB/3TnPStZxFdAZCF0dwMDdfSQCaAkAQ
T0RKmMdc9rg5lW4ZScOtZJ4=
=HI57
-----END PGP SIGNATURE-----



More information about the TriLUG mailing list