Describe the bug
Drive and tape is detected, but format fails. Possible HBA card issue?
To Reproduce
Steps to reproduce the behavior:
Check out the recent branch with support for the new icu package name(s) on Debian/Ubuntu based systems:
git clone https://github.com/LinearTapeFileSystem/ltfs.git
git switch release/v2.4.9.0
git submodule update --init --recursive
./autogen.sh
./configure
make install
Build works without error - I have tried building with/without --enable-buggy-ifs and it makes no difference to the observed behavour (or messages shown).
Check drive is detected:
ltfs -o device_list
3793f9 LTFS14000I LTFS starting, LTFS version 2.4.9.0 (Prelim), log level 2.
3793f9 LTFS14058I LTFS Format Specification version 2.4.0.
3793f9 LTFS14104I Launched by "/opt/ltfs/bin/ltfs -o device_list".
3793f9 LTFS14105I This binary is built for Linux (x86_64).
3793f9 LTFS14106I GCC version is 11.4.0.
3793f9 LTFS17087I Kernel version: Linux version 6.8.0-134-generic (buildd@lcy02-amd64-030) (x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04.3) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #134~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Jun 30 14:05:04 UTC i386.
3793f9 LTFS17089I Distribution: NAME="Linux Mint".
3793f9 LTFS17089I Distribution: DISTRIB_ID=LinuxMint.
3793f9 LTFS17085I Plugin: Loading "sg" tape backend.
Tape Device list:.
Device Name = /dev/sg8 (0.3.0.0), Vendor ID = HP , Product ID = Ultrium 6-SCSI , Serial Number = XXXXXXXXX, Product Name =[Ultrium 6-SCSI].
Attempt to format a tape:
mkltfs -d /dev/sg8
LTFS15000I Starting mkltfs, LTFS version 2.4.9.0 (Prelim), log level 2.
LTFS15041I Launched by "/opt/ltfs/bin/mkltfs -d /dev/sg8".
LTFS15042I This binary is built for Linux (x86_64).
LTFS15043I GCC version is 11.4.0.
LTFS17087I Kernel version: Linux version 6.8.0-134-generic (buildd@lcy02-amd64-030) (x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04.3) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #134~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Jun 30 14:05:04 UTC i386.
LTFS17089I Distribution: NAME="Linux Mint".
LTFS17089I Distribution: DISTRIB_ID=LinuxMint.
LTFS15003I Formatting device '/dev/sg8'.
LTFS15004I LTFS volume blocksize: 524288.
LTFS15005I Index partition placement policy: None.
LTFS11337I Update index-dirty flag (1) - NO_BARCODE (0x0x5e2fb4c658b0).
LTFS17085I Plugin: Loading "sg" tape backend.
LTFS30209I Opening a device through sg-ibmtape driver (/dev/sg8).
LTFS30250I Opened the SCSI tape device 0.3.0.0 (/dev/sg8).
LTFS30207I Vendor ID is HP .
LTFS30208I Product ID is Ultrium 6-SCSI .
LTFS30214I Firmware revision is 35GD.
LTFS30215I Drive serial is XXXXXXXXX.
LTFS30285I The reserved buffer size of /dev/sg8 is 262144.
LTFS30263I RSOC returns Internal error detected in the host adapter (-21702) /dev/sg8.
LTFS30294I Setting up timeout values from vendor and device.
LTFS17160I Maximum device block size is 1048576.
LTFS11330I Loading cartridge.
LTFS11332I Load successful.
LTFS17157I Changing the drive setting to write-anywhere mode.
LTFS15049I Checking the medium (mount).
LTFS15010I Creating data partition b on SCSI partition 1.
LTFS15011I Creating index partition a on SCSI partition 0.
LTFS17165I Resetting the medium's capacity proportion.
LTFS11097I Partitioning the medium.
LTFS11100I Writing label to partition b.
LTFS11278I Writing index to partition b.
LTFS30263I READ_ATTR returns Internal error detected in the host adapter (-21702) /dev/sg8.
LTFS30233I Cannot read attribute (-21702).
LTFS11342E Failed to get the volume lock status (-21702).
LTFS11279E Cannot write index to partition b (-21702).
LTFS15012E Failed to format the medium.
LTFS30263I MODESELECT returns Internal error detected in the host adapter (-21702) /dev/sg8.
LTFS15023I Formatting failed.
Is this a HBA driver issue? I have been using the drive happily with plain old tar for quite a while, but there's a few use cases where 'drag and drop' files would be a neater solution in certain cases.
Details:
OS: Linux Mint, kernel 6.8.0-134
Drive: HP 6250 in SAS enclosure
HBA: Adaptec ASR78165
Describe the bug
Drive and tape is detected, but format fails. Possible HBA card issue?
To Reproduce
Steps to reproduce the behavior:
Check out the recent branch with support for the new icu package name(s) on Debian/Ubuntu based systems:
Build works without error - I have tried building with/without
--enable-buggy-ifsand it makes no difference to the observed behavour (or messages shown).Check drive is detected:
Attempt to format a tape:
Is this a HBA driver issue? I have been using the drive happily with plain old tar for quite a while, but there's a few use cases where 'drag and drop' files would be a neater solution in certain cases.
Details:
OS: Linux Mint, kernel 6.8.0-134
Drive: HP 6250 in SAS enclosure
HBA: Adaptec ASR78165