Detlef Graef | 4 Apr 2009 12:44
Picon
Favicon

3c59x / vortex_error(), status=0xe081 / RAM > 3GB

Hi,

after upgrading my PC from 2GB of RAM to 6GB the NIC 3C905C-TX doesn't 
work any more.

I'm using a 64 Bit Linux Kernel from Fedora 10:

2.6.27.21-170.2.56.fc10.x86_64 #1 SMP Mon Mar 23 23:08:10 EDT 2009 
x86_64 x86_64 x86_64 GNU/Linux

When I limit the memory to 3GB with the kernel parameter "mem=3G" the 
NIC is working fine without any problem.

I see the following error message in /var/log/messages:

Apr  3 22:42:56 robin kernel: eth0: vortex_error(), status=0xe081 

Apr  3 22:42:56 robin kernel: eth0: vortex_error(), status=0xe081 

Apr  3 22:42:56 robin kernel: eth0: vortex_error(), status=0xe081 

Apr  3 22:42:56 robin kernel: eth0: vortex_error(), status=0xe081 

Apr  3 22:42:56 robin kernel: eth0: vortex_error(), status=0xe081 

Apr  3 22:42:56 robin kernel: eth0: vortex_error(), status=0xe081 

Apr  3 22:42:56 robin kernel: eth0: vortex_error(), status=0xe081

This is the output from "lspci -vvv":
(Continue reading)

Jouni.Lohikoski | 12 Jun 2007 18:44
Picon
Picon
Favicon

How to stop 3c59x.ko filling system log with "pci_set_power_state()" messages?

It seems like 3c59x.ko Linux kernel module is filling system log with
messages like:
"Jun 12 17:26:35 localhuost kernel: pci_set_power_state(): 0000:02:0a.0:
state=3, curr
ent state=5"

#lspci | grep "02:0a"
02:0a.0 Ethernet controller: 3Com Corporation 3c900 10Mbps Combo [Boomerang]

How to stop it?
Is there some kernel option which would disable this message?

OS is Fedora core 6, Gnome and metacity in use.

// jouni

_______________________________________________
vortex mailing list
vortex <at> scyld.com
http://www.scyld.com/mailman/listinfo/vortex

Alan Chandler | 20 Apr 2007 00:30
Picon
Favicon
Gravatar

Framing error problem

I am re-submitting the following message - because it accidentally got 
deleted.  Since submitting it, I am getting a handle on the problem.  
By putting an ethernet switch in the circuit between the ethernet card 
and the modem, I can see that the modem is operating at 10Mb/sec 
whereas the vortex card has autonegotiated itself to 100Mb/sec.

Why it should not negotiate the correct rate I don't know.

Anyway here was the message I previously submitted ...

---------------------------------------------------------------------

I have a strange problem that I would like some advice on.  I would have
liked to have scanned your archives first, but for some reason every
attempt to access them seems to give an error message from your web
server. I have therefore subscribed to this list, and this is my first
post to it.

I have a linux desktop connected via a lan (100Mb via an Edimax Fast
Ethernet Switch) inside my home to another linux box acting as
firewall/router/nat gateway to my isp.  This gateway has two ethernet
cards (both 3cSOHO100-Tx Hurricane) in, one onto the lan and the other
connected via a point to point link to a Motorola SB3100 cable modem
and thence onward to my ISP. It is a Celeron 1.7Ghz running linux
2.6.18 (Debian Etch).

I have been having a throughput problem downloading videos from youtube
to my desktop - where at best I was getting approximately 7KBytes/sec.
Anyway in the last few days I discovered that if I download from my
gateway itself I achieve 80KBytes/sec - so I set out to discover what
(Continue reading)

Jiri Slaby | 14 Mar 2007 13:33
Picon
Gravatar

3c59x regression (transmission stop)

Hi.

I have a problem with 3c59x network driver. After some time (now it happened 
after 6 days of uptime) the card stops transmitting packets. Interrupt 
counter increments, the card recieves and trasmits some buffers, but the 
more time, the less packets are trasmitted and in the end it stops 
trasmitting at all. I don't know how to debug this, rmmod and modprobe of 
the module back helps to solve this for some time.

What kind of info should I post and how to track this nasty thing down? 
Note, that this is server and hence things like bisecting is no-go for me.

# lspci -vvxs 00:0e
00:0e.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] 
(rev 64)
         Subsystem: 3Com Corporation 3C905B Fast Etherlink XL 10/100
         Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
         Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
         Latency: 32 (2500ns min, 2500ns max), Cache Line Size: 32 bytes
         Interrupt: pin A routed to IRQ 10
         Region 0: I/O ports at a800 [size=128]
         Region 1: Memory at f5000000 (32-bit, non-prefetchable) [size=128]
         [virtual] Expansion ROM at 30000000 [disabled] [size=128K]
         Capabilities: [dc] Power Management version 1
                 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA 
PME(D0-,D1+,D2+,D3hot+,D3cold-)
                 Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: b7 10 55 90 17 00 10 02 64 00 00 02 08 20 00 00
(Continue reading)

Dmitriy Monakhov | 23 Feb 2007 22:40
Picon

[PATCH] 3c59x: Handle pci_enable_device() failure while resuming

Handle pci_enable_device() failure while resuming, we can safely exit here.
Signed-off-by: Monakhov Dmitriy <dmonakhov <at> openvz.org>
---
 drivers/net/3c59x.c |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/drivers/net/3c59x.c b/drivers/net/3c59x.c
index 2b750bd..ea4a78f 100644
--- a/drivers/net/3c59x.c
+++ b/drivers/net/3c59x.c
 <at>  <at>  -821,11 +821,17  <at>  <at>  static int vortex_resume(struct pci_dev *pdev)
 {
 	struct net_device *dev = pci_get_drvdata(pdev);
 	struct vortex_private *vp = netdev_priv(dev);
+	int err;

 	if (dev && vp) {
 		pci_set_power_state(pdev, PCI_D0);
 		pci_restore_state(pdev);
-		pci_enable_device(pdev);
+		err = pci_enable_device(pdev);
+		if (err) {
+			printk(KERN_WARNING "%s: Could not enable device \n",
+				dev->name);
+			return err;
+		}
 		pci_set_master(pdev);
 		if (request_irq(dev->irq, vp->full_bus_master_rx ?
 				&boomerang_interrupt : &vortex_interrupt, IRQF_SHARED, dev->name, dev)) {
--

-- 
(Continue reading)

Harry Coin | 7 Jan 2007 19:15

WOL bugfix for 3c59x.c

Gentlemen:

Advances to the pci_enable_wake kernel routine have broken the acpi_set_WOL 
routine in 3c59x.c.    In the acpi_set_WOL call, there is

pci_enable_wake(VORTEX_PCI(vp),0,1);

The result from that call is not tested, but if it were it would show it 
now returns the fact that the vortex cannot accept WOL packets while in the 
current full power state (0).  It then returns but without enabling the PME 
bits in the config space.

If that is changed to

if (pci_enable_wake(VORTEX_PCI(vp),0,1)) 
pci_enable_wake(VORTEX_PCI(vp),PCI_D3hot,1);

Proper WOL function is restored.

P.S.  There is a problem also with the 'halt -f -i ...' in at least the 
Debian distro as well, due to some conflict with *bsd a 'fix' for that os 
got into the linux ifdown is stubbed out, it doesn't actually down the 
interface.  recompiling from the sysvinit source 'make halt' and copying 
that version to /sbin fixes the problem and brings WOL online.

Thank you

Harry Coin
N4 Communications

(Continue reading)

Raul Dias | 22 Sep 2006 18:55
Picon

IRQ routing problems with 6 NICs

Hi,

I have been happyly using 6 NICs in my gateway for years without a
problem.

5 Nics are 3c905 family boards and 1 is a VIA Rhine II onboard (yes I
know, but ran out of PCI slots).
The mother board is an ASUS A7V600-X.  The 5th 3com NIC is currently not
used, but present.
USBs, Sound, ... are disabled in the BIOS.

They work really well together in the 2.4.x kernel series.

The problem is that I need to upgrade to 2.6.later kernels in order to
be able to use the IFB interface.

When I boot a 2.6.x kernel, all hell breaks loose.  I get all sort of
IRQ problems with the NICs and only one or two works.

Lots of messages like:
	IRQ routing conflict for 0000:00:0a.0, have irq 11, want irq 7

I think it has to do with APIC/ACPI issues in 2.6 linux, so I have tried
changing from APIC to PIC in the BIOS and kernel boot options: noapic,
nolapic, acpi=off, apci=ht, pci=noacpi.  Probably every combination of
these options.

I always get the same problems.

Below are:
(Continue reading)

Denis Kaganovich | 24 Aug 2006 18:40
Picon

3c905b problem

I have some problems with kernel-included (2.6.18-rc4) driver and 3c905b card. I 
am use it to communicate with ZyXEL 841 VDSL adapter, then I will try to solve 
part of problems self, but some stranges/errors are universal. But not related 
to software-indicated bugs, time-to-time link are lost, but ZyXEL & MII indicate 
link OK. Also I don't know how to compile (prefer - inside of kernel) new 
(scyld.com) driver.

I use fixed mode all devices: 100Mbit full-duplex, autonegotiation possible, but 
difficult (configurable ZyXEL 841c now moved on provider-side and I prefer 
100Mbit vs. autonegotiated 10Mbit for current VDSL speed - I use 802.3x PAUSE 
based shed_psp). If I try autonegotiation with fixed mode on ZyXEL, I get "eth0: 
link ok" (mii-tool), but ZyXEL indicate no link ("10/100/no link" led) and no 
link works (If I use rtl8139 card - "no link" autonegotiated & shown by MII & 
ZyXEL).

Used 3COM DOS configurator to setting card to 100Mbs full-duplex, also driver 
options (default, for all units) set to fullduplex 1, flowcontrol 1. Was trying 
"tx_interrupt_mitigation 0", but now return to 1 (up to link lost solving) - 
there are router role PC, CPU load better then stalled HW. All other 
perfomance/hardware options now default.

Software (log & diag) say about 10Mbs AUI, but 100Mbs active and work.

100Mbs active diag:

vortex-diag.c:v2.16 1/12/2004 Donald Becker (becker <at> scyld.com)
  http://www.scyld.com/diag/index.html
Index #1: Found a 3c905B Cyclone 100baseTx adapter at 0xc400.
  Station address 00:0a:48:14:7c:d1.
   Receive mode is 0x07: Normal unicast and all multicast.
(Continue reading)

Werner Guenzl | 15 Jun 2006 23:57
Favicon

Linux Driver for 3C905CX-TX-M with WOL?

Hi,

I have the NIC from 3COM 3C905CX-TX-M on a motherboard
from GIGABYTE GA-7ZX-E with SuSE-Linux-10.0

All hardware is o.k. but ethtool eth0 shows no WOL support
of this NIC.

What is the reason? Is the right driver in SuSE kernel as
module in kernel-2.6.13-15.10 which supports Wake On LAN?

Which 3COM NICs with linux driver supports WOL?

Werner.
wguenzl <at> guenzl.net
_______________________________________________
vortex mailing list
vortex <at> scyld.com
http://www.scyld.com/mailman/listinfo/vortex

Aaron Ault | 3 Apr 2006 23:32
Picon
Favicon

10Base2 on 3Com 3C590-C

I'm trying to get communication working between two identical  
computers running Ubuntu linux (kernel 2.6.12) across a 10Base2  
link.  Each computer has a 3Com 3C590-C card over which I am trying  
to communicate, and a 3Com 3C905C that is integrated into the  
motherboard.  I suspect that the 3c59x driver might not be working  
correctly, because when I enable the 590-C to try across 10Base2, the  
905C stops working (yeah, dislexics beware :).  Also, when I try to  
ping from one computer to the other, I can see arp requests for the  
address of the destination computer, but it never replies so the ping  
fails.

Using vortex-diag, I've confirmed that the card is using the 10Base2  
link.  The 10Base2 cable is 12 feet long, and is terminated properly  
with 50-ohm termination.

When I plug an RJ45 crossover cable into the RJ45 jack on the 590-C,  
everything works fine (there are replies to the ping).  This is why I  
suspect that the code for the 10Base2 link may be out of date or too  
up-to-date for the card.  I would appreciate any help that someone  
has to offer.

Thanks
Aaron

_______________________________________________
vortex mailing list
vortex <at> scyld.com
http://www.scyld.com/mailman/listinfo/vortex

(Continue reading)

Yuri Frolov | 28 Mar 2006 14:38
Picon

3Com NIC controllers documentation.

Hello.

Is any information describing 3Com NIC controllers available or 3Com 
considers it a trade secret?
I've been searching the site of 3Com, trying to find something feasible, 
but have found nothing, does it mean I am just a
bad searcher, or 3Com really doesn't provide such info?
I need a functional description, description of register set, etc, i.e 
that, needed to write a full-featured driver.
Particularly, I'm looking info for controller used in the 3c905c 
("Tornado") cards in order to understand drivers/net/3c59x.c.
All suggestions will be highly appreciated.

Thank you,
Yuri.

_______________________________________________
vortex mailing list
vortex <at> scyld.com
http://www.scyld.com/mailman/listinfo/vortex


Gmane