[vortex] problem with mini-pci card

Daliang Wen Daliang.Wen@abrandnewworld.se
Tue May 14 07:32:00 2002


Hi all,

Just join the mailing list. I have a problem with 3com's Mini-PCI card on Linux 2.2.19.

I have a linux box (Linux 2.2.19brfw i586) working as a bridge with 2 ethernet interface. One is an integrated Inter EEPRO 100 ethernet controller which works fine. The other one is the 3com's Mini-PCI (3CN3AC1556B) which doesn't work at all. 


Here is the log message after I set the debug option to 6 and "ifconfig eth1 up" (eth0 is the Intel card):

>From "/proc/device":
  Bus  0, device  15, function  0:
    Ethernet controller: 3Com Unknown device (rev 32).
      Vendor id=10b7. Device id=6056.
      Medium devsel.  IRQ 10.  Master Capable.  Latency=80.  Min Gnt=10.Max Lat=10.
      I/O at 0x1400 [0x1401].
      Non-prefetchable 32 bit memory at 0xfea01400 [0xfea01400].
      Non-prefetchable 32 bit memory at 0xfea01000 [0xfea01000].


>From /var/log/messages:
May 14 09:51:41 Wilma kernel: 3c59x.c 18Feb01 Donald Becker and others http://www.scyld.com/network/vortex.html 
May 14 09:51:41 Wilma kernel: eth1: 3Com 3c556B Laptop Hurricane at 0x1400,  00:04:76:4d:d8:3c, IRQ 10 
May 14 09:51:41 Wilma kernel: eth1: CardBus functions mapped fea01000->c481f000 (PCMCIA committee brain-damage). 
May 14 09:51:41 Wilma kernel:   Internal config register is 80600040, transceivers 0x40. 
May 14 09:51:41 Wilma kernel:   8K byte-wide RAM 5:3 Rx:Tx split, MII interface. 
May 14 09:51:41 Wilma kernel:   MII transceiver found at address 0, status 7849. 
May 14 09:51:41 Wilma kernel:   Enabling bus-master transmits and whole-frame receives. 
May 14 09:51:55 Wilma kernel: eth1: Initial media type MII. 
May 14 09:51:55 Wilma kernel: eth1: MII #0 status 7849, link partner capability 0001, setting half-duplex. 
May 14 09:51:55 Wilma kernel: eth1: vortex_open() InternalConfig 80600040. 
May 14 09:51:55 Wilma kernel: eth1: vortex_open() irq 10 media status 8080. 
May 14 09:51:55 Wilma kernel: eth1:  Filling in the Rx ring. 
May 14 09:51:58 Wilma kernel: eth1: Media selection timer tick happened, MII. 
May 14 09:51:58 Wilma kernel: eth1: MII transceiver has status 7849. 
May 14 09:51:58 Wilma kernel: eth1: Media selection timer finished, MII. 
May 14 09:52:13 Wilma kernel: eth1: Setting promiscuous mode. 
May 14 09:52:13 Wilma kernel: device eth1 entered promiscuous mode 
May 14 09:52:13 Wilma kernel: br0: port 2(eth1) entering listening state 
May 14 09:52:28 Wilma kernel: br0: port 2(eth1) entering learning state 
May 14 09:52:43 Wilma kernel: br0: port 2(eth1) entering forwarding state 
May 14 09:52:43 Wilma kernel: br0: topology change detected, propagating 
May 14 09:52:44 Wilma kernel: eth1: Trying to send a boomerang packet, Tx index 0. 
May 14 09:52:44 Wilma kernel: eth1: Trying to send a boomerang packet, Tx index 1. 
May 14 09:52:45 Wilma kernel: eth1: Trying to send a boomerang packet, Tx index 2. 
May 14 09:52:45 Wilma kernel: eth1: Trying to send a boomerang packet, Tx index 3. 
May 14 09:52:47 Wilma kernel: eth1: Trying to send a boomerang packet, Tx index 4. 
May 14 09:52:47 Wilma kernel: eth1: Trying to send a boomerang packet, Tx index 5. 
May 14 09:52:47 Wilma kernel: eth1: Trying to send a boomerang packet, Tx index 6. 
May 14 09:52:47 Wilma kernel: eth1: Trying to send a boomerang packet, Tx index 7. 
May 14 09:52:48 Wilma kernel: eth1: Trying to send a boomerang packet, Tx index 8. 
May 14 09:52:48 Wilma kernel: eth1: Trying to send a boomerang packet, Tx index 9. 
May 14 09:52:49 Wilma kernel: eth1: Trying to send a boomerang packet, Tx index 10. 
May 14 09:52:50 Wilma kernel: eth1: Trying to send a boomerang packet, Tx index 11. 
May 14 09:52:50 Wilma kernel: eth1: Trying to send a boomerang packet, Tx index 12. 
May 14 09:52:51 Wilma kernel: eth1: Trying to send a boomerang packet, Tx index 13. 
May 14 09:52:51 Wilma kernel: eth1: Trying to send a boomerang packet, Tx index 14. 
May 14 09:52:51 Wilma kernel: eth1: Trying to send a boomerang packet, Tx index 15. 
May 14 09:52:58 Wilma kernel: eth1: Media selection timer tick happened, MII. 
May 14 09:52:58 Wilma kernel: eth1: MII transceiver has status 7849. 
May 14 09:52:58 Wilma kernel: eth1: Media selection timer finished, MII. 
May 14 09:52:58 Wilma kernel: eth1: transmit timed out, tx_status 00 status e201. 
May 14 09:52:58 Wilma kernel: eth1: Interrupt posted but not delivered -- IRQ blocked by another device? 
May 14 09:52:58 Wilma kernel: eth1: interrupt, status e201, latency 255, cur_rx 0, dirty_rx 0 
May 14 09:52:58 Wilma kernel: eth1: In interrupt loop, status e201. 
May 14 09:52:58 Wilma kernel: eth1: exiting interrupt, status e000. 
May 14 09:52:58 Wilma kernel:   Flags; bus-master 1, full 0; dirty 16 current 16. 
May 14 09:52:58 Wilma kernel:   Transmit list 00000000 vs. c365e200. 
May 14 09:52:58 Wilma kernel:   0: @c365e200  length 80000072 status 00010072 
May 14 09:52:58 Wilma kernel:   1: @c365e210  length 80000062 status 00010062 
May 14 09:52:58 Wilma kernel:   2: @c365e220  length 8000003c status 0001003c 
May 14 09:52:58 Wilma kernel:   3: @c365e230  length 8000003c status 0001003c 
May 14 09:52:58 Wilma kernel:   4: @c365e240  length 8000003c status 0001003c 
May 14 09:52:58 Wilma kernel:   5: @c365e250  length 80000040 status 00010040 
May 14 09:52:58 Wilma kernel:   6: @c365e260  length 8000003c status 0001003c 
May 14 09:52:58 Wilma kernel:   7: @c365e270  length 80000062 status 00010062 
May 14 09:52:58 Wilma kernel:   8: @c365e280  length 80000040 status 00010040 
May 14 09:52:58 Wilma kernel:   9: @c365e290  length 80000040 status 00010040 
May 14 09:52:58 Wilma kernel:   10: @c365e2a0  length 8000003c status 0001003c 
May 14 09:52:58 Wilma kernel:   11: @c365e2b0  length 8000006d status 0001006d 
May 14 09:52:58 Wilma kernel:   12: @c365e2c0  length 80000071 status 00010071 
May 14 09:52:58 Wilma kernel:   13: @c365e2d0  length 8000003c status 0001003c 
May 14 09:52:58 Wilma kernel:   14: @c365e2e0  length 80000062 status 80010062 
May 14 09:52:58 Wilma kernel:   15: @c365e2f0  length 8000006d status 8001006d 
May 14 09:52:58 Wilma kernel: eth1: Resetting the Tx ring pointer. 
May 14 09:52:58 Wilma kernel: eth1: Trying to send a boomerang packet, Tx index 16. 
May 14 09:52:58 Wilma kernel: eth1: Trying to send a boomerang packet, Tx index 17. 
May 14 09:52:58 Wilma kernel: eth1: Trying to send a boomerang packet, Tx index 18. 
May 14 09:52:58 Wilma kernel: eth1: Trying to send a boomerang packet, Tx index 19. 
May 14 09:52:58 Wilma kernel: eth1: Trying to send a boomerang packet, Tx index 20. 
May 14 09:52:58 Wilma kernel: eth1: Trying to send a boomerang packet, Tx index 21. 
May 14 09:52:58 Wilma kernel: eth1: Trying to send a boomerang packet, Tx index 22. 
May 14 09:52:58 Wilma kernel: eth1: Trying to send a boomerang packet, Tx index 23. 
May 14 09:52:58 Wilma kernel: eth1: Trying to send a boomerang packet, Tx index 24. 
May 14 09:52:58 Wilma kernel: eth1: Trying to send a boomerang packet, Tx index 25. 
May 14 09:52:58 Wilma kernel: eth1: Trying to send a boomerang packet, Tx index 26. 
May 14 09:52:58 Wilma kernel: eth1: Trying to send a boomerang packet, Tx index 27. 
May 14 09:52:58 Wilma kernel: eth1: Trying to send a boomerang packet, Tx index 28. 
May 14 09:52:58 Wilma kernel: eth1: Trying to send a boomerang packet, Tx index 29. 
May 14 09:52:58 Wilma kernel: eth1: Trying to send a boomerang packet, Tx index 30. 
May 14 09:52:58 Wilma kernel: eth1: Trying to send a boomerang packet, Tx index 31. 
May 14 09:53:08 Wilma kernel: eth1: transmit timed out, tx_status 00 status e281. 
May 14 09:53:08 Wilma kernel: eth1: Interrupt posted but not delivered -- IRQ blocked by another device? 
May 14 09:53:08 Wilma kernel: eth1: interrupt, status e281, latency 255, cur_rx 0, dirty_rx 0 
May 14 09:53:08 Wilma kernel: eth1: In interrupt loop, status e281. 
May 14 09:53:08 Wilma kernel: eth1: Updating stats. 
May 14 09:53:08 Wilma kernel: eth1: exiting interrupt, status e000. 
May 14 09:53:08 Wilma kernel:   Flags; bus-master 1, full 0; dirty 32 current 32. 
May 14 09:53:08 Wilma kernel:   Transmit list 00000000 vs. c365e200. 
May 14 09:53:08 Wilma kernel:   0: @c365e200  length 8000003c status 0001003c 
May 14 09:53:08 Wilma kernel:   1: @c365e210  length 80000072 status 00010072 
May 14 09:53:08 Wilma kernel:   2: @c365e220  length 80000040 status 00010040 
May 14 09:53:08 Wilma kernel:   3: @c365e230  length 8000003c status 0001003c 
May 14 09:53:08 Wilma kernel:   4: @c365e240  length 80000071 status 00010071 
May 14 09:53:08 Wilma kernel:   5: @c365e250  length 8000006e status 0001006e 
May 14 09:53:08 Wilma kernel:   6: @c365e260  length 80000071 status 00010071 
May 14 09:53:08 Wilma kernel:   7: @c365e270  length 8000003c status 0001003c 
May 14 09:53:08 Wilma kernel:   8: @c365e280  length 80000040 status 00010040 
May 14 09:53:08 Wilma kernel:   9: @c365e290  length 8000003c status 0001003c 
May 14 09:53:08 Wilma kernel:   10: @c365e2a0  length 80000082 status 00010082 
May 14 09:53:08 Wilma kernel:   11: @c365e2b0  length 80000040 status 00010040 
May 14 09:53:08 Wilma kernel:   12: @c365e2c0  length 8000003c status 0001003c 
May 14 09:53:08 Wilma kernel:   13: @c365e2d0  length 8000003c status 0001003c 
May 14 09:53:08 Wilma kernel:   14: @c365e2e0  length 80000040 status 80010040 
May 14 09:53:08 Wilma kernel:   15: @c365e2f0  length 80000040 status 80010040 
May 14 09:53:08 Wilma kernel: eth1: Resetting the Tx ring pointer. 
May 14 09:53:08 Wilma kernel: eth1: Trying to send a boomerang packet, Tx index 32. 
May 14 09:53:08 Wilma kernel: eth1: Trying to send a boomerang packet, Tx index 33. 
May 14 09:53:08 Wilma kernel: eth1: Trying to send a boomerang packet, Tx index 34. 
May 14 09:53:08 Wilma kernel: eth1: Trying to send a boomerang packet, Tx index 35. 
May 14 09:53:08 Wilma kernel: eth1: Trying to send a boomerang packet, Tx index 36. 
May 14 09:53:08 Wilma kernel: eth1: Trying to send a boomerang packet, Tx index 37. 
May 14 09:53:08 Wilma kernel: eth1: Trying to send a boomerang packet, Tx index 38. 
May 14 09:53:08 Wilma kernel: eth1: Trying to send a boomerang packet, Tx index 39. 
May 14 09:53:08 Wilma kernel: eth1: Trying to send a boomerang packet, Tx index 40. 
May 14 09:53:08 Wilma kernel: eth1: Trying to send a boomerang packet, Tx index 41. 
May 14 09:53:08 Wilma kernel: eth1: Trying to send a boomerang packet, Tx index 42. 
May 14 09:53:08 Wilma kernel: eth1: Trying to send a boomerang packet, Tx index 43. 
May 14 09:53:08 Wilma kernel: eth1: Trying to send a boomerang packet, Tx index 44. 
May 14 09:53:08 Wilma kernel: eth1: Trying to send a boomerang packet, Tx index 45. 
May 14 09:53:08 Wilma kernel: eth1: Trying to send a boomerang packet, Tx index 46. 
May 14 09:53:08 Wilma kernel: eth1: Trying to send a boomerang packet, Tx index 47. 

>From "ifconfig eth1":
bash# ifconfig eth1 
eth1      Link encap:Ethernet  HWaddr 00:04:76:4D:D8:3C  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:80 errors:3 dropped:0 overruns:0 carrier:75
          collisions:0 txqueuelen:100 
          Interrupt:10 Base address:0x1400

=============================
bash# ./mii-diag -v eth1 
mii-diag.c:v2.03 11/5/2001 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
 Basic mode control register 0x3000: Auto-negotiation enabled.
 Basic mode status register 0x7849 ... 7849.
   Link status: not established.
   This transceiver is capable of  100baseTx-FD 100baseTx 10baseT-FD 10baseT.
   Able to perform Auto-negotiation, negotiation not complete.
   End of basic transceiver information.

 MII PHY #0 transceiver registers:
   3000 7849 0022 561b 01e1 0001 0004 2001
   ffff ffff ffff ffff ffff ffff ffff ffff
   01c0 0000 0000 8020 4f02 0304 0026 0000
   0000 bfbf 0000 ffff ffff ffff ffff ffff.
 Basic mode control register 0x3000: Auto-negotiation enabled.
 Basic mode status register 0x7849 ... 7849.
   Link status: not established.
   Capable of  100baseTx-FD 100baseTx 10baseT-FD 10baseT.
   Able to perform Auto-negotiation, negotiation not complete.
 Vendor ID is 00:08:95:--:--:--, model 33 rev. 11.
   Vendor/Part: AdHoc Technology AH101LF.
 I'm advertising 01e1: 100baseTx-FD 100baseTx 10baseT-FD 10baseT
   Advertising no additional info pages.
   IEEE 802.3 CSMA/CD protocol.
 Link partner capability is 0001:.
   Negotiation did not complete.
  TDK format vendor-specific registers 16..18 are 0x01c0 0x0000 0x0000
      Link polarity is detected as normal.
      Auto-negotiation complete, 10Mbps half duplex.
      Rx link in fail state, PLL locked.
      No new link status events.
============================

Any idea? 

Thanks in advance.
Regards.
/Daliang