From owner-freebsd-questions Fri May 11 2:39:40 2001 Delivered-To: freebsd-questions@freebsd.org Received: from raven.ravenbrook.com (raven.ravenbrook.com [193.82.131.18]) by hub.freebsd.org (Postfix) with ESMTP id 66D8137B424 for ; Fri, 11 May 2001 02:39:34 -0700 (PDT) (envelope-from nb@ravenbrook.com) Received: from thrush.ravenbrook.com (thrush.ravenbrook.com [193.112.141.249]) by raven.ravenbrook.com (8.9.3/8.9.3) with ESMTP id KAA03863 for ; Fri, 11 May 2001 10:39:31 +0100 (BST) Received: from thrush.ravenbrook.com (localhost [127.0.0.1]) by thrush.ravenbrook.com (8.11.3/8.11.2) with ESMTP id f4B9dV602892 for ; Fri, 11 May 2001 10:39:31 +0100 (BST) (envelope-from nb@thrush.ravenbrook.com) From: Nick Barnes To: freebsd-questions@freebsd.org Subject: Cyclades serial devices busy Date: Fri, 11 May 2001 10:39:30 +0100 Message-ID: <2890.989573970@thrush.ravenbrook.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am running 3.3-RELEASE on a machine acting as a RAS, with a 16-port Cyclades serial box and a bunch of modems. Sometimes after a power-cycle, one or more of the serial devices appears as "busy". I can't cu to them or run comcontrol on them, and coming in through the modem I don't get a login prompt even though the getty is running. Something somewhere in the system has got the device and won't relinquish it. There doesn't seem to be any way of reclaiming it apart from rebooting. Today I had an example of this on ttyc01/cuac01. Trying to track down the culprit I turned off the getty (in /etc/ttys, then kill -1 1). So in theory at that point nothing in the system is interested in that serial port. But I was still getting this kind of thing: > # comcontrol /dev/cuac01 > comcontrol: couldn't open file /dev/cuac01: Device busy > # cu -l /dev/cuac01 -s 57600 > cu: open (/dev/cuac01): Permission denied > cu: /dev/cuac01: Line in use Any ideas? I've had this before on regular serial lines as well, but the Cyclades lines seem more prone to it. Nick B To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message