Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
To solve some network issues I just compiled kernel 2.4.21 as an upgrade for 2.4.20. The new kernel will boot fine, but i cannot use xwindow because my usb mouse isn't being recognized. I compiled the new kernel just like my old one, with the exception of some additional support built in the new one. I don't get why it's not working. Do I need to grab some of the modules from my old kernel, or what? My 2.4.20 doesn't have support for a usb mouse built in, yet it works fine. The new one loads gpm just like my old one, but cannot find /dev/input/mouse0 -imps2 (i think that's what it says, but i don't remember exactly). Anyone have any ideas what's making the difference?
WTF... My /lib/modules/2.4.21/kernel/drivers folder is empty except for dummy.o net driver. I can only assume that this is my problem, but what do I do about it? Can i just copy the modules i need from my 2.4.20 directory? Is there anything else I would need to do (modifying script files and the like) to get everything to load properly? I've recompiled a kernel before, but never upgraded to a different version, so I'm kinda lost on everything I need to do.
Hi,
I don't have any USB devices, but yours is the second post that I have noticed concerning this issue. The other one (which doesn't have an answer either) is here:
One possible reason that you only have a dummy.o driver in the
/lib/modules/2.4.21/kernel/drivers folder is that you compiled things into the kernel rather than as modules. You might look at the config file you used, and see which modules should be present.
I think it is safe to use modules from your 2.4.20 version, IF you said yes to "set version information on all module symbols" under Loadable Module Support when the kernel was configured. I think this is the default.
Did you use the old configuration file for your new kernel (as BackSeat did), or configure a new one with Make Menuconfig or the like?
Sorry I can give you no answers.
Crapola. For the time being I just dumped all my old modules into the new kernel, for the simple reason that I forgot about that stupid config file. I checked my config, changed some stuff and recompiled this morning. Did I possibly miss something installing the new kernel the first time? I did the make modules and make modules_install but it looks like it put all the modules in the usr/src/linux-2.4.21 directory. Was i supposed to move those '.o' files to the lib/modules/2.4.21/ directory? Is there a specific command I have to use for that? I'm gonna feel really stupid if that was my problem... athough i somehow suspect that is a contributing factor.
It is my understanding that the fact that you have a /lib/modules/2.4.21 directory means you did the make modules, and make modules_install correctly. I do not think it is necessary for you to have to move anything into that directory. The two make commands should have done it.
I think it is possible that you (and BackSeat), are leaving something out , but I do not know what it is.
If I could get one of the kids to let me use one of their USB devices for awhile, I could experiment. However, they are reluctant to let me have anything until it is obsolete or worn out.
Urm... dammit. I should have just looked at the modules.dep file in the first place before getting so confused. It did update everything. I haven't tried booting my new creation yet, though.
As for getting a USB device, just steal it while they're not looking, and run fast. Hopefully you'll make it out alive.
I... am... such... an... idiot... I was sitting here, tapping the little usb/ps2 adapter on the desk, trying to figure out what to do. It didn't actually occur to me until this morning that I should just hook my mouse up on ps2, and my problem should be solved. I haven't tried it yet, but logically it should work.
kernel 2.4.22 stable is out. I've googled this issue and read a couple of times of this problem with 2.4.21 but <b>not</b> earlier 2.4.xx versions. I'm going to test this soon and repost.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.