From owner-freebsd-questions Thu Nov 2 5:30:37 2000 Delivered-To: freebsd-questions@freebsd.org Received: from relay3.mail.uk.psi.net (relay3.mail.uk.psi.net [154.32.109.6]) by hub.freebsd.org (Postfix) with ESMTP id 966D137B479 for ; Thu, 2 Nov 2000 05:30:34 -0800 (PST) Received: from mail.plasmon.co.uk ([193.115.5.217]) by relay3.mail.uk.psi.net with smtp (Exim 2.12 #2) id 13rKRt-0007W5-00 for freebsd-questions@freebsd.org; Thu, 2 Nov 2000 13:30:33 +0000 Received: from virgo.software.plasmon ([193.115.4.42]) by mail.plasmon.co.uk (Lotus SMTP MTA v4.6.4 (830.2 3-23-1999)) with SMTP id 8025698B.004A5C15; Thu, 2 Nov 2000 13:32:12 +0000 Received: from mail by virgo.software.plasmon with local-esmtp (Exim 2.12 #1) id 13rKLn-000Jey-00 (FreeBSD); Thu, 2 Nov 2000 13:24:15 +0000 Received: from dobbo by penfold.software.plasmon with local (Exim 3.12 #1) id 13rKLn-0002bT-00 (Debian); Thu, 02 Nov 2000 13:24:15 +0000 Date: Thu, 2 Nov 2000 13:24:14 +0000 From: Steve Dobson To: freebsd-questions@freebsd.org Subject: Serial device busy Message-ID: <20001102132414.A10001@penfold.software.plasmon> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Experts I have a FreeBSD 4.1 installation to which I am trying to port one an application we had working on 3.0. When it tries to open /dev/cuaa0 is errors with Device busy. But there is very little running # ps auxw USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND root 2664 0.0 0.2 400 228 p0 R+ 2:28PM 0:00.00 ps auxw root 1 0.0 0.2 456 200 ?? ILs Wed11AM 0:00.01 /sbin/init -- root 2 0.0 0.0 0 0 ?? DL Wed11AM 0:05.09 (pagedaemon) root 3 0.0 0.0 0 0 ?? DL Wed11AM 0:00.00 (vmdaemon) root 4 0.0 0.0 0 0 ?? DL Wed11AM 0:02.67 (bufdaemon) root 5 0.0 0.0 0 0 ?? DL Wed11AM 0:13.54 (syncer) root 110 0.0 0.4 904 556 ?? Ss Wed11AM 0:00.72 syslogd -s daemon 113 0.0 0.4 924 544 ?? Is Wed11AM 0:00.01 /usr/sbin/portmap root 132 0.0 0.5 1028 648 ?? Is Wed11AM 0:00.04 inetd -wW root 134 0.0 0.5 948 596 ?? Ss Wed11AM 0:00.89 cron root 137 0.0 0.7 1424 932 ?? Ss Wed11AM 0:00.88 sendmail: accepting connections on port 25 (sendmail) root 140 0.0 0.5 952 592 ?? Ss Wed11AM 0:01.33 rlogind dobbo 141 0.0 0.6 1048 728 p0 Is Wed11AM 0:00.64 -bash (bash) root 2292 0.0 0.7 1384 936 p0 I 11:18AM 0:00.12 -su (csh) root 2296 0.0 0.6 1044 736 p0 S 11:18AM 0:00.21 bash root 2298 0.0 0.5 952 632 ?? Is 11:19AM 0:00.24 rlogind dobbo 2299 0.0 0.6 1048 732 p1 Is+ 11:19AM 0:00.41 -bash (bash) root 2315 0.0 2.3 6816 2940 p0 S 11:21AM 0:00.30 /usr/local/ORBacus/bin/nameserv -i root 0 0.0 0.0 0 0 ?? DLs Wed11AM 0:00.09 (swapper) What has grabbed the serial port? I don't see any gettys that might be using it. Steve -- Steve Dobson E-mail: sdobson@allstor-sw.com Unix Architect Tel (Direct): +44 1763 264441 Allstor Software Ltd. (R'tion): +44 1763 262963 Whiting Way Fax: +44 1763 264444 Melbourn, Herts, UK SG8 6EN To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message