From nobody@FreeBSD.org  Thu Jul 12 15:39:06 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 1747C37B403
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 12 Jul 2001 15:39:06 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.4/8.11.4) id f6CMd6H33982;
	Thu, 12 Jul 2001 15:39:06 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200107122239.f6CMd6H33982@freefall.freebsd.org>
Date: Thu, 12 Jul 2001 15:39:06 -0700 (PDT)
From: john fleming <john_fleming@compusa.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: dual starfire nic doesn't seem to work (ana-62022)
X-Send-Pr-Version: www-1.0

>Number:         28928
>Category:       i386
>Synopsis:       dual starfire nic doesn't seem to work (ana-62022)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    wpaul
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 12 15:40:03 PDT 2001
>Closed-Date:    Fri Sep 16 07:45:41 GMT 2005
>Last-Modified:  Fri Sep 16 07:45:41 GMT 2005
>Originator:     john fleming
>Release:        4.3-RELEASE
>Organization:
CompUSA
>Environment:
FreeBSD superfly.compusa.com 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Sat Apr 21 10:54:49 GMT 2001     jkh@narf.osd.bsdi.com:/usr/src/sys/compile/GENERIC  i386
>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.
>How-To-Repeat:
Install nic, ip it, and do something on the network.
>Fix:
replace nic :)
>Release-Note:
>Audit-Trail:

From: David Malone <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)
Date: Fri, 13 Jul 2001 09:26:36 +0100

 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.

From: John_Fleming@compusa.com
To: David Malone <dwmalone@maths.tcd.ie>
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: i386/28928: dual starfire nic doesn't seem to work (ana-62022)
Date: Fri, 13 Jul 2001 09:28:52 -0500

 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.
 
 
 
Responsible-Changed-From-To: freebsd-bugs->wpaul 
Responsible-Changed-By: dwmalone 
Responsible-Changed-When: Fri Jul 13 07:59:20 PDT 2001 
Responsible-Changed-Why:  
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. 


http://www.FreeBSD.org/cgi/query-pr.cgi?pr=28928 

From: pspage <pspage@compusa.com>
To: freebsd-gnats-submit@FreeBSD.org, john_fleming@compusa.com
Cc:  
Subject: Re: i386/28928: dual starfire nic doesn't seem to work (ana-62022)
Date: Wed, 19 Sep 2001 12:21:57 -0500

 just wondering if anything is going on with this, i have yet to hear
 anything.
 
 thanks john "blowing dust off this pr" fleming.
 

From: "John Fleming" <John_Fleming@compusa.com>
To: freebsd-gnats-submit@FreeBSD.org
Cc: "John Fleming" <John_Fleming@compusa.com>,
	freebsd-bugs@FreeBSD.org
Subject: Re: i386/28928: dual starfire nic doesn't seem to work (ana-62022)
Date: Fri, 14 Jun 2002 19:02:54 -0500

 This is a multipart message in MIME format.
 --=_alternative 000096CF86256BD9_=
 Content-Type: text/plain; charset="us-ascii"
 
 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?
 
 
 --=_alternative 000096CF86256BD9_=
 Content-Type: text/html; charset="us-ascii"
 
 
 <br><font size=2 face="sans-serif">Just wanted to say i tested this with 4.6 and now i see the same results as </font>
 <br>
 <br><font size=2 face="sans-serif">kern/36482 </font>
 <br><font size=2 face="sans-serif">which basiclly says if nic is forced to 100 full duplex it looses carrier.</font>
 <br>
 <br>
 <br><font size=2 face="sans-serif">I no longer see input/output errors while nic is set to auto.</font>
 <br>
 <br>
 <br><font size=2 face="sans-serif">Is there anything else i can do to get more info on what is happening, maybe a kernel config option?</font>
 <br>
 <br>
 --=_alternative 000096CF86256BD9_=--

From: Christian Brueffer <chris@unixpages.org>
To: freebsd-gnats-submit@FreeBSD.ORG
Cc:  
Subject: Re: i386/28928: dual starfire nic doesn't seem to work (ana-62022)
Date: Thu, 23 Jan 2003 19:45:06 +0100

 --EKglq5eeiLEg3Uj1
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 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
 
 --=20
 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
 
 --EKglq5eeiLEg3Uj1
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.1 (FreeBSD)
 
 iD8DBQE+MDgybHYXjKDtmC0RAmBHAJ9ggZF4x0XpNtsomBKMjOzy0ZnthwCfcJVI
 5vgRjkVePRVFlGovryJ02mw=
 =l8F+
 -----END PGP SIGNATURE-----
 
 --EKglq5eeiLEg3Uj1--
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Fri Sep 16 07:44:34 GMT 2005 
State-Changed-Why:  
Feedback timeout (2 years). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=28928 
>Unformatted:
