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

From: Erik Steffl (steffl@bigfoot.com)
Date: Fri Aug 01 2003 - 18:18:01 EST


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 07 2003 - 22:00:18 EST