tape changer, but not tape drive

Dan Langille dan at langille.org
Mon Apr 28 02:45:00 UTC 2008


I've added a DLT tape library to a system that already had a DLT tape  
drive.

The problem: dmesg shows only one tape drive, the original.  The tape
library's tape drive is not showing up.

$ sudo camcontrol devlist
<DEC TL800    (C) DEC 0326>        at scbus0 target 0 lun 0 (pass0,ch0)
<QUANTUM DLT7000 1E48>             at scbus1 target 5 lun 0 (sa0,pass1)
<HL-DT-ST DVDRAM GSA-H10A JL02>    at scbus3 target 0 lun 0 (pass2,cd0)

I have tried a 'camcontrol rescan all' but I don't get the tape drive  
for the
tape library (which I'm guessing with be sa1).

The following shows the expected results for tape labels from within
the tape library

[dan at ngaio:~] $ sudo chio -f /dev/ch0 status -v
Password:
Sorry, try again.
Password:
picker 0:  voltag: <:0>
slot 0: <ACCESS,FULL> voltag: <DGG472:0>
slot 1: <ACCESS,FULL> voltag: <DGG465:0>
slot 2: <ACCESS,FULL> voltag: <DGG471:0>
slot 3: <ACCESS,FULL> voltag: <DGG467:0>
slot 4: <ACCESS,FULL> voltag: <DGG442:0>
slot 5: <ACCESS,FULL> voltag: <DGG443:0>
slot 6: <ACCESS,FULL> voltag: <DGG457:0>
slot 7: <ACCESS,FULL> voltag: <DGG441:0>
slot 8: <ACCESS,FULL> voltag: <DGG440:0>
slot 9: <ACCESS,FULL> voltag: <DGG469:0>
drive 0: <ACCESS> voltag: <:0>

I have used this tape library before, and seen the tape drive:

   http://www.freebsddiary.org/digital-tl891.php

But this time, something is failing. Perhaps me.  :)

 From dmesg:

The tape library is connected to this:

ahc0: <Adaptec 2944 Ultra SCSI adapter> port 0x9400-0x94ff mem  
0xfb400000-0xfb400fff irq 16 at device 9.0 on pci0
ahc0: [GIANT-LOCKED]

The external tape drive is connected to this:
ahc1: <Adaptec 2940 Ultra SCSI adapter> port 0xa400-0xa4ff mem  
0xfbb00000-0xfbb00fff irq 18 at device 13.0 on pci0
ahc1: [GIANT-LOCKED]

sa0 at ahc1 bus 0 target 5 lun 0
sa0: <QUANTUM DLT7000 1E48> Removable Sequential Access SCSI-2 device
sa0: 20.000MB/s transfers (10.000MHz, offset 8, 16bit)
cd0 at ata1 bus 0 target 0 lun 0
cd0: <HL-DT-ST DVDRAM GSA-H10A JL02> Removable CD-ROM SCSI-0 device
cd0: 33.000MB/s transfers
cd0: cd present [1 x 2048 byte records]
acd0: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40  
0x00 0x02
ch0 at ahc0 bus 0 target 0 lun 0
ch0: <DEC TL800    (C) DEC 0326> Removable Changer SCSI-2 device
ch0: 20.000MB/s transfers (10.000MHz, offset 8, 16bit)
ch0: 10 slots, 1 drive, 1 picker, 0 portals
acd0: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40  
0x00 0x02
acd0: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40  
0x00 0x02
acd0: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40  
0x00 0x02
Trying to mount root from ufs:/dev/twed0s1a




-- 
Dan Langille -- http://www.langille.org/
dan at langille.org






More information about the freebsd-scsi mailing list