Bug? ISDN stops working with 2.2.5ac2

Mikko Hyvarinen (morphy@iki.fi)
Tue, 06 Apr 1999 09:33:17 +0300


Hello everyone.

This has been bugging me for a couple of days and as I can't figure it
out myself and post a patch, I ask for your help.

Something between 2.2.5 and 2.2.5ac2 stops ISDN syncPPP connections from
working correctly.

Here is a log transcript of a session with 2.2.5 (a few bits of
information have been masked with the letter 'X' for privacy/paranoia
reasons) where everything works as expected:

Apr 6 08:33:31 morphy kernel: ippp0: dialing 0 XXXXXXX...
Apr 6 08:33:32 morphy kernel: isdn_net: ippp0 connected
Apr 6 08:33:32 morphy ipppd[193]: Local number: XXXXXXX, Remote number:
XXXXXXX, Type: outgoing
Apr 6 08:33:32 morphy ipppd[193]: PHASE_WAIT -> PHASE_ESTABLISHED,
ifunit: 0, linkunit: 0, fd: 6
Apr 6 08:33:32 morphy ipppd[193]: Remote message:
Apr 6 08:33:32 morphy ipppd[193]: MPPP negotiation, He: No We: No
Apr 6 08:33:32 morphy ipppd[193]: local IP address XXX.XXX.XXX.XXX
Apr 6 08:33:32 morphy ipppd[193]: remote IP address XXX.XXX.XXX.XXX
Apr 6 08:33:32 morphy ipppd[193]: Unsupported protocol 'Compression
Control Protocol' (0x80fd) received
Apr 6 08:38:22 morphy ipppd[193]: Modem hangup
Apr 6 08:38:22 morphy ipppd[193]: Connection terminated.
Apr 6 08:38:22 morphy ipppd[193]: taking down PHASE_DEAD link 0,
linkunit: 0
Apr 6 08:38:22 morphy ipppd[193]: LCP is down
Apr 6 08:38:22 morphy ipppd[193]: closing fd 6 from unit 0
Apr 6 08:38:22 morphy ipppd[193]: link 0 closed , linkunit: 0
Apr 6 08:38:22 morphy ipppd[193]: reinit_unit: 0
Apr 6 08:38:22 morphy ipppd[193]: Connect[0]: /dev/ippp0, fd: 6
Apr 6 08:38:22 morphy kernel: isdn_net: local hangup ippp0
Apr 6 08:38:22 morphy kernel: ippp0: Chargesum is 0

And here's a transcript of a failed session with 2.2.5ac2 and the same
settings:

Apr 4 18:13:43 morphy kernel: ippp0: dialing 0 XXXXXXX...
Apr 4 18:13:44 morphy kernel: lltrans_handler unknown primitive 57
Apr 4 18:13:44 morphy ipppd[2727]: Local number: XXXXXXX, Remote
number: XXXXXXX, Type: outgoing
Apr 4 18:13:44 morphy ipppd[2727]: PHASE_WAIT -> PHASE_ESTABLISHED,
ifunit: 0, linkunit: 0, fd: 7
Apr 4 18:13:44 morphy kernel: isdn_net: ippp0 connected
Apr 4 18:13:44 morphy ipppd[2727]: Remote message:
Apr 4 18:13:44 morphy ipppd[2727]: MPPP negotiation, He: No We: No
Apr 4 18:13:44 morphy ipppd[2727]: CCP enabled! Trying CCP.
Apr 4 18:13:44 morphy ipppd[2727]: CCP: got ccp-unit 0 for link 0
(protocol: 0x80fd)
Apr 4 18:13:44 morphy ipppd[2727]: ccp_resetci!
Apr 4 18:13:44 morphy ipppd[2727]: Kernel check for LZS failed
Apr 4 18:13:44 morphy ipppd[2727]: local IP address XXX.XXX.XXX.XXX
Apr 4 18:13:44 morphy ipppd[2727]: remote IP address XXX.XXX.XXX.XXX
Apr 4 18:13:44 morphy ipppd[2727]: ioctl(SIOCADDRT) device route
(ippp0/YYY.YYY.YYY.YYY/ff000000): Network is down
Apr 4 18:13:44 morphy ipppd[2727]: ccp_resetci!
Apr 4 18:13:44 morphy ipppd[2727]: Kernel check for LZS failed
Apr 4 18:14:22 morphy ipppd[2727]: Modem hangup
Apr 4 18:14:22 morphy ipppd[2727]: Connection terminated.
Apr 4 18:14:22 morphy ipppd[2727]: taking down PHASE_DEAD link 0,
linkunit: 0
Apr 4 18:14:22 morphy ipppd[2727]: closing fd 7 from unit 0
Apr 4 18:14:22 morphy ipppd[2727]: link 0 closed , linkunit: 0
Apr 4 18:14:22 morphy ipppd[2727]: reinit_unit: 0
Apr 4 18:14:22 morphy ipppd[2727]: Connect[0]: /dev/ippp0, fd: 7
Apr 4 18:14:22 morphy kernel: isdn_net: local hangup ippp0
Apr 4 18:14:22 morphy kernel: ippp0: Chargesum is 0

The YYY.YYY.YYY.YYY part in the above transcript is the IP network of my
provider. It is correct, as are the negotiated IP addresses, which leads
me to believe that there is nothing wrong with the PPP negotiation.

Even if I run "ifconfig ippp0 up" and set up the routes manually, no
data is transferred via the interface (/proc/net/dev shows no change in
packet counts).

A description of my settings:
- ELSA QuickStep 1000-pro PCI ISDN card
- isdn4k-utils 3.0b2 from ftp.franken.de
- ipppd from the above package, configured with:
/dev/ippp0
defaultroute
lock
noipdefault
noccp
debug
-chap
-proxyarp
mtu 576
mru 576

The only thing changing between the tests is the kernel version. The
kernels have been configured with the same options. The ipppd settings
have worked for me with 2.0.3[5-6] and 2.2.[1-5] but with ac2 they stop
working. I have not had the time to test ac1 yet and probably will not
until later this week.

-- 
Mikko Hyvärinen, morphy@nojunk@iki.fi
Legalese: My opinions are mine and I speak only for myself.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/