NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: USB regression in 10.1



Rhialto <rhialto%falu.nl@localhost> writes:

> Note that the disk isn't just offline. It told us "Logical Unit Is In
> Process Of Becoming Ready". I think in that case it's probably worth to
> start the polling. Or whatever it is that triggers the wedge discovery
> 10 seconds later, I did not look into that. If there is polling going
> on, it is probably fine if that only tries for some limited time and not
> forever.

Perhaps

  parse/recognize:
     [    60.795168] sd1(umass1:0:0:0):  Check Condition on CDB: 0x00 00 00 00 00 00
     [    60.795168]     SENSE KEY:  Not Ready
     [    60.795168]      ASC/ASCQ:  Logical Unit Is In Process Of Becoming Ready
  instead of logging it like an error.

  figure out if there is some sort of notification that it becomes ready

  if there is a ready notification, hook that into online status and
  start scan

  if we received a "becoming ready", and if there is no ready
  notification mechanism, schedule a read scan attempt in 10s, just once
  and see how that goes.
  


Home | Main Index | Thread Index | Old Index