Re: pppd fails when init connection with kernel 2-6-28.10

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

 



Adding traces to pppd all I can see is a warning in pppd/main.c

pppdb = tdb_open(_PATH_PPPDB, 0, 0, O_RDWR|O_CREAT, 0644);
Warning: couldn't open ppp database /var/run/ppp/pppd2.tdb

Although the file exists in the file system:

# ls -l /var/run/ppp/
-rw-r--r--    1         0 pppd2.tdb

And the error getting the channel with ioctl in pppd/sys_linux.c in function generic_establish_ppp:

if (ioctl(fd, PPPIOCGCHAN, &chindex) == -1) {
	    error("Couldn't get channel %d from %d",chindex,fd );
	    goto err;
	}

But I don't know if this error is causing the signal or only an effect of the signal,

Thank you in advance,

Sonia



--- El mar, 6/4/10, Charlie Brady <charlieb-linux-ppp@xxxxxxxxxxxxxxxxxx> escribió:

> De: Charlie Brady <charlieb-linux-ppp@xxxxxxxxxxxxxxxxxx>
> Asunto: Re: pppd fails when init connection with kernel 2-6-28.10
> Para: "Sonia Martinez" <xonia10@xxxxxxxx>
> CC: linux-ppp@xxxxxxxxxxxxxxx
> Fecha: martes, 6 de abril, 2010 18:47
> 
> On Tue, 6 Apr 2010, Sonia Martinez wrote:
> 
> > I was using linux kernel 2.6.22 with pppd 2.4.4 in an
> embedded hardware
> > (powerpc architecture) with a GPRS serial module. I
> was able to make a GPRS
> > connection, but now I've upgraded kernel version to
> 2-6-28.10 and pppd to
> > 2.4.5 and it doesn't work. These are the log messages
> after sending the
> > ATD*99***1# command, when pppd is started:
> >
> > 2000/03/21,18:51:26  daemon.warn pppd[772]:
> Warning: couldn't open ppp
> > database /var/run/ppp/pppd2.tdb
> > 2000/03/21,18:51:26 daemon.notice pppd[772]: pppd
> 2.4.5 started by root, uid
> > 0
> > 2000/03/21,18:51:26 daemon.err pppd[773]: Fatal signal
> 11
> > 2000/03/21,18:51:26 daemon.info pppd[773]: Exit.
> ...
> >
> > Has somebody the same problem with this kernel? I've
> tested the 2.4.4 and
> > has the same problem, so I guess is the kernel
> version.
> 
> http://en.wikipedia.org/wiki/Signal_11
> 
> The problem is not the kernel - you either have faulty
> hardware, or a bug 
> in pppd, or in one of the libraries it uses (or in the
> compiler you are 
> using).
> 


      
--
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Audio Users]     [Linux for Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Fedora Users]

  Powered by Linux