Philipp's Computing Blog

Success is about speed and efficiency

Solve a problem with USB HDDs on Ubuntu 11.10

[ 3.086754] scsi 16:0:0:1: CD-ROM Virtual CDROM PQ: 0 ANSI: 0
[ 3.282066] sr 16:0:0:1: Attached scsi CD-ROM sr1
[ 3.282101] sr 16:0:0:1: Attached scsi generic sg6 type 5
[ 42.848084] sr 16:0:0:1: uas_eh_abort_handler tag -1
[ 42.848091] sr 16:0:0:1: uas_eh_device_reset_handler tag -1
[ 42.848094] sr 16:0:0:1: uas_eh_bus_reset_handler tag -1
[ 43.291693] sr 16:0:0:1: Device offlined - not ready after error recovery
[ 43.291735] sr 16:0:0:1: rejecting I/O to offline device

The problem is the kernel module uas. So just disable it:

echo -e "\nblacklist uas\n" | sudo tee -a /etc/modprobe.d/blacklist.conf

http://ubuntuforums.org/showthread.php?t=1782546