* pppd fails when init connection with kernel 2-6-28.10
@ 2010-04-06 14:08 Sonia Martinez
2010-04-06 16:47 ` Charlie Brady
2010-04-08 7:55 ` Sonia
0 siblings, 2 replies; 3+ messages in thread
From: Sonia Martinez @ 2010-04-06 14:08 UTC (permalink / raw)
To: linux-ppp
Hi all,
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.
2000/03/21,18:51:26 daemon.err pppd[772]: Couldn't get channe: Input/output
error
2000/03/21,18:51:26 daemon.debug pppd[772]: Script pppd (charshunt) finished
(pid 773), status = 0x7f
2000/03/21,18:51:26 daemon.info pppd[772]: Exit.
2000/03/21,18:51:26 user.err iod: process: The process 772 returned an
error: 1
The configuration file is:
notty
local
lock
debug
ipcp-accept-local
ipcp-accept-remote
noipdefault
novj
noccp
nopcomp
default-asyncmap
receive-all
ifname cell0
child-timeout 0
user "JOHN"
usepeerdns
defaultroute
lcp-echo-interval 30
lcp-echo-failure 2
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.
Thank you very much in advanced,
Best regards,
Sonia
--
View this message in context: http://old.nabble.com/pppd-fails-when-init-connection-with-kernel-2-6-28.10-tp28152335p28152335.html
Sent from the linux-ppp mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: pppd fails when init connection with kernel 2-6-28.10
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
1 sibling, 0 replies; 3+ messages in thread
From: Charlie Brady @ 2010-04-06 16:47 UTC (permalink / raw)
To: linux-ppp
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).
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: pppd fails when init connection with kernel 2-6-28.10
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
1 sibling, 0 replies; 3+ messages in thread
From: Sonia @ 2010-04-08 7:55 UTC (permalink / raw)
To: linux-ppp
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).
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-04-08 7:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.