Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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've just bought a mini PC that I'm going to learn Linux on. I'm using Slackware 10 (non negotiable) and have, at last, managed to get it installed without any errors. The PC is fully Linux compatable and has been supplied with drivers for the NIC. Despite reading everything supplied, I have only managed to get the supplied driver file decompressed into /usr/src and then I'm stuck. I've posted the driver file at www.sulsado.org/linux for you to look at. My Linux knowledge is very very basic so feel free to treat me like an idiot.
I need to learn linux from the command line. I'm a system administrator and will be performing maintenance on the linux box remotely, so I'm trying to stay away from GUIs as much as possible. There's no point in making it easy for myself if I can't have it when the sh#t hits the fan.
Peacedog: Sorry missed that. Is there a way of just getting setup to install the dev components, or is it a case of installing everything from scratch again?
Well I'm making some progess. I now have it compiles and installed to some extent. When I type 'insmod ians' though I get a warning that the kernel was compiled with a gcc version 3, whilst my module was compiled with gcc version 2. Everything on this system has come from the same Slackware disk. Any ideas what's going on?
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep:
I had the same problem with a sound card some time ago, for the life of me I can't recall how exactly I solved it. I seem to remember something about editing the make file, and using insmod -f, but I will not reccomend that in this case.
Doing some research on the module your trying to compile does shed a little light. The last driver release was in 2002. This leads me to believe that possibly there is already support for the device in the current kernel, or there is a newer driver available.
With all that said, could you please post the output of the following commands?
/sbin/lspci -v (I can't get anything off the PC at the moment, so I'm copying onto paper and then typing in. This command listed loads of stuff, but the relevent piece came at the end)
01:08.0 Ehternet Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) integrated LAN Controller (rev 02)
Subsystem: Intel Corp. 82801EB/ER (ICH5/ICH5R) integrated LAN Controller
Flags: bus master, mediu devsel, latency 32, IRQ 11
Memory at f8001000 (32-bit, non-prefetchable) [size=4K]
I/O ports at 9000 [size=64]
Capabilities: [dc] Power Management version 2
That's it. I thought my previous posted message was because my 'make' file was too old. I had a look on the web and found version 3.8. It's a nightmare to install (well for me anyway), but that's my problem at the moment. Does anything stand out in the file outputs above? Looks like everything but ethernet in the second one.
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep:
Sorry it took so long to get back to you. I'm googling support for your device currently.
Please accept my apology, but I have no answer for the kernel and module gcc mismatch.
You might try recompiling the current kernel with the set of tools installed, and use the "make oldconfig" option so hopefully it doesn't break anything.
I'll get back to you when I have more info.
good luck.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.