[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Boot fails after change of motherboard (using LVM)



On Fri, 2006-10-13 at 15:38 -0400, Volker Englisch wrote:
> on 10/13/2006 1:43 PM Paul Howarth said the following:
> > On Fri, 2006-10-13 at 09:21 -0400, Volker Englisch wrote:
> >> On 10/13/2006 04:01 AM Paul Howarth wrote:
> >>> Once you've found the sata modules in use, edit the /etc/modprobe.conf
> >>> of the installed system to ensure that it has a scsi_hostadapter line
> >>> for each sata module. For instance, I have:
> >>>
> >>> alias scsi_hostadapter sata_sil24
> >>> alias scsi_hostadapter1 sata_nv
> >> I have two identical SATA disks.  Would I need to enter
> >>    alias scsi_hostadapter sata_via
> >>
> >> to the modprobe.conf or
> >>    alias scsi_hostadapter sata_via
> >>    alias scsi_hostadapter1_sata_via
> > 
> > You only need the one. If it's already there then this is not the
> > problem you're having.
> 
> Sorry, but I want to make sure I understand correctly.
> Are you saying if I already see the sata_via module with the lsmod 
> command I do not need the entry in the /etc/modprobe.conf?
> Or did you mean I only need one single line
>     alias scsi_hostadapter sata_via
> in /etc/modprobe.conf because I have two identical HDs?
> I have currently nothing in the modprobe.conf file regarding the SATA 
> drives.

The entries in modprobe.conf refer to the CONTROLLER, not the drives.
If you only have one SATA controller (regardless of the number of
drives), you only need:

	alias scsi_hostadapter sata_via

If you have two _controllers_, you need

	alias scsi_hostadapter sata_via
	alias scsi_hostadapter1 sata_via

Also, when you do the mkinitrd, make sure you use

	mkinitrd -f -v /boot/initrd-$(uname -r) $(uname -r)

Watch the output and make sure the "sata_via" module gets loaded into
the initrd.

----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens vitalstream com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-    I don't suffer from insanity...I enjoy every minute of it!      -
----------------------------------------------------------------------


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]