[4485] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

problems with kernel upgrade (2.0.35)

daemon@ATHENA.MIT.EDU (Carlos Vicente)
Fri Jul 31 10:46:22 1998

Date: 	Fri, 31 Jul 1998 10:22:41 -0500
From: Carlos Vicente <cvicente@ns.intec.edu.do>
To: linux-scsi@vger.rutgers.edu
CC: jad@network-services.uoregon.edu

Hello all.
I have RedHat 5.0 installed (kernel 2.0.32) and I just compiled kernel
version 2.0.35.  I have two adaptec scsi host adapters.  One is AIC7880
(with an internal 4.3 GB seagate) and the other one is a AHA2940 (with
two external 4.3 GB Fujitsus).  I configured the new kernel to support
both hosts internally (not as modules) 
My problem is (among other things) that the new kernel seems to detect
the devices in a different order and assigns different minor numbers to
them.
For example, the Seagate used to be sda (this one has all the
filesystems, including /) and now it's sdc (just after the fujitsus get
sda and sdb each).  So, when I try to boot with the new kernel, it
cannot mount the root filesystem, because sda is now empty.

I have configured Lilo so I can boot either of the kernels,
/etc/lilo.conf looks like this:
*********************************************************************
map=/boot/map
install=/boot/boot.b
root=/dev/sda5
prompt
read-only
timeout=50
image=/boot/vmlinuz-2.0.32
        label=linux
        initrd=/boot/initrd-2.0.32.img

image=/boot/zImage-2.0.35
        label=linux-2.0.35
***************************************************************************
My /etc/fstab looks like:

/dev/sda5               /                       ext2    defaults       
1 1
/dev/sda7               /usr                    ext2    defaults       
1 2
/dev/sda6               /usr/local              ext2    defaults       
1 2
/dev/sda8               /var                    ext2    defaults       
1 2
/dev/sda9               swap                    swap    defaults       
0 0
/dev/fd0                /mnt/floppy             ext2    noauto         
0 0
/dev/cdrom              /mnt/cdrom              iso9660 noauto,ro      
0 0
none                    /proc                   proc    defaults       
0 0

**********************************************************************

I'm afraid to change the root=/dev/sda5 line in lilo.conf, because I
would also have to change my /etc/fstab to point to /dev/sdc too,
right?  So, if that didn't work, I wouldn't be able to recover the
system.  Is there any other way?

My goal is to implement RAID 0, so I can configure both fujitsus to be
seen as one device (md0) and mount it as /usr.

I was reading in SCSI-HOWTO that there might be a program that allows
one to specify the order for the devices to be detected.  Has anyone
used it?

Please, lend me a hand with this.
Thanks in advance.
-- 
Carlos Vicente
cvicente@ns.intec.edu.do
RedINTEC
Instituto Tecnologico de Santo Domingo

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post