Will try and find where I dl'd the driver from later after work.
I know it called nfo-0.8.1.tar.gz
# more network-physical:default.log
[ start + 1.59s Enabled. ]
[ start + 4.66s Executing start method ("/lib/svc/method/net-physical") ]
[ start + 4.67s Timeout override by svc.startd. Using infinite timeout ]
configuring IPv4 interfaces: nfo0.
[ May 16 08:35:50 Method "start" exited with status 96 ]
#
----------------------------------------------------------------------------------------------------
N.B - in the following I have put results :- and the result I got when one tried the command.
However, I dont think its working correctly as make install did not work and I'm abit confused
about some of the files in teh kernel directory, but you will see what I mean from the below.
Driver :- nfo-0.8.1.tar.gz
Driver Readme :-
***************************************************************************
CAUTION: There is NO WARRANTY for this software.
As this software is loaded into the kernel, it might cause the kernel to
panic or hang.
Masayuki Murayama
KHF04453@nifty.ne.jp
***************************************************************************
1. Introduction
This is the nForce ethernet NIC driver for Solaris. It is distributed
under the BSD license.
2. Specification of the driver
File name of the driver: /kernel/drv/nfo
Special file name: /dev/nfoN (Where N is a unit number, typcally 0 for first
card)
For example
% ifconfig nfo0
Result :-
# ifconfig nfo0
nfo0: flags=1002851<UP,POINTOPOINT,RUNNING,MULTICAST,UNNUMBERED,IPv4> mtu 1500 index 2
inet 127.0.0.1 --> 192.168.0.169 netmask ff000000
ether 0:30:4:2:67:a5
Tested OS version
Solaris10 x86 3/05 - Result :- This is the version I am using
Tested mainboard
Biostar NF4UL-A9 (nVIDIA nForce4 CH8-04 Ultra chipset)
3. Preparing for installation
(1) Copy source and binary files.
# gunzip -cd nfo-x.x.x.tar.gz | tar xf -
Result:- didn't say where to so I just did it in / in a directory called nforce
# cd /
# ls
#UNTITLED# boot export lib nvnet system
Desktop cdrom floppy lost+found opt tmp
Documents dev grep mnt platform usr
TT_DB devices home net proc var
bin etc kernel nforce sbin vol
# cd nforce
# ls
nfo-0.8.1
# cd nfo-0.8.1
# ls
COPYING README.txt
Makefile adddrv.sh
Makefile.amd64_gcc amd64
Makefile.amd64_suncc extract_nforce_pkg.sh
Makefile.common gem.c
Makefile.config gem.h
Makefile.i386_gcc i386
Makefile.i386_suncc mii.h
Makefile.macros nfo.conf
NFORCE-Linux-x86-1.0-0301-pkg1 nfo_gem.c
NFORCE-Linux-x86_64-1.0-0301-pkg1 obj
README.japanese-euc
(2) Add hostname for the NIC into /etc/hosts file
Result :-
# cd /etc
# more hosts
#
# Internet host table
#
127.0.0.1 localhost loghost localhost
192.168.0.169 panther.ransnet.homelinux.net panther
#
I am not sure if the above is correct, but it is how I has it setup in RH-9.
(3) Make links to the correct binary directory and Makefile according
to your configuration. i386 and gcc are default.
% cd /.../nfo-x.x.x
% rm obj Makefile
% ln -s Makefile.${KARCH}_${COMPILER} Makefile
% ln -s ${KARCH} obj
where ${KARCH} is the result of `isainfo -n`, and ${COMPILER} is
"gcc" or "suncc" which you want to use to make the driver.
Result :-
# isainfo -n
i386
Also rm'd obj and Makefile and created the links as instructed
# cd /nforce/nfo-0.8.1
# ls -ltr
total 378
-r--r--r-- 1 111 staff 4707 May 1 22:20 README.txt
-r--r--r-- 1 111 staff 1592 May 1 22:20 COPYING
-r--r--r-- 1 111 staff 49763 May 1 22:20 nfo_gem.c
-r--r--r-- 1 111 staff 3956 May 1 22:20 mii.h
-r--r--r-- 1 111 staff 13782 May 1 22:20 gem.h
-r--r--r-- 1 111 staff 5531 May 1 22:20 README.japanese-euc
-r--r--r-- 1 111 staff 642 May 1 22:20 Makefile.macros
-r--r--r-- 1 111 staff 365 May 1 22:20 Makefile.i386_suncc
-r--r--r-- 1 111 staff 360 May 1 22:20 Makefile.i386_gcc
-r--r--r-- 1 111 staff 365 May 1 22:20 Makefile.config
-r--r--r-- 1 111 staff 2524 May 1 22:20 Makefile.common
-r--r--r-- 1 111 staff 567 May 1 22:20 Makefile.amd64_suncc
-r--r--r-- 1 111 staff 559 May 1 22:20 Makefile.amd64_gcc
-r--r--r-- 1 111 staff 24 May 1 22:20 nfo.conf
-r--r--r-- 1 111 staff 92977 May 1 22:20 gem.c
-rwxr-xr-x 1 111 staff 160 May 1 22:20 extract_nforce_pkg.sh
-rwxr-xr-x 1 111 staff 618 May 1 22:20 adddrv.sh
drwxr-xr-x 2 root root 512 May 12 19:10 i386
drwxr-xr-x 2 root root 512 May 12 19:10 amd64
drwxr-xr-x 3 root root 512 May 12 19:10 NFORCE-Linux-x86-1.0-0301-pkg1
drwxr-xr-x 3 root root 512 May 12 19:10 NFORCE-Linux-x86_64-1.0-0301-pkg1
lrwxrwxrwx 1 root root 9 May 12 21:44 Makefile -> Makefile.
lrwxrwxrwx 1 root root 3 May 12 21:44 obj -> obj
(4) Making binaries (only for re-compiling the drivers by your self)
To make the binaries, you need Sun C compiler or gcc version 3, and do
the following operations.
% /usr/ccs/bin/make
Result :- This is where I get problems
# /usr/ccs/bin/make
make: Fatal error: No arguments to build
4. Testing
Testing before installation is strongly recommended.
# cd /.../nfo-x.x.x
# /usr/ccs/bin/make install
Result :-
# /usr/ccs/bin/make install
make: Fatal error: Don't know how to make target `install'
# ./adddrv.sh
Result :-
# ./adddrv.sh
"pci10de,1c3" "pci10de,66" "pci10de,d6" "pci10de,86" "pci10de,8c" "pci10de,e6" "pci10de,df" "pci10de,56" "pci10de,57" "pci10de,37" "pci10de,38"
("pci10de,1c3") already in use as a driver or alias.
# /usr/ccs/bin/make uninstall (for solaris7, don't remove the file )
# modload obj/nfo
Result :-
# modload obj/nfo
#
# devfsadm -i nfo (for solaris7, use drvconfig and reboot with -r )
# ifconfig nfoN plumb ( where N is an instance number, typcally 0 for first card)
Result :-
# ifconfig nfo0 plumb
ifconfig: SIOCSLIFNAME for ip: nfo0: already exists
# ifconfig -a ( you will see an entry for nfoN)
Result :-
# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
nfo0: flags=1002851<UP,POINTOPOINT,RUNNING,MULTICAST,UNNUMBERED,IPv4> mtu 1500 index 2
inet 127.0.0.1 --> 192.168.0.169 netmask ff000000
ether 0:30:4:2:67:a5
# ifconfig nfoN YOUR-HOST-NAME
Result :-
# ifconfig nfo0 panther (or should this be panther.ransnet.homelinux.net ?)
# ifconfig nfoN ( ensure IP address is correct)
Result :- ( N.B I want panther ip adyy to be 192.168.0.169 - shouldn't there be a loop back addy to ?)
# ifconfig nfo0
nfo0: flags=1002851<UP,POINTOPOINT,RUNNING,MULTICAST,UNNUMBERED,IPv4> mtu 1500 index 2
inet 127.0.0.1 --> 192.168.0.169 netmask ff000000
ether 0:30:4:2:67:a5
# ifconfig nfoN up ( and then you can test with ping, telnet, ftp ...)
Result :- nothing returned just the prompt.
# ifconfig nfo0 up
#
Result :- Tried pinging my router 192.168.0.1
# ping 192.168.0.1
ICMP Host Unreachable from gateway localhost (127.0.0.1)
for icmp from localhost (127.0.0.1) to 192.168.0.1
5. Installation
After you ensure that the nfo driver is fully functional, install it.
(1) install the nfo driver into the kernel directory
# cd /.../nfo-x.x.x
# /usr/ccs/bin/make install
Result :-
This is where I get confused - what do I copy over - I copied over nfo.conf, nfo, gem.0, nfo_gem.o
and tried the make install
# pwd
/kernel/drv
# /usr/ccs/bin/make install
make: Fatal error: Don't know how to make target `install'
If you do not test the nfo driver yet, execute the following commands:
# ./adddrv.sh
# devfsadm -i nfo (for solaris7, use drvconfig and reboot with -r)
(2) Configure the network interface. Create and/or modify the following file:
/etc/hostname.nfoN
(3) Reboot the system.
# init 6
Results :- Rebooted...
Does this help...