Skip to contentSkip to conversation

SATA status reports update

DISCUSSION Jeff Garzik 5 participants 10 messages Sep 29, 2006 – Oct 3, 2006 libata

lore
Share & tools
lore
#1 lore raw

Am Freitag 29 September 2006 11:35 schrieb Jeff Garzik:

Quoted 7 lines

I updated the info at http://linux-ata.org/ to match the current code in linux-2.6.git.

Hardware and driver status:
http://linux-ata.org/driver-status.html
notably, the driver matrix:
http://linux-ata.org/driver-status.html#matrix

Does any ETA exists for NV NON-AHCI NCQ support? The proabably not so small userbase would be happy if work on it would be done...

Cheers,

Signature · 3 lines
(°=                 =°)
//\ Prakash Punnoor /\\
V_/                 \_V
#2 lore raw
Quoted 10 lines · Prakash Punnoor

Am Freitag 29 September 2006 11:35 schrieb Jeff Garzik:

Quoted 7 lines

I updated the info at http://linux-ata.org/ to match the current code in linux-2.6.git.

Hardware and driver status:
http://linux-ata.org/driver-status.html
notably, the driver matrix:
http://linux-ata.org/driver-status.html#matrix

Does any ETA exists for NV NON-AHCI NCQ support? The proabably not so small userbase would be happy if work on it would be done...

No ETA at all. It is admittedly low priority, and unfortunately the only people with hardware documentation are myself and NVIDIA.

There is a non-working patch, if someone wants to debug it, though:
http://www.kernel.org/pub/linux/kernel/people/jgarzik/libata/archive/2.6.17-nv-adma.patch.bz2

Jeff

#3 lore raw

Am Freitag 29 September 2006 11:53 schrieb Jeff Garzik:

Quoted 13 lines
Quoted 11 lines · Prakash Punnoor

Am Freitag 29 September 2006 11:35 schrieb Jeff Garzik:

Quoted 7 lines

I updated the info at http://linux-ata.org/ to match the current code in linux-2.6.git.

Hardware and driver status:
http://linux-ata.org/driver-status.html
notably, the driver matrix:
http://linux-ata.org/driver-status.html#matrix

Does any ETA exists for NV NON-AHCI NCQ support? The proabably not so small userbase would be happy if work on it would be done...

Quoted 6 lines

No ETA at all. It is admittedly low priority, and unfortunately the only people with hardware documentation are myself and NVIDIA.

There is a non-working patch, if someone wants to debug it, though:
http://www.kernel.org/pub/linux/kernel/people/jgarzik/libata/archive/2.6.17
-nv-adma.patch.bz2

Well, how would one debug it w/o hw docs? Or is it possible to compare the patch with a working driver for another chipset?

Signature · 3 lines
(°=                 =°)
//\ Prakash Punnoor /\\
V_/                 \_V
#4 lore raw
Quoted 1 line · Prakash Punnoor

Well, how would one debug it w/o hw docs? Or is it possible to compare the patch with a working driver for another chipset?

Well, it is based off of the standard ADMA[1] specification, albeit with modifications. There is pdc_adma.c, which is also based off ADMA. And the author (from NVIDIA) claims that the driver worked at one time, so maybe it is simply bit rot that broke the driver.

If I knew the answer, it would be fixed, so the best answer unfortunately is "who knows".

I wish I had the time. But I also wish I had a team of programmers working on libata, too ;-)

Jeff

#5 lore raw

Am Freitag 29 September 2006 12:03 schrieb Jeff Garzik:

Quoted 8 lines
Quoted 2 lines · Prakash Punnoor

Well, how would one debug it w/o hw docs? Or is it possible to compare the patch with a working driver for another chipset?

Well, it is based off of the standard ADMA[1] specification, albeit with modifications. There is pdc_adma.c, which is also based off ADMA. And the author (from NVIDIA) claims that the driver worked at one time, so maybe it is simply bit rot that broke the driver.

Well, I tried to hack the patch into 2.6.18 driver, but wasn't very successful. It migt be also due to the case that I have a MCP51 chipset and if I read the patch correctly it isn't designed to activate ADMA on MCP51. Do you know whether MCP51 knows ADMA? If not, how is NCQ to be activated on MCP51? According to nvidia.com and windows user reports MCP51 does know NCQ.

Cheers,

Signature · 3 lines
(°=                 =°)
//\ Prakash Punnoor /\\
V_/                 \_V
#6 lore raw
In reply to Jeff Garzik

Jeff> I updated the info at http://linux-ata.org/ to match the current Jeff> code in linux-2.6.git.

Thanks!

Jeff> Let me know if something is missing or in error.

It would be nice to have more details about PATA support. I'm hoping to test my HPT302 rev1 card with 2.6.18-mm2 tonight if all goes well...

John

#7 lore raw

Ar Gwe, 2006-09-29 am 13:51 -0400, ysgrifennodd John Stoffel:

Quoted 10 lines

Jeff> I updated the info at http://linux-ata.org/ to match the current Jeff> code in linux-2.6.git.

Thanks!

Jeff> Let me know if something is missing or in error.

It would be nice to have more details about PATA support. I'm hoping to test my HPT302 rev1 card with 2.6.18-mm2 tonight if all goes well...

I've sent Jeff so material to do that. The HPT302 is a "needs lots of testing" case still, as is pretty much all HPT later than the 366.

#8 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Alan" == Alan Cox <[email protected]> writes:

Alan> Ar Gwe, 2006-09-29 am 13:51 -0400, ysgrifennodd John Stoffel:
Jeff> I updated the info at http://linux-ata.org/ to match the current Jeff> code in linux-2.6.git.

Quoted 3 lines
Quoted 3 lines

Thanks!

Jeff> Let me know if something is missing or in error.

Quoted 4 lines
Quoted 4 lines

It would be nice to have more details about PATA support. I'm hoping to test my HPT302 rev1 card with 2.6.18-mm2 tonight if all goes well...

Alan> I've sent Jeff so material to do that. The HPT302 is a "needs Alan> lots of testing" case still, as is pretty much all HPT later Alan> than the 366.

I'm happy to test that code as well, if you care to bounce me a patch vs. 2.6.18-mm2, or any reasonably recent kernel. My latest tests have basically just bombed big time, with lots of errors.

John

#9 lore raw
In reply to Jeff Garzik

Hi Jeff,

Quoted 2 lines · Jeff Garzik

Software status:
http://linux-ata.org/software-status.html

It says:
"Over and above the power management specified in the ATA/ATAPI specification, one can aggressively control the power consumption of SATA hosts, the SATA bus, and the SATA device. [...] There is little demand at the present time for aggressive, automatic power management under Linux."

What about laptops on batteries? Pavel reports a 1W power draw by his ThinkPad's ICH7M SATA controller [1]. It would be neat to eliminate this when the disk is not in use (and powering up the silicon can't take much longer than spinning up a chunk glass to 7200RPM).

Shem

[1] http://atrey.karlin.mff.cuni.cz/~pavel/swsusp/8hours.pdf
slide 11