Re: sata_nv adma issues

From: Robert Hancock
Date: Tue Jun 12 2007 - 01:56:59 EST


Charles Shannon Hendrix wrote:

My system has issues running adma mode with sata_nv. I have an nforce4 motherboard.

What is the current status of this problem?

You'll have to be a bit more specific than that. A few problems have arisen in the past, but currently I don't think there is anything known outstanding other than one hotplug issue which currently is lacking in information to debug.


Is there any information I can provide to help debug it?

I gave up trying various fixes about 6 months ago, and put "sata_nv.adma=0" on the kernel command line in LILO, and that fixed the problem.

However, recently I changed distributions and went back to 2.6.20 (kubuntu 7.04).

This kernel says that sata_nv.adma=0 is an invalid kernel option.

I'm pretty puzzled by that, because it is supposed to disable adma mode in the sata_nv driver.

/proc/cmdline says:

root=<hash> ro sata_nv.adma=0 quiet splash

..so it seems I did give the parameter properly.

Any ideas appreciated.

If sata_nv is built modular, then you may need to put:

options sata_nv adma=0

in /etc/modprobe.conf instead.

However I should point out that adma=0 is a poor workaround, it would be better to find the real cause of the problem.


Is there a better way to deal with this?

Also, one more: does it hurt to wait until the sata_nv driver fails a few times (at which point it stops bitching) and use the machine? Once it
fails about 6 times, I no longer have any issues, and speed is still good enough to use until a real fix can be had.

Please post the dmesg output from when this happens. If it starts working after the kernel disables NCQ, then it might mean that your drive has some problems with NCQ..

--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@xxxxxxxxxxxxx
Home Page: http://www.roberthancock.com/

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