Format fails on HP LTO-6 6250 with Adaptec HBA
@madjesc đang làm issue này rồi.
Từ ngày 31/8/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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
- Ngôn ngữ chính
- C
- Star
- 356
- Fork
- 111
- Merge trung bình
- 1 giờ 52 phút
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của LinearTapeFileSystem/ltfs
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 25/100
LinearTapeFileSystem/ltfs#650 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
LinearTapeFileSystem/ltfs#647 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
LinearTapeFileSystem/ltfs#645 · 3 bình luận ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
LinearTapeFileSystem/ltfs#643 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
LinearTapeFileSystem/ltfs#638 · 2 bình luận ·
Tất cả issue của LinearTapeFileSystem/ltfs
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
compiler-explorer/compiler-explorer#9272 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
semantic-reasoning/wirelog#2163 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 63/100
Xinyuan-LilyGO/T-Display-S3#352 · 3 bình luận ·
-
documentation severity/minor
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày