Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
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.
I have linux RH7.3 (kernel 2.4.18-3) on my inspiron 8600. But I can not get the whole thing work properly( like Ethernet, Wireless LAN, CD/DVD writer..), So I figured it would help to upgrade. I then upgrade to RH9.0 (kernel 2.4.20-6). The funny thing is in the /usr/src directory, I could not see a linux-2.4.20-6. But lots of head file should be here to compile the broadcom 4400 ethernet driver. Where is the file that should be here?
What exactly do you have in your /usr/src directory? Most drivers and applications that require the Linux source code will expect to find it in /usr/src/linux - i.e. not in /usr/src/linux-2.4.20-6 or something like that. Since you can have several different kernel source trees installed at the same time, is custom to create a symbolic link called /usr/src/linux, pointing to the actual directory where the source of the currently used kernel is stored. If you do not have this symlink you can create it using ln -s /usr/src/linux-whatever-your-source-dir-is /usr/src/linux, or if I might guess ln -s /usr/src/linux-2.4.20-6 /usr/src/linux. This way other applications should be able to find the source.
That is what I said in post #1, I can not find the directory /usr/src/linux-2.4.20-6, so I can not make a symbolic link between linux and linux-2.4.20-6. (The linux-2.4.20-6 does not exist)
I have a very similar problem. I am trying to install drivers for a wlan device. Makefile tries to include a file called '.config' and the path on which the Makefile looks for '.config' is
/lib/modules/2.4.20-6/build
where 'build' is a link to
/usr/src/linux-2.4.20-6
The latter does not exist. The only thing in /usr/src are two directories; 'debug' and 'redhat'. 'debug' is empty and 'redhat' contians a bunch of empty subdirectories. If fact, I can't find this '.config' file anywhere. Any suggestions? Thanks.
You should install the kernel source package that matches your installed kernel. If you are running linux-2.4.20-6 then the source directory will most likely be /usr/src/linux-2.4.20-6.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.