Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

2.4.9.1 mkltfs failed

未关闭
#656 3 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@madjesc 已经在做这个了。

开始于 2026年10月14日。

评估

这个 Issue 还没有评估数据。

描述

Investigating

Describe the bug
the latest release/2.4.9.1 mkltfs failed, ether cmake or make
the main branch works.

LTFS15000I Starting mkltfs, LTFS version 2.4.9.0 (Prelim), log level 2.
LTFS15041I Launched by "/opt/ltfs/bin/mkltfs -d HUJ5414UEJ -f -s 001981 -n MASS_DATA".
LTFS15042I This binary is built for Linux (x86_64).
LTFS15043I GCC version is 16.2.1 20260819 (Red Hat 16.2.1-2).
LTFS17087I Kernel version: Linux version 7.2.10-300.fc45.x86_64 (mockbuild@1adc39f9576c4d2bb901a2c8d4d894c4) (gcc (GCC) 16.2.1 20260819 (Red Hat 16.2.1-2), GNU ld version 2.47.20260726) #1 SMP PREEMPT_DYNAMIC Sun Oct 11 18:03:07 UTC 2026 i386.
LTFS17089I Distribution: Fedora release 45 (Forty Five).
LTFS17089I Distribution: NAME="Fedora Linux".
LTFS17089I Distribution: Fedora release 45 (Forty Five).
LTFS17089I Distribution: Fedora release 45 (Forty Five).
LTFS15003I Formatting device 'HUJ5414UEJ'.
LTFS15004I LTFS volume blocksize: 524288.
LTFS15005I Index partition placement policy: None.

LTFS11337I Update index-dirty flag (1) - 001981 (0x0x55e1a8837a60).
LTFS17085I Plugin: Loading "sg" tape backend.
LTFS30209I Opening a device through sg-ibmtape driver (HUJ5414UEJ).
LTFS30288I Opening a tape device for drive serial HUJ5414UEJ.
LTFS30250I Opened the SCSI tape device 6.0.0.0 (/dev/sg5).
LTFS30207I Vendor ID is HP      .
LTFS30208I Product ID is Ultrium 6-SCSI  .
LTFS30214I Firmware revision is 25MW.
LTFS30215I Drive serial is HUJ5414UEJ.
LTFS30290I Changer /dev/sg5 isn't reserved from any nodes.
LTFS30285I The reserved buffer size of HUJ5414UEJ is 1048576.
LTFS30294I Setting up timeout values from RSOC.
LTFS17160I Maximum device block size is 1048576.
LTFS11330I Loading cartridge.
LTFS11332I Load successful.
LTFS30205I MODESELECT (0x55) returns 05/2400 (-20501).
LTFS30263I MODESELECT returns Invalid Field in CDB (-20501) /dev/sg5.
LTFS17103E Cannot set PEWS: Mode Select for Device Configuration Extension failed (-20501).
LTFS17157I Changing the drive setting to write-anywhere mode.
LTFS15049I Checking the medium (load).
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.
LTFS30205I MODESELECT (0x55) returns 05/2400 (-20501).
LTFS30263I MODESELECT returns Invalid Field in CDB (-20501) /dev/sg5.
LTFS30205I FORMAT (0x04) returns 05/2602 (-20500).
LTFS30263I FORMAT returns Parameter Value Invalid (-20500) /dev/sg5.
LTFS12053E Cannot format medium: backend call failed (-20500).
LTFS11098E Cannot format: failed to partition the medium (-20500).
LTFS15012E Failed to format the medium.
LTFS30205I MODESELECT (0x55) returns 05/2400 (-20501).
LTFS30263I MODESELECT returns Invalid Field in CDB (-20501) /dev/sg5.
LTFS17155E Cannot set WRITE MODE: Mode Select for Device Configuration Extension failed (-20501).
LTFS30205I MODESELECT (0x55) returns 05/2400 (-20501).
LTFS30263I MODESELECT returns Invalid Field in CDB (-20501) /dev/sg5.
LTFS15023I Formatting failed.

Fedora 45 beta

主要语言
C
星标
358
派生
111
平均合并
5 天 1 小时
30 天内合并 PR
2

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

LinearTapeFileSystem/ltfs 的其他 Issue

查看 LinearTapeFileSystem/ltfs 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。