You are not logged in.

#1 2008-01-13 18:07:20

Basu
Member
From: Cornell University
Registered: 2006-12-15
Posts: 296
Website

Compiled a custom module

I compiled a custom madwifi module using a patch for the Atheros 5007EG chipset. If I upgrade the kernel, will it break the module? Will I have to recompile everytime I get a kernel? I currently have the kernel ignored by pacman.


The Bytebaker -- Computer science is not a science and it's not about computers
Check out my open source software at Github

Offline

#2 2008-01-14 00:44:01

big_gie
Member
Registered: 2005-01-19
Posts: 637

Re: Compiled a custom module

It depends.

If your module overwritted a kernel module when you installed it, upgrading the kernel will overwrite it again, because the file should be owned by the kernel package.

If the file did not exist prior to your installation, upgrading the kernel should not overwrite your module.

If upgrade from 2.6.22 to 2.6.23 or from 2.6.23 to 2.6.24, then your modules directory will change from /lib/modules/2.6.23-ARCH/ to /lib/modules/2.6.24-ARCH/ so you will need to recompile your module.

Hope it helped.

Offline

#3 2008-01-14 00:48:11

hacosta
Member
From: Mexico
Registered: 2006-10-22
Posts: 423

Re: Compiled a custom module

i suggest you file a bug report to include that patch if it doesn't break anything else

Offline

#4 2008-01-14 03:15:25

Basu
Member
From: Cornell University
Registered: 2006-12-15
Posts: 296
Website

Re: Compiled a custom module

I dont think it overwrote anything, I had a fairly light system and I hadn't installed a wifi driver before I compiled the driver. I think I'll upgrade and see what happens.

@hacosta: It hasn't broken anything I can see. It's a wifi driver, so I suppose unless someone has another wifi driver installed it shouldn't be a problem. It works fine with the normal network and wicd daemons. I'll go file that bug report now.


The Bytebaker -- Computer science is not a science and it's not about computers
Check out my open source software at Github

Offline

Board footer

Powered by FluxBB