Hi,
We recently upgraded OS Centos 7 to Rocky 8, now we seeing error on our server which attached to tape library. Its not able to query to scsi device. Everything works find on Centos but not on Rocky.
I was googling around and learned its kinda kernel module or Linux ST driver issue. anyone else seen this error. Uploaded some relevant information.
~]# sg_logs -a /dev/nst1
inquiry: pass-through os error: Input/output error
/dev/nst1 doesn’t respond to a SCSI INQUIRY
sg_logs failed: Some other error
~]# sg_map
device /dev/nst0 failed on scsi ioctl(idlun), skip: Input/output error
device /dev/nst1 failed on scsi ioctl(idlun), skip: Input/output error
device /dev/nst2 failed on scsi ioctl(idlun), skip: Input/output error
device /dev/nst3 failed on scsi ioctl(idlun), skip: Input/output error
device /dev/nst4 failed on scsi ioctl(idlun), skip: Input/output error
/dev/sg0 /dev/sda
/dev/sg1 /dev/sdb
/dev/sg2
/dev/sg3
/dev/sg4
/dev/sg5
/dev/sg6
/dev/sg7
/dev/sg8
~]# lspci -v | grep Fibre
3b:00.0 Fibre Channel: Emulex Corporation LPe12000 Series 8Gb Fibre Channel Adapter (rev 03)
3b:00.1 Fibre Channel: Emulex Corporation LPe12000 Series 8Gb Fibre Channel Adapter (rev 03)
5e:00.0 Fibre Channel: Emulex Corporation LPe12000 Series 8Gb Fibre Channel Adapter (rev 03)
5e:00.1 Fibre Channel: Emulex Corporation LPe12000 Series 8Gb Fibre Channel Adapter (rev 03)
af:00.0 Fibre Channel: QLogic Corp. ISP2532-based 8Gb Fibre Channel to PCI Express HBA (rev 02)
af:00.1 Fibre Channel: QLogic Corp. ISP2532-based 8Gb Fibre Channel to PCI Express HBA (rev 02)
~]# modinfo lpfc | head -5
filename: /lib/modules/4.18.0-553.5.1.el8_10.x86_64/kernel/drivers/scsi/lpfc/lpfc.ko.xz
version: 0:14.0.0.21
author: Broadcom
description: Emulex LightPulse Fibre Channel SCSI driver 14.0.0.21
license: GPL
~]# lsscsi -g | grep -v disk
[9:0:0:0] tape IBM ULT3580-TD6 KAJ8 /dev/st1 /dev/sg4
[9:0:1:0] tape IBM ULT3580-TD6 KAJ8 /dev/st3 /dev/sg6
[9:0:1:1] mediumx IBM 03584L32 1B00 - /dev/sg8
[15:0:0:0] tape IBM ULT3580-TD9 R3G0 /dev/st0 /dev/sg2
[15:0:0:1] mediumx IBM 03584L32 1B00 - /dev/sg3
[21:0:0:0] tape IBM ULT3580-TD6 KAJ8 /dev/st2 /dev/sg5
[21:0:1:0] tape IBM ULT3580-TD6 KAJ8 /dev/st4 /dev/sg7
~]# mt -f /dev/nst0 status
/dev/nst0: Input/output error
~]# lsmod |grep st
st 65536 0
~]# lsmod |grep lpfc
lpfc 1224704 0
nvmet_fc 40960 1 lpfc
nvme_fc 53248 2 lpfc,qla2xxx
scsi_transport_fc 86016 2 lpfc,qla2xxx
~]# uname -a
Linux ds01 4.18.0-553.5.1.el8_10.x86_64 #1 SMP Thu Jun 6 09:41:19 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
~]# modinfo qla2xxx | grep version
version: 10.02.09.100-k
rhelversion: 8.10
srcversion: E69F6B726F4D3EE170999E5
vermagic: 4.18.0-553.5.1.el8_10.x86_64 SMP mod_unload modversions