LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 12-05-2004, 02:10 AM   #1
binarybob0001
Member
 
Registered: Dec 2004
Distribution: Debian Wheezy
Posts: 444

Rep: Reputation: 30
Module detection in linux


I have recently compiled linux 2.6.9. It has taken me quite a bit of time to get one that actually works, but I did it. However, there are a few error messages that I REALLY don't think should be there. The first of which is agpgart module not found. I think it says somethings slightly different, but I can't tell(I do not know of file I can look in to actually grab the messag. Please tell me how.). Anyways, I looked in my kernel .config file and that driver is selected as a compiled in module *. Is it possible that my init files can't find the modules because it's compiled directly into the kernel? I would think the init files would search the kernel for it. I'm using slackware 9.1. I have done no editing to my init files at all. Thank you, Bobby.
 
Old 12-05-2004, 03:23 AM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
The problem you are seeing is likely because your init files are running a command like "modprobe agpgart". If the code was compiled directly into the kernel (and not as a module) running that command is not necessary and will not work. Code compiled into the kernel is automatically enabled by default. You need not do anything special to cause it to become active. Typing dmesg should confirm this as you should see messages similar to the following:

Code:
agpgart: Detected an Intel 440BX Chipset.
agpgart: Maximum main memory to use for agp memory: 565M
agpgart: AGP aperture is 64M @ 0xf8000000
To get ride of the error either edit the rc files so it doesn't attempt to load the agpgart module or recompile your kernel with agpgart setup as a module instead of compiled in-line into the kernel.
 
Old 12-05-2004, 03:34 AM   #3
binarybob0001
Member
 
Registered: Dec 2004
Distribution: Debian Wheezy
Posts: 444

Original Poster
Rep: Reputation: 30
THANK YOU

Very nice. I was wondering whether or not modprobe would actually trigger that error. Now, I have reason to start editing my init files. This should be fun! Thanks again.
 
  


Reply



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
Intrusion Detection System On Linux AmitC Linux - Networking 1 10-19-2004 03:34 AM
'Invalid module format' loading simple module on Suse Linux Professional 9.1 rocketdude Linux - Distributions 3 07-27-2004 11:40 PM
Motion Detection System for Linux??? lemay_jeff Linux - Security 2 07-17-2004 01:27 PM
Linux Intrusion Detection neilcpp Linux - Security 11 10-27-2003 08:17 AM
Spyware Detection Under Linux LinuxGeek Linux - General 3 06-26-2002 05:15 PM

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

All times are GMT -5. The time now is 11:09 AM.

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