View previous topic :: View next topic |
Author |
Message |
Estariel Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 21 Apr 2003 Posts: 85
|
Posted: Fri Jul 18, 2003 10:05 am Post subject: can't get dma working with 2.6.0-test1 |
|
|
hi!
i just compiled a new development kernel, but i can't switch on dma. it won't get started on boot time, and i cannot start it using hdparm.
hdpram gives me the following error:
HDIO_SET_DMA failed. Operation not permitted.
any hints? i compiled everything that only remotedly resembled dma support into the kernel... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jforman Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
Joined: 24 Mar 2003 Posts: 19
|
Posted: Sun Jul 20, 2003 6:45 am Post subject: its enabled by the kernel, not the hdparm during boot |
|
|
i'm running 2.6.0-test1 and i had something similiar. hdparm was in my init scripts from when i ran 2.4.20. i'd start 2.6 and it would sit for 10-15 seconds at the hdparm step, and then continue. i noticed from snooping around that if you enable hdparm in the 2.6.0 kernel setup, dma gets turned on automatically. with no intervention via hdparm.
IDE, ATA and ATAPI Block devices
[*] Use PCI DMA by default when available
you can safely rc-update del hdparm and watch. login as root after you make this change and type
hdparm -d /dev/hd<letter> and see.
tribeca linux # hdparm -d /dev/hda
/dev/hda:
using_dma = 1 (on)
voila, no hdparm in my init and dma is still turned on. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
BumptiousBob n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 21 Mar 2003 Posts: 17
|
Posted: Tue Jul 22, 2003 4:30 am Post subject: |
|
|
I have this same problem, and tried enabling the "Use PCI DMA Always when supported" option as well as the support for my specific chipset under IDE, and still no dice.
Is this a bug or am I still making a mistake? I don't think the fact that I have it set up as it should be could be any clearer! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
niben_s n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Megaman/megaman.gif)
Joined: 16 Jul 2003 Posts: 36 Location: Minneapolis, USA
|
Posted: Tue Jul 22, 2003 2:57 pm Post subject: |
|
|
I am having the same problem too.
I have AMD K6-2 533 MHz processor with VIA chipset. Can anyone let us know why DMA should not work even if we enable the DMA options..
Niben |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|