Re: problems with HP SJ 4C and Linux

Britt Bolen (bolen@eecs.harvard.edu)
Wed, 2 Jun 1999 16:19:20 -0400 (EDT)

Well the extra debugging levels didn't get me anywhere, but when I attempt
to do a simple scan, I get these message in my system logs...

Jun 2 16:16:30 schubert kernel: scsi0 channel 0 : resetting for second
half of retries.
Jun 2 16:16:30 schubert kernel: SCSI bus is being reset for host 0
channel 0.
Jun 2 16:16:30 schubert kernel: ncr53c8xx_reset: pid=29311 reset_flags=1
serial_number=0 serial_number_at_timeout=0
Jun 2 16:16:30 schubert kernel: scsi0: device driver called scsi_done()
for a syncronous reset.
Jun 2 16:16:30 schubert kernel: ncr53c825-0: restart (scsi reset).
Jun 2 16:16:30 schubert kernel: ncr53c825-0-<4,*>: device did not report
SYNC.
Jun 2 16:16:31 schubert kernel: ncr53c825-0-<0,*>: FAST-10 SCSI 10.0 MB/s
(100 ns, offset 8)

Termination is correct. (this used to work with xvscan under BSD/OS)

Any other clues?

thanks,

Britt

On Mon, 31 May 1999, Peter Kirchgessner wrote:

>
> Britt Bolen wrote:
> >
> > I've got a stock RedHat 6.0 Linux machine running on a P166 with an
> > ncr53c825 scsi controller.
> >
> > My machine sees the scanner as
> >
> > Vendor: HP Model: C2520A Rev: 3503
> > Type: Processor ANSI SCSI revision: 02
> >
> > scanimage gives me this info....
> >
> > device `hp:/dev/scanner' is a Hewlett-Packard C2520A flatbed scanner
> >
> > When i set SANE_DEBUG_HP to 1 and try and grab an image, i get this
> > output... (abridged)
> >
> > [hp] sanei_hp_device_new: /dev/scanner: found HP ScanJet model C2520A
> > [hp] start: No request to mirror image vertically
> > [hp] start: No request to mirror image vertically
> > [hp] start: 2550 pixels per line, 319 bytes, 4199 lines high
>
> Hi Britt,
>
> up to here the SCSI communication was ok. Now the large amounts of data
> will be transfered. Several possibilities for failure:
>
> Termination ok ?
> hp-backend in SANE V1.0 has some problems in it. If possible try
> upgrading to SANE 1.01 ?
>
> To localize the problem, you also can increase the value of
> SANE_DEBUG_HP and SANE_DEBUG_SANEI_SCSI.
>
> --Peter
>
> > [hp] sanei_hp_scl_startScan: Start scan
> > [hp] start_reader: reader proces 14468 started
> > [hp] do_read: Start reading data from scanner
> > [hp] do_read: Error from scsi_req_wait: Error during device I/O
> > [hp] do_read: cleaning up leftover requests
> > [hp] read: EOF from pipe
> > [hp] do_cancel: child exited, status = 9
> > scanimage: sane_read: Error during device I/O
> >
> > and it dies...
> >
> > I have stock 2.2.5 kernel with the generic scsi module loaded.
> >
> > Any ideas on why this is dieing?
> >
> > thanks a lot,
> >
> > Britt
> >
> > ------------------------------------------------------------------------
> > Britt Bolen EECS Computer Support Office
> > Division of Engineering and Applied Sciences email: bolen@eecs
> > Harvard University voice: 617 495-UNIX
> > ESL 112, 40 Oxford St., Cambridge, MA, 02138 fax: 617-496-1066
> > ------------------------------------------------------------------------
> >
> > --
> > Source code, list archive, and docs: http://www.mostang.com/sane/
> > To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
>
> --
> Peter Kirchgessner
> WWW: http://www.kirchgessner.net
> e-mail: peter@kirchgessner.net
>

------------------------------------------------------------------------
Britt Bolen EECS Computer Support Office
Division of Engineering and Applied Sciences email: bolen@eecs
Harvard University voice: 617 495-UNIX
ESL 112, 40 Oxford St., Cambridge, MA, 02138 fax: 617-496-1066
------------------------------------------------------------------------

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com