Thanks for your response. I wonder if I misunderstand
your advice. When looking at the if_rl.c (dated Dec
14), there's already a timer attached to
ifp->if_watchdog. Is this the timer you referred to?
If so, it looks like this timer never called by the
driver in my case as I never saw "watchdog timeout"
--- Terry Lambert <[EMAIL PROTECTED]> wrote:
> Shizuka Kudo wrote:
> > Is anyone still seeing the "No buffer space
> > message in 5.0-CURRENT? I have checked the mail
> > archieve and saw several replies, but none worked
> > my case.
> > I have a Thinkpad 600X with a Melco cardbus 10/100
> > ethernet card (a Realtek 8139B) running 5.0
> > kernel with NMBCLUSTERS=16384.
> > "No buffer space available" occurred when I tried
> > ftp a file in my Thinkpad from other client.
> > rl0 down" and then "ifconfig rl0 up" resumed the
> > operation for awhile until the error happened
> > Setting media to 10baseT/UTP did not suffer from
> > error and got about 900Kbytes/s throughput.
> > Would that be a bug in the driver that ftp server
> > delivering too much traffic to the NIC? Any
> > that I can try?
> That downing and reupping it worked indicates that
> are losing a transmit interrupt draining the write
> I'm pretty sure that this has to be related to the
> of "interrupt threads" in -current, as I do not have
> problem with the 8139B's I have, with an older,
> version of FreeBSD.
> The downing and reupping it resets the card (this is
> intentional side effect, designed to make Tigon II
> suck^W^W^W^W^Wallow recovery from a hosed driver
> people would rather hack around than
> which should never happen in practice).
> The "normal" workaround for this is to have a
> "watchdog" timer that resets the card when it loses
> mind like this (transmit interrupt pending, no
> interrupt seen for timeout period). You could add
> code the the RealTek driver pretty easily, using the
> II or another driver as a template, if you wanted to
> around the problem instead of actually fixing
> -- Terry
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions!
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message