LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-30-2003, 11:07 PM   #1
gsbarry
Member
 
Registered: Jan 2003
Posts: 42

Rep: Reputation: 15
rebuild linux kernel need to recompile all hardware driver?


Dear all,

I have rebuild my linux kernel to add some feature (the same kernel version). After that, my Graphics card driver(Geforce) and Sound card driver(EMU10k1) doesn't work.

I need to recompile those driver to make them re-appear.

As I guess, the driver only some executable files, why do they depend on the linux kernel?

And I only changed the kernel slightly, why the drivers all didn't work??


Thanks
 
Old 03-30-2003, 11:35 PM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
Well you need to recompile them, why - because they are dependent on kernel bits such as modules that are recompiled along with kernel, let's say you recompiled kernel with audio modules so instead of having audio bits compiled into kernel you decided that you better off loading and unloading module as it is being used/unused, now your previously compiled audio driver knew where to find the information, let's say it was in a memory location 0xfffff for simplicity, now when you recompiled kernel the nessecary code for audio information is no longer in 0xfffff location it has been moved to 0xfff3a, and when it tries to access the location 0xfffff instead of reaching lets say sequencer it accesses an IDE controller information, and the system bugs out, clear????
 
Old 03-31-2003, 02:38 AM   #3
gsbarry
Member
 
Registered: Jan 2003
Posts: 42

Original Poster
Rep: Reputation: 15
That means the hardware drivers only know the exact memory location they need to read?

Then, if a person is going to update kernel(this guy always enjoy to use latest things), then he will be very annoying to install the drivers again and again?
 
Old 03-31-2003, 07:30 PM   #4
irish_rover
Member
 
Registered: Sep 2002
Location: IN, USA
Distribution: Debian, Endian FW
Posts: 368

Rep: Reputation: 30
What drivers are you using? Are you using drivers directly from the vendor, or are you using kernel modules?
 
Old 04-01-2003, 09:14 PM   #5
gsbarry
Member
 
Registered: Jan 2003
Posts: 42

Original Poster
Rep: Reputation: 15
I am using EMU10k1 and the NVIDIA graphics driveres.
Not from the kernel itself.

Then, compile kernel would affect those externel drivers??
 
  


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
new driver kernel recompile talkinggoat Linux - Newbie 3 06-26-2005 02:26 PM
recompile my linux kernel jcar875496 Slackware 6 12-10-2004 04:30 PM
Locating my Kernel source for ATI driver recompile? svoltmer Fedora 3 08-16-2004 02:30 PM
Kernel recompile with patch and custom driver Code_Zero Slackware 2 07-14-2004 10:04 PM
Linux Kernel rebuild -- problems salman Linux - General 4 12-06-2001 02:40 AM


All times are GMT -5. The time now is 08:37 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration