I've begun pushing a patch upstream to fix the root cause of this issue. It 
basically boils
down to adding a new libata quirk and blacklisting the broken drives so they 
report
themselves correctly.

http://marc.info/?l=linux-ide&m=128337091000406&w=2

It's a simple patch to integrate and expand upon yourself. Just determine what
your model name is and add a new entry to the blacklist as shown in the patch.

This can be easily divined by installing the sg3-utils package and running the
following command:

$ sudo sg_vpd -p ai /dev/sda
ATA information VPD page:
  SAT Vendor identification: linux   
  SAT Product identification: libata          
  SAT Product revision level: AGLA
  ATA command IDENTIFY DEVICE response summary:
    model: TOSHIBA THNS128GG4BAAA-NonFDE           
    serial number:         10US10BTT02Z
    firmware revision: AGLA0203

Use the entire model: value when adding a device to the blacklist.

I don't think it would be palatable to upstream to have a dictionary of 
'broken' SSD drives. I expect
a device tree like driven solution to eventually take hold to move or 
complement the blacklist outside
of the kernel completely.

-- 
ureadahead should have config option to disable or force ssd/hdd mode
https://bugs.launchpad.net/bugs/577763
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to