Re: dc TX underrun leads to delayed crash

From: Mike Silbersack (silby_at_silby.com)
Date: 07/31/03

  • Next message: Barney Wolff: "Re: Strange dial-up related DNS problems"
    Date: Wed, 30 Jul 2003 17:05:49 -0500 (CDT)
    To: peter.lai@uconn.edu
    
    

    On Wed, 30 Jul 2003, Peter C. Lai wrote:

    > I'm noticing on a moderately loaded system, that sometimes when the kernel
    > increases the TX threshold (/kernel: dc0: TX underrun -- increasing TX
    > threshold), a few minutes later, the system hardlocks requiring a reset.
    > This routinely happens when I'm streaming MP3s over the network and the box
    > suddenly hardlocks; after I go back to inspect the logs, the TX buffer underrun
    > is the only thing in the log before the start of the kernel reboot messages.
    > This is occuring on 4.8-STABLE as of July 7, 2003 on an AMD K6-2 500 with
    > 348 Mb RAM and VIA Apollo MVP3 chipset. When the lockups occur, the system
    > temperatures are below 40C, with little disk activity, moderate ram and cpu
    > usage; the NIC (linksys LNE-100TX A) is usually doing a steady 50K/s at this point.
    > --
    > Peter C. Lai

    Rev 1.9.2.47 of if_dc.c (committed July 14th) should fix this problem for
    you. MBUF_STRESS_TEST showed similar symptoms as mbuf chain lengths were
    increased, which is how I detected the problem.

    Try grabbing the new if_dc.c:

    http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/pci/if_dc.c?rev=1.9.2.47&content-type=text/plain

    And see how things go.

    Mike "Silby" Silbersack
    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"


  • Next message: Barney Wolff: "Re: Strange dial-up related DNS problems"

    Relevant Pages

    • hosts.allow and RFC931 - was: sshd warning---a lil help?
      ... On Tue, 9 Apr 2002, Peter C. Lai wrote: ... the rules regarding sshd - does this mean that sshd is not protected ... >> b - tried to authenticate via ssh login and succeeded? ...
      (FreeBSD-Security)
    • Re: unusual log in var/log/messages
      ... On Thu, 15 Nov 2001, Peter C. Lai wrote: ... > I have seen this continously when someone is trying to spoof a router. ...
      (FreeBSD-Security)
    • Re: dc TX underrun leads to delayed crash
      ... >> is the only thing in the log before the start of the kernel reboot messages. ... >> Peter C. Lai ... Yale University School of Medicine ...
      (freebsd-net)
    • Re: cvsup/install over ssh?
      ... Peter C. Lai wrote: ... >I'd rather advertise my box as FreeBSD and not Linux. ... My FeeeBSD systems saw lots and lots of rpc and other 'linux ...
      (FreeBSD-Security)