You are not logged in.

#1 2012-07-15 00:17:54

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,542

Custom kernel module

I'm trying to rewrite the bttv driver so I can use my radio on my TV tuner card, that has gone goofy since the 3.x kernel.
After downloading and compiling the vanilla kernel from kernel.org, I modprobe the new module, and I get the message:

bttv: version magic '3.4.4 SMP mod_unload 686 ' should be '3.4.4-3-ARCH SMP preempt mod_unload modversion 686'

Do I have to boot with the produced kernel just to get it to take the module and copy all of the modules over to /lib to get it to work?
Even modprobe -f won't let me use it.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#2 2012-07-15 01:16:01

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,698

Re: Custom kernel module

I think so... But you can set the kernel name in the configuration.

Try this, I don't know if you are using ABS, but give it a shot.  Once it is synchronized, copy the entire directory /var/abs/core/linux to a place you can work with it.  Modify the PKGBUILD to enable your favorite way of changing the configuration, apply your patch, and build it.  This way, you know that all the knobs are set to the right settings and the module should play nicely.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2012-07-15 01:35:47

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,542

Re: Custom kernel module

ABS, why wasn't I remembering ABS?  I need to update my ABS as it is, haven't used it in a while.  I've already downloaded the vanilla kernel, probably I can place it in the /var/abs/core/linux and make it work.  But then it would be required with each new release of the linux kernel, which would get to be a pain after awhile.  But ABS would build a source package, so I could work with that.  I can probably use the old RTAI kernel I have now that the glibc part is gone past.  Hopefully it won't try to overwrite lib now that it is a symbolic link instead of a hard link.  Build kernel with a different name, so as not to runover the mainstream kernel.  The config file in the ABS should be the same as the mainline repo kernel I think.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#4 2012-07-15 03:23:02

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Custom kernel module

If something broke when 3.x came downstream, then you need to report a bug upstream. Have you done that yet?

Offline

#5 2012-07-15 12:29:55

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,542

Re: Custom kernel module

Filed a bug with bugs.archlinux.org.  Hope that's where it goes.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

Board footer

Powered by FluxBB