From owner-freebsd-current Sat Mar 30 21:34:29 2002 Delivered-To: freebsd-current@freebsd.org Received: from mass.dis.org (dhcp45-24.dis.org [216.240.45.24]) by hub.freebsd.org (Postfix) with ESMTP id 9C89B37B417; Sat, 30 Mar 2002 21:34:23 -0800 (PST) Received: from mass.dis.org (localhost [127.0.0.1]) by mass.dis.org (8.11.6/8.11.6) with ESMTP id g2V5XMc02681; Sat, 30 Mar 2002 21:33:22 -0800 (PST) (envelope-from msmith@mass.dis.org) Message-Id: <200203310533.g2V5XMc02681@mass.dis.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Alfred Perlstein Cc: scott_long@btc.adaptec.com, mark_salyzyn@adaptec.com, obrien@freebsd.org, current@freebsd.org Subject: Re: asr can not map memory? In-reply-to: Your message of "Sat, 30 Mar 2002 20:45:58 PST." <20020331044558.GD93885@elvis.mu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 30 Mar 2002 21:33:22 -0800 From: Michael Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > I just got the Adaptec 4 port IDE raid card 2400A. > > It doesn't probe right: > asr0: could not map memory > > I added some debug printouts to the asr driver and pci code. > > asr0: mem 0xf6000000-0xf7ffffff irq 5 at device 5 > .1 on pci2 > pcib2: device asr0 requested unsupported memory range 0xf6000000-0xf6400000 > pcib2: device asr0 requested unsupported memory range 0x0-0xec9fffff (decodin > g 0xec900000-0xec9fffff, 0xf6000000-0xfbffffff) > asr: map failed at: 2602 p:f6000000 f6400000 l:00400000 > asr0: could not map memory > device_probe_and_attach: asr0 attach returned 6 > > wtf is going on here? Your BIOS is assigning a memory range to the card that we don't believe the bridge passes through. Our check is bogus because (as you see) the range is actually legitimate (and we booger up some calculations). Add the PCI_ALLOW_UNSUPPORTED_IO_RANGE option and this should go away. You should have bought a 3ware controller. 8) -- To announce that there must be no criticism of the president, or that we are to stand by the president, right or wrong, is not only unpatriotic and servile, but is morally treasonable to the American public. - Theodore Roosevelt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message