Hi Matthew, After building and installing the module, did you run 'depmod -a' ?
Once you can modprobe the module, you can edit /etc/sysconfig/kernel: edit the line INITRD_MODULES="......." You will then need to build a new initrd by running 'mkinitrd'. This will forceload the module at boot time. Regards Sean Matthew Stringer wrote: > 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
