Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a couple of questions about the RedHat default Kernel.
#1 - Does it have IRDA support built in? I am trying to hook a Palm M505 to my Thinkpad 600X via infrared and I am having trouble.
#2 - If I want to recompile the kernel and have the ability to boot both kernels via the installed GRUB boot loader, what are the steps to do so?
#3 - What is the default kernel config? Where do I look? I would like to see the kernel config for the kernel I am using now, so that I can compare to any one that I may change in the future. Where would I find the file for the default kernel config?
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771
Rep:
1. Yes, RedHat compiles most hardware options as modules.. The modules are stored under /lib/modules/<kernel-version>/drivers/net/irda/ . You may have to modprobe the right module for your hardware.
2. Download the plain vanilla kernel source ( latest version is 2.4.20 ) from ftp://ftp.kernel.org/pub/linux/kernel/v2.4/ . Check kernel howto at tldp.org . RH usually configures your bootloader by adding the new kernel. You may want to look at grub howto to make sure that everything is the way it should be.
3. If you installed the kernel sources(/usr/src/linux-<version>, you will find the RH kernel config files under configs. Copy the one that suits you the best into the parent directory as .config before you make xconfig/menuconfig ( if you dont know what that means, you will find out from the kernel howto )
ls -al /boot/config*
the one that boot links to is the one your system is using.
copy it over to /usr/src/linux/.configure (the period is important)
or select load custom config in the menuconfig/xconfig.
I definitly suggest www.tldp.org and read the Kernel-HOWTO which gives you everything but the grub info.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.