From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 8 18:42:23 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4234337B401 for ; Tue, 8 Jul 2003 18:42:23 -0700 (PDT) Received: from falcon.mail.pas.earthlink.net (falcon.mail.pas.earthlink.net [207.217.120.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id A717A43F93 for ; Tue, 8 Jul 2003 18:42:22 -0700 (PDT) (envelope-from andrei@andruxa.sytes.net) Received: from h-68-164-89-164.snvacaid.covad.net ([68.164.89.164] helo=andruxa.sytes.net) by falcon.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 19a3yQ-0005RL-00 for freebsd-hackers@freebsd.org; Tue, 08 Jul 2003 18:42:22 -0700 Received: from andruxa.sytes.net (localhost [127.0.0.1]) by andruxa.sytes.net (8.12.9/8.12.6) with ESMTP id h691fxZh022414 for ; Tue, 8 Jul 2003 18:41:59 -0700 (PDT) (envelope-from andrei@andruxa.sytes.net) Received: (from andrei@localhost) by andruxa.sytes.net (8.12.9/8.12.9/Submit) id h691fswT022413 for freebsd-hackers@freebsd.org; Tue, 8 Jul 2003 18:41:54 -0700 (PDT) Date: Tue, 8 Jul 2003 18:41:53 -0700 From: Andrew Konstantinov To: freebsd-hackers@freebsd.org Message-ID: <20030709014153.GA5165@andruxa.sytes.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: lpt0 - device busy X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: abkonstantinov@earthlink.net List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jul 2003 01:42:23 -0000 Hello, I have a problem accessing lpt0 device node. Whenever I do 'echo "check" > /dev/lpt0' it responds with "/dev/lpt0: Device busy" but at the same time 'fstat' doesn't show that any application is currently using that device. I asked about this issue on #freebsd @ efnet and someone said that this behavior is caused by a bug in the code. It seems that I am not the only one who confronted this problem according to google. Is it really a bug or is it a problem with my system's configuration? I run FreeBSD 5.1 and my kernel is configured with ppc, ppbus, lpt, and ppi devices. Thank you in advance.