* NCQ on Promise SATA300 TX4
@ 2008-09-17 21:42 Tim Besard
2008-09-17 22:25 ` Alexander Beregalov
2008-09-18 7:45 ` Mikael Pettersson
0 siblings, 2 replies; 3+ messages in thread
From: Tim Besard @ 2008-09-17 21:42 UTC (permalink / raw)
To: Jeff Garzik; +Cc: linux-ide
Hi,
I recently bough a Promise SATA300 TX4 controller, which I am using in
combination with an NCQ-capable harddrive. As the controller supports
NCQ [1], and the libata webpages seems to indicate [2] that the
sata_promise driver does as well, I am currently trying to enable NCQ
(kernel 2.6.27).
Without any luck however, my dmesg log indicates the following:
[ 4.244047] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 4.253636] ata1.00: ATA-7: ST3500320AS, SD04, max UDMA/133
[ 4.253639] ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth
0/32)
[ 4.268850] ata1.00: configured for UDMA/133
And the NCQ queue depth flag seems read-only:
tim@tim-desktop:~$ sudo echo 31 > /sys/block/sdb/device/queue_depth
bash: /sys/block/sdb/device/queue_depth: Permission denied
The read-only nature of the queue_depth field seems to indicate that the
SATA module doesn't have NCQ support, but this contradicts with what I
read on the libata page.
Could you shed some light on this issue? And if the driver doesn't
support NCQ for this card, is there another way to accomplish this
(without having to buy a new controller)?
References:
1:
http://www.promise.com/product/product_detail_eng.asp?segment=Non-RAID%
20HBAs&product_id=139
2: http://linux-ata.org/driver-status.html#tx2
Thanks in advance,
Tim
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: NCQ on Promise SATA300 TX4
2008-09-17 21:42 NCQ on Promise SATA300 TX4 Tim Besard
@ 2008-09-17 22:25 ` Alexander Beregalov
2008-09-18 7:45 ` Mikael Pettersson
1 sibling, 0 replies; 3+ messages in thread
From: Alexander Beregalov @ 2008-09-17 22:25 UTC (permalink / raw)
To: Tim Besard; +Cc: Jeff Garzik, linux-ide
2008/9/18 Tim Besard <tim.besard@gmail.com>:
> Hi,
>
> I recently bough a Promise SATA300 TX4 controller, which I am using in
> combination with an NCQ-capable harddrive. As the controller supports
> NCQ [1], and the libata webpages seems to indicate [2] that the
> sata_promise driver does as well, I am currently trying to enable NCQ
> (kernel 2.6.27).
>
> Without any luck however, my dmesg log indicates the following:
> [ 4.244047] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
> [ 4.253636] ata1.00: ATA-7: ST3500320AS, SD04, max UDMA/133
> [ 4.253639] ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth
> 0/32)
> [ 4.268850] ata1.00: configured for UDMA/133
>
> And the NCQ queue depth flag seems read-only:
> tim@tim-desktop:~$ sudo echo 31 > /sys/block/sdb/device/queue_depth
This works as
(sudo echo 31) > /sys/block/sdb/device/queue_depth
try
sudo sh -c "echo 31 > /sys/block/sdb/device/queue_depth"
> bash: /sys/block/sdb/device/queue_depth: Permission denied
>
> The read-only nature of the queue_depth field seems to indicate that the
> SATA module doesn't have NCQ support, but this contradicts with what I
> read on the libata page.
>
> Could you shed some light on this issue? And if the driver doesn't
> support NCQ for this card, is there another way to accomplish this
> (without having to buy a new controller)?
>
> References:
> 1:
> http://www.promise.com/product/product_detail_eng.asp?segment=Non-RAID%
> 20HBAs&product_id=139
> 2: http://linux-ata.org/driver-status.html#tx2
>
> Thanks in advance,
> Tim
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ide" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: NCQ on Promise SATA300 TX4
2008-09-17 21:42 NCQ on Promise SATA300 TX4 Tim Besard
2008-09-17 22:25 ` Alexander Beregalov
@ 2008-09-18 7:45 ` Mikael Pettersson
1 sibling, 0 replies; 3+ messages in thread
From: Mikael Pettersson @ 2008-09-18 7:45 UTC (permalink / raw)
To: Tim Besard; +Cc: Jeff Garzik, linux-ide
Tim Besard writes:
> Hi,
>
> I recently bough a Promise SATA300 TX4 controller, which I am using in
> combination with an NCQ-capable harddrive. As the controller supports
> NCQ [1], and the libata webpages seems to indicate [2] that the
> sata_promise driver does as well, I am currently trying to enable NCQ
> (kernel 2.6.27).
>
> Without any luck however, my dmesg log indicates the following:
> [ 4.244047] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
> [ 4.253636] ata1.00: ATA-7: ST3500320AS, SD04, max UDMA/133
> [ 4.253639] ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth
> 0/32)
> [ 4.268850] ata1.00: configured for UDMA/133
>
> And the NCQ queue depth flag seems read-only:
> tim@tim-desktop:~$ sudo echo 31 > /sys/block/sdb/device/queue_depth
> bash: /sys/block/sdb/device/queue_depth: Permission denied
>
> The read-only nature of the queue_depth field seems to indicate that the
> SATA module doesn't have NCQ support, but this contradicts with what I
> read on the libata page.
>
> Could you shed some light on this issue?
sata_promise does not support NCQ.
I've tried to make it support NCQ, but failed. It works for a
little while but then appears to lose completion interrupts,
and it doesn't recover from this state.
I hope to find some time to debug this further later this year.
/Mikael
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-09-18 7:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-17 21:42 NCQ on Promise SATA300 TX4 Tim Besard
2008-09-17 22:25 ` Alexander Beregalov
2008-09-18 7:45 ` Mikael Pettersson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.