Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Sep 2003 12:53:00 -0700 (PDT)
From:      Nate Lawson <nate@root.org>
To:        Richard Puga <puga@mauibuilt.com>
Cc:        freebsd-scsi@freebsd.org
Subject:   Re: ips.ko load sequence
Message-ID:  <20030905125156.M72174@root.org>
In-Reply-To: <3F58C8BB.D83E703@mauibuilt.com>
References:  <3F58C8BB.D83E703@mauibuilt.com>

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



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