SCSI tape problem under 2.2.*

Steven Suson suson en ionet.net
Jue Ene 27 01:03:28 CST 2000


Greetings,

    Well, as I learned from examining the driver, it intentionally
disables st devices based on certain criteria. I was not actually able
to discern the exact criteria used. Could someone please enlighten me a
bit here?

    Also, as I mentioned before, I'm developing a printer driver for a
color plotter that emulates a SCSI tape. I've included the messages
which resulted from turning the debug on in st.c, and recreating the
problems that I have been having. The driver is being open sourced, and
the company who makes the plotter (Atlantek, Inc.) has been extremely
helpful in aiding my in the Linux development. Therefore, any
information whatsoever about what is going on would be greatly
appreciated.

"Keep the faith,"
Steve Suson

P.S. Here's the log:

essages:Jan 12 11:06:02 maquis kernel: (scsi0) <Adaptec AHA-294X Ultra
SCSI host
adapter> found at PCI 16/0
messages:Jan 12 11:06:02 maquis kernel: (scsi0) Wide Channel, SCSI ID=7,
16/255 SCBs
messages:Jan 12 11:06:02 maquis kernel: (scsi0) Downloading sequencer
code... 413
instructions downloaded
messages:Jan 12 11:06:02 maquis kernel: scsi0 : Adaptec
AHA274x/284x/294x
(EISA/VLB/PCI-Fast SCSI) 5.1.21/3.2.4
messages:Jan 12 11:06:02 maquis kernel:        <Adaptec AHA-294X Ultra
SCSI host
adapter>
messages:Jan 12 11:06:02 maquis kernel: scsi : 1 host.
messages:Jan 12 11:06:02 maquis kernel: (scsi0:0:0:0) Synchronous at
20.0 Mbyte/sec,
offset 8.
messages:Jan 12 11:06:02 maquis kernel:   Type:
Direct-Access                      ANSI SCSI
revision: 02
messages:Jan 12 11:06:02 maquis kernel: Detected scsi disk sda at scsi0,
channel 0, id 0,
lun 0
messages:Jan 12 11:06:02 maquis kernel: (scsi0:0:2:0) Synchronous at
6.67 Mbyte/sec,
offset 15.
messages:Jan 12 11:06:02 maquis kernel:   Type:
Sequential-Access                  ANSI
SCSI revision: 02
messages:Jan 12 11:06:02 maquis kernel: Detected scsi tape st0 at scsi0,
channel 0, id 2,
lun 0
messages:Jan 12 11:06:02 maquis kernel: (scsi0:0:4:0) Synchronous at 5.0
Mbyte/sec,
offset 15.
messages:Jan 12 11:06:02 maquis kernel:   Type:
Sequential-Access                  ANSI
SCSI revision: 02
messages:Jan 12 11:06:02 maquis kernel: Detected scsi tape st1 at scsi0,
channel 0, id 4,
lun 0
messages:Jan 12 11:06:02 maquis kernel: (scsi0:0:5:0) Synchronous at
10.0 Mbyte/sec,
offset 15.
messages:Jan 12 11:06:02 maquis kernel:   Type:
CD-ROM                             ANSI SCSI
revision: 02
messages:Jan 12 11:06:02 maquis kernel: Detected scsi CD-ROM sr0 at
scsi0, channel 0,
id 5, lun 0
messages:Jan 12 11:06:02 maquis kernel: (scsi0:0:6:0) Synchronous at
10.0 Mbyte/sec,
offset 15.
messages:Jan 12 11:06:02 maquis kernel:   Type:
CD-ROM                             ANSI SCSI
revision: 02
messages:Jan 12 11:06:02 maquis kernel: Detected scsi CD-ROM sr1 at
scsi0, channel 0,
id 6, lun 0
messages:Jan 12 11:06:02 maquis kernel: scsi : detected 2 SCSI tapes 2
SCSI cdroms 1
SCSI disk total.
messages:Jan 12 11:06:02 maquis kernel: sr1: scsi3-mmc drive: 24x/24x
writer cd/rw
xa/form2 cdda tray
messages:Jan 12 11:06:02 maquis kernel: SCSI device sda: hdwr sector=
512 bytes.
Sectors= 8888924 [4340 MB] [4.3 GB]
messages:Jan 12 11:07:12 maquis kernel: st1: Block limits 1 - 16776960
bytes.
messages:Jan 12 11:07:12 maquis kernel: st1: Mode sense. Length 5,
medium 0, WBS 10,
BLL 0
messages:Jan 12 11:07:12 maquis kernel: st1: Block size: 0, buffer size:
32768 (1 blocks).
messages:Jan 12 11:07:12 maquis kernel: st1: Error: 28000002, cmd: 8 0 0
28 0 0 Len:
10240
messages:Jan 12 11:07:12 maquis kernel: st1: Sense: f0  0 20  0  0 23
ca  a
messages:Jan 12 11:07:12 maquis kernel: (scsi0:0:4:0) Performing Domain
validation.
messages:Jan 12 11:07:12 maquis kernel: (scsi0:0:4:0) Successfully
completed Domain
validation.
messages:Jan 12 11:07:14 maquis kernel: st1: Error: 28000002, cmd: 8 0 0
28 0 0 Len:
10240
messages:Jan 12 11:07:14 maquis kernel: st1: Sense: f0  0 20  0  0 24
d6  a
messages:Jan 12 11:07:15 maquis kernel: st1: File length 538322 bytes.
messages:Jan 12 11:07:15 maquis kernel: st1: Async write waits 9,
finished 11.
messages:Jan 12 11:07:15 maquis kernel: st1: Buffer flushed, 1 EOF(s)
written
messages:Jan 12 11:07:31 maquis kernel: st1: Block limits 1 - 16776960
bytes.
messages:Jan 12 11:07:31 maquis kernel: st1: Mode sense. Length 5,
medium 0, WBS 10,
BLL 0
messages:Jan 12 11:07:31 maquis kernel: st1: Block size: 0, buffer size:
32768 (1 blocks).
messages:Jan 12 11:07:31 maquis kernel: st1: EOF/EOM flag up (2). Bytes
0
messages:Jan 12 11:07:31 maquis kernel: st1: Error: 28000002, cmd: 8 0 0
28 0 0 Len:
10240
messages:Jan 12 11:07:31 maquis kernel: st1: Sense: f0  0 20  0  0 24
50  a
messages:Jan 12 11:07:31 maquis kernel: st1: EOF up (2). Left 944,
needed 10240.
messages:Jan 12 11:07:31 maquis kernel: st1: Error: 28000002, cmd: 8 0 0
28 0 0 Len:
10240
messages:Jan 12 11:07:31 maquis kernel: st1: Sense: f0  0 20  0  0 23
ca  a
messages:Jan 12 11:08:38 maquis kernel: st1: Block limits 1 - 16776960
bytes.
messages:Jan 12 11:08:38 maquis kernel: st1: Mode sense. Length 5,
medium 0, WBS 10,
BLL 0
messages:Jan 12 11:08:38 maquis kernel: st1: Block size: 0, buffer size:
32768 (1 blocks).
messages:Jan 12 11:08:38 maquis kernel: st1: Error: 28000002, cmd: 8 0 0
28 0 0 Len:
10240
messages:Jan 12 11:08:38 maquis kernel: st1: Sense: f0  0 20  0  0 23
ca  a
messages:Jan 12 11:08:40 maquis kernel: st1: Error: 28000002, cmd: 8 0 0
28 0 0 Len:
10240
messages:Jan 12 11:08:40 maquis kernel: st1: Sense: f0  0 20  0  0 24
d6  a
messages:Jan 12 11:08:40 maquis kernel: st1: File length 538322 bytes.
messages:Jan 12 11:08:40 maquis kernel: st1: Async write waits 9,
finished 11.
messages:Jan 12 11:08:40 maquis kernel: st1: Buffer flushed, 1 EOF(s)
written
messages:Jan 12 11:08:56 maquis kernel: st1: Block limits 1 - 16776960
bytes.
messages:Jan 12 11:08:56 maquis kernel: st1: Mode sense. Length 5,
medium 0, WBS 10,
BLL 0
messages:Jan 12 11:08:56 maquis kernel: st1: Block size: 0, buffer size:
32768 (1 blocks).
messages:Jan 12 11:08:56 maquis kernel: st1: EOF/EOM flag up (2). Bytes
0
messages:Jan 12 11:08:56 maquis kernel: st1: Error: 28000002, cmd: 8 0 0
28 0 0 Len:
10240
messages:Jan 12 11:08:56 maquis kernel: st1: Sense: f0  0 20  0  0 24
50  a
messages:Jan 12 11:08:56 maquis kernel: st1: EOF up (2). Left 944,
needed 10240.
messages:Jan 12 11:08:57 maquis kernel: st1: Error: 28000002, cmd: 8 0 0
28 0 0 Len:
10240
messages:Jan 12 11:08:57 maquis kernel: st1: Sense: f0  0 20  0  0 23
ca  a
messages:Jan 12 11:09:20 maquis kernel: st1: Block limits 1 - 16776960
bytes.
messages:Jan 12 11:09:20 maquis kernel: st1: Mode sense. Length 5,
medium 0, WBS 10,
BLL 0
messages:Jan 12 11:09:20 maquis kernel: st1: Block size: 0, buffer size:
32768 (1 blocks).
messages:Jan 12 11:09:21 maquis kernel: st1: Error: 28000002, cmd: 8 0 0
28 0 0 Len:
10240
messages:Jan 12 11:09:21 maquis kernel: st1: Sense: f0  0 20  0  0 23
ca  a
messages:Jan 12 11:09:23 maquis kernel: st1: Error: 28000002, cmd: 8 0 0
28 0 0 Len:
10240
messages:Jan 12 11:09:23 maquis kernel: st1: Sense: f0  0 20  0  0 24
d6  a
messages:Jan 12 11:09:27 maquis kernel: st1: File length 3755555 bytes.
messages:Jan 12 11:09:27 maquis kernel: st1: Async write waits 8,
finished 62.
messages:Jan 12 11:09:27 maquis kernel: st1: Buffer flushed, 1 EOF(s)
written
messages:Jan 12 11:09:43 maquis kernel: st1: Block limits 1 - 16776960
bytes.
messages:Jan 12 11:09:43 maquis kernel: st1: Mode sense. Length 5,
medium 0, WBS 10,
BLL 0
messages:Jan 12 11:09:43 maquis kernel: st1: Block size: 0, buffer size:
32768 (1 blocks).
messages:Jan 12 11:09:43 maquis kernel: st1: EOF/EOM flag up (2). Bytes
0
messages:Jan 12 11:09:43 maquis kernel: st1: Error: 28000002, cmd: 8 0 0
28 0 0 Len:
10240
messages:Jan 12 11:09:43 maquis kernel: st1: Sense: f0  0 20  0  0 24
50  a
messages:Jan 12 11:09:43 maquis kernel: st1: EOF up (2). Left 944,
needed 10240.
messages:Jan 12 11:09:44 maquis kernel: st1: Error: 28000002, cmd: 8 0 0
28 0 0 Len:
10240
messages:Jan 12 11:09:44 maquis kernel: st1: Sense: f0  0 20  0  0 23
ca  a
messages:Jan 12 11:09:56 maquis kernel: st1: Block limits 1 - 16776960
bytes.
messages:Jan 12 11:09:56 maquis kernel: st1: Mode sense. Length 5,
medium 0, WBS 10,
BLL 0
messages:Jan 12 11:09:56 maquis kernel: st1: Block size: 0, buffer size:
32768 (1 blocks).
messages:Jan 12 11:09:57 maquis kernel: st1: Error: 28000002, cmd: 8 0 0
28 0 0 Len:
10240
messages:Jan 12 11:09:57 maquis kernel: st1: Sense: f0  0 20  0  0 23
ca  a
messages:Jan 12 11:09:59 maquis kernel: st1: Error: 28000002, cmd: 8 0 0
28 0 0 Len:
10240
messages:Jan 12 11:09:59 maquis kernel: st1: Sense: f0  0 20  0  0 24
d6  a
messages:Jan 12 11:09:59 maquis kernel: st1: File length 538322 bytes.
messages:Jan 12 11:09:59 maquis kernel: st1: Async write waits 9,
finished 11.
messages:Jan 12 11:09:59 maquis kernel: st1: Buffer flushed, 1 EOF(s)
written
messages:Jan 12 11:10:15 maquis kernel: st1: Block limits 1 - 16776960
bytes.
messages:Jan 12 11:10:15 maquis kernel: st1: Mode sense. Length 5,
medium 0, WBS 10,
BLL 0
messages:Jan 12 11:10:15 maquis kernel: st1: Block size: 0, buffer size:
32768 (1 blocks).
messages:Jan 12 11:10:15 maquis kernel: st1: EOF/EOM flag up (2). Bytes
0
messages:Jan 12 11:10:15 maquis kernel: st1: Error: 28000002, cmd: 8 0 0
28 0 0 Len:
10240
messages:Jan 12 11:10:15 maquis kernel: st1: Sense: f0  0 20  0  0 24
50  a
messages:Jan 12 11:10:15 maquis kernel: st1: EOF up (2). Left 944,
needed 10240.
messages:Jan 12 11:10:45 maquis kernel: scsi : aborting command due to
timeout : pid
4519, scsi0, channel 0, id 0, lun 0 Write (6) 0a 1e 86 02 00
messages:Jan 12 11:10:47 maquis kernel: SCSI host 0 abort (pid 4519)
timed out -
resetting
messages:Jan 12 11:10:47 maquis kernel: SCSI bus is being reset for host
0 channel 0.
messages:Jan 12 11:10:50 maquis kernel: (scsi0:0:4:0) Performing Domain
validation.
messages:Jan 12 11:10:50 maquis kernel: (scsi0:0:0:0) Synchronous at
20.0 Mbyte/sec,
offset 8.
messages:Jan 12 11:10:50 maquis kernel: st1: Error: 26030000, cmd: 8 0 0
28 0 0 Len:
10240
messages:Jan 12 11:10:50 maquis kernel: st1: Sense:  0  0  0  0  0  0
0  0
messages:Jan 12 11:23:35 maquis kernel: st1: Block limits 1 - 16776960
bytes.
messages:Jan 12 11:23:35 maquis kernel: st1: Mode sense. Length 5,
medium 0, WBS 10,
BLL 0
messages:Jan 12 11:23:35 maquis kernel: st1: Block size: 0, buffer size:
32768 (1 blocks).

This last bit resulted from an 'mt -f /dev/nst1 status


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo en vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



Más información sobre la lista de distribución Ayuda