Subject: kern/25110: i386 kernel dev/pci/if_sip update request
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <anthony_wyatt@hotmail.com>
List: netbsd-bugs
Date: 04/09/2004 07:18:39
>Number:         25110
>Category:       kern
>Synopsis:       i386 kernel dev/pci/if_sip update request
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 09 07:19:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Anthony Wyatt
>Release:        2.0 Beta
>Organization:
Ouroboros Pty Ltd
>Environment:
NetBSD name.here 2.0_BETA NetBSD 2.0_BETA (GENERIC) #0: Thu Apr  8 14:54:02 EST 2004  root@netdev:/usr/obj/sys/arch/i386/compile/G
ENERIC i386
>Description:
This is a follow up to report #13770 which details a user with the same problem as I have, and his solution.

In summary:

sending a large email with several attachments causes:
/netbsd sip0: transmit FIFO underrun.

I modified my dev/pci/if_sip.c as recommended by PR#13770 to:
sc->sc_tx_fill_thresh = 256/32; /* was 32/32 !!! this is the source of the problem */

And the problem was rectified.

Can this fix to commited to the 2.0 release kernel?

Thanks.
>How-To-Repeat:
I have the email in my inbox, all I have to do is send it and I get the sip0: transmit FIFO underruns.
>Fix:
Patch if_sip.c:

sc->sc_tx_fill_thresh = 256/32; /* was 32/32 !!! this is the source of the problem */

>Release-Note:
>Audit-Trail:
>Unformatted: