From nobody@FreeBSD.org  Fri Jan 26 00:18:28 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 5289316A408
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 26 Jan 2007 00:18:28 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id 36D2613C468
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 26 Jan 2007 00:18:28 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l0Q0ISU5041773
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 26 Jan 2007 00:18:28 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l0Q0ISMo041772;
	Fri, 26 Jan 2007 00:18:28 GMT
	(envelope-from nobody)
Message-Id: <200701260018.l0Q0ISMo041772@www.freebsd.org>
Date: Fri, 26 Jan 2007 00:18:28 GMT
From: Juan Fco Rodriguez<juan.fco.rodriguez@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: lpt0: device busy with HP 710c parallel printer
X-Send-Pr-Version: www-3.0

>Number:         108361
>Category:       kern
>Synopsis:       [lpt] lpt0: device busy with HP 710c parallel printer
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 26 00:20:08 GMT 2007
>Closed-Date:    
>Last-Modified:  Fri Jan 26 13:45:09 GMT 2007
>Originator:     Juan Fco Rodriguez
>Release:        FreeBSD-6.2-RELEASE
>Organization:
Home
>Environment:
FreeBSD juanillo.no-ip.info 6.2-RELEASE FreeBSD 6.2-RELEASE #2: Tue Jan 16 09:08:07 CET 2007     jrh@juanillo.no-ip.info:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
root@juanillo:/home/jrh$ lptest > /dev/lpt0
su: /dev/lpt0: Device busy

root@juanillo:/home/jrh$ ls -la /dev/lpt0
crw-rw----  1 root  cups    0,  37 Jan 26 00:13 /dev/lpt0


dmesg output follows:

Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-RELEASE #2: Tue Jan 16 09:08:07 CET 2007
    jrh@juanillo.no-ip.info:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Pentium/P55C (199.43-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x543  Stepping = 3
  Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
real memory  = 536870912 (512 MB)
avail memory = 515956736 (492 MB)
Intel Pentium detected, installing workaround for F00F bug
kbd1 at kbdmux0
ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
cpu0 on motherboard
pcib0: <Host to PCI bridge> pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX3 WDMA2 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff80-0xff8f at device 7.1 on
 pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
uhci0: <Intel 82371SB (PIIX3) USB controller> port 0xff40-0xff5f irq 10 at device 7.2 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82371SB (PIIX3) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: <display, VGA> at device 14.0 (no driver attached)
rl0: <RealTek 8139 10/100BaseTX> port 0xf800-0xf8ff mem 0xffbef800-0xffbef8ff irq 9 at device 15.0 on pci0
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:e0:4c:a0:f5:24
atapci1: <ITE IT8212F UDMA133 controller> port 0xfff0-0xfff7,0xffe4-0xffe7,0xffa8-0xffaf,0xffe0-0xffe3,0xff90-0
xff9f irq 10 at device 16.0 on pci0
ata2: <ATA channel 0> on atapci1
ata3: <ATA channel 1> on atapci1
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xea000-0xebfff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
ppbus0: IEEE1284 device found /NIBBLE/ECP
Probing for PnP devices on ppbus0:
ppbus0: <HEWLETT-PACKARD DESKJET 710C> SCP,VLINK
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0c01> can't assign resources (memory)
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0400> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
RTC BIOS diagnostic error 4<invalid_time>
Timecounter "TSC" frequency 199433269 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 38166MB <Seagate ST340810A 3.99> at ata0-master WDMA2
acd0: CDRW <NEC NR-7500A/1.20> at ata1-master PIO4
Trying to mount root from ufs:/dev/ad0s4a
ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding disabled, default to deny, logging disabled

>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
