Skip to content
Commit 17bd9a2f authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Jeff Garzik
Browse files

libata and bogus LBA48 drives



A colleague noticed recent versions of Ubuntu no longer detect his 80 GB
ST380020ACE drive. This drive is special in that it advertises LBA48 support,
but has the lba_capacity_2 field set to zero (cfr.
http://lkml.org/lkml/2004/3/30/163).

Upon closer look, libata indeed doesn't seem to handle this case yet.
Below is an (untested) fix.

Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent b55d1b18
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment