From owner-freebsd-bugs Sun Jan 9 12: 2:35 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from news.IAEhv.nl (news.IAE.nl [194.151.64.4]) by hub.freebsd.org (Postfix) with ESMTP id 7926414F38 for ; Sun, 9 Jan 2000 12:02:26 -0800 (PST) (envelope-from Arjan.deVet@adv.iae.nl) Received: (from uucp@localhost) by news.IAEhv.nl (8.9.1/8.9.1) with IAEhv.nl id VAA20660; Sun, 9 Jan 2000 21:02:25 +0100 (MET) Received: by adv.iae.nl (Postfix, from userid 100) id 65FC122C8; Sun, 9 Jan 2000 21:02:13 +0100 (CET) Date: Sun, 9 Jan 2000 21:02:13 +0100 To: Bill Paul Cc: bugs@freebsd.org Subject: Re: kern/15986: xl ethernet interface hanging Message-ID: <20000109210213.A618@adv.iae.nl> References: <20000109123830.A418@adv.iae.nl> <200001091836.NAA17896@skynet.ctr.columbia.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <200001091836.NAA17896@skynet.ctr.columbia.edu>; from wpaul@skynet.ctr.columbia.edu on Sun, Jan 09, 2000 at 01:36:46PM -0500 From: Arjan.deVet@adv.iae.nl (Arjan de Vet) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Bill Paul wrote: >> Full dmesg output: > >> da0: Fixed Direct Access SCSI-2 device >> da0: 10.000MB/s transfers (10.000MHz, offset 8), Tagged Queueing Enabled >> da0: 4101MB (8399520 512 byte sectors: 255H 63S/T 522C) > >Gaah... I hate these disks. Hate them. They're evil. But that's >another matter. I'm not a big fan either but I got it for free... They can make some awful noises now and then which makes you look into /etc/dumpdates immediately. >Actually, you can use another card. Look at >http://www.freebsd.org/~wpaul/mac.tar.gz. It contains a small loadable >syscall KLD module and a utility that lets you set the MAC address >on any interface. Unpack it, then do this: Thanks, this works on the ed0 interface I just tested it on. >What you can try for me is this: > > if (sc->xl_miibus == NULL) { > CSR_WRITE_2(sc, XL_COMMAND, XL_CMD_RX_RESET); > xl_wait(sc); > } > >This should restrict the extra reset to the 10mbps only cards, which >should be safe since NWAY autonegotiation isn't used. This patch works for me. Thanks, Arjan -- Arjan de Vet, Eindhoven, The Netherlands URL: http://www.iae.nl/users/devet/ for PGP key: finger devet@iae.nl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message