Gentoo Archives: gentoo-user

From: "Hemmann
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Howto get nvidia serial ATA with DMA running
Date: Tue, 17 Apr 2007 08:17:53
Message-Id: 200704171011.56046.volker.armin.hemmann@tu-clausthal.de
In Reply to: [gentoo-user] Howto get nvidia serial ATA with DMA running by Matthias Fechner
1 Hi,
2
3 On Dienstag, 17. April 2007, Matthias Fechner wrote:
4 > Hi,
5 >
6 > I have here an AMD64 (32-bit installation) with a MSI K8N-Neo2FX
7 > running.
8 > Gentoo is installed on a serial ATA drive.
9 > lspci says:
10 > 00:09.0 IDE interface: nVidia Corporation CK8S Serial ATA Controller (v2.5)
11 > (rev a2) 00:0a.0 IDE interface: nVidia Corporation CK8S Serial ATA
12 > Controller (v2.5) (rev a2) 00:0b.0 PCI bridge: nVidia Corporation nForce3
13 > 250Gb AGP Host to PCI Bridge (rev a2) 00:0e.0 PCI bridge: nVidia
14 > Corporation nForce3 250Gb PCI-to-PCI Bridge (rev a2)
15 >
16 > I i try now to enable DMA transfer with:
17 > hdparm -d1 /dev/sda
18 > /dev/sda:
19 > setting using_dma to 1 (on)
20 > HDIO_SET_DMA failed: Inappropriate ioctl for device
21
22 which is correct. You don't set dma for SATA devices and you don't do it with
23 hdparm.
24
25 >
26 > So my first thought was, check kernel for the right driver.
27 > But nv_sata is selected (statically).
28 >
29 > I checked dmesg and found:
30 > nv_sata: Primary device added
31 > nv_sata: Primary device removed
32 > nv_sata: Secondary device removed
33 > ata1: dev 0 configured for UDMA/133
34
35 as you can see, it uses udma/133 already.
36
37 > scsi0 : sata_nv
38 > ata2: SATA link down (SStatus 0)
39 > scsi1 : sata_nv
40 > Vendor: ATA Model: ST3250820NS Rev: 3.AE
41 > Type: Direct-Access ANSI SCSI revision: 05
42 > SCSI device sda: 488397168 512-byte hdwr sectors (250059 MB)
43 > sda: Write Protect is off
44 > sda: Mode Sense: 00 3a 00 00
45 > SCSI device sda: drive cache: write back
46 > SCSI device sda: 488397168 512-byte hdwr sectors (250059 MB)
47 > sda: Write Protect is off
48 > sda: Mode Sense: 00 3a 00 00
49 > SCSI device sda: drive cache: write back
50 > sda: sda1 sda2 sda3 sda4
51 > sd 0:0:0:0: Attached scsi disk sda
52 >
53 > I boot my system with grub and had the option from the installer
54 > "doscsi" in the boot params.
55 >
56 > Must I use a different driver for that sata controller?
57
58 No.
59 --
60 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Howto get nvidia serial ATA with DMA running Matthias Fechner <idefix@×××××××.net>