Skip to contentSkip to conversation

persist + tty is broken in 2.4.3

DISCUSSION Marco d'Itri 2 participants 2 messages May 4, 2005 PPP protocol drivers and compressors

lore
Share & tools
lore
#0 lore raw

Multiple users reported (Debian bugs #306820, #276550 and private reports) that ppp 2.4.3 breaks the persist option when used with a modem connection (I cannot reproduce the bug with my PPPoATM connection and I only received reports from modem users).
I believe that this may be related to the multilink changes, because CVS 20040428 still works.
Any help is welcome, because I do not know how to debug this.

These are the common failure modes:

Apr 23 11:18:07 saturn pppd[2233]: Connection terminated.
Apr 23 11:18:07 saturn pppd[2233]: tcflush failed: Bad file descriptor
Apr 23 11:18:07 saturn pppd[2233]: Modem hangup
Apr 23 11:18:17 saturn pppd[2233]: tcsetattr: Invalid argument (line 964)
Apr 23 11:18:18 saturn pppd[2233]: tcsetattr: Invalid argument (line 1003)
Apr 23 11:18:18 saturn pppd[2233]: Exit.
May  2 09:31:14 shed pppd[8131]: Starting link
May  2 09:31:14 shed pppd[8131]: tcgetattr: No such device or address (line 909)
May  2 09:31:15 shed pppd[8131]: tcsetattr: No such device or address (line 1003)
May  2 09:31:15 shed pppd[8131]: Exit.
Signature · 2 lines
ciao,
Marco
#1 lore raw

Marco d'Itri wrote:

[...]

Quoted 13 lines

I believe that this may be related to the multilink changes, because CVS 20040428 still works.
Any help is welcome, because I do not know how to debug this.

These are the common failure modes:

Apr 23 11:18:07 saturn pppd[2233]: Connection terminated.
Apr 23 11:18:07 saturn pppd[2233]: tcflush failed: Bad file descriptor
Apr 23 11:18:07 saturn pppd[2233]: Modem hangup
Apr 23 11:18:17 saturn pppd[2233]: tcsetattr: Invalid argument (line 964)
Apr 23 11:18:18 saturn pppd[2233]: tcsetattr: Invalid argument (line 1003)
Apr 23 11:18:18 saturn pppd[2233]: Exit.
Quoted 4 lines
May  2 09:31:14 shed pppd[8131]: Starting link
May  2 09:31:14 shed pppd[8131]: tcgetattr: No such device or address (line 909)
May  2 09:31:15 shed pppd[8131]: tcsetattr: No such device or address (line 1003)
May  2 09:31:15 shed pppd[8131]: Exit.

You may also find it informative (I hope so) to confront it with previous report about it here, with strace log included:

http://marc.theaimsgroup.com/?l=linux-ppp&m1165758709183&w=2

bye

Signature · 1 line
Jacek Kawa  **Jeste ze clovek nikdy nevi/co ho ceka... [Jarek Nohavica]**