nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   2.6.19-rc4-mm2 adma sata_nv.c patch and nvidia beta driver 1.0-9626 (http://www.nvnews.net/vbulletin/showthread.php?t=79507)

floogy 11-04-06 08:38 AM

2.6.19-rc4-mm2 adma sata_nv.c patch and nvidia beta driver 1.0-9626
 
Hi folks,

I want to know if it's possible to compile the nvidia beta driver 1.0-9626 against the 2.6.19-rc4-mm2, which contains rt capabilities and sata_nv adma patch http://lwn.net/Articles/203532/ (My sata drive got a throughput of 3-22 MB/sec average 10MB/sec. that's very poor on S-ATA/150 Maxtor 6Y200M0 and asus A8N-SLI Deluxe).

See also: http://ubuntuforums.org/showthread.php?t=292739

Thanks in advance!

Ironi 11-04-06 05:13 PM

Re: 2.6.19-rc4-mm2 adma sata_nv.c patch and nvidia beta driver 1.0-9626
 
Quote:

I want to know if it's possible to compile the nvidia beta driver 1.0-9626 against the 2.6.19-rc4-mm2
Yes. Remove "#include <linux/config.h>" from nv/nv-linux.h

Quote:

which contains rt capabilities
No, it doesn't. It supports high-res timers and dynamic ticks, but only for x86 -- not x86_64 yet.

Quote:

sata_nv adma patch
You may need to specify "adma_enabled=1" as a kernel boot parameter to enable it. Also, ensure that you're selecting "AHCI SATA support" in your kernel config (Device Drivers -> Serial ATA). It sounds to me like you didn't, since I'm getting ~70MB/s on my GA-M59SLI-S5 even without ADMA.

floogy 11-04-06 08:06 PM

Re: 2.6.19-rc4-mm2 adma sata_nv.c patch and nvidia beta driver 1.0-9626
 
I now use 2.6.18-rt3. There are some time warp bugs.
Can I use the sata_nv patch with the 2.6.18.2 kernel? Does the 2.6.18-rt7 patch work on 2.6.18.2 ? I need the rt capabilities too.

I'll have a look into the config:

Code:

$ egrep -i SATA /usr/src/linux/.config
# CONFIG_BLK_DEV_IDE_SATA is not set
CONFIG_SCSI_SATA=m
CONFIG_SCSI_SATA_AHCI=m
CONFIG_SCSI_SATA_SVW=m
CONFIG_SCSI_SATA_MV=m
CONFIG_SCSI_SATA_NV=m
CONFIG_SCSI_SATA_QSTOR=m
CONFIG_SCSI_SATA_PROMISE=m
CONFIG_SCSI_SATA_SX4=m
CONFIG_SCSI_SATA_SIL=m
CONFIG_SCSI_SATA_SIL24=m
CONFIG_SCSI_SATA_SIS=m
CONFIG_SCSI_SATA_ULI=m
CONFIG_SCSI_SATA_VIA=m
CONFIG_SCSI_SATA_VITESSE=m
CONFIG_SCSI_SATA_INTEL_COMBINED=y

how is the module called? sata_ahci?
Code:

$ modprobe sata_ahci
FATAL: Module sata_ahci not found.
$ lsmod|grep ahci
$
$ locate ahci|grep 2.6.18-rt3
/usr/src/kernel-headers-2.6.18-rt3/include/config/scsi/sata/ahci.h
/lib/modules/2.6.18-rt32006-10-01/kernel/drivers/scsi/ahci.ko
/lib/modules/2.6.18-rt3/kernel/drivers/scsi/ahci.ko
$ sudo modprobe ahci
Password:
$ lsmod|grep ahci
ahci                  21508  0
libata                111904  3 ahci,sata_sil,sata_nv
scsi_mod              161048  7 ahci,sbp2,sg,ide_scsi,sr_mod,sd_mod,libata
$ sudo hdparm -tT /dev/sda

/dev/sda:
 Timing cached reads:  2024 MB in  2.00 seconds = 1011.04 MB/sec
 Timing buffered disk reads:  16 MB in  3.93 seconds =  4.07 MB/sec

I will put ahci into /etc/modules , restart and test the drive speed again.

EDIT: I did that, unfortunately without any effect to the throughput of my disk.
What is the best solution then?

Will the sata_nv adma patch accelerate the sata disk again? (it's a SATA/150 disk, that has got a throughput of 90MB/sec under winXP).


All times are GMT -5. The time now is 07:37 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.