ips.ko load sequence

Paul Saab ps at mu.org
Wed Sep 10 15:06:55 PDT 2003


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 at 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 at 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


More information about the freebsd-scsi mailing list