Hi peoples,
I recently formatted my seagate hard drive to fit a 528 byte block size. I have been told by Seagate staff that this should work. However, Linux does not like this. The reason is because it only accepts 512, 1024, 2048, etc...
I'd like to intercept the SCSI commands that tell Linux it's a 528 byte so that I can hard code in 512. I know this can be done, but the problem is I do not know where this change can be made. If anyone's willing to help out, a good starting place is /usr/src/linux(version here)/drivers/scsi/sd.c . There's a function in there which I already attempted to set sector size to 512, but that didn't work. There must be somewhere else where I have to change.
ALSO, if anyone knows where I can get a log of the code files utilized during the bootup, that'd be awesome. I am aware of being able to get the logs of the hardware checks, the errors, and so on, but this is useless to me if I don't know what files all this occurred from.
- John
I recently formatted my seagate hard drive to fit a 528 byte block size. I have been told by Seagate staff that this should work. However, Linux does not like this. The reason is because it only accepts 512, 1024, 2048, etc...
I'd like to intercept the SCSI commands that tell Linux it's a 528 byte so that I can hard code in 512. I know this can be done, but the problem is I do not know where this change can be made. If anyone's willing to help out, a good starting place is /usr/src/linux(version here)/drivers/scsi/sd.c . There's a function in there which I already attempted to set sector size to 512, but that didn't work. There must be somewhere else where I have to change.
ALSO, if anyone knows where I can get a log of the code files utilized during the bootup, that'd be awesome. I am aware of being able to get the logs of the hardware checks, the errors, and so on, but this is useless to me if I don't know what files all this occurred from.
- John