LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-11-2008, 10:00 AM   #1
dizowned
LQ Newbie
 
Registered: Jan 2008
Posts: 19

Rep: Reputation: 0
Enabling DMA32 in 2.6.x


I've read a good amount on this topic, the why's and what for's, but for the life of me I can't find anything referring to how to use it. I know that some hardware are plagued by not making proper use of DMA calls in 2.6.x x86_64 releases and because of this a 4gig DMA32 zone was added, but how do you turn it on? or better yet do you still have to explicitly turn it on in the latest kernel releases by recompiling and adding the config dma32 in Kconfig, or is it enough to just use iommu switches as long as you've compiled them in? Also which switch should I use if thats the case?

A Lil Background:
The main reason behind me asking this question is because I've used the xen kernel and the regular public release and the dma addressing in dmesg is different in both. The xen kernel always assigns a single dma zone, with the address in the lower 4gig, but the default kernel even though it says its creating a DMA32 zone, its not necessarily in the lower 4gig, which can cause problems with some hardware. The xen kernel out of the box forces 32bit address for dma use, but how? since the xen .config and regular release .config read exactly the same with the exception of the xen specific options - (although I read somewhere that they have a slightly different swiotlb implementation - and that could be the key to this week long quest), but I'm at a lost for now, because I think I understand everything except for how to use the thing. Any help/insight/comment would be much appreciated.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Enabling exec() rustyz82 Linux - Security 2 05-24-2006 03:13 PM
Enabling routing how ? samnetic Linux - Networking 1 05-02-2006 07:31 AM
Enabling Swap ajaye1971 Linux - Newbie 2 04-19-2006 07:12 PM
dpms not enabling... jkassemi Linux - Software 1 12-02-2005 06:30 PM
POP3 enabling -- How to Pranesh Linux - Software 4 12-11-2003 12:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration