On Sun, Jul 27, 2008 at 23:05:15 +0300, Anton Liaukevich wrote: > 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)
[...] >>> 00:09.0 IDE interface [0101]: nVidia Corporation nForce2 IDE [10de:0065] >>> (rev a2) > 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). Ah yes, it still seems to be "udevinfo -a --name /dev/hda" with Lenny's udev. > Now I'm giving you output you are interested to see: > > leva:/home/anthony# udevadm info -a --name /dev/hda [...] > 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=="" The output should not stop here, it should go on "upward" to the IDE controller. Also, I had expected to see something like '/devices/pci0000:00/0000:00:09.0/devices/ide0' instead of just '/devices/ide0'. It looks like the controller chipset is not recognized properly, and the amd74xx driver is not used. Hopefully there will be an error message somewhere that clears this up a little. Try to reboot and then run: dmesg | grep grep -Ei 'ata|ide|amd74xx' Furthermore, there could be relevant messages very early in the boot process; you might have to use ScrollLock plus pen and paper to catch them (or set up logging to a serial console). -- Regards, | http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]