The scsi_info utility does not correctly report the MODEL and
FW_REV fields if the channel, id, or lun are greater than 09.
I traced the problem to the match string being constructed with the
channel, id, and lun as hex numbers. If you examine the source of
scsi_proc.c in ther kernel, you can see that the strings we're trying to
match against are created with decimal numbers.
This leads to the following problem with e.g. 0,10,0:
It appears in /proc/scsi/scsi as
Host: scsi2 Channel: 00 Id: 10 Lun: 00
But scsi_info is looking in the /proc/scsi/scsi file for
Host: scsi2 Channel: 00 Id: 0a Lun: 00
This will never exist, so bogus info gets reported for MODEL and
Log in to post a comment.