Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can't get dma working with 2.6.0-test1
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Estariel
Tux's lil' helper
Tux's lil' helper


Joined: 21 Apr 2003
Posts: 85

PostPosted: Fri Jul 18, 2003 10:05 am    Post subject: can't get dma working with 2.6.0-test1 Reply with quote

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
View user's profile Send private message
jforman
Retired Dev
Retired Dev


Joined: 24 Mar 2003
Posts: 19

PostPosted: Sun Jul 20, 2003 6:45 am    Post subject: its enabled by the kernel, not the hdparm during boot Reply with quote

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
View user's profile Send private message
BumptiousBob
n00b
n00b


Joined: 21 Mar 2003
Posts: 17

PostPosted: Tue Jul 22, 2003 4:30 am    Post subject: Reply with quote

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
View user's profile Send private message
niben_s
n00b
n00b


Joined: 16 Jul 2003
Posts: 36
Location: Minneapolis, USA

PostPosted: Tue Jul 22, 2003 2:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum