Florian Kulzer wrote:
On Wed, Jul 23, 2008 at 20:59:09 +0300, Anton Liaukevich wrote:
Anton Liaukevich wrote:
In several days I discovered that DMA is turned off on my HDD (fsck
sayed it while Debian booting). Please, help me turn on DMA mode.
My hardware:
motherboard: Epox 8RDA3I rev 3.3 (nForce 2 Ultra)
hdd: WD1200JB (ide, 120gb)
cpu: Sempron 2200 (k7)
My software:
Debian lenny
kernel: linux 2.6.24-1-686
bootloader: grub 0.97-41
Today I upgraded my linux kernel to 2.6.25-2-686, but problem hasn't
been solved yet.
This is important information: the vendorID (10de NVIDIA) and the
deviceID (0065 NVIDIA_NFORCE2_IDE). You will get the same information by
running "lspci -nn" on the command line; it will be listed as
"[10de:0065]". This IDE controller seems to be supported by the amd74xx
driver in kernel 2.6.25 (according to the Debian driver check page at
http://kmuto.jp/debian/hcl/).
The first thing to check is if your kernel loaded the correct modules;
please post the output of this command:
lsmod | grep -E 'amd74xx|ata|\bide'
Also, install the "hdparm" package if you don't have it already and run
"hdparm /dev/hda" as root. What response do you get? You can also try to
turn on DMA yourself with "hdparm -d1 /dev/hda"; maybe you will receive
a helpful error message.
I installed hdparm long ago and it says that dma if off, moreover hdparm
can't turn it on:
leva:/home/anthony/admin# hdparm -d1 /dev/hda
/dev/hda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)
Trying to check if my kernel has loaded the correct modules:
leva:/home/anthony/admin# lsmod | grep -E 'amd74xx|ata|\bide'
ide_pci_generic 4228 0 [permanent]
amd74xx 8136 0 [permanent]
ata_generic 8004 0
libata 142288 1 ata_generic
scsi_mod 138668 1 libata
dock 10448 1 libata
ide_cd_mod 32864 0
cdrom 31872 1 ide_cd_mod
ide_disk 13952 8
ide_generic 1376 0 [permanent]
ide_core 100312 5
ide_pci_generic,amd74xx,ide_cd_mod,ide_disk,ide_generic
Also I'm giving you output of 'lspci -nn' command:
leva:/home/anthony/admin# lspci -nn
00:00.0 Host bridge [0600]: nVidia Corporation nForce2 IGP2 [10de:01e0]
(rev c1)
00:00.1 RAM memory [0500]: nVidia Corporation nForce2 Memory Controller
1 [10de:01eb] (rev c1)
00:00.2 RAM memory [0500]: nVidia Corporation nForce2 Memory Controller
4 [10de:01ee] (rev c1)
00:00.3 RAM memory [0500]: nVidia Corporation nForce2 Memory Controller
3 [10de:01ed] (rev c1)
00:00.4 RAM memory [0500]: nVidia Corporation nForce2 Memory Controller
2 [10de:01ec] (rev c1)
00:00.5 RAM memory [0500]: nVidia Corporation nForce2 Memory Controller
5 [10de:01ef] (rev c1)
00:01.0 ISA bridge [0601]: nVidia Corporation nForce2 ISA Bridge
[10de:0060] (rev a4)
00:01.1 SMBus [0c05]: nVidia Corporation nForce2 SMBus (MCP) [10de:0064]
(rev a2)
00:02.0 USB Controller [0c03]: nVidia Corporation nForce2 USB Controller
[10de:0067] (rev a4)
00:02.1 USB Controller [0c03]: nVidia Corporation nForce2 USB Controller
[10de:0067] (rev a4)
00:02.2 USB Controller [0c03]: nVidia Corporation nForce2 USB Controller
[10de:0068] (rev a4)
00:04.0 Ethernet controller [0200]: nVidia Corporation nForce2 Ethernet
Controller [10de:0066] (rev a1)
00:06.0 Multimedia audio controller [0401]: nVidia Corporation nForce2
AC97 Audio Controler (MCP) [10de:006a] (rev a1)
00:08.0 PCI bridge [0604]: nVidia Corporation nForce2 External PCI
Bridge [10de:006c] (rev a3)
00:09.0 IDE interface [0101]: nVidia Corporation nForce2 IDE [10de:0065]
(rev a2)
00:1e.0 PCI bridge [0604]: nVidia Corporation nForce2 AGP [10de:01e8]
(rev c1)
01:09.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ [10ec:8139] (rev 10)
02:00.0 VGA compatible controller [0300]: nVidia Corporation NV18
[GeForce4 MX 440 AGP 8x] [10de:0181] (rev c1)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]