Florian Kulzer wrote:
On Sun, Jul 27, 2008 at 16:57:19 +0300, Anton Liaukevich wrote:
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)
[...]
Today I upgraded my linux kernel to 2.6.25-2-686, but problem hasn't
been solved yet.
[...]
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)
Maybe your system is using the wrong driver.
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
I was expecting to see amd74xx listed here in addition to 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]
Hmm, maybe you system uses ide_generic, which would explain why it
cannot turn on DMA.
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:09.0 IDE interface [0101]: nVidia Corporation nForce2 IDE [10de:0065] (rev
a2)
This is as expected; I checked the 2.6.25 kernel sources and this
controller should be supported.
I would be interested to see the output of
udevadm info -a --name /dev/hda
to check which drivers are used.
[Sorry for sending to your own mail address]
I have installed 'udev' packages from Sid because 'udev' package from
Lenny hasn't 'udevadm' command (I could do that because I have mixed
etch/lenny/sid distro with Lenny as default suite).
Now I'm giving you output you are interested to see:
leva:/home/anthony# udevadm info -a --name /dev/hda
Udevinfo starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.
looking at device '/block/hda':
KERNEL=="hda"
SUBSYSTEM=="block"
DRIVER==""
ATTR{range}=="64"
ATTR{removable}=="0"
ATTR{size}=="234441648"
ATTR{capability}=="10"
ATTR{stat}==" 26867 15550 978587 590892 36637 169067
1645804 18242544 0 716028 18833136"
looking at parent device '/devices/ide0/0.0':
KERNELS=="0.0"
SUBSYSTEMS=="ide"
DRIVERS=="ide-disk"
ATTRS{media}=="disk"
ATTRS{drivename}=="hda"
ATTRS{modalias}=="ide:m-disk"
ATTRS{model}=="WDC WD1200JB-00EVA0"
ATTRS{firmware}=="15.05R15WDC WD1200JB-00EVA0"
ATTRS{serial}=="WD-WMAEK3428625"
looking at parent device '/devices/ide0':
KERNELS=="ide0"
SUBSYSTEMS==""
DRIVERS==""
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]