From owner-freebsd-hardware Fri May 4 22:27:55 2001 Delivered-To: freebsd-hardware@freebsd.org Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by hub.freebsd.org (Postfix) with ESMTP id F3B3437B422 for ; Fri, 4 May 2001 22:27:51 -0700 (PDT) (envelope-from mike@sentex.net) Received: from chimp.simianscience.com (cage.simianscience.com [64.7.134.1]) by smtp1.sentex.ca (8.11.2/8.11.1) with SMTP id f455RaY30561; Sat, 5 May 2001 01:27:36 -0400 (EDT) (envelope-from mike@sentex.net) From: Mike Tancsa To: dg@root.com (David Greenman) Cc: hardware@freebsd.org Subject: Re: Intel 82562 fxp problem Date: Sat, 05 May 2001 01:27:35 -0400 Message-ID: <1d37ftkfr8gcp1jcg5vu3dosmbbjdn6s31@4ax.com> References: <20010504140519.A33085@giles.mikehan.com> In-Reply-To: X-Mailer: Forte Agent 1.8/32.548 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 4 May 2001 17:25:34 -0400, in sentex.lists.freebsd.hardware you wrote: >>I've got a box running FreeBSD 4.2-STABLE (cvsup'd about 2/20). It's >>an Intel 815EEA motherboard based on the 815E chipset, with an Intel >>82562 integrated Ethernet adapter (on a riser?). The box frequently >>gives kernel warnings like: >> >>fxp0: SCB timeout >>fxp0: device timeout >> >>corresponding to the box dropping off of the network. Sometimes >>permanently, sometimes temporarily. I can't get console access, so I >>don't know if "ifconfig fxp0 down; ifconfig fxp0 up" or something like >>that helps or not. Anyone seen any similar problems? >> >>I have read the fxp(4) manpage and, as suggested, tried different >>cables. The box has also gotten a new motherboard (same model). It's >>been connected to different hardware (10Mbps hub and a 10/100 switch). >>It did this on 4.2-RELEASE and 4.2-STABLE. Whatever I do, it continues >>to exhibit this problem. Go easy here, I don't have physical access, >>so there's a bunch of stuff I'd have looked at that I can't verify one >>way or the other. > > I haven't done any testing with the 82562 and can't say whether it is >compatible with the fxp driver. Is there any chance that you can plug a >real Pro/100+ card into the machine and see if it exhibits the same = problem? >This would narrow down the problem to either a problem with the = motherboard >chipset or to the support of the 82562 in the fxp driver. This sounds like the same problem I have been reporting to jlemon with = his version of the driver. Same type of motherboard/chipset/issue. A plain = old PCI version of the nic is just fine in the same box with the same = drivers. I am guessing that the problem is somehow related to flow control in the IBM switch I am using as the problem does not seem to be there when the card is in my compaq switch. When I get the device timeouts,=20 =46rom a slightly patched version of his driver,=20 fxp0: SCB timeout: 0x70, 0x0, 0x50 0x400 fxp0: device timeout fxp0: SCB timeout: 0x70, 0x0, 0x50 0x400 fxp0: device timeout fxp0: SCB timeout: 0x70, 0x0, 0x50 0x400 device_printf(sc->dev, "SCB timeout: 0x%x, 0x%x, 0x%x 0x%x\n", CSR_READ_1(sc, FXP_CSR_SCB_COMMAND), CSR_READ_1(sc, FXP_CSR_SCB_STATACK), CSR_READ_1(sc, FXP_CSR_SCB_RUSCUS), CSR_READ_2(sc, FXP_CSR_FLOWCONTROL)); } =20 Mike Tancsa (mdtancsa@sentex.net) =09 Sentex Communications Corp, =09 Waterloo, Ontario, Canada "Given enough time, 100 monkeys on 100 routers=20 could setup a national IP network." (KDW2) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message