LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-11-2005, 01:11 PM   #1
Xaque208
LQ Newbie
 
Registered: Oct 2004
Location: United States
Distribution: Debian
Posts: 29

Rep: Reputation: 15
Linux Theory?


Hello,
I am new to linux and had a generla question about linux and the kernel. I have been playing around with linux and I am finaly trying to get all of my hardware working with Slack 10. I can't post actuall output because I have gone and F**ked it all up. I have an ATI radeon that seems to me from doing a lot of reading that I need to recompile the kernel anyway. I just did, and I might have "unloaded" too much out of the kernel and now nothing works. The machine boots but no drivers are loaded. I tried to load my nic drivers, which I have gotten to work before, but now it come up with a lot of errors saying thet there are unresolved symbols in the driver files located in /lib/modules. I need help understanding how the kernel and the modules go together. I think Modules are just temp drivers, so my guess would be that you need to compile the drivers that you most commonly use into the kernel, how? Any help that you could give would be greatly appreciated. If I can get my nic driver working I could post actual data. Sorry if this is not information. Thanks.
 
Old 03-11-2005, 01:25 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
You are doing the right thing because the only way to learn is to do it.Don't get discouraged it gets better.
I use menuconfig so for the filesystem your chipset your drives select "*" which means It is compiled directly
into the kernel.I compile my sound card and ethernet card as modules "m" which means they will be loaded.
I use modules for everything I don't need right away.
 
Old 03-11-2005, 01:27 PM   #3
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Modules are simply sections of kernel code that can be load and unloaded as needed. If you are getting unresolved symbols then you have some problems with how your compiling modules. What I recommend is you do a make clean followed by a make && make modules_install. Put your bzImage file into place and update the bootloader config as needed. Then reboot and try and load the module in again. If there are unresolved symbols that usually should stop the module form building in the first place.
 
Old 03-11-2005, 02:18 PM   #4
Xaque208
LQ Newbie
 
Registered: Oct 2004
Location: United States
Distribution: Debian
Posts: 29

Original Poster
Rep: Reputation: 15
Thanks for the encouragement. I make a scrip to compile the kernel for me, would it be wise to change only a couple of things at a time, since I am not sure what they all are, when I recompile? Also, the .conf file in the kernel source dir, can I back that up. I have hear both good an bad about doing that. Thanks.
 
Old 03-11-2005, 02:28 PM   #5
Xaque208
LQ Newbie
 
Registered: Oct 2004
Location: United States
Distribution: Debian
Posts: 29

Original Poster
Rep: Reputation: 15
One mor things that I want to know...When I get all of this working, is there a way to back up the kernel to say, a cd, so that I don't have to play hit and miss next time? is it just the bzImage file, that seems too small Thanks again.
 
Old 03-11-2005, 02:31 PM   #6
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
You should save your .config file, that has all the settings. Then, if you need to do it again you just run menuconfig and use the "install an alternative" option. (wording is not accurate, but near enough)
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux LAN theory fipeso Linux - Newbie 1 04-18-2005 05:06 AM
Lycoris Theory njbrain General 4 02-17-2004 04:20 PM
Theory of not using Linux Stephanie General 17 12-27-2003 07:17 PM
A little help with Theory wh33t Mandriva 3 10-31-2003 03:14 PM
Justa theory about X Stephanie General 1 05-01-2002 11:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:05 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