Re: what could cause a cmd cmplt err -2

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

 



On Sun, Jan 30, 2022 at 09:18:40PM -0500, James wrote:
> 
> 
> On 2022-01-30 21:08, Alan Stern wrote:
> > On Sun, Jan 30, 2022 at 01:55:35PM -0500, James wrote:
> > 
> > It's not easy to tell why the command timed out.  Maybe the drive
> > encountered a problem and therefore wasn't able to execute the command.
> > Or maybe it did execute the command but the response message going back
> > to the computer got lost.
> Can I increase the timeout?

I believe you can change the timeout value by writing to 
/sys/block/sda/queue/io_timeout (note: the value in that file is in 
milliseconds).

> The error is always exactly the same.
> Could there be a bad sector on the drive?

Certainly.

Alan Stern



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux