TANDBERG LTO-6 HH is not detected and empty cartridge cannot be formated.
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Attiva
- Stack tecnologico
- c, linux
- Ambito
- backend, operating-systems
Direzione di ricerca
Inizia riproducendo entrambi i malfunzionamenti con ltfs -o device-list e mkltfs -d /dev/sg0, quindi esamina il backend SG per nastri indicato in libtape-sg.so e i log corrispondenti. Il lavoro è completato quando il TANDBERG LTO-6 HH viene rilevato e la formattazione di una cartuccia vuota termina senza un errore di sense sconosciuto o una segmentation fault.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Describe the bug
ltfs -o device-list fails with Cannot open device: failed backend open call, also mkltfs -d /dev/sg0 fails with an unknown sense code.
To Reproduce
Steps to reproduce the behavior:
Installation:
git checkout release/v2.4.9.0
git submodule update --init --recursive
./autogen.sh
./configure
make
make install
Observed behavior Issue A
Command:
sudo ltfs -o device-list
The command ltfs -o device-list returned:
156f4 LTFS14000I LTFS starting, LTFS version 2.4.9.0 (Prelim), log level 2.
156f4 LTFS14058I LTFS Format Specification version 2.4.0.
156f4 LTFS14104I Launched by "ltfs -o device-list".
156f4 LTFS14105I This binary is built for Linux (x86_64).
156f4 LTFS14106I GCC version is 15.2.0.
156f4 LTFS17087I Kernel version: Linux version 7.0.0-29-generic (buildd@lcy02-amd64-113) (x86_64-linux-gnu-gcc (Ubuntu 15.2.0-16ubuntu1) 15.2.0, GNU ld (GNU Binutils for Ubuntu) 2.46) #29-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 17 20:52:35 UTC 2026 i386.
156f4 LTFS17089I Distribution: DISTRIB_ID=Ubuntu.
156f4 LTFS17089I Distribution: PRETTY_NAME="Ubuntu 26.04 LTS".
156f4 LTFS14063I Sync type is "time", Sync time is 300 sec.
156f4 LTFS17085I Plugin: Loading "sg" tape backend.
156f4 LTFS17085I Plugin: Loading "unified" iosched backend.
156f4 LTFS14095I Set the tape device write-anywhere mode to avoid cartridge ejection.
156f4 LTFS30209I Opening a device through sg-ibmtape driver (0).
156f4 LTFS30288I Opening a tape device for drive serial 0.
156f4 LTFS12012E Cannot open device: failed backend open call.
156f4 LTFS10004E Cannot open device '0'.
Observed behavior Issue B
The command mkltfs -d /dev/sg0 failed:
natsim@TheFatOfTheLand:~/ltfs$ sudo mkltfs -d /dev/sg0
LTFS15000I Starting mkltfs, LTFS version 2.4.9.0 (Prelim), log level 2.
LTFS15041I Launched by "mkltfs -d /dev/sg0".
LTFS15042I This binary is built for Linux (x86_64).
LTFS15043I GCC version is 15.2.0.
LTFS17087I Kernel version: Linux version 7.0.0-29-generic (buildd@lcy02-amd64-113) (x86_64-linux-gnu-gcc (Ubuntu 15.2.0-16ubuntu1) 15.2.0, GNU ld (GNU Binutils for Ubuntu) 2.46) #29-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 17 20:52:35 UTC 2026 i386.
LTFS17089I Distribution: DISTRIB_ID=Ubuntu.
LTFS17089I Distribution: PRETTY_NAME="Ubuntu 26.04 LTS".
LTFS15003I Formatting device '/dev/sg0'.
LTFS15004I LTFS volume blocksize: 524288.
LTFS15005I Index partition placement policy: None.
LTFS11337I Update index-dirty flag (1) - NO_BARCODE (0x0x61991ca168a0).
LTFS17085I Plugin: Loading "sg" tape backend.
LTFS30209I Opening a device through sg-ibmtape driver (/dev/sg0).
Segmentation fault sudo mkltfs -d /dev/sg0
dmesg says:
[ 3182.554453] mkltfs[100872]: segfault at 0 ip 00007bc1444623e0 sp 00007ffebdee2710 error 4 in libtape-sg.so[a3e0,7bc14445e000+2b000] likely on CPU 19 (core 39, socket 0)
[ 3182.554463] Code: ff ff 85 c0 75 15 48 8b 85 a8 fe ff ff 48 8b 00 8b 40 1c 89 85 a0 fe ff ff eb 1b 48 83 85 a8 fe ff ff 08 48 8b 85 a8 fe ff ff <48> 8b 00 48 85 c0 0f 85 57 ff ff ff 83 bd a0 fe ff ff 00 7e 7d 48
Other information
- Kernel: Linux 7.0.0-29-generic
- OS: Ubuntu 26.04 LTS
- Device: TANDBERG LTO-6 HH
- Lingua principale
- C
- Stelle
- 352
- Fork
- 110
- Merge medio
- 2h 50m
- PR unite (30g)
- 2
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di LinearTapeFileSystem/ltfs
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
LinearTapeFileSystem/ltfs#647 · 1 commento ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
LinearTapeFileSystem/ltfs#643 ·
-
H/W issue HBA Report Investigating
LinearTapeFileSystem/ltfs#640 · 7 commenti · 1 assegnatario ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
LinearTapeFileSystem/ltfs#638 · 2 commenti ·
-
Investigating
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
LinearTapeFileSystem/ltfs#629 · 2 reazioni ·
Tutte le issue di LinearTapeFileSystem/ltfs
Issue simili
-
task
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
vsanthanam/JBird#429 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
bug documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
es-ude/OnDeviceTraining#459 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
bilelmoussaoui/gobject-linter#199 · 1 commento ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
bradcypert/plum#53 ·