Hi,

This is regarding to my recent posting.  This time I used Solaris 8
x86's vendor driver called sgen instead of using sst.  The sgen
driver creates a device name /dev/scsi/changer/c2t1d0.

This time I got a different error message when running amtape:

[amanda@marge ~]% amtape testset show
amtape: scanning all 7 slots in tape-changer rack:
amtape: could not load slot DeviceCapabilitiesPage: == NULL

Any idea what's wrong?

Here are the output of chg-scsi.debug:


ARG [0] : /usr/local/libexec/chg-scsi
ARG [1] : -slot
ARG [2] : current
Number of configurations: 1
Tapes need eject: Yes
Tapes need sleep: 90 seconds
Cleancycles     : 10
Changerdevice   : /dev/scsi/changer/c2t1d0
Tapeconfig Nr: 0
  Drivenumber   : 0
  Startslot     : 0
  Endslot       : 6
  Cleanslot     : 6
  Devicename    : /dev/rmt/0cn
  changerident  : none
  SCSITapedev   : none
  tapeident     : none
  statfile      : /usr/local/etc/amanda/testset/tape0-status
  Slotfile      : /usr/local/etc/amanda/testset/tape0-slot
  Cleanfile     : /usr/local/etc/amanda/testset/tape0-clean
  Usagecount    : /usr/local/etc/amanda/testset/totaltime
##### START OpenDevice
OpenDevice : /dev/scsi/changer/c2t1d0
##### START SCSI_Inquiry
SCSI_Inquiry start length = 56:
##### START DecodeSCSI
SCSI_ExecuteCommand :  INQUIRY 12 00 00 00 38 00
##### STOP DecodeSCSI
08 80 02 02 33 00 00 00 41 44 49 43 20 20 20 20    ....3...ADIC....
46 61 73 74 53 74 6F 72 20 44 4C 54 20 20 20 20    FastStor.DLT....
44 31 31 36 00 00 00 00 00 17 00 00 00 00 00 00    D116............
00 00 00 00 00 00 00 00 
SCSI_Inquiry : end 0
##### START PrintInquiry
qualifier       0
type            8
data_format     2
ansi_version    2
ecma_version    0
iso_version     0
type_modifier   0
removable       1
vendor_info     ADIC    
prod_ident      FastStor DLT    
prod_version    D116
vendor_specific 
using ident = generic, type = Generic driver tape/robot [generic]
##### START OpenDevice
OpenDevice : /dev/rmt/0cn
##### START SCSI_Inquiry
SCSI_Inquiry start length = 56:
##### START DecodeSCSI
SCSI_ExecuteCommand :  INQUIRY 12 00 00 00 38 00
##### STOP DecodeSCSI
ioctl on 5 failed, errno 1, ret -1
##### START RequestSense
##### START DecodeSCSI
SCSI_ExecuteCommand :  REQUEST SENSE 03 00 00 00 1D 00
##### STOP DecodeSCSI
ioctl on 5 failed, errno 1, ret -1
##### START RequestSense
##### START DecodeSCSI
SCSI_ExecuteCommand :  REQUEST SENSE 03 00 00 00 1D 00
##### STOP DecodeSCSI
ioctl on 5 failed, errno 1, ret -1
##### START RequestSense
##### START DecodeExtSense
SCSI_ExecuteCommand:Extended Sense
##### START DecodeSense
SCSI_ExecuteCommand:Sense Keys
        ErrorCode                     00
        Valid                         0
        ASC                           00
        ASCQ                          00
        Sense key                     00
                No Sense
        Log Parameter Page Code         00
        Log Parameter Code              00
        Underrun/Overrun Counter        00
        Read/Write Error Counter        0
        Remaing 1024 byte tape blocks   0
        Tracking Retry Counter          00
        Read/Write Retry Counter        00
        Fault Sympton Code              00
##### START DecodeExtSense
SCSI_ExecuteCommand:Extended Sense
##### START DecodeSense
SCSI_ExecuteCommand:Sense Keys
        ErrorCode                     00
        Valid                         0
        ASC                           00
        ASCQ                          00
        Sense key                     00
                No Sense
        Log Parameter Page Code         00
        Log Parameter Code              00
        Underrun/Overrun Counter        00
        Read/Write Error Counter        0
        Remaing 1024 byte tape blocks   0
        Tracking Retry Counter          00
        Read/Write Retry Counter        00
        Fault Sympton Code              00
##### START DecodeExtSense
SCSI_ExecuteCommand:Extended Sense
##### START DecodeSense
SCSI_ExecuteCommand:Sense Keys
        ErrorCode                     00
        Valid                         0
        ASC                           00
        ASCQ                          00
        Sense key                     00
                No Sense
        Log Parameter Page Code         00
        Log Parameter Code              00
        Underrun/Overrun Counter        00
        Read/Write Error Counter        0
        Remaing 1024 byte tape blocks   0
        Tracking Retry Counter          00
        Read/Write Retry Counter        00
        Fault Sympton Code              00
chs: Request Sense[Inquiry]: 00 00 00 00 00 00 00 00 00 00 00 00 00
00 
00 00
Inquiry end: -1
using ident = generic, type = Generic driver tape/robot [generic]
need_eject set to 2
###### START get_drive_count
get_drive_count      : fd 4
##### START GenericElementStatus
##### START SCSI_ModeSense
SCSI_ModeSense start length = 255:
##### START DecodeSCSI
SCSI_ExecuteCommand :  MODE SENSE 1A 08 3F 00 FF 00
##### STOP DecodeSCSI
SCSI_ModeSense end: 0
##### START DecodeModeSense
65 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    e...............
1D 12 00 56 00 01 00 01 00 07 00 00 00 00 00 52    ...V...........R
00 01 00 00 1E 02 00 00 1F 0E 0A 00 0A 0B 00 03    ................
00 00 00 00 00 00 00 00 00 2C 43 6F 70 79 72 69    ..........Copyri
67 68 74 20 28 43 29 20 31 39 39 37 20 2D 20 31    ght..C..1997...1
39 39 39 20 41 44 49 43 20 20 31 39 39 39 2D 31    999.ADIC..1999.1
31 2D 30 34 2B E9 00 00 00 00 00 00 00 00 00 00    1.04............
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
buffer length = 97
##### START BarCode
BarCode              : fd 4
Ident = [FastStor DLT], function = [generic]
##### START NoBarCode
##### START SCSI_ReadElementStatus
##### START DecodeSCSI
SCSI_ExecuteCommand :  READ ELEMENT STATUS B8 00 00 00 FF FF 00 00 00 
08 00 00
##### STOP DecodeSCSI
SCSI_ReadElementStatus : (1) SCSI_ExecuteCommand 0
SCSI_ReadElementStatus: DataBufferLength B0, ret 0
00 01 00 09 00 00 00 A8 
##### START DecodeSCSI
SCSI_ExecuteCommand :  READ ELEMENT STATUS B8 00 00 00 FF FF 00 00 00 
B0 00 00
##### STOP DecodeSCSI
SCSI_ReadElementStatus : (2) SCSI_ExecuteCommand 0
00 01 00 09 00 00 00 A8 01 00 00 10 00 00 00 10    ................
00 56 04 00 83 03 00 00 00 00 00 00 00 00 00 00    .V..............
02 00 00 10 00 00 00 70 00 01 0D 00 83 03 00 00    .......p........
00 00 00 00 00 00 00 00 00 02 0D 00 83 03 00 00    ................
00 00 00 00 00 00 00 00 00 03 0D 00 83 03 00 00    ................
00 80 00 02 00 00 00 00 00 04 0D 00 83 03 00 00    ................
00 80 00 03 00 00 00 00 00 05 0D 00 83 03 00 00    ................
00 80 00 04 00 00 00 00 00 06 0D 00 83 03 00 00    ................
00 80 00 06 00 00 00 00 00 07 0D 00 83 03 00 00    ................
00 80 00 02 00 00 00 00 04 00 00 10 00 00 00 10    ................
00 52 0C 00 83 03 20 03 00 00 00 00 00 00 00 00    .R..............

##### START SenseHandler
Ident = [FastStor DLT], function = [generic]
##### START GenericSenseHandler
##### START DecodeSense
GenericSenseHandler : Sense Keys
        ErrorCode                     01
        Valid                         0
        ASC                           45
        ASCQ                          00
        Sense key                     00
                No Sense
GenericSenseHandler : Unknow 0 ASC = 45 ASCQ = 0
#### STOP SenseHandler
##### START SenseHandler
Ident = [FastStor DLT], function = [generic]
##### START GenericSenseHandler
##### START DecodeSense
GenericSenseHandler : Sense Keys
        ErrorCode                     02
        Valid                         0
        ASC                           46
        ASCQ                          00
        Sense key                     00
                No Sense
GenericSenseHandler : Unknow 0 ASC = 46 ASCQ = 0
#### STOP SenseHandler
##### START SenseHandler
Ident = [FastStor DLT], function = [generic]
##### START GenericSenseHandler
##### START DecodeSense
GenericSenseHandler : Sense Keys
        ErrorCode                     02
        Valid                         0
        ASC                           46
        ASCQ                          00
        Sense key                     00
                No Sense
GenericSenseHandler : Unknow 0 ASC = 46 ASCQ = 0
#### STOP SenseHandler
##### START SenseHandler
Ident = [FastStor DLT], function = [generic]
##### START GenericSenseHandler
##### START DecodeSense
GenericSenseHandler : Sense Keys
        ErrorCode                     02
        Valid                         0
        ASC                           46
        ASCQ                          00
        Sense key                     00
                No Sense
GenericSenseHandler : Unknow 0 ASC = 46 ASCQ = 0
#### STOP SenseHandler
##### START SenseHandler
Ident = [FastStor DLT], function = [generic]
##### START GenericSenseHandler
##### START DecodeSense
GenericSenseHandler : Sense Keys
        ErrorCode                     02
        Valid                         0
        ASC                           46
        ASCQ                          00
        Sense key                     00
                No Sense
GenericSenseHandler : Unknow 0 ASC = 46 ASCQ = 0
#### STOP SenseHandler
##### START SenseHandler
Ident = [FastStor DLT], function = [generic]
##### START GenericSenseHandler
##### START DecodeSense
GenericSenseHandler : Sense Keys
        ErrorCode                     02
        Valid                         0
        ASC                           46
        ASCQ                          00
        Sense key                     00
                No Sense
GenericSenseHandler : Unknow 0 ASC = 46 ASCQ = 0
#### STOP SenseHandler
##### START SenseHandler
Ident = [FastStor DLT], function = [generic]
##### START GenericSenseHandler
##### START DecodeSense
GenericSenseHandler : Sense Keys
        ErrorCode                     02
        Valid                         0
        ASC                           46
        ASCQ                          00
        Sense key                     00
                No Sense
GenericSenseHandler : Unknow 0 ASC = 46 ASCQ = 0
#### STOP SenseHandler
##### START SenseHandler
Ident = [FastStor DLT], function = [generic]
##### START GenericSenseHandler
##### START DecodeSense
GenericSenseHandler : Sense Keys
        ErrorCode                     02
        Valid                         0
        ASC                           46
        ASCQ                          00
        Sense key                     00
                No Sense
GenericSenseHandler : Unknow 0 ASC = 46 ASCQ = 0
#### STOP SenseHandler
##### START SenseHandler
Ident = [FastStor DLT], function = [generic]
##### START GenericSenseHandler
##### START DecodeSense
GenericSenseHandler : Sense Keys
        ErrorCode                     04
        Valid                         0
        ASC                           45
        ASCQ                          00
        Sense key                     00
                No Sense
GenericSenseHandler : Unknow 0 ASC = 45 ASCQ = 0
#### STOP SenseHandler


        Media Transport Elements (robot arms) :
                Element #0086 E
                        EXCEPT = 01
                        ASC = 83 ASCQ = 03
                        Type 1 From = -001
                        TAG = 


        Storage Elements (Media slots) :
                Element #0001 F
                        EXCEPT = 01
                        ASC = 83 ASCQ = 03
                        Type 2 From = -001
                        TAG = 
                Element #0002 F
                        EXCEPT = 01
                        ASC = 83 ASCQ = 03
                        Type 2 From = -001
                        TAG = 
                Element #0003 F
                        EXCEPT = 01
                        ASC = 83 ASCQ = 03
                        Type 2 From = 0002
                        TAG = 
                Element #0004 F
                        EXCEPT = 01
                        ASC = 83 ASCQ = 03
                        Type 2 From = 0003
                        TAG = 
                Element #0005 F
                        EXCEPT = 01
                        ASC = 83 ASCQ = 03
                        Type 2 From = 0004
                        TAG = 
                Element #0006 F
                        EXCEPT = 01
                        ASC = 83 ASCQ = 03
                        Type 2 From = 0006
                        TAG = 
                Element #0007 F
                        EXCEPT = 01
                        ASC = 83 ASCQ = 03
                        Type 2 From = 0002
                        TAG = 


        Data Transfer Elements (tape drives) :
                Element #0082 E
                        EXCEPT = 01
                        ASC = 83 ASCQ = 03
                        Type 4 From = -001
                        TAG = 
                        SCSI ADDRESS = 3


        Import/Export Elements  :
###### START drive_loaded
drive_loaded         : fd 4 drivenum 0 
##### START isempty
##### STOP isempty [0]
##### START get_clean_state
##### STOP get_clean_state [-1]
###### START load
load                 : fd 4, drive 0, slot 1 
load : load drive 0[82] slot 1[2]
##### START GenericMove
GenericMove          : from = 2, to = 82
GenericMove : can't send SCSI commands to tape, no log pages read
##### START LookupElement
##### STOP LookupElement (STE)
##### START LookupElement
##### STOP LookupElement (DTE)
CheckMove : pDeviceCapabilitiesPage == NULLChgExit in CheckMove, 
reason DeviceCapabilitiesPage == NULL

Reply via email to