Unix Technical Forum

Compiling a kernel module

This is a discussion on Compiling a kernel module within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> Hi, I have forgotten to check a feature when i configured my kernel :-( Is it possible to check ...


Go Back   Unix Technical Forum > Unix Operating Systems > Gentoo Linux Support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-21-2008, 07:58 AM
Jakob Rohde
 
Posts: n/a
Default Compiling a kernel module

Hi,

I have forgotten to check a feature when i configured my kernel :-(

Is it possible to check the missing feature as a module, and then only
compile this module? If so, is it correct, that I only need to run:

make modules; modules_install

and then

modprobe <module name>

TIA,

Jakob
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-21-2008, 07:58 AM
Jeroen Geilman
 
Posts: n/a
Default Re: Compiling a kernel module

Jakob Rohde wrote:

> Hi,
>
> I have forgotten to check a feature when i configured my kernel :-(
>
> Is it possible to check the missing feature as a module, and then only
> compile this module?


If nothing else depends on it, then sure.

But depending on the speed of your system, and whether you'd really like
to have it built into the kernel or don't care, why not just rebuild te
kernel ?

For the same reason, that will only take a minute or so when all you do
is add one module.

> If so, is it correct, that I only need to run:
>
> make modules; modules_install
> and then
> modprobe <module name>


Also yes.


--
J

All your bits are belong to us - again.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-21-2008, 07:58 AM
Jakob Rohde
 
Posts: n/a
Default Re: Compiling a kernel module

Thanks, Jeroen

I've now added Video For Linux and the BT848 driver. When I compile the
kernel, I get a lot of unresolved symbols (e.g. tvaudio.o, tuner.o,
bttv.o).

Do I need some additional features, or are there an error in this version of
the kernel sources (2.4.26-r6)?

What I'm trying to do, is to make my Hauppauge WinTV PVR 250 card work.

Jakob
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-21-2008, 07:58 AM
Sybren Stuvel
 
Posts: n/a
Default Re: Compiling a kernel module

Jakob Rohde enlightened us with:
> What I'm trying to do, is to make my Hauppauge WinTV PVR 250 card work.


You need to download the ivtv driver, from
http://ivtv.writeme.ch/tiki-index.php. I'm using version
ivtv-0.1.10-pre2-ch98h on kernel 2.6.7-gentoo-r7. Don't use the 0.1.9
version, it's crap. The version I'm using works pretty nice with my
PVR350. To play TV, use "mplayer /dev/video0". Use ivtvctrl for
zapping. The number you need to pass as the frequency is the frequency
of the channel multiplied with 16.

Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:48 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com