UltraStor 34F, ScanJet IIp, Linux, and XVScan

UltraStor 34F, ScanJet IIp, Linux, and XVScan

Post by Andrew J. Pizial » Mon, 15 Jul 1996 04:00:00



I recently moved an HP ScanJet IIp scanner from the HP controller to the
last device on an UltraStor 34F SCSI chain in order to use it with the UNIX
scanning application "xvscan."  Although the application works well in this
environment (Linux 1.2.13), a slew of SCSI error messages are logged at the
"info" syslogd level.  I've been trying to track down these errors so I
recorded this sequence of messages written while scanning an image:

    Jul 13 20:20:26 piziali kernel: U34F0: ihdlr, mbox 9, err 0x9f:6f, target 2:0, pid 26619, count 26633.
    Jul 13 20:20:26 piziali kernel: Internal error scsi.c 1344
    Jul 13 20:20:26 piziali kernel: status byte = 6
    Jul 13 20:20:26 piziali kernel: U34F0: ihdlr, mbox 7, err 0x9f:0, target 2:0, pid 26633, count 26647.
    Jul 13 20:20:26 piziali kernel: U34F0: ihdlr, mbox 9, err 0x9f:0, target 2:0, pid 26635, count 26648.
    Jul 13 20:20:26 piziali kernel: U34F0: ihdlr, mbox 13, err 0x9f:56, target 2:0, pid 26639, count 26652.
    Jul 13 20:20:26 piziali kernel: U34F0: ihdlr, mbox 0, err 0x9f:31, target 2:0, pid 26642, count 26655.
    Jul 13 20:20:26 piziali kernel: U34F0: ihdlr, mbox 3, err 0x9f:31, target 2:0, pid 26645, count 26658.
    Jul 13 20:20:27 piziali kernel: U34F0: ihdlr, mbox 6, err 0x9f:32, target 2:0, pid 26648, count 26661.
    Jul 13 20:20:37 piziali kernel: U34F0: ihdlr, mbox 9, err 0x9f:64, target 2:0, pid 26731, count 26745.
    Jul 13 20:20:37 piziali kernel: U34F0: ihdlr, mbox 12, err 0x9f:73, target 2:0, pid 26734, count 26748.
    Jul 13 20:20:37 piziali kernel: U34F0: ihdlr, mbox 14, err 0x9f:37, target 2:0, pid 26736, count 26749.
    Jul 13 20:20:37 piziali kernel: U34F0: ihdlr, mbox 1, err 0x9f:57, target 2:0, pid 26739, count 26752.
    Jul 13 20:20:37 piziali kernel: U34F0: ihdlr, mbox 4, err 0x9f:64, target 2:0, pid 26742, count 26755.

Examining the generic SCSI device driver source, scsi.c, it appears as though
the driver received an unrecognized status byte (6) when processing a command
complete.  The only status codes defined in the Linux 1.2.13 scsi.h file are:

    #define GOOD                    0x00
    #define CHECK_CONDITION         0x01
    #define CONDITION_GOOD          0x02
    #define BUSY                    0x04
    #define INTERMEDIATE_GOOD       0x08
    #define INTERMEDIATE_C_GOOD     0x0a
    #define RESERVATION_CONFLICT    0x0c
    #define QUEUE_FULL              0x1a

Is this device driver in error or is the ScanJet IIp returning an illegal
status code?

Moving on to the ihdlr errors, how do I interpret these messages?  The scanner
is SCSI id 2, LUN 0.

--
Andy Piziali                                                    |
                                                  ________------+------________


 
 
 

1. Commercial: XVScan 1.40 HP ScanJet Scanning software for Linux and Unix

For Immediate Release 1996-12-03

XVScan 1.40 --  Scanning Software for HP ScanJets on Linux and Unix

tummy.com, ltd. announces XVScan Version 1.40, which now includes
full BSD/OS support and partial SunOS/Solaris support, as well
as PNG image export and import.

XVScan works under HP-UX 9.x, 10.x, Linux, BSD/OS and FreeBSD with HP ScanJet
series SCSI scanners. It also works with HP ScanJet Plus parallel scanners
under Linux.

SunOS/Solaris users will need a third-party SCSI pass-through driver.

XVscan is based on xv, image manipulation software for X
Windows.  It handles 24-bit color, 8-bit greyscale and 1-bit monochrome
images.

Version 1.40 of XVScan now uses version 6a of the Independent JPEG Group's
library.  XVScan supports many image formats including PNG, GIF, JPEG,
TIFF (compressed and uncompressed), PostScript (requires ghostscript),  
PBM/PGM/PPM (raw and ascii), X11 Bitmap, XPM (X PixMap), Sun Rasterfile,
BMP, IRIS Rasterfile, Targa (24-bit), and  FITS (greyscale).

Also included in this release are numerous updates to the ScanJet Application
Programming Interface which allows other applications to control an
HP ScanJet scanner.  The API is available under a separate licence.

The list price for XVScan is $50 for ftp or email delivery. It is also
available on 3.5" floppies or 4mm DAT tape for an additional $15 in the
United States or $25 internationally. Visa, Mastercard and Discover
credit cards are accepted.

Contact tummy.com, ltd, phone: (402) 344-4426, fax: (408) 490-2728,
URL: <http://www.tummy.com/xvscan>

2. Mylex BT-950 SCSI

3. COMMERCIAL: XVScan 1.30 ScanJet Scanning Software Released

4. screen within screen

5. COMMERCIAL: XVScan 1.30 ScanJet scanning software released

6. ???Biostor PCI MB w/ S3 chipset???

7. COMMERCIAL: XVScan 1.30 ScanJet scanning software Released

8. RH8 USB?

9. Ultrastor 34F or Adaptec 1542B for Linux???

10. Linux and UltraStor 34F SCSI Controller

11. Linux 2.0.30, UltraStor 34f, & HP JetStore 5000

12. Summary: Ultrastor 34F or Adaptec 1542B for Linux???