Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Jay Estabrook <Jay.Estabrook@compaq.com>
To: axp-list@redhat.com
Subject: Re: AS2100 RAID (was: ES40 Install Problem...)
Date: Thu, 18 Jul 2002 11:08:55 -0400	[thread overview]
Message-ID: <20020718110855.A1157@linux04.mro.cpqcorp.net> (raw)
In-Reply-To: <002601c22e02$16631640$6501a8c0@mn.rr.com>; from etruss@mn.rr.com on Wed, Jul 17, 2002 at 09:20:49PM -0500

On Wed, Jul 17, 2002 at 09:20:49PM -0500, Earl Truss wrote:
>
> Let me step back and ask a couple of questions to make sure of the
> answers ... Should the first installed kernel work with RAID or do I
> need to compile a new kernel before this will work?  I was under the
> impression that it would work out of the box.  I tried compiling a new
> kernel but it did not help but I'm also not sure I did it right -- I got
> some different error messages but it booted and appeared to run OK in
> spite of them.

You are correct, it *should* work OOTB.

> 00:06.0 RAID bus controller: Mylex Corporation DAC960P
>  Flags: bus master, medium devsel, latency 32, IRQ 34
>  I/O ports at 9480 [size=128]
>  Expansion ROM at 0000000001140000 [disabled] [size=16K]

OK, this is the one that worries me. In the DAC960 driver, there is an
attempt to mmap the PCI area containing some of the registers of the
DAC960P controller. It uses the PCI config space BAR #1 to get the PCI
*memory* address from (not the PCI I/O space address, which is in BAR
#0 and is printed above).

Unfortunately, it appears that the PCI setup code did not think that
it had to set BAR #1 up, so it left it set to 0; this caused the code
in the driver to fail to mmap that address, thus issuing the following
error message and failing the initialization.

  DAC960 RAID Driver Version 2.4.11 of 11 October 2001
  Unable to map Controller Register Window for Controller at
  PCI bus 0 Device 6 Function 0 I/O Address 0x9480 PCI Address 0x0

> There's nothing obviously unusual in any startup logs.  Is there some
> log or some message in particular I should be looking for -- I'm not
> sure what might help and the logs are pretty big to include here.

Nope, nothing in the snippet you posted, anyway; however, any errors
from the PCI setup code would most likely have occurred earlier... ;-}

Anyway, I'm not sure where to go from here - a failure in the PCI setup
code means that, for whatever reason, when the DAC960 was probed, its
BAR #1 did not appear to indicate it wanted/needed PCI memory resource.

The SRM console code contains a large number of workarounds for
mis-behaving PCI cards, among which are numerous DAC960 instances, so
this problem may be well understood; unfortunately, there don't appear
to be any "quirk" routines (in current kernels) enabled for the
DAC960s, which leads me to believe that the normal Intel BIOSes prolly
do the right thing (somehow). Our SRM consoles prolly do as well,
though that work gets undone when the Alpha Linux kernel PCI setup
code runs.

Perhaps we should take this offline, to discuss what you might try
if you are really interested in getting that device doing... ???

 --Jay++

-----------------------------------------------------------------------------
Jay A Estabrook                            HPTC - LINUX support
Hewlett-Packard Company - MRO1-2/K15       (508) 467-2080
200 Forest Street, Marlboro MA 01752       Jay.Estabrook@hp.com
-----------------------------------------------------------------------------




  reply	other threads:[~2002-07-18 15:11 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-15 12:18 ES40 Install Problem Sullivan, Phil
     [not found] ` <002 e01c22bfc$6c9a4e00$6501a8c0@mn.rr.com>
2002-07-15 12:34 ` Earl Truss
2002-07-15 14:14   ` Jay Estabrook
2002-07-16  2:30     ` Earl Truss
2002-07-16 14:44       ` AS2100 RAID (was: ES40 Install Problem...) Jay Estabrook
2002-07-16 23:35         ` Earl Truss
2002-07-17 15:48           ` Jay Estabrook
2002-07-18  2:20             ` Earl Truss
2002-07-18 15:08               ` Jay Estabrook [this message]
2002-07-19 22:48                 ` Leigh Anderson
2002-07-20  2:31                   ` Earl Truss
2002-07-20  4:13                     ` Leigh Anderson
2002-07-23 16:01                       ` Jay Estabrook
2002-07-24  2:58                         ` Earl Truss
2002-07-24  6:06                           ` Leigh Anderson
  -- strict thread matches above, loose matches on Subject: below --
2002-07-18 17:29 Earl Truss
read-only archive

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