Skip to content

Encryption Function Error? #498

@Nyosy

Description

@Nyosy

Vendor ID = HP
Product ID = Ultrium 6-SCSI
Product Name =[Ultrium 6-SCSI]

I have HP Ultrium 6 tape drive and I try to use the encryption function. (my tape drive support it)
I typed command
'mkltfs -d $SERIAL --kmi-backend=simple -o kmi_dki_for_format=$KEYINDEX -o kmi_dk_for_format=$KEY'
but the message displayed.
'LTFS30243E Encryption feature is not supported on the drive: 8454.'

in [src > tape_drivers > linux > sg > sg_tape.c]
I think the Function [is_encryption_capable] is not work properly.
maybe '!' missing in if statement

if (IS_LTO(priv->drive_type)) {
ltfsmsg(LTFS_ERR, 30243E, priv->drive_type);
return -EDEV_INTERNAL_ERROR;
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions