Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 232107 - [2.6.26 regression] NCQ no longer enabled on nVidia CK804
Summary: [2.6.26 regression] NCQ no longer enabled on nVidia CK804
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard: linux-2.6.26-regression
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-17 20:27 UTC by Brian Beardall
Modified: 2008-09-01 01:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
lspci -vv output. (lspci_output,24.87 KB, text/plain)
2008-07-18 05:48 UTC, Brian Beardall
Details
Kernel config (.config,62.65 KB, text/plain)
2008-07-18 05:50 UTC, Brian Beardall
Details
Part of detection of CK804 or nForce 4 sata controller (kernel_log,1.25 KB, text/plain)
2008-07-18 06:00 UTC, Brian Beardall
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Beardall 2008-07-17 20:27:15 UTC
The kernel doesn't enable NCQ on the CK804. I think it has to do with the SWNCQ patches that were put into the sata_nv driver as NCQ was enabled and used on the 2.6.25 kernel.

ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata4.00: ATA-7: ST3300822AS, 3.AAD, max UDMA/133
ata4.00: 586072368 sectors, multi 0: LBA48 NCQ (depth 0/32)
ata4.00: configured for UDMA/133
ata4: EH complete
Comment 1 Brian Beardall 2008-07-18 05:48:48 UTC
Created attachment 160686 [details]
lspci -vv output.
Comment 2 Brian Beardall 2008-07-18 05:50:06 UTC
Created attachment 160688 [details]
Kernel config
Comment 3 Brian Beardall 2008-07-18 06:00:02 UTC
Created attachment 160689 [details]
Part of detection of CK804 or nForce 4 sata controller

I think I've included all information that is pertinent.

kernel boot options.

root (hd0,0)
kernel /vmlinuz root=/dev/sda3
boot
Comment 4 Mike Pagano gentoo-dev 2008-08-16 20:26:34 UTC
It looks like one of the benefits of adma mode is that it provides NCQ support.

adma was disabled by default in 2.6.26[1] for the following reason:

"[libata] sata_nv: disable ADMA by default

Continues to have open issues, and engineering support is extremely difficult
to come by, according to fellow NVIDIA engineer"

So can you try to use the following kernel parameter:
sata_nv.adma=1

[1] http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff_plain;h=06993d2237da45615b5a9a4dde3f344ce97ca17d