tape device not seen on host

gmork123

Member
Nov 3, 2009
8
0
21
Hi,

Our proxmox 6.3-3 installation does not detect a qualstar Q24 tape library attached via SAS.
According to lspci the controller card is detected and the st module is also loaded but I have no /dev/st* devices.
dmesg does not show anything related to the tape drive.

Code:
#lspci -v

04:00.0 Serial Attached SCSI controller: LSI Logic / Symbios Logic SAS3008 PCI-Express Fusion-MPT SAS-3 (rev 02)
        Subsystem: LSI Logic / Symbios Logic SAS3008 PCI-Express Fusion-MPT SAS-3 (SAS9300-8e)
        Flags: bus master, fast devsel, latency 0, IRQ 50, NUMA node 0
        I/O ports at 7000 [size=256]
        Memory at dfd40000 (64-bit, non-prefetchable) [size=64K]
        Memory at dfd00000 (64-bit, non-prefetchable) [size=256K]
        Expansion ROM at dfc00000 [disabled] [size=1M]
        Capabilities: [50] Power Management version 3
        Capabilities: [68] Express Endpoint, MSI 00
        Capabilities: [a8] MSI: Enable- Count=1/1 Maskable+ 64bit+
        Capabilities: [c0] MSI-X: Enable+ Count=96 Masked-
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [1e0] #19
        Capabilities: [1c0] Power Budgeting <?>
        Capabilities: [190] #16
        Capabilities: [148] Alternative Routing-ID Interpretation (ARI)
        Kernel driver in use: mpt3sas
        Kernel modules: mpt3sas

# modinfo st
filename:       /lib/modules/5.4.78-2-pve/kernel/drivers/scsi/st.ko
alias:          scsi:t-0x01*
alias:          char-major-9-*
license:        GPL
description:    SCSI tape (st) driver
author:         Kai Makisara
srcversion:     BC7BF3F0D5C28137E193E3A
depends:
retpoline:      Y
intree:         Y
name:           st
vermagic:       5.4.78-2-pve SMP mod_unload modversions
parm:           buffer_kbs:Default driver buffer size for fixed block mode (KB; 32) (int)
parm:           max_sg_segs:Maximum number of scatter/gather segments to use (256) (int)
parm:           try_direct_io:Try direct I/O between user buffer and tape drive (1) (int)
parm:           debug_flag:Enable DEBUG, same as setting debugging=1 (int)
parm:           try_rdio:Try direct read i/o when possible (int)
parm:           try_wdio:Try direct write i/o when possible (int)

# lsscsi | grep -i tape
# 

# ls -la /dev/st*
lrwxrwxrwx 1 root root 15 Dec 16 22:15 /dev/stderr -> /proc/self/fd/2
lrwxrwxrwx 1 root root 15 Dec 16 22:15 /dev/stdin -> /proc/self/fd/0
lrwxrwxrwx 1 root root 15 Dec 16 22:15 /dev/stdout -> /proc/self/fd/1
#

I guess it's not really a proxmox issue but a generic debian thing but I have no idea where to debug from here.
We are migrating from freenas to proxmox and since it was working in freenas I guess it's not a hardware issue.

Wessel