de0 doze off

Robert Watson rwatson at
Fri Sep 17 06:39:12 PDT 2004

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

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

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert at      Principal Research Scientist, McAfee Research

> de0: flags=108843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         inet netmask 0xffffff00 broadcast
>         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: 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: )
> Any idea?
> Regards
> Raphael Becker
> _______________________________________________
> freebsd-current at mailing list
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at"

More information about the freebsd-current mailing list