> I installed the package and tried to plumb the
> interface with no luck.

I think there are at least two bugs (?) in the package's
install/postinstall:

1. it uses "add_drv -b / ...".  The use of the "-b" option
prevents attaching of the driver - you must reboot to get the
driver attached.  It would be better not to use "-b /" if the
package's installation destination directory is the local machine
($BASEDIR == "/").

2. Why does SUNWiwi/install/postinstall use this contruct:

ARCH=`uname -p`
if [ ${ARCH} = "i386" ]
then
        check_add_drv -i '"pci8086,4220" "pci8086,4223"' -b "$BASEDIR" iwi
fi

So it uses -b "$BASEDIR" to allow installation of the package on a server for
a diskless client. Cool.
But why do we need to check that the (server!) ARCH is i386?  Doesn't that
prevent installing the driver on a SPARC server (for diskless clients)?
This message posted from opensolaris.org

Reply via email to