Re: 2.1.119, pppd 2.3.5, serial problem

Romano Giannetti (romano@sirio.iet.unipi.it)
Mon, 31 Aug 1998 15:50:19 +0200


On Mon, Aug 31, 1998 at 10:58:14AM +1000, Keith Owens wrote:
> 2.1.119, SMP, pppd 2.3.5. PPP will connect first time, kill -1 pppd,
> try to reconnect. On the second time it hangs on open of ttyS1 in
> 'stty sane < /dev/ttyS1'. Using cua1 (even though cua is obsolete)
> works. Powering the external modem on and off makes no difference.

Same here (more or less. 2.1.119, ppp 2.3.5, UP on 486).
/dev/ttyS2 is the modem, /dev/ttyS1 is an unconnected internal serial:

[root@sirio archivio]# setserial /dev/ttyS1
/dev/ttyS1, UART: 16450, Port: 0x02f8, IRQ: 3
[root@sirio archivio]# setserial /dev/ttyS2
/dev/ttyS2, UART: 16450, Port: 0x03e8, IRQ: 5
[root@sirio archivio]# stty sane < /dev/ttyS1

This is ok. Moreover:

[root@sirio archivio]# stty sane < /dev/cua1
gives the warning (using obsolete etc)

But:

[root@sirio archivio]# stty sane < /dev/ttyS2

hangs forever (well, >= 60 sec). And

[root@sirio archivio]# stty sane < /dev/cua2

works with _no_ warnings. (???)

If I can help debugging, please tell me how.
Bye,
Romano

-- 
-----------------------------------------------------------------------
|Dr. Romano Giannetti   | Electronic Engineer | From: address may be  |
|romano @ iet.unipi.it  | University of Pisa  | mangled to avoid spam.|
-----------------------------------------------------------------------

- 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.altern.org/andrebalsa/doc/lkml-faq.html