Can't load module

I am a newbie trying to configure an on board NIC (Rhine-II) on Solaris 10.

I have downloaded the driver from http://homepage2.nifty.com/mrym3/taiyodo/eng/vfe-2.3.1.tar.gz

and followed the steps in the readme. However, when I try to load the

module, modlod reports it cannot find the file.

bash-3.00# /usr/ccs/bin/make install

/usr/sbin/install -f /kernel/drv -m 755 -u root -g sys i386/vfe

new owner is root

i386/vfe installed as /kernel/drv/vfe

bash-3.00# ./adddrv.sh

exit status = 0

System configuration files modified but vfe driver not loaded or attached.

Driver (vfe) installed.

bash-3.00# /usr/ccs/bin/make uninstall

rm -f /kernel/drv/vfe

bash-3.00# modload obj/vfe

can't load module: No such file or directory

bash-3.00# ls -l

total 578

-r--r--r--1 111111 1592 Aug 28 07:58 COPYING

lrwxrwxrwx1 11111117 Oct 3 11:58 Makefile -> Makefile.i386_gcc

-r--r--r--1 111111 559 Aug 28 07:58 Makefile.amd64_gcc

-r--r--r--1 111111 567 Aug 28 07:58 Makefile.amd64_suncc

-r--r--r--1 111111 2835 Aug 28 07:58 Makefile.common

lrwxrwxrwx1 11111120 Oct 3 11:58 Makefile.config -> Makefile.config_gld2

-r--r--r--1 111111 336 Aug 28 07:58 Makefile.config_gld2

-r--r--r--1 111111 376 Aug 28 07:58 Makefile.config_gld3

-r--r--r--1 111111 360 Aug 28 07:58 Makefile.i386_gcc

-r--r--r--1 111111 365 Aug 28 07:58 Makefile.i386_suncc

-r--r--r--1 111111 630 Aug 28 07:58 Makefile.macros

-r--r--r--1 111111 362 Aug 28 07:58 Makefile.sparc_gcc

-r--r--r--1 111111 367 Aug 28 07:58 Makefile.sparc_suncc

-r--r--r--1 111111 566 Aug 28 07:58 Makefile.sparcv9_gcc

-r--r--r--1 111111 575 Aug 28 07:58 Makefile.sparcv9_suncc

-r--r--r--1 111111 7506 Aug 28 07:58 README.japanese-euc

-r--r--r--1 111111 6163 Aug 28 07:58 README.txt

-rwxr-xr-x1 111111 471 Aug 28 07:58 adddrv.sh

drwxr-xr-x2 111111 512 Aug 28 07:59 amd64

-r--r--r--1 111111142619 Aug 28 07:58 gem.c

-r--r--r--1 11111116399 Aug 28 07:58 gem.h

drwxr-xr-x2 111111 512 Aug 28 07:59 i386

-r--r--r--1 111111 4359 Aug 28 07:58 mii.h

lrwxrwxrwx1 1111114 Oct 3 11:58 obj -> i386

-r--r--r--1 11111119722 Aug 28 07:58 rhinereg.h

drwxr-xr-x2 111111 512 Aug 28 07:58 sparc

drwxr-xr-x2 111111 512 Aug 28 07:58 sparcv9

-r--r--r--1 11111165 Aug 28 07:58 version

-r--r--r--1 11111155963 Aug 28 07:58 vfe_gem.c

bash-3.00# ls -l i386/

total 280

-rw-r--r--1 11111150600 Aug 28 07:59 gem.o

-rw-r--r--1 11111169808 Aug 28 07:59 vfe

-rw-r--r--1 11111120952 Aug 28 07:59 vfe_gem.o

bash-3.00#

I have tried deleting the module, and compiling, but I am getting an error that within gem.h the sys/mac.h file cannot be found.

I have thoroughly reveiwed the thread http://forum.sun.com/jive/thread.jspa?forumID=298&threadID=105923 but the problems are not exactly the same.

Any help would be appreciated. Thanks.

[3128 byte] By [MileHigh] at [2007-11-26 10:33:06]
# 1
how would you expect modload to work after you run "make uninstall"? when you run that final make command the module is removed. .7/M.
mAbrante at 2007-7-7 2:41:22 > top of Java-index,Solaris Operating System,Solaris 10 Features...