Date: Fri, 17 Sep 2004 09:38:46 -0400 (EDT) From: Robert Watson <rwatson@freebsd.org> To: "Raphael H. Becker" <rabe@p-i-n.com> Cc: freebsd-current@freebsd.org Subject: Re: de0 doze off Message-ID: <Pine.NEB.3.96L.1040917093737.33867D-100000@fledge.watson.org> In-Reply-To: <20040917065926.D55054@p-i-n.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <full-duplex>) > status: active > > de0: <Digital 21140A Fast Ethernet> 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" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1040917093737.33867D-100000>