On 12/08/05, Alfred von Campe alfred@110.net wrote:
On Aug 11, 2005, at 0:45, Shawn M. Jones wrote:
Alfred von Campe wrote:
How can I configure the kernel to ignore the QLogic HBA? It's not that critical for the kickstart process (although that would be nice too).
Off of the top of my head, I don't know what to do about kickstart, but look in the /etc/modprobe.conf to see what options are passed to loaded modules. If your module is in there, try removing the line. If it is not in there, try the /etc/modules file (if it exists, RH/CentOS doesn't usually have one these days).
Nope, that didn't work. The good news is that in RHEL4 (CentOS 4) the delay is only 20 seconds instead of 60 for each channel (so 40 total), which is almost tolerable :-).
Again, the module's probably included in the initrd because it was in /etc/modprobe.conf when the initrd was built. To have a shufty at what's in your initrd try something like the following...
[wmcdonald@willspc initrd]$ pwd /home/wmcdonald/initrd [wmcdonald@willspc initrd]$ cp /boot/initrd- 2.6.9-5.0.5.EL.img initrd-2.6.9-5.0.5.EL.img.gz [wmcdonald@willspc initrd]$ gunzip initrd-2.6.9-5.0.5.EL.img.gz [wmcdonald@willspc initrd]$ ls initrd-2.6.9-5.0.5.EL.img [wmcdonald@willspc initrd]$ file initrd-2.6.9-5.0.5.EL.img initrd-2.6.9-5.0.5.EL.img: ASCII cpio archive (SVR4 with no CRC) [wmcdonald@willspc initrd]$ cpio -i initrd-2.6.9-5.0.5.EL.img (Doh) [wmcdonald@willspc initrd]$ cat initrd-2.6.9-5.0.5.EL.img | cpio -i <snip errors> 4016 blocks [wmcdonald@willspc initrd]$ ls -l total 2048 drwxr-xr-x 2 wmcdonald wmcdonald 4096 Aug 4 16:23 bin drwxr-xr-x 2 wmcdonald wmcdonald 4096 Aug 4 16:23 dev drwxr-xr-x 4 wmcdonald wmcdonald 4096 Aug 4 16:23 etc -rwxr-xr-x 1 wmcdonald wmcdonald 1139 Aug 4 16:23 init -rw-r--r-- 1 wmcdonald wmcdonald 2056192 Aug 4 16:23 initrd-2.6.9-5.0.5.EL.img drwxr-xr-x 2 wmcdonald wmcdonald 4096 Aug 4 16:23 lib drwxr-xr-x 2 wmcdonald wmcdonald 4096 Aug 4 16:23 loopfs drwxr-xr-x 2 wmcdonald wmcdonald 4096 Aug 4 16:23 proc lrwxrwxrwx 1 wmcdonald wmcdonald 3 Aug 4 16:23 sbin -> bin drwxr-xr-x 2 wmcdonald wmcdonald 4096 Aug 4 16:23 sys drwxr-xr-x 2 wmcdonald wmcdonald 4096 Aug 4 16:23 sysroot
Then have a prod around in /lib. If the qla module isn't listed in there it could be compiled into your kernel which might necessitate a rebuild if you can be bothered.
Will.