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 need some help here... I have a fully functional and operating red hat 7.1 box... I can successfully compile my own kernel.. new kernel boots and almost all is ok, BUT my USB mouse doesn't get detected and my ETH1 (second NIC) doesnt come up... BUT when I use my original kernel, all the above work fine...
sounds like you forgot to include some modules when you compiled your kernel. use make xconfig to go through all the kernel options, and be sure to include usb and ethernet support.
Usually what I do before compiling a new Kernel is to take a snapshot of the kernel I'm already running by running xconfig and saving the configuration file of the working kernel to a different name like kernelmask.conf. Then go into the directory containing the new kernel and run xconfig and load the "kernelmask.conf" file, this will have all of the modules etc.. from your old kernel, then go through the new kernel and add the new features and remove old or obsolete ones.
Well I went into xconfig and selected USB support... And same for the eth1... Thats why Im posting here... How can I see what redhat used to compile the 2.4.3-12 ver that I currently have?
Look in /usr/src/linux-{kernel image #}/configs Look at the config file for your chip type i386 or i686 (686=pentium and above). That should tell you what you need to know. You can load them through xconfig to make it easier to read, but when you exit don't proceed with the make dep etc..
if you have the kernel-sources installed from the old kernel, you can just go into the directory and see what modules it was using with the usb and ethernet. you'll need to rummage around in the config.h files. with the usb, you'll probably need to find the specific module that ran the mouse - it's not going to be as simple as enabling general-usb support.
it might also be that the module names have changed, and you'll need to update the modules.conf file. a quick way to check which modules the old kernel was using is to go into the modules.conf file and look over the usb sections.
ok... just checked with the kernel cvs. the usb-uhci, has undergone several hundred lines of changes from 2.4.3 to 2.4.10. the ethernet modules, however, have only had three lines changed. so, my guess:
in the original red hat kernel, both the usb-uhci and the eth01 are compiled as modules, and not directly into the kernel. if you compiled these modules directly into the kernel, it might cause some problems when certain programs try to load them. this also happens a lot with sound card modules. try recompiling the kernel to load these on demand, and not directly into the kernel.
it shouldn't affect your current kernel setup. it modifies the /lib/modules/2.4.10/modules.dep file - your old setup is contained in /lib/modules/2.4.3-???/modules.dep. the old configuration should still be retained.
well.. i can't think of anything else offhand to tell you. my only suggestion is to play around some more with the kernel config. also, running lilo at the prompt will load the new kernel. you never need to reboot linux unless you're adding hardware.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.