Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Sep 1997 09:00:39 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        cfortin@ec.camitel.com, freebsd-bugs@FreeBSD.ORG
Cc:        support@cyclades.com
Subject:   Re: Bug with Cyclade serial board and TUN.
Message-ID:  <199709032300.JAA11206@godzilla.zeta.org.au>

index | next in thread | raw e-mail

>We have problem with the Cylcom 16Ye ISA serial board with DB25 boxe and TUN.
>It work fine in the FreeBSD 2.2-GAMMA version.

I don't know what was in 2.2-GAMMA - it wasn't tagged :-(.

>But with 2.2.2 and 2.2-970618-RELENG it not work.
>When I use the Cyclade in terminal mode, everything work fine.
>When I use with pppd it work fine also.
>
>But when I use it with TUN, we have a proble,:
>The first time, we can connect in TUN.
>When I hangup, the modem also hangup but the ppp process stay active in memory.
>When I retry to connect on the modem, the modem answer but never give the login 
>prompt.   Because the process has not been killed by the hangup.

The cy driver in early versions of 2.2 had buggy carrier detect handling,
mainly involving CLOCAL mode.  Apparently ppp depended on these bugs.
CLOCAL mode prevents normal hangup processing (of killing the process group
and returning end of file for subsequent reads).  In terminal mode, CLOCAL
is usually not set and processes get killed by hangups.  Similarly for
pppd in its default "modem" mode.  OTOH, ppp sets CLOCAL and depends on
polling the carrier status using TIOCMGET.  This polling used to be broken.

>I have aplied the latest CVS sup, the problem is still there.
>
>I think the problem is in the Cyclom driver.
>...
>If I want to run in TUN, I must replace the standard TUN by the
> old 2.2-GAMMA TUN on my FreeBSD 2.2-970618-RELENG.

I think the problem is in ppp :-).

Bruce


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709032300.JAA11206>