Compiling a new RHEL-4 kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

Ok, I need to recompile my kernel to add in the 'scan all LUNS for each SCSI device' option - by default this is off, but the tape changer I've just been landed with appears to need it (at the moment I can tar to /dev/st0 but can't load/unload using /dev/sg5 :-(

So, I just wanted to ask a few questions...

- Is there a resource where 'how to compile a kernel' is well- documented? I've spent some time looking around the RH site, but couldn't find anything useful

- I've downloaded the 'kernel-2.6.9-22.0.1.EL.src.rpm' from RHN, and done a 'rpm -Uvh' on it. That's created lots (and I mean *lots*) of patch files as well as a linux-2.6.9.tar.bz2 file in /usr/src/ redhat/SOURCES. Is the linux-2.6.9.tar.bz2 pre-patched ? Or do I have to apply the patches once I've untarred the file ?

- It's been a while since I made a kernel, and it all looks different. Is it just:

	make menuconfig			(the machine is 5000 miles away, no X...)
	make
	make install

... or do I need to fiddle with initrd and alter /boot/grub.conf ? What happened to mrproper ? :-)

- Anything else I ought to know ? I'd really rather not bring down the server, since it's so far away...

Cheers,
	Simon

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux