From owner-freebsd-scsi@FreeBSD.ORG Fri Sep 5 10:32:46 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 9690216A4C0 for ; Fri, 5 Sep 2003 10:32:46 -0700 (PDT) Received: from mauibuilt.com (mauibuilt.com [205.166.249.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id C1C1043FF2 for ; Fri, 5 Sep 2003 10:32:45 -0700 (PDT) (envelope-from puga@mauibuilt.com) Received: from mauibuilt.com (tedgnm@puga.mauibuilt.com [205.166.10.2]) by mauibuilt.com (8.12.6/8.12.6) with ESMTP id h85HWjXo090538 for ; Fri, 5 Sep 2003 07:32:45 -1000 (HST) (envelope-from puga@mauibuilt.com) Sender: puga@mauibuilt.com Message-ID: <3F58C8BB.D83E703@mauibuilt.com> Date: Fri, 05 Sep 2003 07:32:43 -1000 From: Richard Puga Organization: Maui Built Machines X-Mailer: Mozilla 4.8 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-scsi@freebsd.org Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: 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: Fri, 05 Sep 2003 17:32:46 -0000 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? Thanks again in advance Richard Puga puga@mauibuilt.com