scsi timeouts in latest ubuntu kernels
Brought to you by:
ideguy
It looks like the scsi timeout bug has been reintroduced in Ubuntu kernel 5.13.0-22-generic (or 1-2 previous iterations)
I've started getting consistent timeouts after about 4:30, generally with the error message:
SG_IO: ATA_16 status=0x0, host_status=0x8, driver_status=0x0
SG_IO: bad host status: 0x8
trying legacy HDIO_DRIVE_TASKFILE
rc=-1, errno=22, returned ATA registers:
The running kernel lacks CONFIG_IDE_TASK_IOCTL support for this device.
SECURITY_ERASE: Invalid argument
This is on drives capable of security erase and enhanced security erase
Testing is on mpt3sas driver (SAS2008) and misc SATA controllers (Intel chipset and ASM1062)
Attempting to set infinite timeouts in /sys/device/sdX doesn't work
addendum, this looks mpt3sas specific, the sata interfaces aren't timing out after all