View previous topic :: View next topic |
Author |
Message |
golgo13 Apprentice
Joined: 24 Nov 2004 Posts: 158
|
Posted: Fri Apr 21, 2006 12:31 am Post subject: HDIO_SET_DMA failed on a Gigabyte GA-K8U mother board |
|
|
I've searched the forums and google but can't seem to find a solution.
When I try to set DMA with hdparm I get the error:
HDIO_SET_DMA failed: Operation not permitted
For the sake of brevity I'm posting only what I think is necessary in the kernel .config options but will post the entire thing of someone requests:
Code: |
CONFIG_GENERIC_ISA_DMA=y
CONFIG_ISA_DMA_API=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_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_IVB is not set
CONFIG_IDEDMA_AUTO=y
CONFIG_BLK_DEV_ALI15X3=y
# CONFIG_WDC_ALI15X3 is not set
# CONFIG_EQUALIZER is not set
# CONFIG_I2C_ALI1535 is not set
CONFIG_I2C_ALI1563=m
# CONFIG_I2C_ALI15X3 is not set
# CONFIG_SND_ALI5451 is not set
|
lspci output:
Code: |
00:00.0 Host bridge: ALi Corporation M1689 K8 Northbridge [Super K8 Single Chip]
00:01.0 PCI bridge: ALi Corporation AGP8X Controller
00:02.0 PCI bridge: ALi Corporation M5249 HTT to PCI Bridge
00:03.0 ISA bridge: ALi Corporation M1563 HyperTransport South Bridge (rev 70)
00:03.1 Bridge: ALi Corporation M7101 Power Management Controller [PMU]
00:04.0 Multimedia audio controller: ALi Corporation M5455 PCI AC-Link Controller Audio Device (rev 20)
00:0e.0 IDE interface: ALi Corporation M5229 IDE (rev c7)
00:0f.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
00:0f.1 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
00:0f.2 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
00:0f.3 USB Controller: ALi Corporation USB 2.0 Controller (rev 01)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon R300 ND [Radeon 9700 Pro]
01:00.1 Display controller: ATI Technologies Inc Radeon R300 [Radeon 9700 Pro] (Secondary)
02:06.0 Multimedia video controller: Internext Compression Inc iTVC15 MPEG-2 Encoder (rev 01)
02:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
|
dmesg output:
Code: |
DMA zone: 3999 pages, LIFO batch:1
PCI-DMA: Disabling IOMMU.
ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
ivtv0: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total)
ivtv0: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total)
ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
ivtv0: Allocate DMA decoder MPEG stream: 16 x 65536 buffers (1024KB total)
ivtv0: Allocate DMA decoder VBI stream: 512 x 2048 buffers (1024KB total)
ivtv0: Allocate DMA decoder YUV stream: 24 x 43200 buffers (1024KB total)
ivtv0: Allocate DMA decoder OSD stream: 16 x 65536 buffers (1024KB total)
[fglrx] Maximum main memory to use for locked dma buffers: 919 MBytes.
|
_________________ www.latestintech.com |
|
Back to top |
|
|
KWhat l33t
Joined: 04 Sep 2005 Posts: 660 Location: Los Angeles
|
Posted: Fri Apr 21, 2006 1:41 am Post subject: |
|
|
make sure your loading the correct ide driver in the kernel. I didnt see the M5229. |
|
Back to top |
|
|
golgo13 Apprentice
Joined: 24 Nov 2004 Posts: 158
|
Posted: Fri Apr 21, 2006 1:51 am Post subject: |
|
|
I can't seem to find an option for M5229 anywhere, any clue if there's even support? _________________ www.latestintech.com |
|
Back to top |
|
|
KWhat l33t
Joined: 04 Sep 2005 Posts: 660 Location: Los Angeles
|
Posted: Fri Apr 21, 2006 2:02 am Post subject: |
|
|
i think the modual may be alim15x3 now if you can only find me the nVidia Corporation CK804 IDE modual. |
|
Back to top |
|
|
golgo13 Apprentice
Joined: 24 Nov 2004 Posts: 158
|
Posted: Fri Apr 21, 2006 2:10 am Post subject: |
|
|
I already have that compiled in. I've just compiled a new kernel without generic DMA buit in. Unfortunately I'm using this as a MythTV box and it's recording so I can't restart yet.
Oh, and I haven't found an Nvidia module yet. _________________ www.latestintech.com |
|
Back to top |
|
|
|