From owner-freebsd-questions Tue Jul 29 14:10:54 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id OAA13161 for questions-outgoing; Tue, 29 Jul 1997 14:10:54 -0700 (PDT) Received: from zafu.bbn.com (ZAFU.BBN.COM [192.1.50.38]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA13156 for ; Tue, 29 Jul 1997 14:10:52 -0700 (PDT) Received: from bbn.com (DROCKWELL.BBN.COM [128.89.31.139]) by zafu.bbn.com (8.7.5/8.6.5) with ESMTP id RAA12348; Tue, 29 Jul 1997 17:10:42 -0400 (EDT) Message-Id: <199707292110.RAA12348@zafu.bbn.com> To: spork cc: questions@freebsd.org, David Greenman Subject: Re: de0 problem 2.2-STABLE In-reply-to: Message from spork . X-face: &R'hN{mZu#r@8b_JU\bn"!fYpP{?5k4p/(|]?.2'6;>Dc9}~t*vY=/#-:"63ya.%)%o`Kv$ u&'Ff5k&n[}QC;j7YYsR5Hl]G"E:*9Zmw;dx[sw&9Tmx_PB/7B`RdFW;#@49hJU&kW+J"<[`9^?.dQ 3]L$zK,4'=tThX$wC!M\`e*@1y Date: Tue, 29 Jul 1997 17:10:39 -0400 From: Dennis Rockwell Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On 28 Jul, spork wrote: > de0 rev 32 int a irq 12 on pci0:10 > de0: DE500-AA 21140A [10-100Mb/s] pass 2.0 > de0: address 00:00:f8:03:66:e9 > > It seems to work fine, unless I unplug the cable. At that point it logs > the message "de0: link down: cable problem?" > > I can "ifconfig de0 up" and bring it back, but that would be inconvenient > if I weren't at the console ;) I'm also responding to later messages about the link staying down. We have a bunch of those cards, too, and it appears that the driver marks the i/f down without telling the ethernet common code about it. For instance, I get the same message, but "ifconfig de0" still shows UP. If I "ifconfig de0 down; ifconfig de0 up" the link comes back up, and all is well. I haven't checked out the FreeBSD sources, but other Unices I've worked on shortstop the ioctl at the "ether" level if the apparent state doesn't change. Give down/up a shot before you give up on these cards. I agree that it would be nice if the driver would notice that the link came back up! Does it need to probe? Dennis Rockwell dennis@bbn.com Bolt Beranek & Newman Systems & Technologies +1-617-873-5745 Cambridge, MA +1-617-873-6091 (Fax)