From owner-freebsd-stable Thu Sep 21 10: 3:10 2000 Delivered-To: freebsd-stable@freebsd.org Received: from mass.osd.bsdi.com (adsl-63-202-177-115.dsl.snfc21.pacbell.net [63.202.177.115]) by hub.freebsd.org (Postfix) with ESMTP id 38E3637B423 for ; Thu, 21 Sep 2000 10:03:06 -0700 (PDT) Received: from mass.osd.bsdi.com (localhost [127.0.0.1]) by mass.osd.bsdi.com (8.9.3/8.9.3) with ESMTP id KAA00726; Thu, 21 Sep 2000 10:03:58 -0700 (PDT) (envelope-from msmith@mass.osd.bsdi.com) Message-Id: <200009211703.KAA00726@mass.osd.bsdi.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: Brad Knowles Cc: stable@FreeBSD.ORG Subject: Re: Mylex adapters with 2.x firmware and "couldn't map register window" In-reply-to: Your message of "Thu, 21 Sep 2000 11:48:09 +0200." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 21 Sep 2000 10:03:58 -0700 From: Mike Smith Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > At 12:34 AM -0700 2000/8/4, Mike Smith wrote: > > > The fix for this has been committed to -stable, and there's a kit for > > 4.1-RELEASE users wanting to install on these adapters at > > http://people.freebsd.org/~msmith/RAID/mylex/mlx2_patchkit.tar.gz > > After having recently done a "make update" followed by "make > buildworld" then "make buildkernel" and "make installkernel", then > rebooting and doing a "make installworld", and then finally > re-building the new FreeBSD 4.1-STABLE kernel using the "normal" > procedure, I pulled down the kit, and followed the instructions > according to the README: > > To install: > > 1) Copy sys/dev/asr and sys/modules/asr from the distribution archive into > their corresponding locations. > 2) Apply the 'files.diff' patch to /sys/conf/files > 3) Ensure that your kernel has CAM support, ie. that the lines > device scbus > device da > are present in your kernel configuration. > 3a) Build and install the 'asr' module. > 3b) Add the line > asr_load="YES" > to /boot/loader.conf, or > - or - > 4) Add the line > controller asr > to your kernel configuration file and rebuild/reinstall your kernel. > > I did not do step 3b, I instead elected to do step 4. This way I > don't have to worry about the additional manual "camcontrol rescan". You don't have to do this if the module is loaded at boot time. > However, when doing a "make depend" for my kernel configuration, I get: > ../../dev/asr/asr.c:231: opt_asr.h: No such file or directory > mkdep: compile failed > *** Error code 1 Bug in the kit. Say 'touch opt_asr.h' and try again, or just use the module. > I also note that this is the only line anywhere in my kernel > config that uses something like "controller asr" as opposed to > "device asr". Is this a FreeBSD 5.x-ism that accidentally crept into > suggestion for a 4.x kernel configuration? Actually, it's a 3.x-ism that snuck in. It's harmless in 4.x. -- ... every activity meets with opposition, everyone who acts has his rivals and unfortunately opponents also. But not because people want to be opponents, rather because the tasks and relationships force people to take different points of view. [Dr. Fritz Todt] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message