Replaced drive module with code copy pasted from linux. Very crude and untested.