[clug] tape drive half recognised

Duncan Roe duncan_roe at acslink.net.au
Fri Dec 14 22:15:07 GMT 2007


Hi Michael,

The SCSI scan is taking place but encountering parity errors and giving up.

You need to fix this parity problem.

The device itself could be bad, or it may have a jumper to enable parity (look
underneatch the deck). You may have to expend some effort to find documentation
for the jumper, if the deck has one.

Cheers ... Duncan.

On Fri, Dec 14, 2007 at 04:08:45PM +1100, Michael James wrote:
> Anyone know the commands I need to provoke and debug SCSI scanning?
>
> I've got a Dell PV132T tape robot
>  that is only half being recognised on boot.
>
> The changer creates a device (/dev/sg0) and mtx can talk to it.
> The drive doesn't and  mt  can't see it
>  and it isn't in /proc/scsi/scsi
>
> The box presents 2 units on the same SCSI chain,
>  the changer mechanism (ID 0)
>  and the tape drive  (ID 1)
>
> Both are present in BIOS and in /proc/scsi/aic7xxx/0
>  (it's an Adaptec card)
>
> root>  cat /proc/scsi/aic7xxx/0
> Adaptec AIC7xxx driver version: 6.2.36
> Adaptec 3960D Ultra160 SCSI adapter
> aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
> Allocated SCBs: 4, SG List Length: 128
>
> Serial EEPROM:
> 0xc33a 0xc33a 0xc33a 0xc33a 0xc33a 0xc33a 0xc33a 0xc33a
> 0xc33a 0xc33a 0xc33a 0xc33a 0xc33a 0xc33a 0xc33a 0xc33a
> 0xb8f4 0x7c5d 0x2807 0x0010 0xffff 0xffff 0xffff 0xffff
> 0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0x0250 0x934e
>
> Target 0 Negotiation Settings
>         User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
>         Goal: 3.300MB/s transfers
>         Curr: 3.300MB/s transfers
>         Channel A Target 0 Lun 0 Settings
>                 Commands Queued 32
>                 Commands Active 0
>                 Command Openings 1
>                 Max Tagged Openings 0
>                 Device Queue Frozen Count 0
> Target 1 Negotiation Settings
>         User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
>         Goal: 80.000MB/s transfers (40.000MHz, offset 15, 16bit)
>         Curr: 80.000MB/s transfers (40.000MHz, offset 15, 16bit)
>         Channel A Target 1 Lun 0 Settings
>                 Commands Queued 13
>                 Commands Active 0
>                 Command Openings 1
>                 Max Tagged Openings 0
>                 Device Queue Frozen Count 0
> Target 2 Negotiation Settings
>         User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
>
> Targets 2 and up report the same.
>
>
> This is the relevant part of  dmesg
>
> SCSI subsystem initialized
> ACPI: PCI interrupt 0000:01:06.0[A] -> GSI 16 (level, low) -> IRQ 16
> ACPI: PCI interrupt 0000:01:06.1[B] -> GSI 17 (level, low) -> IRQ 17
> scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
>         <Adaptec 3960D Ultra160 SCSI adapter>
>         aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
>
> (scsi0:A:1): 80.000MB/s transfers (40.000MHz, offset 15, 16bit)
>   Vendor: DELL      Model: PV-132T           Rev: 107D
>   Type:   Medium Changer                     ANSI SCSI revision: 02
> (scsi0:A:1:0): parity error detected in Data-in phase. SEQADDR(0x73)
> SCSIRATE(0x93)
> (scsi0:A:1:0): parity error detected in Data-in phase. SEQADDR(0x73)
> SCSIRATE(0x93)
> (scsi0:A:1:0): parity error detected in Data-in phase. SEQADDR(0x73)
> SCSIRATE(0x93)
> (scsi0:A:1:0): parity error detected in Data-in phase. SEQADDR(0x73)
> SCSIRATE(0x93)
> (scsi0:A:1:0): parity error detected in Data-in phase. SEQADDR(0x73)
> SCSIRATE(0x93)
> (scsi0:A:1:0): parity error detected in Data-in phase. SEQADDR(0x73)
> SCSIRATE(0x93)
> scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
>         <Adaptec 3960D Ultra160 SCSI adapter>
>         aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs
>
> qla1280: Skipping AMI SubSys Vendor ID Chip
> Adaptec aacraid driver (1.1-4 Oct  3 2007 20:51:31)
> ACPI: PCI interrupt 0000:06:08.1[A] -> GSI 30 (level, low) -> IRQ 19
> AAC0: kernel 2.8-1[6098]
> AAC0: monitor 2.8-1[6098]
> AAC0: bios 2.8-1[6098]
> AAC0: serial e21c38d3
> scsi2 : percraid
>   Vendor: DELL      Model: PERC Mirror       Rev: V1.0
>   Type:   Direct-Access                      ANSI SCSI revision: 02
> SCSI device sda: 143357184 512-byte hdwr sectors (73399 MB)
> sda: Write Protect is off
> sda: Mode Sense: 03 00 00 00
> SCSI device sda: drive cache: write through
>
>
>
> --
> There is no perl one line hack
>  that a page of java won't do more elegantly.
> --
> linux mailing list
> linux at lists.samba.org
> https://lists.samba.org/mailman/listinfo/linux

--
 Please avoid sending me Word or PowerPoint attachments.
 See http://www.gnu.org/philosophy/no-word-attachments.html


More information about the linux mailing list