From owner-freebsd-scsi@FreeBSD.ORG Wed Sep 10 15:06:55 2003 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 72ED816A4BF for ; Wed, 10 Sep 2003 15:06:55 -0700 (PDT) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0308B43F85 for ; Wed, 10 Sep 2003 15:06:55 -0700 (PDT) (envelope-from ps@mu.org) Received: by elvis.mu.org (Postfix, from userid 1000) id F35252ED417; Wed, 10 Sep 2003 15:06:54 -0700 (PDT) Date: Wed, 10 Sep 2003 15:06:54 -0700 From: Paul Saab To: Richard Puga Message-ID: <20030910220654.GA70617@elvis.mu.org> References: <3F58C8BB.D83E703@mauibuilt.com> <20030905125156.M72174@root.org> <3F58FB21.F0768E22@mauibuilt.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F58FB21.F0768E22@mauibuilt.com> User-Agent: Mutt/1.4.1i cc: freebsd-scsi@freebsd.org Subject: Re: ips.ko load sequence X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Sep 2003 22:06:55 -0000 I dont have one of these cards, so I have no idea if this will work, but can you try: http://yogurt.org/FreeBSD/ips.diff Richard Puga (puga@mauibuilt.com) wrote: > That sounds exalty like what I need, Could you give me some pointer on how to > do that? > > Thank you very much. > > Richard Puga > puga@mauibuilt.com > > Nate Lawson wrote: > > > On Fri, 5 Sep 2003, Richard Puga wrote: > > > I have the ips driver working with the IBM ServerRaid 5i. However it > > > only works if I boot off an IDE drive and load the driver after the > > > kernel is loaded. > > > > > > What I believe the problem to be is the fact that this "Raid" card is > > > just an add in card to a modified PCI slot that makes the on board LSI > > > dual channel controller into a RAID, and something in the kernel is > > > loading (not the LSI driver its been taken out) which makes these 2 > > > separate devices act as one through the PCI bus and is the reason the > > > ips.ko driver can only be loaded after booting. > > > > > > I believe a quick and dirty fix for this may be to load the ips.ko > > > module after the kernel has booted and before init mounts /. > > > > > > Is there a way to do this via something in /boot/loader (the standard > > > way in loader.conf loads it too soon) or perhaps a way to compile isp > > > into the kernel in a way that it would be probed at a later time or in a > > > different sequence or to make the kernel load the module right before > > > ffs_mountroofs? > > > > Perhaps a better way is to split the driver probe and attach routines and > > run the latter at lowest startup priority so it runs right before the > > disk probe. > > > > -Nate -- -ps