RE: correcting incorrect peripheral device type 0x0

From: Avri Altman
Date: Tue Apr 02 2019 - 11:40:39 EST


Hi,
Looking where this warning is coming from,
Scsi is just forcing sdev->type = TYPE_WLUN for wluns.
As no other driver sets it by itself - I wouldn't lose sleep over it.
Thanks,
Avri


> -----Original Message-----
> From: Marc Gonzalez <marc.w.gonzalez@xxxxxxx>
> Sent: Tuesday, April 02, 2019 6:05 PM
> To: Martin Petersen <martin.petersen@xxxxxxxxxx>; Avri Altman
> <Avri.Altman@xxxxxxx>; Alim Akhtar <alim.akhtar@xxxxxxxxxxx>
> Cc: SCSI <linux-scsi@xxxxxxxxxxxxxxx>; LKML <linux-kernel@xxxxxxxxxxxxxxx>
> Subject: correcting incorrect peripheral device type 0x0
>
> Hello,
>
> In my boot log, when UFS is enabled, I get the following warnings:
>
> scsi 0:0:0:49488: scsi_add_lun: correcting incorrect peripheral device type
> 0x0 for W-LUN 0x c150hN
> scsi 0:0:0:49488: Well-known LUN SAMSUNG KLUCG4J1EB-B0B1 0200 PQ:
> 0 ANSI: 6
> scsi 0:0:0:49476: scsi_add_lun: correcting incorrect peripheral device type
> 0x0 for W-LUN 0x c144hN
> scsi 0:0:0:49476: Well-known LUN SAMSUNG KLUCG4J1EB-B0B1 0200 PQ:
> 0 ANSI: 6
> scsi 0:0:0:49456: scsi_add_lun: correcting incorrect peripheral device type
> 0x0 for W-LUN 0x c130hN
> scsi 0:0:0:49456: Well-known LUN SAMSUNG KLUCG4J1EB-B0B1 0200 PQ:
> 0 ANSI: 6
>
> Is there something I can/should do to fix these issues?
> Or may they be safely ignored?
>
> Regards.