From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 8803D3F246 for ; Thu, 18 Jul 2002 11:11:06 -0400 (EDT) Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id g6IFB6q08675 for axp-list@listman.redhat.com; Thu, 18 Jul 2002 11:11:06 -0400 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id g6IFB6R08671 for ; Thu, 18 Jul 2002 11:11:06 -0400 Received: from zmamail04.zma.compaq.com (zmamail04.zma.compaq.com [161.114.64.104]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id g6IExts15179 for ; Thu, 18 Jul 2002 10:59:55 -0400 Received: from taynzmail03.nz-tay.cpqcorp.net (taynzmail03.nz-tay.cpqcorp.net [16.47.4.103]) by zmamail04.zma.compaq.com (Postfix) with ESMTP id A56A33A35 for ; Thu, 18 Jul 2002 11:11:05 -0400 (EDT) Received: from linux04.mro.cpqcorp.net (linux04.mro.cpqcorp.net [16.129.9.99]) by taynzmail03.nz-tay.cpqcorp.net (Postfix) with ESMTP id 6E167D4C for ; Thu, 18 Jul 2002 11:11:05 -0400 (EDT) Received: (from jestabro@localhost) by linux04.mro.cpqcorp.net (8.11.6/8.11.6) id g6IF8tv01237 for axp-list@redhat.com; Thu, 18 Jul 2002 11:08:55 -0400 Date: Thu, 18 Jul 2002 11:08:55 -0400 From: Jay Estabrook To: axp-list@redhat.com Subject: Re: AS2100 RAID (was: ES40 Install Problem...) Message-ID: <20020718110855.A1157@linux04.mro.cpqcorp.net> Mail-Followup-To: Jay Estabrook , axp-list@redhat.com References: <6B003D25ADBDE347B5542AFE6A55B42E01D9B02B@tayexc13.americas.cpqcorp.net> <002e01c22bfc$6c9a4e00$6501a8c0@mn.rr.com> <20020715101422.B1245@linux04.mro.cpqcorp.net> <005e01c22c71$b9ba0de0$6501a8c0@mn.rr.com> <20020716104437.B942@linux04.mro.cpqcorp.net> <003c01c22d21$d3886fe0$6501a8c0@mn.rr.com> <20020717114832.A5577@linux04.mro.cpqcorp.net> <002601c22e02$16631640$6501a8c0@mn.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <002601c22e02$16631640$6501a8c0@mn.rr.com>; from etruss@mn.rr.com on Wed, Jul 17, 2002 at 09:20:49PM -0500 X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: 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 -----------------------------------------------------------------------------