Linux PPP protocol development
 help / color / mirror / Atom feed
From: Sonia <xonia10@yahoo.es>
To: linux-ppp@vger.kernel.org
Subject: Re: pppd fails when init connection with kernel 2-6-28.10
Date: Thu, 08 Apr 2010 07:55:43 +0000	[thread overview]
Message-ID: <882110.69712.qm@web23105.mail.ird.yahoo.com> (raw)
In-Reply-To: <28152335.post@talk.nabble.com>

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@budge.apana.org.au> escribió:

> De: Charlie Brady <charlieb-linux-ppp@budge.apana.org.au>
> Asunto: Re: pppd fails when init connection with kernel 2-6-28.10
> Para: "Sonia Martinez" <xonia10@yahoo.es>
> CC: linux-ppp@vger.kernel.org
> 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).
> 


      

      parent reply	other threads:[~2010-04-08  7:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-06 14:08 pppd fails when init connection with kernel 2-6-28.10 Sonia Martinez
2010-04-06 16:47 ` Charlie Brady
2010-04-08  7:55 ` Sonia [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=882110.69712.qm@web23105.mail.ird.yahoo.com \
    --to=xonia10@yahoo.es \
    --cc=linux-ppp@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox