Alan Cox wrote:
Confirmed. It writes "lgcy" + stuff into the 9th sector of the drive
(for my "Legacy" drive).
Thats quite nasty. Given that users putting volumes unpartitioned on
drives may see actual data corruption and loss perhaps we should
blacklist that controller variant with a large warning ?
..
Yeah, that's quite obnoxious of Highpoint to just arbitrarily overwrite data.
Some warnings would probably be quite useful here.
We could log a WARNING the first few times (after boot)
whenever we see software writing to that sector.
Do this with a hack in mv_qc_prep or mv_qc_issue ?
Or even just fail any write to that sector, so that the error
gets propagated all the way back to usermode where it might be visible?
Plus some big nasty "awareness" messages at boot regardless.
If software never writes to it, then it should work fine.
Except when drives are imported from somewhere else..
as I just discovered with my GRUB disk.
Then the disk is already corrupted before our kernel is even loaded.
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html