-k, --autoclean
Set 'autoclean' on loaded modules. Used by the kernel when it
calls on modprobe to satisfy a missing feature (supplied as a
module). The -q option is implied by -k. These options will
automatically be sent to insmod.
Okay my configuration :
- HDD Eide master IDE (boot) 80Giga with Arch Linux
- Controller RAID PCI (supported by Linux/Bsd) with 4 HDD in Raid 5.
Archlinux boot smooth from disc0 (Primary Master IDE).
On the RAID there is the shared (samba) directories for all the PC clients.
The RAID need a driver to work (hpt374), so I believe first load the driver and then mount the RAID partition in, for example, /mnt.
The driver is the HPT 374 that is different from the one in kernel 2.6.x (so I always have to disable from kernel, recompile a new kernel, and build the new driver from the source through a 'makefile' supplied from the manufacturer of the RAID card).
Driver was loaded under Suse 7.3 (kernel 2.4.x) with 2 lines inside the file /etc/modules.conf, that are the two lines I mentioned on my first post.
I tried to load the driver HPT374 as module inside /etc/rc.conf, but I need the option '-k' when the driver is loaded (manually : 'modprobe -k hpt374') so I don't know where to key in the option '-k' to load properly the driver.
Funny thing is that Highpoint (manufacturer) nowhere explain the meaning of '-k' option, just force everybody to use it, telling twice to remember about it ("please remember that '-k' option must be included everytime you load the driver, otherwise it will not work properly"!!!)
So, if I load the driver through /etc/rc.conf, I cannot include "-k" option.
If I have to load manually/separately, I don't have idea where I can setup a script or include this command!
You also mention about "build a kernel" with the driver in. It sound great!
I'm newbie: can you redict me some HOWTO about compiling kernel with a driver in? I always just untar the new valilla kernel fvrom kernel.org, and proceed with taking aways all modules I do not need! So I don't know how to include external driver/module and patches.
Thanks for your great patient!
Thanks to Archlinux for a great distro!
I am not certain I fully understand what you need. I would normally just insert the name of the module (hpt374) in the MODULES line in /etc/rc.conf
If that does not achieve what you require, perhaps you could explain a bit further.
i think he means that he needs the module to load before his hds mount in rw.. my only suggestion is to build a custom kernel with the modules that you need built into it and then you don't have to worry about loading them at all
]]>If that does not achieve what you require, perhaps you could explain a bit further.
]]>Anyway now, when from shell I digit 'modprobe hpt374' the driver is loaded perfectly.
So I believe I have just to understand what is the option '-k' that was required under Suse ('insmod -k hpt374').
Due I need the raid partition (/dev/sda1) be mounted together at the other drivers during boot, I believe that the driver (modprobe) should be loaded before the partitions are remounted in rw mode (following the fstab file)!
In Suse/RH I can include a normal command line as 'modprobe...' inside '/etc/rc.sysinit' file before the remount in rw step.
I'm new in Archlinux and I don't know about it.
Thanks!
I have a Server running Suse 7.3 with HIGHPOINT RAID ATA133 HPT374 PCI card.
I upgraded to ArchLinux 0.7b2.
The problem is that I don't know how to load the driver on startup.
In Suse, I had the following 2 lines in the /etc/modules.conf working:
'probeall block-major-8 scsi_mod sd_mod hpt374'
'options -k hpt374'
Of couse no info/man for general installation from the mfg website (only for Suse/RedHat).
Driver has been compiled for the kernel installed properly and with 'insmod /home/test/hpt374.ko' it's loaded and working (without modprobe scsi driver)
Someone can help me ?
I'm new about kernel 2.6.x and Archlinux!
PS: HDPARM is useful for IDE-RAID configuration ?
Is there someone can suggest me the best options for ATA100/133 ?
Thank you
Leo