Closed jstodola closed 2 years ago
@steffen-maier is already working on it. This is a regression in 5.16, we tried to get it fixed before rc1, but missed the window. IIRC should be fixed once rc1 gets released.
https://lore.kernel.org/linux-scsi/7c0af228-e098-5657-934e-d2bd2bff5ee3@linux.ibm.com/ https://lore.kernel.org/linux-scsi/20211026014240.4098365-1-maier@linux.ibm.com/ https://lore.kernel.org/linux-scsi/f5900f54-dddd-6dd4-ce13-a8bdfa58b6ad@linux.ibm.com/
The tool is fine, there was a change in the SCSI common code as to when and how sysfs attributes get initialized, and especially how driver-specific attributes get attached. Once the fix is in, everything should work as before.
OK, thanks for the explanation. I'm closing this issue, since this is a problem in kernel.
Description of problem: lszfcp cannot display information about attached zFCP SCSI devices:
lszdev shows the devices correctly:
Version-Release number of selected component (if applicable): s390utils-base-2.18.0-2.fc36 kernel-5.16.0-0.rc0.20211112git5833291ab6de.12.fc36
How reproducible: always
Additional info: [1] says: "The zfcp-specific sysfs attributes hba_id, wwpn, and fcp_lun are deprecated. Use the methods described here instead to find the addressing of a SCSI device."
[1] https://www.ibm.com/docs/en/linux-on-systems?topic=devices-mapping-sysfs-representations
(Copy of Fedora bug https://bugzilla.redhat.com/show_bug.cgi?id=2023108)