From owner-freebsd-questions Wed Jun 7 13:37:44 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id NAA05217 for questions-outgoing; Wed, 7 Jun 1995 13:37:44 -0700 Received: from gold.tc.umn.edu (root@gold.tc.umn.edu [128.101.115.11]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id NAA05211 for ; Wed, 7 Jun 1995 13:37:42 -0700 Received: by gold.tc.umn.edu; Wed, 7 Jun 95 15:37:30 -0500 Date: Wed, 7 Jun 1995 15:37:29 -0500 (CDT) From: Jan E Backlund Subject: lpt0 troubles [second post] To: freebsd-questions@FreeBSD.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: questions-owner@FreeBSD.org Precedence: bulk I can't get lpt0 going. I am running 2.0.5-ALPHA with a VESA local bus all-in-one controller board (hard disk, floppy disk, parralel port, serial ports). I recompiled the kernel in order to get rid of the extraneous device drivers. Here is the output from dmesg: FreeBSD 2.0.5-ALPHA #0: Tue Jun 6 21:31:07 1995 jeb@sacc.agoff.umn.edu:/usr/src/sys/compile/MINE CPU: i486 DX (486-class CPU) Origin = "GenuineIntel" Id = 0x415 Stepping=5 Features=0x3 real memory = 16384000 (4000 pages) avail memory = 15085568 (3683 pages) Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> ed0 at 0x280-0x29f irq 5 maddr 0xd8000 msize 16384 on isa ed0: address 00:00:c0:6d:c7:80, type WD8013WC (16 bit) sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16450 sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16450 lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: NEC 765 fd0: 1.2MB 5.25in fd1: 1.44MB 3.5in wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): wd0: 240MB (492250 sectors), 895 cyls, 10 heads, 55 S/T, 512 B/S wdc0: unit 1 (wd1): wd1: 814MB (1667232 sectors), 1654 cyls, 16 heads, 63 S/T, 512 B/S npx0 on motherboard npx0: INT 16 interface When, as root, I type the command 'cat /etc/printcap > /dev/lpt0' , I get the message "device busy". The same hardware works with Linux and Dos. I would very much appreciate a pointer on how to proceed with trouble-shooting this problem. Jan Erik back0003@gold.tc.umn.edu