Click to See Complete Forum and Search --> : Need help compiling rt8139.o drivers to get on-line!!
elamit
06-19-2003, 10:56 AM
Tried to insmod, copy rt8139.o to linux.
Can't seem to figure it out. Told to compile driver using gcc or ld, really not sure how to do so. Any help on this would be DEEPLY appreciated. vi give instructions, but I don't know how to compile files yet. Thank you!!
mdwatts
06-19-2003, 12:19 PM
What distro/version are you using as most should already include the rtl8139.o by default (note the 'l'
in rtl).
From mine though I don't use the rtl8139 module.
/lib/modules/2.4.19-64GB-SMP/kernel/drivers/net/rtl8139.o
Have you searched to see if the module already exists?
locate rtl8319
or
locate 8139
elamit
06-19-2003, 01:07 PM
Redhat 7.0 Distro...
rtl you say???? i will try to 'locate'
8136.o and see. Thanks, i will try and see. ;-)
mdwatts
06-19-2003, 01:14 PM
First check to see if rtl8139 is loaded using
lsmod (list loaded module)
If not, then as root
modprobe rtl8139
and the module should load if it exists in the /lib/modules/... directory and is the correct module for your ethernet card.
Also ensure PnP OS is disabled in the bios as that alone can cause PCI devices to not be detected properly and the modules not to load.
elamit
06-19-2003, 01:37 PM
rtl8139 exist in: /lib/modules/2.2.16-22/net/rtl8139.o
w/root privledges you say try modprobe
rtl8139....
how do I disable PnP in bios...I am a n[][]b as you can see.
Thank you sooooo much!
mdwatts
06-19-2003, 02:29 PM
If
uname -r
shows you are using the 2.2.16-22 kernel, then you should be able to load rtl8139.0 with
modprobe rtl8139
It wouldn't hurt to do
depmod -ae
first. (all commands as root)
Check your bios (manual if you have) for PnP O/S (Y/N) or similiar and set to 'N'.
man <command> (will explain the above commands)
elamit
06-19-2003, 05:04 PM
i will try ASAP
elamit
06-19-2003, 08:23 PM
from 'insmod'
"Using /lib/modules/....
/lib/modules/.....:init_module: Device
or resource busy.
Hint: insmod errors can be caused by incorrect module parameters, including
invalid IO or IRQ parameters"
mdwatts
06-20-2003, 04:52 PM
Originally posted by elamit
Device or resource busy.
Hint: insmod errors can be caused by incorrect module parameters, including
invalid IO or IRQ parameters"
Either you are not using the correct module for your ethernet card (try to verify) or you have resouce conflicts (have you set PnP O/S to 'N' in the bios?)
JerryW
06-21-2003, 05:25 PM
[QUOTE]Originally posted by mdwatts
My copy of Slack 8.1 uses the driver called 8139too in place of the rtl8139 driver. I get the impression from reading the files that the 8139too is a later driver and fixes some bugs. So you might try searching your directory for that file and try it instead if you find it.
Davno
06-21-2003, 05:43 PM
On this page in the Help file library (Network) there is something about older RH version and your nic card and drivers. Look like something specific to your card... Just a guess...
arachnyd
06-28-2003, 11:38 PM
i'm having this exact same problem, but "locate" doesnt seem to work. I do that in a terminal? says bad command.
mdwatts
06-29-2003, 06:44 AM
Originally posted by arachnyd
i'm having this exact same problem, but "locate" doesnt seem to work. I do that in a terminal? says bad command.
/usr/bin/locate
or
su -
<root password>
locate ....