*BSD News Article 90670


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!goanna.cs.rmit.edu.au!news.apana.org.au!cantor.edge.net.au!news.teragen.com.au!news.access.net.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!news.ececs.uc.edu!news.kei.com!news.mathworks.com!news.pbi.net!nntp.mainstreet.net!ns2.mainstreet.net!sloth.swcp.com!not-for-mail
From: crs@quail.swcp.com (Charlie Sorsby)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Printer Problem -- Oops! recovery
Date: 8 Mar 1997 16:09:37 -0700
Organization: Just me, Los Alamos, NM
Lines: 174
Message-ID: <5fsrjh$lb@quail.swcp.com>
Reply-To: crs@swcp.com
NNTP-Posting-Host: lappp11.swcp.com
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:36794

First, I'm way behind in reading news so, it it isn't too much
trouble, I'll appreciate if you will Cc: of any responses to

			crs@swcp.com

just to be sure that I don't lose any among all the messages that
I haven't read yet on the news group.

I'm Cc:'ing this to questions@freebsd.org because and earlier query
there didn't contain as much information as I've gathered into this
post.

I have a problem with an HP DeskJet 600C that was working until
yesterday.

Background:

When I first began setting the printer up (on FreeBSD 2.1.0, later
2.1.5) I had a problem with it being *very* slow.  A query to the
net provided the information that it doesn't work properly with an
interrupt-driven lpt port so I switched to polled mode and it's been
working OK.  I wrote a very simple input filter script using the
information in the handbook and it has been able to handle ordinary
text files and postscript using ghostscript (albeit, in the later
case, the fonts leave something to be desired).

Until now.  :(

Yesterday, I tried to print two files, both simple text files.  The
first printed; the second did not.  The following error message was
printed to the console window:

pid 96 (lpd), uid 0: exited on signal 11

The printer still works under W95.  I've been told that W95 and its
ilk don't use as much of a device's capabilities as does FreeBSD
but I don't know what FBSD uses that W95 does not so it's difficult
to know where to look.

The system uses an ASUS P/I-P55T2P4 mother board (at least that's
what the mother-board manual says), Adaptec 2940 SCSI host adapter,
etc. (see appended dmesg output).  The dmesg output will show a
second parallel port--an experiment with a very old borrowed I/O
board, the only thing I could find, but even W95 didn't like that
one--complained about being unable to establish bidirectional
communication--so that didn't tell me anything.  I thought that if
it worked it would indicate a problem with the on-board parallel
port but no help there.

Here are some of the things I've looked at:

PC% ps -agx | grep lpd
   94  ??  IWs    0:00.03 lpd
PC% 


PC% dmesg | tail -1
pid 96 (lpd), uid 0: exited on signal 11
PC%


PC% lpq                      
Warning: no daemon present
Rank   Owner      Job  Files                                 Total Size
1st    crs        409  apt.info                              1409 bytes
2nd    crs        410  (standard input)                      8792 bytes
PC% 


PC% lpc status lp
lp:
        queuing is enabled
        printing is enabled
        2 entries in spool area
        no daemon present
PC% 


PC% sudo lpc restart lp

Password:
lp:
        no daemon to abort
lp:
        daemon started
PC% lpc status lp
lp:
        queuing is enabled
        printing is enabled
        2 entries in spool area
        no daemon present
PC% 

Here's dmesg's output:

FreeBSD 2.1.5-RELEASE #0: Sun Dec 29 17:18:59 MST 1996
    crs@quail.swcp.com:/usr/src/sys/compile/KERNEL.CRS
CPU: 120-MHz Pentium 735\\90 or 815\\100 (Pentium-class CPU)
  Origin = "GenuineIntel"  Id = 0x526  Stepping=6
  Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 16777216 (16384K bytes)
avail memory = 14811136 (14464K bytes)
Probing for devices on PCI bus 0:
chip0 <Intel 82439> rev 1 on pci0:0
chip1 <Intel 82371 PCI-ISA bridge> rev 1 on pci0:7:0
chip2 <Intel 82371 Bus-Master IDE controller> rev 0 on pci0:7:1
vga0 <VGA-compatible display device> rev 0 int a irq ?? on pci0:10
ahc0 <Adaptec 2940 SCSI host adapter> rev 0 int a irq 11 on pci0:12
ahc0: aic7870 Single Channel, SCSI Id=7, 16 SCBs
ahc0 waiting for scsi devices to settle
(ahc0:0:0): "IBM DORS-32160 WA0A" type 0 fixed SCSI 2
sd0(ahc0:0:0): Direct-Access 2063MB (4226725 512 byte sectors)
(ahc0:1:0): "SONY CD-ROM CDU-76S 1.1c" type 5 removable SCSI 2
cd0(ahc0:1:0): CD-ROM 
cd0(ahc0:1:0): UNIT ATTENTION asc:28,0
cd0(ahc0:1:0):  Not ready to ready transition, medium may have changed
cd present.[400000 x 2048 byte records]
ahc0:A:4: refuses syncronous negotiation.  Using asyncronous transfers
(ahc0:4:0): "ARCHIVE VIPER 150  20000 -000" type 1 removable SCSI 1
st0(ahc0:4:0): Sequential-Access st0: Archive  Viper 150 is a known rogue
density code 0x0, 512-byte blocks, write-enabled
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
sio2: disabled, not probed.
sio3: disabled, not probed.
lpt0 at 0x378-0x37f on isa
lpt1 at 0x278-0x27f on isa
psm0 at 0x60-0x63 irq 12 on motherboard
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: NEC 72065B
fd0: 1.44MB 3.5in
npx0 on motherboard
npx0: INT 16 interface
sb0 at 0x220 irq 5 drq 1 on isa
sb0: <SoundBlaster 16 4.13>
sbxvi0 at 0x0 drq 5 on isa
sbxvo0: <SoundBlaster 16 4.13>
sbmidi0 at 0x330 on isa
 <SoundBlaster MPU-401>
opl0 at 0x388 on isa
opl0: <Yamaha OPL-3 FM>
pid 96 (lpd), uid 0: exited on signal 11
pid 223 (lpd), uid 0: exited on signal 11

And here's what's in /var/log/lpd-errs:

PC% !page
page /var/log/lpd-errs
Mar  7 10:23:16 quail lpd[94]: restarted
Mar  7 10:33:02 quail lpd[94]: restarted
Mar  7 11:25:35 quail lpd[94]: restarted
Mar  7 16:07:02 quail lpd[564]: restarted
Mar  7 16:22:37 quail lpd[92]: restarted
Mar  7 16:29:47 quail lpd[92]: restarted
Mar  7 22:53:50 quail lpd[94]: restarted
Mar  8 11:53:25 quail lpd[94]: restarted
Mar  8 11:56:42 quail lpd[92]: restarted
Mar  8 13:15:35 quail lpd[94]: restarted
PC% 





-- 
Best regards,

Charlie "Older than dirt" Sorsby      Los Alamos, NM     "I'm the NRA!"
       crs@swcp.com www.swcp.com/~crs		     Life Member since 1965