Hello,
I have some Problems with the atnic module for my AT Network Adapter AT
2700 FTC (SC).
I've downloaded and compiled the atnic.c module from the knowledge-Base at
www.alliedtelesyn.com and installed the module, following the
Instructions in the README file.
After rebooting, the module seems to load correctly.
No error messages:
>>/var/log/messages
pcnet32_probe_pci: found device 0x001022.0x002000
ioaddr=0x005800 resource_flags=0x000101
eth0: PCnet/FAST+ 79C972 at 0x5800, 00 30 84 6d dc 3b
tx_start_pt(0x0c00):~220 bytes, BCR18(9861):BurstWrEn BurstRdEn
NoUFlow
SRAMSIZE=0x1700, SRAM_BND=0x0800,
pcnet32: pcnet32_private lp=c2df9000 lp_dma_addr=0x2df9000 assigned
IRQ 9.
pcnet32.c:v1.25kf 26.9.1999
(E-Mail Removed)
<<
The Problem: Only the Copper-Port on the Card is working!
The Lightwave-Port (SC) doesen't work! When I reboot the computer, I
can see a green Diode flashing, indicating a working connection. But
when the module is loaded by the Boot-Procedure the light stops
flashing. The light goes out.
When I connect the Computer with a Twisted Pair Ethernet Cable on the
copper Port, everything is working fine.
The compile command was:
gcc -D__KERNEL__ -DMODULE - DMODVERSIONS -I/lib/modules/2.4.20-
4GB/build/include -I/lib/modules/2.4.20-4GB/build/include/net -Wall -
Wstrict-prototypes -O6 -march=i486 -c atnic.c
During the compilation I get the following warnings:
-----OUTPUT OF GCC ------
gcc: 2: No such file or directory
In file included
from/lib/modules/2.4.20-4GB/build/include/linux/tqueue.h:19,
from /lib/modules/2.4.20-4GB/build/include/linux/aio.h:4,
from /lib/modules/2.4.20-4GB/build/include/linux/fs.h:201,
from /lib/modules/2.4.20-4GB/build/include/linux/capability.h:17,
from /lib/modules/2.4.20-4GB/build/include/linux/binfmts.h:5,
from /lib/modules/2.4.20-4GB/build/include/linux/sched.h:10,
from atnic.c:21:
/lib/modules/2.4.20-4GB/build/include/asm/system.h:n function
`__set_64bit_var':
/lib/modules/2.4.20-4GB/build/include/asm/system.h:189: warning:
dereferencing type-punned pointer will break strict-aliasing rules
/lib/modules/2.4.20-4GB/build/include/asm/system.h:189: warning:
dereferencing type-punned pointer will break strict-aliasing rules
In file included
from /lib/modules/2.4.20-4GB/build/include/linux/netdevice.h:147,
from atnic.c:35:
/lib/modules/2.4.20-4GB/build/include/linux/skbuff.h:
In function `__pskb_pull':
/lib/modules/2.4.20-4GB/build/include/linux/skbuff.h:856: warning:
comparison between signed and unsigned
/lib/modules/2.4.20-4GB/build/include/linux/skbuff.h: In function
`pskb_may_pull':
/lib/modules/2.4.20-4GB/build/include/linux/skbuff.h:872: warning:
comparison between signed and unsigned
atnic.c: In function `pcnet32_probe1':
atnic.c:696: warning: comparison between signed and unsigned
------END---------------
But the module is compiled --> atnic.o
In the output of 'dmesg', there is an error message:
>>
NETDEV WATCHDOG: eth0 transmitt timed out
eth0:transmit timed out, status 007b, resetting
<<
The /ect/modules.conf entry is:
>>
alias eth0 atnic
options atnic options=0
<<
options=0 is for Auto-nego
The Card is installed in our Linux/Samba Fileserver,
a Fuijitsu-Siemens "Primergy Econel 30", Intel Pentium4, 512 MB RAM.
The OS is Suse Linux 8.2, Kernel: 2.4.20-4GB,
GCC Version is 3.3, GNU C Library stable release version 2.3.2
I had to recompile the module because the atnic.o module I found on
the website was compiled with an gcc Version 2 and thus, the module
will not work with my gcc Version 3.
I've tested the Lightwave-connection with a Windows-Computer and a
AT27001FTC-SC Adapter and it worked fine.
I hope, You can help me with this problem!
Thanks in advance !!!
Achim Lindt
P.S. Please excuse my Enlgish, I hope You can understand everything.
P.P.S. Sorry for cross-posting. F'up to computer.os.linux.hardware