Hi,

I have a problem getting the pcmcia (network card) working with the
accelent SA1110 IDP. I'm using kernel 2.4.4-rmk3-np1-asi1 (from the CD
that ships with the board). I've enabled PCMCIA support in the kernel
and have compiled as modules, support for NE2000, and 3COM cards
(3c574_cs.c and 3c589_cs.c). Now, when I boot the board with the new
kernel and insert a pcmcia network card (3COM 3c574_cs), cardmgr detects
the insertion of the card, insmods the correct module, and assigns irq
98 and io 0xe0000300 to the card. At this point, I can see the new
interface listed out in the output of ifconfig. However, the problem is
this: The card is not really functional. If I try to assign an IP to it
by DHCP (dhcpcd -n eth1), it gives this error message: 

NETDEV WATCGDOG: eth0: transmit timed out
eth0:  transmit timed out!
irq status 0808, rx status 0000,  tx status 00 tx free 0000
diagnostics: fifo 0000 ethernet 0000 media 0000

Also, if I manually assign an IP to it, the link still doesn't come up.
All packets are being lost. If I run tcpdump on the IDP, it shows
packets leaving the interface, but if I run tcpdump on another machine
on the same network, it shows no packets originating from the IDP. In
effect, the link is dead. I confirmed this by running mii-tool on the
pcmcia interface too. The link status LED of the PCMCIA card connector
also shows no link connectivity.

I noticed the following in /proc/ioports (a little suspicious : no entry
for eth1, the pcmcia network card) 
d2100000-d210000f : eth0 
d2200000-d2200007 : serial(auto) 
e4000000-e4000007 : ide0 
e400000e-e400000e : ide0 

After a while(of pinging and trying DHCP) when I do an ifconfig this is
what I get (notice RX packet count is zero):
eth1    Link encap:Ethernet  HWaddr 00:D0:B7:22:81:59
          BROADCAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:84 frame:0
          TX packets:37 errors:6 dropped:0 overruns:0 carrier:2638
          collisions:252 txqueuelen:100
          Base address:0x00000300 DMA chan:e0

I tried the above with 3 other cards (3COM and Linsys NE2K compatible
card) and still got the same error. All these cards work fine on an
ordinary laptop running Linux.

What could the problem be? Is there some source code problem that I'm
completely unaware of? 
Any help will be greatly appreciated.

Best Regards
Venkat
([EMAIL PROTECTED])


_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
http://www.arm.linux.org.uk/armlinux/mailinglists.php
Please visit the above addresses for information on this list.

Reply via email to