You are not logged in.

#1 2010-01-12 19:12:00

hsn
Member
Registered: 2009-02-07
Posts: 17

[Solved] How to make a module?

Hello
I have just installed arch on my acer 3810TG
I need a kernel module called lenovo_acpi, to make that in fedora i just do this

cd lenovo_acpi/
make
cp lenovo_acpi.ko /lib/modules/`uname -r`/kernel
depmod

but in arch make output is this:

#make
make -C /lib/modules/2.6.32-ARCH/build M=/tmp/acpi modules
make: *** /lib/modules/2.6.32-ARCH/build: No such file or directory. Stop.
make: *** [default] Error 2

How i can make this module or any other?

Last edited by hsn (2010-01-12 20:13:12)

Offline

#2 2010-01-12 20:12:45

hsn
Member
Registered: 2009-02-07
Posts: 17

Re: [Solved] How to make a module?

http://www.archlinux.org/news/477/

Arch Linux changes:
- split kernel-headers to extra package
If you want to build external modules please install:
pacman -S kernel26-headers

Offline

#3 2010-01-13 00:36:18

cteampride
Member
Registered: 2010-01-10
Posts: 15

Re: [Solved] How to make a module?

I know this has been "solved"

but could you detail the process a bit.

I want to load the external module raw1394 to replace the "new" firewire stack that comes with the new kernel.
I have already blacklisted the old modules.

get
pacman -S kernel26-headers
then what... find my module for download somewhere followed by modprobe raw1394?

Offline

#4 2010-01-24 12:05:43

CedricR
Member
From: Paris-France
Registered: 2009-03-15
Posts: 5

Re: [Solved] How to make a module?

I am in the same situation as cteampride.
I need to enable raw1394 module to use with ffado but, I don't understand in detail the procedure to do that.
What we must add in the modprobe.conf file ?
Something like that :

# blacklist firewire-ohci
# blacklist firewire-sbp2
# blacklist firewire-net

blacklist ohci1394
blacklist sbp2
blacklist eth1394
blacklist dv1394
#blacklist raw1394
blacklist video1394

Is there someone who can explain with more detail, please? 

Thank you in advance for your answer.

Offline

#5 2010-01-24 13:03:59

renato_garcia
Member
From: Brazil
Registered: 2009-08-14
Posts: 24

Re: [Solved] How to make a module?

I also had problems with a firewire camera and the new drivers. The kernel 2.6.32 in arch repositories doesn't have the old modules compiled, then I had to get the kernel in kernel.org and recompile it with old driver how modules. To blacklist the new modules I prefer do this in rc.conf:

MODULES=(!firewire_ohci !firewire_core)

Offline

#6 2010-01-24 13:30:40

CedricR
Member
From: Paris-France
Registered: 2009-03-15
Posts: 5

Re: [Solved] How to make a module?

Thank you very much for your quick answer renato_garcia.
I will try to install kernel26-ck from AUR repository.

Offline

Board footer

Powered by FluxBB