Bug 28928

Summary: dual starfire nic doesn't seem to work (ana-62022)
Product: Base System Reporter: John_Fleming <John_Fleming>
Component: i386Assignee: Bill Paul <wpaul>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.3-RELEASE   
Hardware: Any   
OS: Any   

Description John_Fleming 2001-07-12 23:40:03 UTC
Well the nic just doesn't work. It is autodetecting media speed and duplex correctly when set to auto. But if you do anything you will get output errors. If you force the duplex to full on the switch and nic, then the nic will drop off the network, then come up for about 1-2 seconds, then go back down again. This will keep repeating.

Fix: 

replace nic :)
How-To-Repeat: Install nic, ip it, and do something on the network.
Comment 1 dwmalone 2001-07-13 09:26:36 UTC
On Thu, Jul 12, 2001 at 03:39:06PM -0700, john fleming wrote:
> >Description:
> Well the nic just doesn't work. It is autodetecting media speed
> and duplex correctly when set to auto. But if you do anything you
> will get output errors. If you force the duplex to full on the
> switch and nic, then the nic will drop off the network, then come
> up for about 1-2 seconds, then go back down again. This will keep
> repeating.

Dmesg output and maybe the output of "pciconf -l" might be useful here.
Atleast it will show if it is some new version of the card for which
the driver needs some tweaks.

	David.
Comment 2 John_Fleming 2001-07-13 15:28:52 UTC
no problem, i will do what ever i can to help..

pciconf -l
--------------------------

chip0@pci0:0:0:     class=0x060000 card=0x00000000 chip=0x71908086 rev=0x02 hdr=0x00
pcib1@pci0:1:0:     class=0x060400 card=0x00000000 chip=0x71918086 rev=0x02 hdr=0x01
isab0@pci0:7:0:     class=0x060100 card=0x00000000 chip=0x71108086 rev=0x02 hdr=0x00
atapci0@pci0:7:1:   class=0x010180 card=0x00000000 chip=0x71118086 rev=0x01 hdr=0x00
uhci0@pci0:7:2:     class=0x0c0300 card=0x00000000 chip=0x71128086 rev=0x01 hdr=0x00
chip1@pci0:7:3:     class=0x068000 card=0x00000000 chip=0x71138086 rev=0x02 hdr=0x00
pcib2@pci0:9:0:     class=0x060400 card=0x000000dc chip=0x00261011 rev=0x02 hdr=0x01
none0@pci0:17:0:    class=0x030000 card=0x00000000 chip=0x00a01013 rev=0x47 hdr=0x00
ahc0@pci0:19:0:     class=0x010000 card=0x00000000 chip=0x81789004 rev=0x00 hdr=0x00
sf0@pci2:4:0:  class=0x020000 card=0x00109004 chip=0x69159004 rev=0x03 hdr=0x00
sf1@pci2:5:0:  class=0x020000 card=0x00109004 chip=0x69159004 rev=0x03 hdr=0x00
-------------------------------

DMESG
--------------------------------
I'm having problems getting starfire nics to work correctly. Useing GENERIC
i can't seem to force the nic to work without it dropping off the network.
When i does drop off the network it goes up and down every 2-3 seconds. I
have tried 2 different switchs (cisco and xylan) with both switchs set to
full-duplex on all ports, and nic set to 100 full. If i set the nics to
auto they do detect the correct media speed and duplex, but i get lots of
out errors (netstat -in). The host i'm ftping from and to are on the same
switch and same ip segment. Just to see if it would help i made a custom
kernel, and removed and nics not being used, usb*, and a few isa devices.
After that i was able to keep the card on the network with it forced to
full duplex, but i still get out put errors (also crc's).
I have 2 machines that do this with starfire nics. 1 clone P2-400, 1 compaq
1400r(i think that right) dual 500.

I will attach a dmesg to this email and a kernel config.

Copyright (c) 1992-2001 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 4.3-RELEASE #1: Wed Jul 11 23:22:03 CDT 2001
    root@superfly.compusa.com:/usr/src/sys/compile/MY-KERNEL
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 300683270 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (300.68-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x650  Stepping = 0
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 67108864 (65536K bytes)
avail memory = 61939712 (60488K bytes)
Preloaded elf kernel "kernel" at 0xc035d000.
Pentium Pro MTRR support enabled
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xf000-0xf00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 7.2 irq 11
chip1: <Intel 82371AB Power management controller> port 0x5000-0x500f at device 7.3 on pci0
pcib2: <DEC 21154 PCI-PCI bridge> at device 15.0 on pci0
pci2: <PCI bus> on pcib2
sf0: <Adaptec ANA-62022 10/100BaseTX> port 0xa000-0xa0ff mem 0xe6080000-0xe60fffff irq 12 at device 4.0 on pci2
sf0: Ethernet address: 00:00:d1:d9:82:37
miibus0: <MII bus> on sf0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sf1: <Adaptec ANA-62022 10/100BaseTX> port 0xa400-0xa4ff mem 0xe6000000-0xe607ffff irq 11 at device 5.0 on pci2
sf1: Ethernet address: 00:00:d1:d9:82:38
miibus1: <MII bus> on sf1
ukphy1: <Generic IEEE 802.3u media interface> on miibus1
ukphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci0: <Cirrus Logic GD5430 SVGA controller> at 17.0
ahc0: <Adaptec 2940 Ultra SCSI adapter> port 0xb400-0xb4ff mem 0xeb000000-0xeb000fff irq 10 at device 19.0 on pci0
aic7880: Single Channel A, SCSI Id=7, 16/255 SCBs
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
acd0: CDROM <40X CD-ROM> at ata0-master using PIO4
Waiting 15 seconds for SCSI devices to settle
Mounting root from ufs:/dev/da0s1a
da0 at ahc0 bus 0 target 6 lun 0
da0: <QUANTUM FIREBALL ST4.3S 0F0C> Fixed Direct Access SCSI-2 device
da0: 20.000MB/s transfers (20.000MHz, offset 15), Tagged Queueing Enabled
da0: 4136MB (8471232 512 byte sectors: 255H 63S/T 527C)
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xb000-0xb01f irq 11 at device 7.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered

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




David Malone <dwmalone@maths.tcd.ie>@maths.tcd.ie on 07/13/2001 03:26:36 AM

Sent by:  dwmalone@maths.tcd.ie


To:   john fleming <john_fleming@compusa.com>
cc:   freebsd-gnats-submit@FreeBSD.ORG
Subject:  Re: i386/28928: dual starfire nic doesn't seem to work
      (ana-62022)


On Thu, Jul 12, 2001 at 03:39:06PM -0700, john fleming wrote:
> >Description:
> Well the nic just doesn't work. It is autodetecting media speed
> and duplex correctly when set to auto. But if you do anything you
> will get output errors. If you force the duplex to full on the
> switch and nic, then the nic will drop off the network, then come
> up for about 1-2 seconds, then go back down again. This will keep
> repeating.

Dmesg output and maybe the output of "pciconf -l" might be useful here.
Atleast it will show if it is some new version of the card for which
the driver needs some tweaks.

     David.
Comment 3 dwmalone freebsd_committer freebsd_triage 2001-07-13 15:59:20 UTC
Responsible Changed
From-To: freebsd-bugs->wpaul

Bill - I'd guess this PR is some sort of problem between the sf driver 
and the phy, but you'd know better. The submitter says he can make hardware 
available if needs be.
Comment 4 pspage 2001-09-19 18:21:57 UTC
just wondering if anything is going on with this, i have yet to hear
anything.

thanks john "blowing dust off this pr" fleming.
Comment 5 John_Fleming 2002-06-15 01:02:54 UTC
Just wanted to say i tested this with 4.6 and now i see the same results 
as 

kern/36482 
which basiclly says if nic is forced to 100 full duplex it looses carrier.


I no longer see input/output errors while nic is set to auto.


Is there anything else i can do to get more info on what is happening, 
maybe a kernel config option?
Comment 6 Christian Brueffer 2003-01-23 18:45:06 UTC
Hi,

just wanted to say that I have an ANA-62022 running for 4 month now
without any problems.
Does the problem still exist for other people?

- Christian

-- 
Christian Brueffer	chris@unixpages.org	brueffer@FreeBSD.org
GPG Key:	 http://people.freebsd.org/~brueffer/brueffer.key.asc
GPG Fingerprint: A5C8 2099 19FF AACA F41B  B29B 6C76 178C A0ED 982D
Comment 7 Mark Linimon freebsd_committer freebsd_triage 2005-09-16 08:44:34 UTC
State Changed
From-To: open->closed

Feedback timeout (2 years).