[opensuse] loading custom kernel modules
- From: Matthew Stringer <qube@xxxxxxxxxxxxxx>
- Date: Wed, 30 May 2007 18:42:33 +0100
I'm sure this is a daft n00b question but I've not found the answer via Google
so I thought I'd try you guys.
I've a server with a Areca RAID card running 10.2
Now there isn't a default driver for this so I have to compile either a custom
kernel or module.
For ease I'd rather compile the stand alone module and just load it in as
it'll make updating the kernel easier.
So I go into the driver source directory and run the following command:
make -C /lib/modules/`uname -r`/build CONFIG_SCSI_ARCMSR=m SUBDIRS=$PWD
modules modules_install
Which builds the correct module and installs it to:
/lib/modules/<CURRENTKERNEL>/extra/arcmsr.ko
Now I can use insmod /lib/modules/2.6.18.8-0.3-default/extra/arcmsr.ko to load
it and it works fine.
However unlike the rest of the modules in the kernel it's not pathed so I
can't add it to /etc/modprobe.conf.local as it doesn't like absolute paths in
there.
This means I can't auto mount the logical drive on this card via /etc/fstab.
I can get around it by using a startup script that loads the module and then
mounts it but as it's not 'the proper way' of doing things it's bugging me.
If I create a whole new custom kernel then it's fine but I don't want to have
to build all that every time a new one comes out when I could just compile a
single module in a second.
Any help would be appreciated.
Regard
Matthew
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- Follow-Ups:
- Re: [opensuse] loading custom kernel modules
- From: Sean Craig
- Re: [opensuse] loading custom kernel modules
- Prev by Date: [opensuse] mysql will not start after php upgrade
- Next by Date: Re: [opensuse] mysql will not start after php upgrade
- Previous by thread: [opensuse] mysql will not start after php upgrade
- Next by thread: Re: [opensuse] loading custom kernel modules
- Index(es):
Relevant Pages
|
|