Linux - KernelThis forum is for all discussion relating to the Linux kernel.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've tried for the past couple of days to figure out how to change edit the way the modules load. I'm currently running Debian/etch, kernel 2.6.16-2-686.
What I'm trying to do:
Have the intel_agp and agpgart modules load before radeon and drm.
Why:
It might fix the "(WW) RADEON(0): [agp] AGP not available" error I'm recieving in /var/log/Xorg.0.log.
What I've tried:
I've tried editing the /etc/modules.conf file. But after pulling it up in the editor and seeing a bunch of alias* stuff...I wasn't quite sure what to do. I was able to find the alias listings in /lib/modules/2.6.16-2-686/modules.alias. But I wasn't sure how to specify which modules I would like to load first.
I'm fairly new to Debian...7 days and I started with Sarge. After I got that running and configured a bit, I did a complete wipe and reloaded the system with Etch and the 2.6.16-2-686 kernel.
Any help would be appreciated! And if I need to post more information, please let me know which ones and how to get them.
I'm pretty sure you have to use the modprobe.conf file now instead of modules.conf. You should be able to put in the modules in the order you want them loaded.
I don't have a modprobe.conf file or a modprobe.d for that matter. I read about them in the man pages but they don't exist on my system and I did a clean install.
I also cannot find modules called intel_agp or agpgart. I think the agpgart is compiled into the kernel but I don't know how to tell it to load first. I was able to find intel_agp under my /lib/modules/2.6.16-2-686/modules.alias file. apparently when I do a generate-modules it looks at the files under /lib/moduels/2.6.16-2-686 and generates the /etc/modules.conf file. I also checked the /etc/modules file.
I tried adding the lines intel_agp and agpgart following the syntax in the files, into the /etc/modules.conf and /etc/modules but was unable to resolve the issues. I even tried adding them to the load modules section in the /etc/X11/xorg.conf file but returned the error, unable to find modules intel_agp and agpgart.
when I look at the /lib/modules/2.6.16-2-686 it lists a bunch of aliases to intel_agp, I think there are like 10 of them listed as well as an alias for apggart, but I don't really know what to do with them.
Under /etc/modules and /etc/modules.conf, there are no listings of intel_agp or agpgart, maybe they are listed as something else? I know they load because if I pull up lsmod they are there. Modifying the two above files didn't change anything else.
Everything on my system runs really well and I'm really happy with the way debian/etch and kde are working. 2D is fantastic as is the sound. The only problem I'm having is when it runs the /etc/X11/xorg.conf, and I check the /var/log/Xorg.0.log, I get the error at (WW) RADEON(0): [agp] AGP not available. When I checked around, I had seen in various places to make sure that intel_agp and agpgart is ran before running radeon and drm. But like I said before, I don't know how to specify that?
If someone could explain to me how to modify my modules.conf to have it load those modules first I would greatly appreciate it.
When I get home, I'll post my /etc/modules.conf and /etc/modules file.
do some searching on run levels. There usually run levels 1,2,3,4,5 and you switch things up but couldn't tell you exactly how. I did it once many moon ago.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.