On 6/11/21 6:50 AM, Jiri Slaby wrote:
On 10. 06. 21, 16:01, Hannes Reinecke wrote:
Can you test with this patch?
Yes, that boots, but is somehow sloooow (hard to tell what is causing
this).
Anyway, the new print is still there with the patch:
[ 11.549986] sd 0:0:0:0: Power-on or device reset occurred
Cool; one step further.
Can you check if the attached patch helps, too?
No, this doesn't boot:
[ 20.293526] scsi host0: Virtio SCSI HBA
[ 22.236517] scsi 0:0:0:0: Power-on or device reset occurred
[ 22.237986] scsi 0:0:0:0: Power-on or device reset occurred
Ok, thought so.
So it's really looks like the virtio driver is copying stale sense data.
Next try:
Can you take the patch from the mailing list (virtio_scsi: do not
overwrite SCSI status), and enable SCSI logging level eg via
scsi.scsi_logging_level=216
on the kernel command line.
That should give us some hint why it's so slow.
Alternatively: which configuration do you use?
Maybe I can reproduce it here locally ...
Cheers,
Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare@xxxxxxx +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer