id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc 871,cciss: Add option to disable SAT auto detection,Stanislav Brabec,Christian Franke,"Some newer HPSA devices reply to basic SAT commands and provide inquiry that contains ""ATA "". It causes that sat variable in sat_device::autodetect_open() becomes true, and even if cciss is explicitly specified by smartctl -d cciss,0 -H /dev/sda it switches to sat dev/sda [cciss_disk_00] [SAT]: Device open changed type from 'sat,auto' to 'sat' As a result, it causes failure: SMART STATUS RETURN: incomplete response, ATA output registers missing REPORT-IOCTL: Device=/dev/sda Command=SMART STATUS CHECK returned -1 errno=38 [Function not implemented] Attached patch disables the auto-switch to ""better"" driver for cciss. Note that I do not have a test report from the customer for that patch yet, but setting sat = 0 was already confirmed to prevent this bug. Note that smart_interface::autodetect_sat_device() contains a similar code, but I am not sure whether it needs a fix as well.",enhancement,closed,major,Release 7.0,all,6.5,fixed,cciss freebsd linux,