Re: SATA (Serial ATA) support in 2.4.x?

Erik Steffl
2003-08-01T23:19:01Z

Jeff Garzik wrote:
> On Fri, Jul 25, 2003 at 11:50:16AM -0700, Erik Steffl wrote:
>
>> I am specifically interested whether it should support disks above
>>137GB (as I have problems accessing anything above 137GB on 250GB SATA
>>drive)
>
>
> It should.
>
> I will be testing this when I return from OLS, next week.

any news?

I have found that /var/log/kern.log has following messages (when
trying to access blocks above 137GB, using e.g. badblocks):

Jul 29 00:41:02 jojda kernel: Attached scsi disk sda at scsi0, channel
0, id 0, lun 0
Jul 29 00:41:02 jojda kernel: SCSI device sda: 490234752 512-byte hdwr
sectors (251000 MB)
Jul 29 00:41:03 jojda kernel: sda: sda1
Jul 29 00:47:41 jojda kernel: I/O error: dev 08:00, sector 268435456
Jul 29 00:47:41 jojda kernel: I/O error: dev 08:00, sector 268435456
Jul 29 00:47:41 jojda kernel: I/O error: dev 08:00, sector 268435472
Jul 29 00:47:41 jojda kernel: I/O error: dev 08:00, sector 268435456
Jul 29 00:47:41 jojda kernel: I/O error: dev 08:00, sector 268435456
Jul 29 00:47:41 jojda kernel: I/O error: dev 08:00, sector 268435464
Jul 29 00:47:41 jojda last message repeated 3 times

I have found where these are coming from (drivers/scsi/scsi_lib.c)
but it's in fairly generic error routine that is called from number of
places so it doesn't explain anything to me... (I'll take a look at it
again but considering that I have almost zero experience with kernel
programming it probably will not be very useful)

this is using linux-2.4.21-ac4 kernel (scsi sata, as above messages show)

erik