LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-13-2009, 05:51 PM   #1
David2010
Member
 
Registered: May 2009
Posts: 255

Rep: Reputation: 23
are the linux drivers a part of the linux kernel?


I am confused and just like it says in the subject I need to know if the linux drivers are in the linux kernel and if not then are they in their own separate packages?

If they are a part of the linux kernel I will just upgrade to the latest linux kernel.
 
Old 08-13-2009, 05:57 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Which drivers? Drivers for what exactly?

The kernel file contains a few drivers if compiled in. The initrd file has extra drivers the system needs to boot up but aren't in the kernel.
You can also have extra drivers elsewhere, so long as the relevant sw knows where they are.
You may find some of this relevant: http://en.wikipedia.org/wiki/Linux_kernel

More detail

http://www.linuxtopia.org/online_boo...ion/index.html
 
Old 08-13-2009, 06:10 PM   #3
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
It depends on what do you mean by "part of the kernel".

99.9% of the linux drivers are part of the linux kernel, however they might not be compiled in the kernel image, they can also be inside the initrd or as external modules. However, they come from the same source tree that the monolithic kernel does, and their source is part of the official linux kernel.

Some other drivers are 3rd party, like the propietary drivers for nvidia or ati, the ntfs-3g driver, and many more. And there are also the fuse drivers, which work form the user land, so their implication with the kernel is even lesser.

As I suspect you will not understand half of the weird stuff I wrote, I suggest you to let us know what driver exactly are you talking about, so we can tell you if a kernel upgrade will help you or not.
 
Old 08-13-2009, 06:37 PM   #4
David2010
Member
 
Registered: May 2009
Posts: 255

Original Poster
Rep: Reputation: 23
Quote:
Originally Posted by i92guboj View Post
It depends on what do you mean by "part of the kernel".

99.9% of the linux drivers are part of the linux kernel, however they might not be compiled in the kernel image, they can also be inside the initrd or as external modules. However, they come from the same source tree that the monolithic kernel does, and their source is part of the official linux kernel.

Some other drivers are 3rd party, like the propietary drivers for nvidia or ati, the ntfs-3g driver, and many more. And there are also the fuse drivers, which work form the user land, so their implication with the kernel is even lesser.

As I suspect you will not understand half of the weird stuff I wrote, I suggest you to let us know what driver exactly are you talking about, so we can tell you if a kernel upgrade will help you or not.
No worries I understood it.

I was originally meaning wireless drivers as that is what I have the most problems with. Half the distros I try I have to use ndiswrapper to get my wireless card working and since I am currently building my own LFS distro but still VERY confused about it I thought I would ask.
 
Old 08-13-2009, 06:52 PM   #5
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
ndiswrapper is the weirdest case I can think of.

ndiswrapper itself is not a driver, but an special loader that allows you to use -natively- Windows drivers for *some* wireless cards under linux. ndiswrapper is an external project that is not part of the linux kernel, and the drivers themselves are from the Windows domain, so they don't even relate to linux at all. I never used ndiswrapper myself, I prefer to buy hardware I know I can use without any hocus pocus magic.

I am not sure how ndiswrapper deals with the kernel, kernels versions might actually matter, or not. I can only recommend to read the requisites for ndiswrapper on its documentation. Maybe someone who actually knows about ndiswrapper can give you more details about this concrete issue.
 
Old 08-13-2009, 08:36 PM   #6
windtalker10
Member
 
Registered: Nov 2007
Location: Kentucky
Distribution: Slackware13.1
Posts: 214

Rep: Reputation: 38
I did a pretty good job of hosing my system a few times trying to learn to compile a custom kernel.
If I recall correctly, some of the options you can select are to compile your kernel for ndiswrapper as well as wireless.
Good luck with LFS, it gave me a nose bleed from the veins popping out to far on my forehead.
 
  


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
LXer: This week at LWN: Linux kernel design patterns - part 2 LXer Syndicated Linux News 0 06-25-2009 01:40 AM
LXer: This week at LWN: Linux Kernel Design Patterns - Part 1 LXer Syndicated Linux News 0 06-18-2009 05:30 PM
LXer: Linux developers petition for open Linux kernel drivers LXer Syndicated Linux News 0 06-23-2008 03:11 PM
LXer: Unraveling The Mac OS X Linux Kernel Myth: Part 1 LXer Syndicated Linux News 0 05-24-2006 09:33 AM
Can anyone be part of Linux kernel development team dkotian Linux - Software 1 10-31-2004 10:15 AM

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

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