Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel 2.6.18 and K8 IOMMU problem [SOLVED]
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
sdfg
Apprentice
Apprentice


Joined: 11 Feb 2005
Posts: 200

PostPosted: Sun Oct 01, 2006 8:21 pm    Post subject: Kernel 2.6.18 and K8 IOMMU problem [SOLVED] Reply with quote

I need to disable K8 IOMMU to be able to modularize agpgart so I can load it through autoload and thus get fglrx loaded. Before I could just go into menuconfig and disable it - except in 2.6.18, it's gone! I've searched through and there are only 4 IOMMU options, only two of which count. A Calgary IBM one (which I disabled) and aparantly another one to allowe IOMMU support as a whole, but I can't seem to turn that off.

So I guess I've got a few questions. 1) Is K8 IOMMU hiding, if so where? 2) Is it built in so much I don't have a choice but to use it, and if so is there another way to get agpgart, amd64_agp, via_agp and fglrx loaded without autload.d?

Thanks in advance,

-K

SOLUTION:

In General Setup in menuconfig, enable "[*] Configure standard kernel features (for small systems) --->" which will allow access to the K8 GART IOMMU module in Processor Type and Features, so you can disable it or not as you see fit!

Thanks to everyone who helped on this one.


Last edited by sdfg on Wed Oct 11, 2006 8:40 pm; edited 1 time in total
Back to top
View user's profile Send private message
Keruskerfuerst
Advocate
Advocate


Joined: 01 Feb 2006
Posts: 2289
Location: near Augsburg, Germany

PostPosted: Mon Oct 09, 2006 7:14 pm    Post subject: Reply with quote

You can edit kernel .config file, which is placed in /usr/src/linux/
Back to top
View user's profile Send private message
sdfg
Apprentice
Apprentice


Joined: 11 Feb 2005
Posts: 200

PostPosted: Mon Oct 09, 2006 7:31 pm    Post subject: Reply with quote

Keruskerfuerst wrote:
You can edit kernel .config file, which is placed in /usr/src/linux/


Yeah. However I don't know what the module name is, or even if it exists. As I've searched through the menuconfig for K8 and it's not found anything, I'm imagining it's built into something else.

Also, I've never manually changed a config file like that anyway, I wouldn't know where to start! Any pointers?
Back to top
View user's profile Send private message
Keruskerfuerst
Advocate
Advocate


Joined: 01 Feb 2006
Posts: 2289
Location: near Augsburg, Germany

PostPosted: Tue Oct 10, 2006 5:23 am    Post subject: Reply with quote

Just open the kernel .config file and search for IOMMU.
Back to top
View user's profile Send private message
Scullder
Guru
Guru


Joined: 16 Mar 2006
Posts: 466
Location: France

PostPosted: Tue Oct 10, 2006 6:16 am    Post subject: Reply with quote

or use iommu=off boot option :)
_________________
Linux gentoo 2.6.18-ck1-r2 #1 PREEMPT Fri Nov 17 01:37:56 CET 2006 x86_64 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux
Back to top
View user's profile Send private message
dh3rm3
Tux's lil' helper
Tux's lil' helper


Joined: 26 Aug 2003
Posts: 101

PostPosted: Tue Oct 10, 2006 5:09 pm    Post subject: Reply with quote

Same problem here, and if I comment CONFIG_IOMMU=y in the .config, I save the config file but each time I start the kernel compilation, CONFIG_IOMMU=y is there again and there again after make oldconfig.
So I guess fixdep reactivate it...
Does someone know which dependence can reactivate IOMMU ?

Plus the boot param does not seem to work ...
any idea is welcome ?
_________________
dh3rm3's place
Back to top
View user's profile Send private message
user
Apprentice
Apprentice


Joined: 08 Feb 2004
Posts: 216

PostPosted: Tue Oct 10, 2006 7:29 pm    Post subject: Reply with quote

hi Kasyx and dh3rm3,
you can select/unselect IOMMU via menuconfig if you select CONFIG_EMBEDDED.
Code:

   [*] Configure standard kernel features (for small systems)  --->
Back to top
View user's profile Send private message
dh3rm3
Tux's lil' helper
Tux's lil' helper


Joined: 26 Aug 2003
Posts: 101

PostPosted: Tue Oct 10, 2006 8:50 pm    Post subject: Reply with quote

thanks, that does the trick
_________________
dh3rm3's place
Back to top
View user's profile Send private message
sdfg
Apprentice
Apprentice


Joined: 11 Feb 2005
Posts: 200

PostPosted: Wed Oct 11, 2006 8:24 pm    Post subject: Reply with quote

Thanks alot, that's it sorted!
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