From owner-freebsd-current@FreeBSD.ORG Fri Sep 17 13:39:12 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC15E16A4CE for ; Fri, 17 Sep 2004 13:39:12 +0000 (GMT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61AE143D55 for ; Fri, 17 Sep 2004 13:39:12 +0000 (GMT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.13.1/8.13.1) with ESMTP id i8HDck59057986; Fri, 17 Sep 2004 09:38:46 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)i8HDckZs057983; Fri, 17 Sep 2004 09:38:46 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Fri, 17 Sep 2004 09:38:46 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: "Raphael H. Becker" In-Reply-To: <20040917065926.D55054@p-i-n.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org Subject: Re: de0 doze off X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Sep 2004 13:39:12 -0000 On Fri, 17 Sep 2004, Raphael H. Becker wrote: > on one of my older boxes my D-Link ("tulip") card dozes off when > transfering some megabytes of data eg scp. > > When stalled, the interface can be brought back by "ifconfig down/up". > > The box is actually running BETA4/GENERIC from last night, this appeared > after BETA1 which was the last stable for this. If you set debug.mpsafenet=0 in loader.conf, does the problem go away? We might be looking at a race condition in the task queue handoff for IFF_NEEDSGIANT. Another possible testing avenue (which might be slightly unstable but would illustrate the point) would be to leave debug.mpsafenet=1, disable preemption, and remove the IFF_NEEDSGIANT flag from the if_de driver flags. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Principal Research Scientist, McAfee Research > > de0: flags=108843 mtu 1500 > inet 192.168.0.140 netmask 0xffffff00 broadcast 192.168.0.255 > inet6 fe80::280:c8ff:fe94:4436%de0 prefixlen 64 scopeid 0x1 > ether 00:80:c8:94:44:36 > media: Ethernet autoselect (100baseTX ) > status: active > > de0: port 0xc400-0xc47f mem 0xd7000000-0xd700007f irq 15 at device 13.0 on pci0 > de0: [GIANT-LOCKED] > de0: 21140A [10-100Mb/s] pass 2.2 > de0: Ethernet address: 00:80:c8:94:44:36 > de0: if_start running deferred for Giant > de0: enabling Full Duplex 100baseTX port > (see also: http://rhb.uugrn.org/FreeBSD/bugs/5.x/beastie_de0/beastie.dmesg ) > > Any idea? > > Regards > Raphael Becker > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >