[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: pppd hangs on SIGHUP




> -----Original Message-----
> From: James Carlson [mailto:carlsonj@xxxxxxxxxxxxxxx]
> Sent: Wednesday, January 20, 2010 6:26 AM
> To: Leslie Rhorer
> Cc: linux-ppp@xxxxxxxxxxxxxxx
> Subject: Re: pppd hangs on SIGHUP
> 
> Leslie Rhorer wrote:
> > nothing whatsoever.  The only way (of which I know) to release the
> terminal
> > (/cev/ttyACM0) is to send a SIGKILL.  After doing so, /dev/ttyACM0 is
> > released, and I can use a utility such as minicom to access the modem.
> I
> > can dial out and get a carrier.  I can see the ppp authentication
> request
> > from the ISP.  What I cannot do, however, is get pppd to come back up.
> If I
> > start pppd again, it opens the /dev/ttyACM0 device and creates the
> lockfile,
> > but it does not attempt to run chat or evidently do anything else other
> than
> > refresh the lockfile if it is stale.  My only option at that point is to
> 
> If you attach a debugger to it, can you find out where it's stuck?  (Or
> at least run "pstack `pgrep pppd`"?)
> 
> The symptoms sound like a kernel bug, but it's hard to tell.

I'm going to look at it with gdb on the next hang, but in the mean time,
here are some strace files I had generated automatically during a pair of
halts.  The first (ppptrace.tar) was generated at the time of a hang caused
by the online time reaching the limit (36000) specified by maxconnect.  The
second (ppptrace1.tar) was generated by a SIGHUP issued to the PID of pppd.

Attachment: ppptrace.tar
Description: Binary data

Attachment: ppptrace1.tar
Description: Binary data


[Linux Audio Users]     [Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite Photos]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linux Resources]     [Fedora Users]

Powered by Linux