Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* SCSI & RAID questions
@ 1999-06-25 17:11 Steve Borho
  1999-06-25 19:04 ` Michal Jaegermann
  0 siblings, 1 reply; 4+ messages in thread
From: Steve Borho @ 1999-06-25 17:11 UTC (permalink / raw)
  To: axp-list

I have an XLT-300 that's been running well for about a couple years
now but recently one of it's drives has started failing.  It's running
RH6.0, stock kernel.

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.

I ran into the following issues:

After installing the new adapter, the kernel initializes the adaptec
driver before the on-board NCR, thus my sda turns into sdc.  I'm able
to work around this fairly easily, but it is annoying.  Does anyone
know of any way to work around this?  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.

Is there anyway to get into the adaptec BIOS to adjust the settings,
or is this just an intel based feature?

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?

BTW: Is there a place you can get replacement keys for alpha cases?  I
lost my key when I moved and ended up drilling out the lock just to
get the case open; not for the fient of heart.

-- 
Steve Borho <sborho@ststech.com>
STS Technologies - http://www.ststech.com


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: SCSI & RAID questions
  1999-06-25 17:11 SCSI & RAID questions Steve Borho
@ 1999-06-25 19:04 ` Michal Jaegermann
  1999-06-26  2:48   ` Jay.Estabrook
  0 siblings, 1 reply; 4+ messages in thread
From: Michal Jaegermann @ 1999-06-25 19:04 UTC (permalink / raw)
  To: axp-list; +Cc: sborho

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: SCSI & RAID questions
  1999-06-25 19:04 ` Michal Jaegermann
@ 1999-06-26  2:48   ` Jay.Estabrook
  1999-06-26  7:43     ` Michal Jaegermann
  0 siblings, 1 reply; 4+ messages in thread
From: Jay.Estabrook @ 1999-06-26  2:48 UTC (permalink / raw)
  To: axp-list


>>> Michal Jaegermann said:
> 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.
> >
> > 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.

Michal, you forgot to include the magic incantation, or was this left as
an execise for the reader? ;-}

IIRC, you simply add "pci=reverse" to the boot command arguments.

--Jay++

-------------------------------------------------------------------------------
  American Non Sequitur Society: we don't make sense, but we do like pizza...

Jay A Estabrook                            Alpha Motherboards - LINUX Project
Compaq Computer Corporation - SHR3-2/R28   (508) 841-3241 or (DTN) 237-3241
334 South Street, Shrewsbury, MA 01545     Jay.Estabrook@digital.com
-------------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: SCSI & RAID questions
  1999-06-26  2:48   ` Jay.Estabrook
@ 1999-06-26  7:43     ` Michal Jaegermann
  0 siblings, 0 replies; 4+ messages in thread
From: Michal Jaegermann @ 1999-06-26  7:43 UTC (permalink / raw)
  To: axp-list

> 
> Michal, you forgot to include the magic incantation, or was this left as
> an execise for the reader? ;-}

Forgot!   Thanks, Jay.

> IIRC, you simply add "pci=reverse" to the boot command arguments.

You recall correctly. :-)

This incantation does not work for 2.0 kernels.  It was provided in 2.2
really for those who want see devices in the same order as 2.0 recognizes
them and not like BIOSes (at least most of these).  Take your pick.

  Michal


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-06-26  8:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-06-25 17:11 SCSI & RAID questions Steve Borho
1999-06-25 19:04 ` Michal Jaegermann
1999-06-26  2:48   ` Jay.Estabrook
1999-06-26  7:43     ` Michal Jaegermann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox