From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 32454 invoked from network); 25 Jun 1999 20:00:13 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 25 Jun 1999 20:00:13 -0000 Received: from ellpspace.math.ualberta.ca (michal@ellpspace.math.ualberta.ca [129.128.88.19]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id PAA00524 for ; Fri, 25 Jun 1999 15:04:17 -0400 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.8.8/8.8.8) id NAA09581; Fri, 25 Jun 1999 13:04:12 -0600 From: Michal Jaegermann Message-Id: <199906251904.NAA09581@ellpspace.math.ualberta.ca> Subject: Re: SCSI & RAID questions To: axp-list@redhat.com Date: Fri, 25 Jun 1999 13:04:12 -0600 (MDT) Cc: sborho@ststech.com In-Reply-To: <19990625121128.I3288@ststech.com> from "Steve Borho" at Jun 25, 99 12:11:28 pm Content-Type: text Steve Borho wrote: > > I got ambitious and replaced the failing 2GB drive with a pair of > cheetah's in a raid0 configuration; very sweet. > > I had to install a new Adaptec adapter since the two cheetah's are > SCSI-2 and have 68 pin connectors, thus the on-board NCR controller > couldn't handle them. A sane way of doing things like that is to put RAID controller on a board if you want to boot from the thing but even your configuration can be dealt with. And I would not use Adaptec, but this is just me. :-) > After installing the new adapter, the kernel initializes the adaptec > driver before the on-board NCR, thus my sda turns into sdc. Controllers are asigned to channels in such order as they are detected in PCI scan - which happens to be reverse in 2.2 kernels than in 2.0 ones. The order was reversed to conform to what BIOSes are usually doing. 2.2 kernels also have a boot flag which allow you to switch that order around if you need to. SCSI drives are asigned consecutive letters in an order they are found - first all drives from a controller 0, then drives from a controller 1 and so on. > What's really wierd is that I > never once told Linux about the card. I just shut the alpha down, > stuck it in, booted it up, and there it was. Eh? And what did you expect? > Is there anyway to get into the adaptec BIOS to adjust the settings, > or is this just an intel based feature? I thought that newer Adaptecs allowed an access to their BIOS in a bootup sequence of Alpha. Pay close attention to messages. If your controller is still from an old stock there is an 'acu.exe' utility (Adaptec Control Utility), which you can find somewhere on Compaq (DEC) sites. You run that from firmware loading from a floppy. A precise URL anyone? I am not sure if this will help in your particular case, though, as the other controller will be still detected. If you will recompile a kernel **without** a support for NCR, with Adaptec only, then NCR on board should be left alone. But distribution kernels, during an upgrade - for example, will still see it. Setting BIOS on Adaptec will have no relevance to what NCR is doing. > The raid array (/dev/md0) isn't being detected during the kernel > initialization, even though I set the persistent flag in /etc/raidtab. > I had to add raidstart /dev/md0 and mount /raid to rc.local in order > for the array to be mounted. Is this normal for Alpha/Linux? It is normal for Linux - period. As you are using mirroring only this is not a big deal. Separate disks are still valid by themselves and things are ok. In more complicated setups you are booting into 'initrd' ramdisk to set up RAID operations there and you are switching to you "normal" configuration continuing boot afterwards. See 'Documentation' subdirectory in linux kernel source tree for details. Michal