problem changing SCSI cards on RedHat 6.2

Robert Ambrose rna@testpt.com
Wed, 3 May 2000 09:46:51 -0700 (MST)


It's in the ramdisk that's being loaded during boot.  Look at the initrd
parameter in your lilo.conf file for the exact pathname.  For now I'll use
the pathname on my RH 6.1 system to illustrate.  

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ NOTE: The wise tread carefully doing things like this.  You can make  +
+ your system unbootable in a heartbeat.  The trick is to always have a +
+ fallback plan, i.e. boot disk, boot entries in lilo.conf, etc.        +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

First uncompress the image:

zcat < /boot/initrd-2.2.12-20.img > /tmp/initrd

Next mount the ramdisk:

mount -o loop /tmp/initrd /mnt

There is a script '/mnt/linuxrc', which should be loading your
modules at boot time.  The modules are in /mnt/lib.  Add/remove files and
edit linuxrc to reflect the changes you want to make...

Next unmount and recompress the ramdisk image.  Don't forget to save a
backup of the original ramdisk.  I'd create another entry in lilo.conf in
case you need to boot off of the original ramdisk.

umount /mnt
gzip < /tmp/initrd > /boot/initrd-2.2.12-20.img

Last thing is to do a lilo so it can do it's mapping thing.  

rna

On Tue, 2 May 2000, Datawolf wrote:

> I swapped SCSI cards on my box, from a Promise card (ncr53c8xx driver)
> to an Adaptec card (aic7xxx driver).   RedHat 6.2's "kudzu" utility
> automatically detected this, and modified my /etc/conf.modules
> appropriately.  So my conf.modules now has a line:
> 
>     alias scsi_hostadapter aic7xxx
> 
> But when the machine boots up, it tries to load the ncr53c8xx driver
> instead.  Naturally, it is unable to do so, and fails to detect any SCSI
> devices.  Once it's booted, I simply "insmod aic7xxx" and all is fine. 
> (The SCSI is just for my CD-RW and CD-ROM, no hard drives.)
> 
> So where is it still getting the ncr53c8xx driver from?  Is there a new
> secret kudzu-rc file that I have to modify?  The conf.modules should be
> sufficient, I thought...
> 
> Any ideas?
> 
> -BVG
> 
> _______________________________________________
> Plug-discuss mailing list  -  Plug-discuss@lists.PLUG.phoenix.az.us
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>