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.
This is my first time customizing the kernel. I patched to 2.4.19 and am using SLackware 8.1. A few questions:
1. When I compile some options as loadable modules, do I then have to go into /lib/modules/2.4.19/..... and then insmod module.o and/or put it in modules.conf? Or does it do this automatically when you make some things loadable modules. Because it didn't do this for me...I had to go in there and insmod ntfs.o. WHich brings me to my second question:
2. I could have sworn I set my RealTek NIC as a loadable kernel module. I made sure I did make modules then make modules_install. However, I cannot find my NIC driver anywehere....Not in /lib/modules or anywhere. It was using natsemi.o before the compile and now is no longer there. Should I recompile even though I thought I chose the NIC as a loadable module before. And if I do, must I make a new bzImage file or can I skip all that and make menuconfig ; make modules ; make modules_install ?
Well if you haven't touched your tree yet after your compile, you can browse in there, and see if you did set things up the way you wanted to. So you could see if you did set it as module or whatever.
I dont see my NIC card driver in /lib/modules...../ even though I selected it as a loadable module in menuconfig. I think I forgot to "make clean" when I compiled; could that have messed something up?
I really doubt it. If it's a generic Realtek card, you only need the module '8139too' if it's based off the 8139 chipset. There are others listed in the device section, 8129 and such. I'd say look for that one, try it, if it's not there, then rebuild with one of the other choices. I doubt make clean could have messed things up, as long as the compile finished cleanly and didn't error out.
I'd give each one a try, and then start looking for other solutions.
Oh man, I think I know the problem. My NIC in my linux box might not be a Realtek NIC. My windows box has a Realtek NIC and I thought I bought an identical NIC for my Linux box. But I just remember I probably didn't, LOL. Before the recompile, I was using the natsemi driver, which is for a Netgear NIC - that's the NIC I must have in there! So yes, when I chose Realtek as my loadable module, 8139too.o was in /lib/modules/... and as expected I got errors when I used modprobe or put it in rc.modules because it's the wrong module for that NIC. So I'll either recompile the kernel or just download natsemi.c. Then this all should be solved. Sometimes the stupidest things (like forgetting what NIC you bought for your box) is the cause of problems.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.