[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

problem with scsi tape



In April, I migrated our servers to debian 3.0, kernel 2.4.18. One of them 
has an external Ultrium-1 LTO tape drive attached.  After I got back from 
the data center, I realized that I had turned on the tape drive after I 
rebooted the server, so I used the "scsi add-single-device" command.

Everything seemed to work fine until June 18.  I started getting the 
following in my kernel log:

Jun 18 01:34:07 home kernel: scsi1: Someone reset channel A
Jun 18 01:34:23 home kernel: scsi1: Transceiver State Has Changed to SE 
mode
Jun 18 01:34:24 home kernel: scsi1: Transceiver State Has Changed to LVD 
mode

The "transceiver state" messages repeat, but the tape was still working.

Then the tape filled up (at least I think it did.)  The rewind command got 
stuck in an uninterruptible sleep state, so I can't kill it.  Cycling the 
tape drive didn't help.  Because of this, the tape backup is inaccessible.

I know I'm going to have to reboot, but I don't like it.  If anyone knows 
what is going on, maybe I could prevent it from happening again.

I'll include the /proc/scsi/scsi and /proc/scsi/aic7xxx, in case they can 
provide a clue.

Thanks,
Pete
---------------------------
home:/var/log# cat /proc/scsi/scsi
Attached devices:
Host: scsi1 Channel: 00 Id: 06 Lun: 00
  Vendor: HP       Model: Ultrium 1-SCSI   Rev: E16V
  Type:   Sequential-Access                ANSI SCSI revision: 03
Host: scsi1 Channel: 00 Id: 00 Lun: 00
  Vendor:          Model:                  Rev:
  Type:   <NULL>                ANSI SCSI revision: ffffffff
Host: scsi2 Channel: 00 Id: 00 Lun: 00
  Vendor: SEAGATE  Model: ST318406LC       Rev: 8A03
  Type:   Direct-Access                    ANSI SCSI revision: 03
Host: scsi2 Channel: 00 Id: 06 Lun: 00
  Vendor: DELL     Model: 1x4 U2W SCSI BP  Rev: 1.30
  Type:   Processor                        ANSI SCSI revision: 02
Host: scsi4 Channel: 00 Id: 15 Lun: 00
  Vendor: Dell     Model: 12 BAY U2W CU    Rev: 0209
  Type:   Processor                        ANSI SCSI revision: 03
Host: scsi4 Channel: 01 Id: 15 Lun: 00
  Vendor: Dell     Model: 12 BAY U2W CU    Rev: 0209
  Type:   Processor                        ANSI SCSI revision: 03
Host: scsi4 Channel: 02 Id: 00 Lun: 00
  Vendor: MegaRAID Model: LD 0 RAID5  104G Rev: 1.92
  Type:   Direct-Access                    ANSI SCSI revision: 02

home:/var/log# cat /proc/scsi/aic7xxx/1
Adaptec AIC7xxx driver version: 6.2.4
aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs
Channel A Target 0 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
Channel A Target 1 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
Channel A Target 2 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
Channel A Target 3 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
Channel A Target 4 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
Channel A Target 5 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
Channel A Target 6 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
        Goal: 80.000MB/s transfers (40.000MHz, offset 15, 16bit)
        Curr: 3.300MB/s transfers
        Channel A Target 6 Lun 0 Settings
                Commands Queued 493140
                Commands Active 0
                Command Openings 1
                Max Tagged Openings 0
                Device Queue Frozen Count 0
Channel A Target 7 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
Channel A Target 8 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
Channel A Target 9 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
Channel A Target 10 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
Channel A Target 11 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
Channel A Target 12 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
Channel A Target 13 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
Channel A Target 14 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
Channel A Target 15 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)

-- 
Peter A. Dumpert
Innovative Computer Services LLC - web design/e-pubs/consulting
Innovative BusinessNet - an ISP for Business
www.innovativebusiness.net
Phone: 732-683-0092 ext 102  Fax: 732-577-9390




Reply to: