Re: how to load rtl8139.o on a machine with no gcc?

David T-G <[email protected]> Mon, 11 Aug 2003 08:06:33 -0400
Newsgroups gmane.linux.drivers.realtek.devel
Message-ID <[email protected]>
Donald, et al --

...and then Donald Becker said...
% 
% On Fri, 8 Aug 2003, David T-G wrote:
% 
% > because modules.conf had an '8139too' alias for eth0 (yes, I read the
% > rant :-) and it shows up in ifconfig but I get DEVICE BUSY when trying to
% > give it an address.
% 
% Was there a related error?

Just

  SIOCSIFFLAGS: Device or resource busy

after an ifconfig to assign an address.


% 
% > I tried pulling down the netdrivers-3.4.tgz file, extracting it, and
% > building the rtl8139.o driver; that seemed to go smoothly.  Then I copied
% > rtl8193.o and pci-scan.o and kern_compat.h over to the other box and
% > tried an insmod; pci-scan went fine, but rtl8139 did not.
% 
% What was the error reported?

After a manual

  insmod pci-scan

which ran quietly, my

  insmod rtl8139

returned

  Using /lib/modules/2.4.19-4GB/kernel/drivers/etc/rtl8139.o
  /lib...8139.o: init_module: No such device
  Hint: insmod errors can be caused by incorrect module parameters,
  including invalid IO or IRQ parameters
    You may find more information in syslog or the output from dmesg

So I go to /var/log/messages and at the end I see

  kernel: 8139too Fast Ethernet driver 0.9.26
  kernel: pci-scan.c:v1.11 8/31/2003  Donald...
  kernel: 8139too Fast Ethernet driver 0.9.26

but that's it.

So I comment out 8139too in /etc/modules.conf, add rtl8139, run depmod -a
(I'm out of my element; is there anything else I need to do?) and reboot.
When it comes up I get the SIOCSIFFLAGS error again and then ifup reports

  ifup: Cannot enable interface eth0

and things look pretty much the same :-/


% 
% -- 
% Donald Becker				[email protected]
% Scyld Computing Corporation		http://www.scyld.com
% 914 Bay Ridge Road, Suite 220		Scyld Beowulf cluster system
% Annapolis MD 21403			410-990-9993
% 
% 


Thanks & HAND

:-D
-- 
David T-G                      * There is too much animal courage in 
(play) [email protected] * society and not sufficient moral courage.
(work) [email protected]  -- Mary Baker Eddy, "Science and Health"
http://justpickone.org/davidtg/      Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
signature.asc (application/pgp-signature, 187 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE/N4bJGb7uCXufRwARAs/6AKDj4p+AozhoXLKBs4KbbNtx08ZD8ACfa1Js
kFYyxmaeXAjZdyz13HyP2Q8=
=OLP6
-----END PGP SIGNATURE-----