[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] lwip+gprs+ppp over serial
From: |
Sylvain Rochet |
Subject: |
Re: [lwip-users] lwip+gprs+ppp over serial |
Date: |
Tue, 21 Jun 2016 23:21:22 +0200 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
Hi,
On Tue, Jun 21, 2016 at 05:53:05PM +0200, Gennaro Zazo wrote:
>
> Attached the log, I apologize if it is rude. If you need to change the
> debug mask let me know.
The garbaged log probably means you are violating lwIP threading
constraints. You can notice that PPP negotiated up to a running session
in your log, which is quite a good news.
The pppos_input() function in lwIP 1.4.x is not thread safe, maybe
that's the issue. You could try setting PPP_INPROC_MULTITHREADED but the
name is misleading, that's only IRQ safe (i.e. safe with one way
preemption and different priority) but not thread safe.
Or better, you could try lwIP 2.0.0 Beta1, where the PPP stack was fully
reworked if not totally rewritten.
Sylvain
signature.asc
Description: Digital signature