View previous topic :: View next topic |
Author |
Message |
Tsuna Tux's lil' helper

Joined: 23 Jan 2005 Posts: 147
|
Posted: Thu May 26, 2005 6:37 pm Post subject: /dev/hda:HDIO_SET_DMA failed:Operation not permitted |SOLVED |
|
|
Hello
my laptop freezes when I "heavily" use my hdd (copying 60Mb is enough to make it freeze for 5sec) so I went like lets check whether DMA is properly enabled and it turns out its not:
Code: | # hdparm -d /dev/hda
/dev/hda:
using_dma = 0 (off)
|
So I'm like ok, let's activate it:
Code: | # hdparm -X -d1 /dev/hda
/dev/hda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
setting xfermode to 0 (default PIO mode)
using_dma = 0 (off)
|
What the ???
Am I missing something in my kernel or?
Code: | # egrep "(DMA|IDE)" /boot/config-`uname -r`
CONFIG_GENERIC_ISA_DMA=y
CONFIG_ACPI_VIDEO=m
# CONFIG_PARIDE is not set
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y
# Please see Documentation/ide.txt for help/info on IDE drives
# CONFIG_BLK_DEV_IDE_SATA is not set
# CONFIG_BLK_DEV_HD_IDE is not set
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
CONFIG_BLK_DEV_IDECS=m
CONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set
# CONFIG_BLK_DEV_IDESCSI is not set
# CONFIG_IDE_TASK_IOCTL is not set
# IDE chipset support/bugfixes
CONFIG_IDE_GENERIC=y
# CONFIG_BLK_DEV_IDEPNP is not set
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
CONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IDEDMA_ONLYDISK is not set
# CONFIG_IDE_ARM is not set
# CONFIG_IDE_CHIPSETS is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_IVB is not set
CONFIG_IDEDMA_AUTO=y
# Old CD-ROM drivers (not SCSI, not IDE)
# CONFIG_CD_NO_IDESCSI is not set
# CONFIG_IEEE1394_VIDEO1394 is not set
CONFIG_IEEE1394_SBP2_PHYS_DMA=y
# CONFIG_VIDEO_DEV is not set
CONFIG_VIDEO_SELECT=y
# CONFIG_FB_TRIDENT is not set
|
Code: |
# lspci
0000:00:00.0 Host bridge: Intel Corporation 82855PM Processor to I/O Controller (rev 21)
0000:00:01.0 PCI bridge: Intel Corporation 82855PM Processor to AGP Controller (rev 21)
0000:00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03)
0000:00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03)
0000:00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03)
0000:00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 03)
0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 83)
0000:00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 03)
0000:00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 03)
0000:00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 03)
0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
0000:00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 03)
0000:01:00.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10]
0000:02:00.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 80)
0000:02:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
0000:02:02.0 Network controller: Intel Corporation PRO/Wireless 2200BG (rev 05)
0000:02:03.0 CardBus bridge: ENE Technology Inc CB1410 Cardbus Controller (rev 01)
|
Running on:
Linux TsunaXbook 2.6.11-gentoo-r9-tsunaxbook-v9 #1 Thu May 26 02:18:05 CEST 2005 i686 Intel(R) Pentium(R) M processor 1.70GHz GenuineIntel GNU/Linux
Thanks _________________ I am not sending subliminal messages
Last edited by Tsuna on Thu May 26, 2005 9:53 pm; edited 1 time in total |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55015 Location: 56N 3W
|
Posted: Thu May 26, 2005 7:08 pm Post subject: |
|
|
Tsuna,
You have Code: | # CONFIG_BLK_DEV_PIIX is not set | and need it to say
Thats in the IDE Bugfixes part of the config.
It builds the code the kernel needs to drive your specific Code: | IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 03) |
_________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
Tsuna Tux's lil' helper

Joined: 23 Jan 2005 Posts: 147
|
Posted: Thu May 26, 2005 8:24 pm Post subject: |
|
|
oh thats right
i removed it inadvertently recently
blame me
thank you! _________________ I am not sending subliminal messages |
|
Back to top |
|
 |
|