You are not logged in.

#1 2006-09-11 02:33:35

pinr
Member
Registered: 2006-09-07
Posts: 11

Set Modules Path

I have installed a custom kernel as I needed toshiba support.  The modules are in /lib/modules/2.6.17.13.  I need to install ndiswrapper, however after running pacman -S ndiswrapper the ndiswrapper module is installed in /lib/modules/2.6.17-ARCH not in /lib/modules/2.6.17.13, which is where I want it.  I've completly removed the arch kernel.  I've created a symlink named linux to the custom kernel in /usr/src, which is what I do under Gentoo, but to no avail.  How do I tell the system I don't want to use the ARCH kernel?
Thanks

Offline

#2 2006-09-11 02:43:00

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: Set Modules Path

well, the kernel modules in pacman are specifically built for a single kernel.   If you're using a custom kernel, you'll need to build your own modules as well.  You can do a quick modification of the arch packages to accomplish this.

run 'abs' as root to get the package tree, then in /var/abs/extra/network/ndiswrapper you'll find the PKGBUILD to edit - copy that folder to a directory you have write access to, then edit the name (ndiswrapper-custom or whatever) and the kernel version (to whatever kernel ver you want) and run makepkg.

Offline

#3 2006-09-11 11:48:37

pinr
Member
Registered: 2006-09-07
Posts: 11

Re: Set Modules Path

Yes of course now I understand, Thanks!

Offline

Board footer

Powered by FluxBB