Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Sep 2000 10:03:58 -0700
From:      Mike Smith <msmith@freebsd.org>
To:        Brad Knowles <blk@skynet.be>
Cc:        stable@FreeBSD.ORG
Subject:   Re: Mylex adapters with 2.x firmware and "couldn't map register window" 
Message-ID:  <200009211703.KAA00726@mass.osd.bsdi.com>
In-Reply-To: Your message of "Thu, 21 Sep 2000 11:48:09 %2B0200." <v04220807b5ef884a23de@[195.238.1.121]> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200009211703.KAA00726>