Re: [PATCH V2 1/1] scsi/ses: Saw "Failed to get diagnostic page 0x1"

2 messages, 2 authors, 2021-09-14 · open the first message on its own page

Re: [PATCH V2 1/1] scsi/ses: Saw "Failed to get diagnostic page 0x1"

From: "Martin K. Petersen" <martin.petersen@oracle.com>
Date: 2021-09-14 15:28:00

Wendy,
Below is error with enabling scsi_log_level;
 
[108017.427791] ses 0:0:9:0: tag#641 Sense Key : Unit Attention [current]
[108017.427793] ses 0:0:9:0: tag#641 Add. Sense: Bus device reset function occurred
OK. I propose you refine your check to retry on NOT_READY as well as
UNIT_ATTENTION with ASC 0x29. I think that would be a good start. Do the
same for ses_send_diag().

Thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering

Re: [PATCH V2 1/1] scsi/ses: Saw "Failed to get diagnostic page 0x1"

From: James Bottomley <hidden>
Date: 2021-09-14 15:50:37

On Tue, 2021-09-14 at 11:27 -0400, Martin K. Petersen wrote:
Wendy,
quoted
Below is error with enabling scsi_log_level;
 
[108017.427791] ses 0:0:9:0: tag#641 Sense Key : Unit Attention
[current]
[108017.427793] ses 0:0:9:0: tag#641 Add. Sense: Bus device reset
function occurred
OK. I propose you refine your check to retry on NOT_READY as well as
UNIT_ATTENTION with ASC 0x29. I think that would be a good start. Do
the same for ses_send_diag().
Something is wrong with the outbound email: the list isn't getting
copies of this:

https://lore.kernel.org/all/yq1v934yysg.fsf@ca-mkp.ca.oracle.com/

because you're sending HTML email ... please don't.

I still think setting expecting_cc_ua is the best thing to do because
it's designed for exactly the problem you're seeing, but open coding it
in the loop would be fine as well.

James

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help