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 |
________------+------________