From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 18606 invoked from network); 11 Oct 1999 18:53:50 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 11 Oct 1999 18:53:50 -0000 Received: from henry.uncarved.co.uk (gateway.uncarved.co.uk [212.38.67.155]) by mail.redhat.com (8.8.7/8.8.7) with SMTP id OAA23441 for ; Mon, 11 Oct 1999 14:53:47 -0400 Received: (qmail 18234 invoked by uid 500); 11 Oct 1999 18:53:43 -0000 From: "Sean Hunter" Date: Mon, 11 Oct 1999 19:53:43 +0100 To: axp-list@redhat.com Subject: Re: [Limit-off-topic] SCSI pbm with Alphalinux Message-ID: <19991011195343.F14285@henry.uncarved.co.uk> Mail-Followup-To: axp-list@redhat.com References: <017d01bf13de$505776c0$359593cd@meditnet.com> <199910111504.JAA05499@ellpspace.math.ualberta.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: <199910111504.JAA05499@ellpspace.math.ualberta.ca>; from Michal Jaegermann on Mon, Oct 11, 1999 at 09:04:50AM -0600 X-Operating-System: Linux henry.uncarved.co.uk 2.2.12 X-Organisation: Uncarved Systems Ltd. X-Public-Key-URL: http://fido.bfriars.ox.ac.uk/~sean/pubkey.asc X-MSMail-Priority: High X-Priority: 1 On Mon, Oct 11, 1999 at 09:04:50AM -0600, Michal Jaegermann wrote: > Christophe Renard wrote: > > > > The problem is that when I compile the Adaptec support in the kernel I get > > the new disk as sda and the installation one as sdb which serioulsy > > perturbate the system configuration. > > All PCI cards are scanned and recognized in a scan order. Than means > that changing slots in which they are are plugged in you can switch > them around from an OS point of view. > > In 2.2 kernels a scan order is the same one as used by BIOS (at least on > Intel boxes) which happens to be reverse to that one used in 2.0 > kernels. As milos are mostly 2.0 based this sometimes leads to > "interesting" switches in disk names if you have two controllers between > milo and a kernel. :-) This is truly a minor amusement if a bit > confusing when encounterd for the first time. 2.2 kernels have a kernel > boot parameter ("pci=reverse"? - check docs and/or sources, this is from > memory) which switches a scan order to that one from 2.0 if really > desired (for example if you have two controllers and sometimes you > boot 2.0 kernels and sometimes 2.2). > > Frankly your "serious perturbation" is easily resolved by a minor > edit on /etc/fstab file. Boot single, remount / read-and-write, > adjust fstab entries, sync, reboot and you are done. Its worth adding that you could add disklabels to your partitions and mount by disklabel, or mount by UUID. That is a pretty robust solution, which would mean your mounting would still work perfectly if you swapped all the disks around. You can also use scsidev to make some device entries by controller, lun etc, and use those in your fstab. Sean