happy new year

That is exact the point, where I was on 30.12.2009 03:23:51 :).
I hoped there would be an other way around and  the dinosaur would provide an 
other solution. 

I have followed the instruction and got an error on point 13. (modload obj/nfo).
Enclosed please find the read me doc. 

Since I'm newbie to unix world, there are some isuues, which are not clear to 
me.

1. is it required to have a gcc or suncc compiler running to complete these 
instructions?  
  pfexec pkg install SUNWgcc results on my system to error, since right now  no 
    networking possible.

2. is it necessary to add host name for the NIC and how can I verify whether 
the   host name is already there or not and add it with the right nomenclature. 
I also could not find this file.
  (2) Add host name for the NIC into /etc/hosts file

3.modload obj/nfo or should be rather modload obj/nfo0? here i've got an 
error...
-- 
This message posted from opensolaris.org
-------------- next part --------------
***************************************************************************
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 at 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

Tested OS version
 Solaris10 x86 3/05

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 -

(2) Add hostname for the NIC into /etc/hosts file

(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.

(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

(5) Making binaries only for OpenSolaris users.
The driver likely work with GLD v3 in OpenSolaris, known as Nemo.
You can enjoy the new functions by recompiling the source code.

        % rm Makefile.config
        % ln -s Makefile.config_gld3 Makefile.config
        % /usr/ccs/bin/make


4. Testing
  Testing before installation is strongly recommended.

        # cd /.../nfo-x.x.x
        # /usr/ccs/bin/make install
        # ./adddrv.sh
        # /usr/ccs/bin/make uninstall  (for solaris7, don't remove the file )
        # 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)
        # ifconfig -a        ( you will see an entry for nfoN)
        # ifconfig nfoN YOUR-HOST-NAME
        # ifconfig nfoN      ( ensure IP address is correct)
        # ifconfig nfoN up   ( and then you can test with ping, telnet, ftp ...)

5. Installation
    After you ensure that the nfo driver is fully functional, install it.

(1) copy the nfo driver into the kernel directory
        # cd /.../nfo-x.x.x
        # /usr/ccs/bin/make 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


6. Troubleshooting

Q. Following message is printed in the /var/adm/messages file
    WARNING: nfoN: link up but auto-nego failed, it's funny.

A. This massage may appear when the link partner does not have auto
   negotiation capability.
   Please disable auto negotiation capability for your NIC card by specifying
  the correct media mode in /kernel/drv/nfo.conf according to the following
  syntax:

   nfoN-duplex=["full"|"half"] nfoN-speed=[1000|100|10]; # where N is a unit 
number

  For example:
        nfo0-duplex="full" nfo0-speed=100;   # full-duplex 100Mbps for nfo0
        nfo0-duplex="half" nfo0-speed=10;    # half-duplex 10Mbps for nfo0

Q. The system does not boot after the driver is installed.
A. Uninstall the NIC card and reboot solaris. Then, unregister the driver.
     # rem_drv nfo

   Or boot solaris with -a option and use /etc/system.nonfo instead of
   default [etc/system] to inhibit loading the driver.

   /etc/system.nonfo is automatically generated when executing 'make install'

Q. Solaris boots, but the network interface does not work.
A.
   Is the network interface detected?

   Execute 'ifconfig -a'.  If you see an entry for nfoN, the driver is loaded
   and working correctly.
   Please check the configuration of the network interface.


   Is an ethernet cable connected properly?

   Please check if the network interface is receiving packets.
        % snoop -P -d nfoN

If Solaris panics while testing, please send me the following information:
  (1) /var/adm/messages

  (2) Output of prtconf -pv

  (3) Output of prtconf -v

  (4) Output of adb
  Solaris core dump consists of unix.N and vmcore.N which are created in
   /var/crash/YOUR-HOST-NAME/ .

  Execute 'adb -k unix.N vmcore.N' and type the following subcommands:
   $c   (stack trace back will be printed)
   $<msgbuf   (last messages are printed)
   ^D         (To quit adb, type control-D)


Reply via email to