Tape Problems

Steve Morris morris at thermonics.com
Mon Sep 29 11:37:48 PDT 1997


Hi All,

I'm using the AIC7XXX drivers from the Linux 2.0.31-pre10-2 kernel and
while access to my hard drives and CD-ROM appear to be working just fine,
I've had ongoing problems reading from my Exabyte 4200C DAT Tape. I'm not
sure to which extent the driver is involved in this problem, but I'll put
this up here in hopes that it will prove useful to someone and also help
solve my problem. Let me know if it would be helpful to provide additional
information.

Thanks.

Steve Morris


I've got termination enabled in the SCSI bios and an active terminator at
the far end of the chain.

Trying to do a compare of tape with the filesystem I get this in
/var/adm/messages:

Sep 29 11:07:51 bob kernel: st0: Error: 18000002, cmd: 8 1 0 0 40 0 Len: 32768
Sep 29 11:07:51 bob kernel: st0: Sense: 70  0  6  0  0  0  0  a
Sep 29 11:07:51 bob kernel: st0: Tape error while reading.
Sep 29 11:11:02 bob kernel: st0: Block limits 1 - 16777215 bytes.
Sep 29 11:11:02 bob kernel: st0: Mode sense. Length 11, medium 0, WBS 90,
BLL 8
Sep 29 11:11:02 bob kernel: st0: Density 13, tape length: 0, drv buffer: 1
Sep 29 11:11:02 bob kernel: st0: Block size: 512, buffer size: 32768 (64
blocks).
Sep 29 11:11:02 bob kernel: st0: Write protected
Sep 29 11:11:02 bob kernel: st0: Rewinding tape.

When this occurs I get the following in /var/adm/syslog:

Sep 29 11:07:49 bob kernel: scsi : aborting command due to timeout : pid
22082, scsi0, channel 0, id 2, lun 0 Read (6) 01 00 00 40 00 
Sep 29 11:07:49 bob kernel: general protection: 0000
Sep 29 11:07:49 bob kernel: CPU:    0
Sep 29 11:07:49 bob kernel: EIP:    0010:[<00000009>]
Sep 29 11:07:49 bob kernel: EFLAGS: 00010202
Sep 29 11:07:49 bob kernel: eax: 00000000   ebx: 00259018   ecx: 001bf410
edx: 01cc0003
Sep 29 11:07:49 bob kernel: esi: 00000297   edi: 00000000   ebp: 0025c018
esp: 001bd53c
Sep 29 11:07:49 bob kernel: ds: 0018   es: 0018   fs: 002b   gs: 0018   ss:
0018
Sep 29 11:07:49 bob kernel: Process swapper (pid: 0, process nr: 0,
stackpage=001bb664)
Sep 29 11:07:49 bob kernel: Stack: 00000018 00000018 0018b987 00259018
00259018 0025c018 00000206 001bd598 
Sep 29 11:07:49 bob kernel:        0018a4d0 00259018 00000003 00259018
0018be3e 00259018 00040000 001d8ea4 
Sep 29 11:07:49 bob kernel:        00000001 001120d4 00000001 ffffffff
00000001 00000001 001bd5b4 001d8d14 
Sep 29 11:07:49 bob kernel: Call Trace: [scsi_abort+279/508]
[scsi_times_out+72/304] [scsi_main_timeout+134/168] [timer_bh+248/820]
[do_bottom_half+59/96] [handle_bottom_half+11/32] [hard_idle+31/56] 
Sep 29 11:07:49 bob kernel:        [sys_idle+59/112] [system_call+85/128]
[init+0/624] [start_kernel+429/440] [it_real_fn+0/72] 
Sep 29 11:07:49 bob kernel: Code: 00 bb 0d f4 06 70 00 f4 06 70 00 54 ff 00
f0 4c e1 00 f0 6f 
Sep 29 11:07:49 bob kernel: Aiee, killing interrupt handler
Sep 29 11:07:49 bob kernel: kfree of non-kmalloced memory: 001bd6ac, next=
00000000, order=0
Sep 29 11:07:49 bob kernel: kfree of non-kmalloced memory: 001bd69c, next=
00000000, order=0
Sep 29 11:07:49 bob kernel: kfree of non-kmalloced memory: 001bdbb0, next=
00000000, order=0
Sep 29 11:07:49 bob kernel: idle task may not sleep
Sep 29 11:07:49 bob last message repeated 4 times
Sep 29 11:07:49 bob kerneld: error: exit: Identifier removed
Sep 29 11:07:51 bob kernel: SCSI host 0 abort (pid 22082) timed out -
resetting
Sep 29 11:07:51 bob kernel: SCSI bus is being reset for host 0 channel 0.
Sep 29 11:07:51 bob kernel: (scsi0:2:0) Abort_reset, scb flags 0x1, while
idle, LASTPHASE = 0x1, SCSISIGI 0x0, SEQADDR 0x5, SSTAT0 0x5, SSTAT1 0xa
Sep 29 11:07:51 bob kernel: (scsi0:-1:0) Reset device, active_scb 0
Sep 29 11:07:51 bob kernel: scsi0: (targ -1/chan A) matching scb to (targ
0/chan A)
Sep 29 11:07:51 bob kernel: scsi0: (targ -1/chan A) matching scb to (targ
2/chan A)
Sep 29 11:07:51 bob kernel: scsi0: (targ -1/chan A) matching scb to (targ
2/chan A)
Sep 29 11:07:51 bob kernel: scsi0: (targ -1/chan A) matching scb to (targ
0/chan A)
Sep 29 11:07:51 bob kernel: scsi0: (targ -1/chan A) matching scb to (targ
2/chan A)
Sep 29 11:07:51 bob kernel: scsi0: (targ -1/chan A) matching scb to (targ
0/chan A)
Sep 29 11:07:51 bob kernel: scsi0: (targ -1/chan A) matching scb to (targ
2/chan A)
Sep 29 11:07:51 bob kernel: scsi0: Resetting current channel A
Sep 29 11:07:51 bob kernel: scsi0: Channel reset, sequencer restarted
Sep 29 11:07:51 bob kernel: (scsi0:0:0) Aborting scb 0
Sep 29 11:07:51 bob kernel: (scsi0:2:0) Aborting scb 1
Sep 29 11:07:51 bob kernel: extra data not valid Current error st09:00:
sense key Unit Attention
Sep 29 11:07:51 bob kernel: Additional sense indicates Power on, reset, or
bus device reset occurred
Sep 29 11:14:27 bob kernel: (scsi0:2:0) Reset device, active_scb 0
Sep 29 11:14:27 bob kernel: scsi0: (targ 2/chan A) matching scb to (targ
2/chan A)
Sep 29 11:14:27 bob kernel: scsi0: (targ 2/chan A) matching scb to (targ
2/chan A)
Sep 29 11:14:27 bob kernel: scsi0: Unexpected busfree, LASTPHASE = 0x80,
SEQADDR = 0x48





Attached devices: 
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: IBM      Model: DCAS-34330       Rev: S61A
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 02 Lun: 00
  Vendor: EXABYTE  Model: EXB-4200c        Rev: 235 
  Type:   Sequential-Access                ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 04 Lun: 00
  Vendor: QUANTUM  Model: EMPIRE_2100S     Rev: 100E
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 06 Lun: 00
  Vendor: NEC      Model: CD-ROM DRIVE:462 Rev: 1.16
  Type:   CD-ROM                           ANSI SCSI revision: 02
Adaptec AIC7xxx driver version: 4.1/3.2
Compile Options:
  AIC7XXX_RESET_DELAY    : 15
  AIC7XXX_TAGGED_QUEUEING: Disabled
  AIC7XXX_PAGE_ENABLE    : Enabled
  AIC7XXX_PROC_STATS     : Disabled

Adapter Configuration:
          SCSI Adapter: Adaptec AHA-2940A Ultra SCSI host adapter
                        (AIC-786x chipset)
              Host Bus: Single
               Base IO: 0xd800
        Base IO Memory: 0xfa800000
                   IRQ: 11
                  SCBs: Used 3, HW 3, Page 8
            Interrupts: 27017
         Serial EEPROM: True
  Extended Translation: Enabled
        SCSI Bus Reset: Enabled
            Ultra SCSI: Disabled
     Target Disconnect: Enabled





More information about the aic7xxx mailing list