<br><br><div><span class="gmail_quote">On 6/20/07, <b class="gmail_sendername">Eric Norum</b> <<a href="mailto:email@example.com">firstname.lastname@example.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
The original intent of the Internet was to be able to get data<br>through even in the event of a nuclear attack. Allowing a minute for<br>a damaged connection to be cleared or routed around is quite<br>reasonable under those circumstances. What is your need to detect a
<br>disconnected cable that quickly?</blockquote><div><br>Because the packets send before the drivers detect disconnection, appear to be properly transmitted at application layer, but they weren't.<br><br>I'm going to enable network driver debug, and see what happens.
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Jun 20, 2007, at 11:26 AM, Joel Sherrill wrote:<br><br>> Camilo Alejandro Arboleda wrote:
<br>>> Hello,<br>>><br>>> We working with a PC386 based board, with NE2000 compatible network<br>>> adapter. I've seen that disconnecting the network cable doesn't cause<br>>> the "write()" function to fail immediately, but it takes about a
<br>>> minute to detect the network disconnection. Is it possible to detect<br>>> cable faults faster? Am I doing something wrong?<br>><br>> Did you turn on debug in the driver and try it?<br>><br>> Is there any output at all from the driver now?
<br>><br>> I don't see anything explicitly in the driver about cable disconnect.<br>> I do see ne_watchdog which is hooked to if_watchdog. The<br>> associated if_timer value is 2 which I think is 2 seconds based
<br>> upon IFNET_SLOWHZ and hz being rtems_bsdnet_ticks_per_second.<br>> But this looks like a Tx timeout and is way shorter than what you<br>> are seeing.<br>><br><br>--<br>Eric Norum <<a href="mailto:email@example.com">
firstname.lastname@example.org</a>><br>Advanced Photon Source<br>Argonne National Laboratory<br>(630) 252-4793<br><br><br></blockquote></div><br><br clear="all"><br>-- <br>Algo mas sobre Camilo Alejandro?<br><a href="http://camiloaa.blogspot.com">