Re: Playing with SATA NCQ

Michael Thonke
2005-05-29T21:50:10Z

Hello,

sometimes when I boot the kernel is unable to get the correct geometrie
of my Samsung drives.

Can only provide this message the kernel prints:

getblk();invalid blocksize 166869779 hardsect: 512

That's everthing I've got.

When it boot correctly I get this for the drives:

SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB)
SCSI device sda: drive cache: write back
sda: sda1 sda2 < sda5 >
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sdb: 312581808 512-byte hdwr sectors (160042 MB)
Losing some ticks... checking if CPU frequency changed.
SCSI device sdb: drive cache: write back
SCSI device sdb: 312581808 512-byte hdwr sectors (160042 MB)
SCSI device sdb: drive cache: write back
sdb: sdb1 sdb2 < sdb5 sdb6 >

If you need further infos let me now.

Greets
Michael