[Pkg-cups-devel] Bug#506699: cups: fails to print with usblp0: error -84 reading from printer

AmenophisIII AmenophisIII at gmx.at
Sun Nov 23 20:24:44 UTC 2008


Package: Cups
Severity: normal
Version: 1.3.8-1lenny2

hellas!

first debian bug report ever... sorry if i did something wrong!
especially if cups is not the culprit.
i have a samsung usb printer attached to an old etch box.
it worked there for ~3 years (after i fiddled a lot with the driver provided by
samsung). i cant recall many details.
i did always compile my own kernel there and did not have any problems with the
printer whatsoever. atm it runs 2.6.23.11.
now i want to attach it to a similar (same chipset) pc running lenny (upgraded
from etch, where i used this printer remotely via cups).

this is the dmesg output i get when i turn the printer on (with 2.6.26-1):
[ 1647.191312] usb 1-1: new full speed USB device using uhci_hcd and address 4
[ 1647.433706] usb 1-1: configuration #1 chosen from 1 choice
[ 1647.453530] usblp0: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid
0x04E8 pid 0x3256
[ 1647.453968] usb 1-1: New USB device found, idVendor=04e8, idProduct=3256
[ 1647.453994] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1647.454014] usb 1-1: Product: Samsung ML-1520 Series
[ 1647.454030] usb 1-1: Manufacturer: Samsung Electronics Co., Ltd.
[ 1647.454047] usb 1-1: SerialNumber: 2X21BRJY201330..
[ 1648.467153] usblp0: nonzero read bulk status received: -84

i tried with all kernels i still have installed
(all linux-images from debian that got installed since setting up debian)
2.6.18-6
2.6.26-1
2.6.9
with both drivers available (foomatic gdi and splix):

the output changes sligthly, but the nonzero read error remains all the time.
when i try to print (with 2.6.26-1) dmesg gets spamed with:
...
[  352.069676] usblp0: error -84 reading from printer
[  352.070043] usblp0: nonzero read bulk status received: -84
[  352.070331] usblp0: error -84 reading from printer
[  352.071038] usblp0: nonzero read bulk status received: -84
[  352.071105] usblp0: nonzero write bulk status received: -71


cups/error_log (which is quite verbose due to level debug) so maybe i missed
something more important than this):
...
D [22/Nov/2008:17:41:39 +0100] [Job 9] Read 4096 bytes of print data...
E [22/Nov/2008:17:41:39 +0100] [Job 9] Unable to write print data: Input/output
error
D [22/Nov/2008:17:41:39 +0100] Discarding unused printer-state-changed event...
D [22/Nov/2008:17:41:39 +0100] PID 2667 (/usr/lib/cups/backend/usb) exited with
no errors.
D [22/Nov/2008:17:41:40 +0100] [Job 9] KID3 exited with status 0
D [22/Nov/2008:17:41:40 +0100] [Job 9] KID4 exited with status 9
D [22/Nov/2008:17:41:40 +0100] [Job 9] Renderer exit stat: 9
D [22/Nov/2008:17:41:40 +0100] [Job 9] Process dying with "error closing
*main::STDOUT", exit stat: 9
D [22/Nov/2008:17:41:40 +0100] [Job 9] error: Broken pipe (32)
D [22/Nov/2008:17:41:40 +0100] [Job 9] error closing *main::STDOUT
D [22/Nov/2008:17:41:40 +0100] [Job 9] KID3 finished
D [22/Nov/2008:17:41:40 +0100] [Job 9] Renderer process finished
D [22/Nov/2008:17:41:40 +0100] [Job 9] Killing process 2672 (KID3)
D [22/Nov/2008:17:41:40 +0100] [Job 9] Process dying with "Error closing
renderer", exit stat: 9
D [22/Nov/2008:17:41:40 +0100] [Job 9] error: Bad file descriptor (9)
D [22/Nov/2008:17:41:40 +0100] [Job 9] Error closing renderer
E [22/Nov/2008:17:41:40 +0100] PID 2666 (/usr/lib/cups/filter/foomatic-rip)
stopped with status 9!
D [22/Nov/2008:17:41:40 +0100] [Job 9] File 0 is complete.
E [22/Nov/2008:17:41:40 +0100] [Job 9] Job stopped due to filter errors.
...

google does not provide any hints :/

i hooked the printer up to a new pc (intel dg45id, ich10 southbridge) with
ubuntu intrepid. the splix driver does print a distorted test page, but the gdi
one works out of the box. i dont have the kernel messages from that pc atm, but
i could provide them, if needed.

the usb port should be ok, cardreader works when attached to it.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages cups depends on:
ii  adduser               3.110              add and remove users and groups
ii  cups-common           1.3.8-1lenny2      Common UNIX Printing System(tm) - 
ii  debconf [debconf-2.0] 1.5.22             Debian configuration management sy
ii  ghostscript           8.62.dfsg.1-3.1    The GPL Ghostscript PostScript/PDF
ii  libavahi-compat-libdn 0.6.22-3           Avahi Apple Bonjour compatibility 
ii  libc6                 2.7-15             GNU C Library: Shared libraries
ii  libcups2              1.3.8-1lenny2      Common UNIX Printing System(tm) - 
ii  libcupsimage2         1.3.8-1lenny2      Common UNIX Printing System(tm) - 
ii  libdbus-1-3           1.2.1-4            simple interprocess messaging syst
ii  libgnutls26           2.4.2-1            the GNU TLS library - runtime libr
ii  libkrb53              1.6.dfsg.4~beta1-4 MIT Kerberos runtime libraries
ii  libldap-2.4-2         2.4.11-1           OpenLDAP libraries
ii  libpam0g              1.0.1-4            Pluggable Authentication Modules l
ii  libpaper1             1.1.23+nmu1        library for handling paper charact
ii  libslp1               1.2.1-7.4          OpenSLP libraries
ii  lsb-base              3.2-20             Linux Standard Base 3.2 init scrip
ii  perl-modules          5.10.0-17          Core Perl modules
ii  poppler-utils [xpdf-u 0.8.7-1            PDF utilitites (based on libpopple
ii  procps                1:3.2.7-8          /proc file system utilities
ii  ssl-cert              1.0.23             simple debconf wrapper for OpenSSL

Versions of packages cups recommends:
ii  avahi-utils           0.6.22-3           Avahi browsing, publishing and dis
ii  cups-client           1.3.8-1lenny2      Common UNIX Printing System(tm) - 
ii  foomatic-filters      3.0.2-20080211-3.2 OpenPrinting printer support - fil
ii  smbclient             2:3.2.4-1          a LanManager-like simple client fo

Versions of packages cups suggests:
ii  cups-bsd                1.3.8-1lenny2    Common UNIX Printing System(tm) - 
pn  cups-driver-gutenprint  <none>           (no description available)
pn  cups-pdf                <none>           (no description available)
ii  foomatic-db             20080211-2+nmu1  OpenPrinting printer support - dat
ii  foomatic-db-engine      3.0.2-20080211-1 OpenPrinting printer support - pro
pn  hplip                   <none>           (no description available)
pn  xpdf-korean | xpdf-japa <none>           (no description available)

-- debconf information:
  cupsys/raw-print: true
  cupsys/backend: ipp, lpd, parallel, scsi, serial, socket, usb, snmp, dnssd





More information about the Pkg-cups-devel mailing list