David,

Thank you very much for your help, it took me a while to digect it, plus other
things changed as well.
Most importantly -- DHCP is not the source of my problem. Our computer admins
assigned me a static IP address (with a subnet mask, gateway and 3 DNS servers), but

the story is the same -- it works under Windows (I plugged the IP numbers instead of

DHCP, just to see that it works in Win), but not in Linux...

I've done networking setup many times since, through linuxconf and directly editing
/etc/hosts, /etc/resolv.conf, etc... I start to think that there is a problem with
the card setup.
Maybe a bad IRQ sharing? Is there any way to run some diagnostic in Linux to see if
the card
setup is ok?

I am grateful for any suggestions...

David Rankin wrote:

> Uhh.., I think I know what your problem is. (Guys on the list -- tell me if I'm
> wrong) Your modules files should be '.o' not '.o.gz'. I don't think modprobe or
> anything else for that reason will unzip a module for use. Here is how to test
> the 3c90x.o driver.

No, it seems it is the other way around -- modprobe seems to look for a .o.gz
file. I uncompressed the 3c90x module (btw, all modules in drivers are compressed),
and then modprobe couldn't find it:

[root@botik net]# pwd
/lib/modules/2.4.3-20mdk/kernel/drivers/net
[root@botik net]# gunzip 3c90x.o.gz
[root@botik net]# cd ..
[root@botik drivers]# ll net/3c*
-rw-r--r--    1 root     root         4078 Apr 15 17:14 net/3c501.o.gz
-rw-r--r--    1 root     root         4006 Apr 15 17:14 net/3c503.o.gz
-rw-r--r--    1 root     root         9326 Apr 15 17:14 net/3c505.o.gz
-rw-r--r--    1 root     root         4641 Apr 15 17:14 net/3c507.o.gz
-rw-r--r--    1 root     root         5890 Apr 15 17:14 net/3c509.o.gz
-rw-r--r--    1 root     root         9910 Apr 15 17:14 net/3c515.o.gz
-rw-r--r--    1 root     root        16191 Apr 15 17:14 net/3c59x.o.gz
-rw-r--r--    1 root     root        31276 Apr 15 17:14 net/3c90x.o
[root@botik drivers]# modprobe -t net 3c90x
modprobe: Can't locate module 3c90x which is needed for 3c90x

Then I compressed it back, and it's found, but doesn't load:
[root@botik drivers]# ll net/3c*
-rw-r--r--    1 root     root         4078 Apr 15 17:14 net/3c501.o.gz
-rw-r--r--    1 root     root         4006 Apr 15 17:14 net/3c503.o.gz
-rw-r--r--    1 root     root         9326 Apr 15 17:14 net/3c505.o.gz
-rw-r--r--    1 root     root         4641 Apr 15 17:14 net/3c507.o.gz
-rw-r--r--    1 root     root         5890 Apr 15 17:14 net/3c509.o.gz
-rw-r--r--    1 root     root         9910 Apr 15 17:14 net/3c515.o.gz
-rw-r--r--    1 root     root        16191 Apr 15 17:14 net/3c59x.o.gz
-rw-r--r--    1 root     root        14468 Apr 15 17:14 net/3c90x.o.gz
[root@botik drivers]# modprobe -t net 3c90x
Warning: /lib/modules/2.4.3-20mdk/kernel/drivers/net/3c90x.o.gz parameter
switchdelay has max < min!
/lib/modules/2.4.3-20mdk/kernel/drivers/net/3c90x.o.gz: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid
IO or IRQ parameters
/lib/modules/2.4.3-20mdk/kernel/drivers/net/3c90x.o.gz: insmod
/lib/modules/2.4.3-20mdk/kernel/drivers/net/3c90x.o.gz failed
/lib/modules/2.4.3-20mdk/kernel/drivers/net/3c90x.o.gz: insmod 3c90x failed


> (1) change to your modules directory for your system. Mine is
> /lib/modules/2.2.17-21mdk
> (2) the network modules should be in /lib/modules/2.2.17-21mdk/net

It seems Mandrake 8.0 uses a slightly different layout: I found 3c90x.o.gz in
/lib/modules/2.4.3-20mdk/kernel/drivers/net (see above).

> (3) from /lib/modules/2.2.17-21mdk do ls net/3c* to make sure you have 3c90x.o
> (4) do modprobe -t net 3c90x or modprobe -t net 3c* (to try all 3com drivers)

Did that (see above), 3c59x loads just fine, 3c90x fails...

> (5) after doing modprobe, do lsmod. If modprobe was able to load the driver it
> will be listed

lsmod lists 3c59x, seems ok, but Ethernet connection doesn't work...

[root@botik drivers]# lsmod
Module                  Size  Used by
es1371                 27440   0
soundcore               3504   4  [es1371]
ac97_codec              8688   0  [es1371]
gameport                1520   0  [es1371]
3c59x                  24640   1  (autoclean)
usb-uhci               20672   0  (unused)
usbcore                47248   1  [usb-uhci]
ide-scsi                7568   0
nls_iso8859-1           2848   1  (autoclean)
nls_cp850               3584   1  (autoclean)
vfat                    9040   1  (autoclean)
fat                    30720   0  (autoclean) [vfat]
supermount             32496   8  (autoclean)
sd_mod                 11048   0  (unused)
scsi_mod               86036   2  [ide-scsi sd_mod]

Thank you again,

Aleksey



Reply via email to