Gentoo Archives: gentoo-user

From: Matthias Fechner <idefix@×××××××.net>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Howto get nvidia serial ATA with DMA running
Date: Tue, 17 Apr 2007 07:24:23
Message-Id: 20070417071839.GB28145@server.idefix.lan
1 Hi,
2
3 I have here an AMD64 (32-bit installation) with a MSI K8N-Neo2FX
4 running.
5 Gentoo is installed on a serial ATA drive.
6 lspci says:
7 00:09.0 IDE interface: nVidia Corporation CK8S Serial ATA Controller (v2.5) (rev a2)
8 00:0a.0 IDE interface: nVidia Corporation CK8S Serial ATA Controller (v2.5) (rev a2)
9 00:0b.0 PCI bridge: nVidia Corporation nForce3 250Gb AGP Host to PCI Bridge (rev a2)
10 00:0e.0 PCI bridge: nVidia Corporation nForce3 250Gb PCI-to-PCI Bridge (rev a2)
11
12 I i try now to enable DMA transfer with:
13 hdparm -d1 /dev/sda
14 /dev/sda:
15 setting using_dma to 1 (on)
16 HDIO_SET_DMA failed: Inappropriate ioctl for device
17
18 So my first thought was, check kernel for the right driver.
19 But nv_sata is selected (statically).
20
21 I checked dmesg and found:
22 nv_sata: Primary device added
23 nv_sata: Primary device removed
24 nv_sata: Secondary device removed
25 ata1: dev 0 configured for UDMA/133
26 scsi0 : sata_nv
27 ata2: SATA link down (SStatus 0)
28 scsi1 : sata_nv
29 Vendor: ATA Model: ST3250820NS Rev: 3.AE
30 Type: Direct-Access ANSI SCSI revision: 05
31 SCSI device sda: 488397168 512-byte hdwr sectors (250059 MB)
32 sda: Write Protect is off
33 sda: Mode Sense: 00 3a 00 00
34 SCSI device sda: drive cache: write back
35 SCSI device sda: 488397168 512-byte hdwr sectors (250059 MB)
36 sda: Write Protect is off
37 sda: Mode Sense: 00 3a 00 00
38 SCSI device sda: drive cache: write back
39 sda: sda1 sda2 sda3 sda4
40 sd 0:0:0:0: Attached scsi disk sda
41
42 I boot my system with grub and had the option from the installer
43 "doscsi" in the boot params.
44
45 Must I use a different driver for that sata controller?
46
47 Thx a lot for help,
48 Matthias
49
50 --
51
52 "Programming today is a race between software engineers striving to
53 build bigger and better idiot-proof programs, and the universe trying to
54 produce bigger and better idiots. So far, the universe is winning." --
55 Rich Cook
56 --
57 gentoo-user@g.o mailing list

Replies