1 Dec 19:18
Re: No packets get through after a while
James Carlson <carlsonj <at> workingcode.com>
2007-12-01 18:18:19 GMT
2007-12-01 18:18:19 GMT
Robert Voigt writes:
> I have a ppp connection from an embedded board with Fedora 7 (ppp 2.4.4,
> stock kernel-2.6.21) over null modem cable to a FC6 PC (ppp 2.4.4,
> kernel 2.6.18). I'm pinging from the board to the PC. After a while, it
> can be a few minutes or several hours, no packets from ping or anything
> else get through. It works again when I restart pppd on the board.
That sounds a lot like a flow control bug. Have you tried running
without flow control enabled?
Do you have access to a serial line analyzer?
> The only thing I notice is when I start pppd on the commandline, when it
> hangs and I Ctrl-C it, it does not return. On the second Ctrl-C it says:
> tcsetattr: Interrupted system call (line 1001)
> It returns on the third Ctrl-C.
Ioctls that hang in the driver are, in my experience, typically the
result of flow control problems.
> I have tried a debug version of ppp 2.4.4. When it hangs the backtrace
> shows the last line in ppp code is sys-linux.c:1051
> void wait_input(struct timeval *timo)
> {
> ...
> n = select(max_in_fd + 1, &ready, NULL, &exc, timo);
> ...
> }
That's the normal idle loop for pppd. It _should_ be there while it's
(Continue reading)
RSS Feed