I have more on the reading tapes problem I reported earlier. I changed #DEFINE debug 0 to 1 and recompiled. I have more error messages as I also enabled verbose scsi error reporting. Attached is the output of dmesg after the tape read operation fails. Notice that the tape does read all the files ok, but then has troubles ending the operation. James Rich [EMAIL PROTECTED]
scsi0: Target 0: Queue Depth 28, Synchronous at 10.0 MB/sec, offset 15 scsi0: Target 1: Queue Depth 3, Synchronous at 10.0 MB/sec, offset 15 scsi0: Target 5: Queue Depth 3, Asynchronous scsi : detected 1 SCSI tape 1 SCSI cdrom 1 SCSI disk total. st: Buffer size 32768 bytes, write threshold 30720 bytes. st: Allocated tape buffer 0 (32768 bytes, 1 segments, dma: 1, a: c0ff0000). st: segment sizes: first 32768, last 32768 bytes. st: Allocated tape buffer 1 (32768 bytes, 1 segments, dma: 1, a: c0fe8000). st: segment sizes: first 32768, last 32768 bytes. Uniform CDROM driver Revision: 2.50 SCSI device sda: hdwr sector= 512 bytes. Sectors= 3301239 [1611 MB] [1.6 GB] PPP: version 2.3.3 (demand dialling) TCP compression code copyright 1989 Regents of the University of California PPP line discipline registered. SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256). CSLIP: code copyright 1989 Regents of the University of California. eth0: 3c509 at 0x300 tag 1, 10baseT port, address 00 a0 24 5a e1 fa, IRQ 5. 3c509.c:1.12 6/4/97 [EMAIL PROTECTED] Partition check: sda: sda1 sda2 sda3 sda4 hda: hda1 hda2 hda3 VFS: Mounted root (ext2 filesystem) readonly. Freeing unused kernel memory: 80k freed Adding Swap: 100332k swap-space (priority -1) scsi0: Tagged Queuing now active for Target 0 VFS: Disk change detected on device 0b:00 st0: Block limits 1 - 65536 bytes. st0: Mode sense. Length 14, medium 0, WBS 10, BLL 8 st0: Density 11, tape length: 0, drv buffer: 1 st0: Block size: 1024, buffer size: 32768 (32 blocks). st0: Flushing 10240 bytes. st0: File length 10240 bytes. st0: Async write waits 0, finished 0. st0: Buffer flushed, 1 EOF(s) written st0: Rewinding tape. st0: Block limits 1 - 65536 bytes. st0: Mode sense. Length 14, medium 0, WBS 10, BLL 8 st0: Density 11, tape length: 0, drv buffer: 1 st0: Block size: 1024, buffer size: 32768 (32 blocks). st0: Flushing 10240 bytes. st0: File length 16691200 bytes. st0: Async write waits 540, finished 3. st0: Buffer flushed, 1 EOF(s) written st0: Rewinding tape. st0: Block limits 1 - 65536 bytes. st0: Mode sense. Length 14, medium 0, WBS 10, BLL 8 st0: Density 11, tape length: 0, drv buffer: 1 st0: Block size: 1024, buffer size: 32768 (32 blocks). st0: Error: 28000002, cmd: 8 1 0 0 20 0 Len: 32768 FMK Current error st09:00: sense key None st0: Sense: f0 0 80 0 0 0 14 6 st0: EOF detected (12288 bytes read). st0: EOF up (1). Left 12288, needed 2048. st0: EOF/EOM flag up (1). Bytes 10240 st0: EOF up (1). Left 10240, needed 10240. st0: Rewinding tape. scsi : aborting command due to timeout : pid 3870, scsi0, channel 0, id 0, lun 0 Read (10) 00 00 24 5c 90 00 00 08 00 scsi0: Aborting CCB #3883 to Target 0 SCSI host 0 abort (pid 3870) timed out - resetting SCSI bus is being reset for host 0 channel 0. scsi0: Sending Bus Device Reset CCB #3885 to Target 0 SCSI host 0 channel 0 reset (pid 3870) timed out - trying harder SCSI bus is being reset for host 0 channel 0. scsi0: Resetting BusLogic BT-958 due to Target 0 scsi0: Resetting BusLogic BT-958 Failed SCSI host 0 reset (pid 3870) timed out again - probably an unrecoverable SCSI bus or device hang. scsi : aborting command due to timeout : pid 3871, scsi0, channel 0, id 0, lun 0 Write (6) 0f 90 14 02 00 scsi0: Unable to Abort Command to Target 0 - CCB Reset SCSI host 0 abort (pid 3871) timed out - resetting SCSI bus is being reset for host 0 channel 0. scsi0: Resetting BusLogic BT-958 due to Target 0 wait_on_bh, CPU 0: irq: 0 [0 0] bh: 1 [0 1] scsi0: Resetting BusLogic BT-958 Failed SCSI host 0 channel 0 reset (pid 3871) timed out - trying harder SCSI bus is being reset for host 0 channel 0. scsi0: Resetting BusLogic BT-958 due to Target 0 scsi0: Resetting BusLogic BT-958 Failed SCSI host 0 reset (pid 3871) timed out again - probably an unrecoverable SCSI bus or device hang.
