Page 1
Quad FastEthernet ™ ™ PCI Adapter Installation and User’s Guide Sun Microsystems Computer Company A Sun Microsystems, Inc. Business 2550 Garcia Avenue Mountain View, CA 94043 USA 415 960-1300 fax 415 969-9131 Part No.: 805-1797-10 Revision A, August 1997...
Page 2
Sun, Sun Microsystems, the Sun logo, AnswerBook, SunDocs, Quad FastEthernet, and Solaris are trademarks, registered trademarks, or service marks of Sun Microsystems, Inc. in the U.S. and other countries. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc.
FCC radio frequency emission limits. Networking connections can be made using unshielded twisted-pair (UTP) cables. Modifications: Any modifications made to this device that are not approved by Sun Microsystems, Inc. may void the authority granted to the user by the FCC to operate this equipment.
Page 4
This Class B digital apparatus meets all requirements of the Canadian Interference-Causing Equipment Regulations. Cet appareil numérique de la classe B respecte toutes les exigences du Règlement sur le matériel brouilleur du Canada. Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997...
This product was tested and complies with all the requirements for the CE Mark when connected to a Sun workstation or server. / S / Dennis P. Symanski Date Manager, Product Compliance Sun Microsystems Computer Company 2550 Garcia Avenue, M/S UMPK15-102 Mt. View, CA 94043, USA Tel: 415-786-3255 Fax: 415-786-3723 Class A...
Page 6
Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997...
Contents Product Overview 1 Features 2 Hardware and Software Requirements 3 Checking the OpenBoot PROM Revision Level 3 Displaying the OpenBoot PROM Revision Level 3 Installing the Adapter 5 Adding an Entry to the driver_aliases File 5 Installing the Adapter 6 Verifying the Installation 7 Examining Network Activity 8 Rebooting the System 9...
Page 8
To Set the Mode to Auto-Negotiation 34 Setting Parameters in the /etc/system File 35 Setting the ipg1 and ipg2 Parameters in the /etc/system File 36 viii Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997 Mode 34...
Page 9
Setting Parameters Using the qfe.conf File 36 Setting ipg Driver Parameters Using a qfe.conf File 37 D. Running Diagnostics Tests 39 Using the OpenBoot PROM FCode Selftest 39 Running the Ethernet FCode Selftest Diagnostic 40 Contents...
Page 10
Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997...
Chapter 1, “Product Overview,” describes the hardware and software features for the Sun Quad FastEthernet PCI adapter. Chapter 2, “Installing the Adapter,” tells you how to install the Sun Quad FastEthernet PCI adapter into your system. Chapter 3, “Configuring the Driver Software,” describes how to create and edit the device driver configuration files.
On-line AnswerBook™ for the complete set of documentation supporting the Solaris 2.x software environment. Other software documentation that you received with your system. Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997 Part Number (System dependent) (Release dependent)
Typographic Conventions The following table describes the typographic changes used in this book. Typeface or Symbol Meaning The names of commands, files, AaBbCc123 and directories; on-screen computer output What you type, contrasted with AaBbCc123 on-screen computer output AaBbCc123 Command-line placeholder: replace with a real name or value AaBbCc123...
C H A P T E R Product Overview The Sun Quad FastEthernet PCI adapter contains four fully-buffered twisted-pair Ethernet ports (RJ-45), providing four switchable 10BASE-T/100BASE-TX channels, on a PCI adapter. Ethernet Connectors Sun Quad FastEthernet PCI adapter FIGURE 1-1...
Four independent Ethernet channels run at either 10 Mbps or 100 Mbps Supports half-duplex or full-duplex operation modes Multiple 48-bit IEEE 802.3 style media access control (MAC) identifiers, one for each channel Link integrity LED for each channel Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997 LEDs...
Hardware and Software Requirements Before installing the adapter, make sure your system meets the following hardware and software requirements: Hardware and Software Requirements TABLE 1-1 Requirements Supported Systems Supported Operating Environments OpenBoot™ PROM (OBP) Note – The information above is up-to-date as of the printing of this manual. Visit Sun on the World Wide Web at http://www.sun.com/ for the latest information.
Page 18
Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997...
C H A P T E R Installing the Adapter This chapter tells you how to install the Sun Quad FastEthernet PCI adapter in your system and how to verify that it has been installed correctly. Adding an Entry to the driver_aliases File If your system is running the Solaris 2.5.1 Hardware: 4/97 operating environment,...
7. If necessary, reinstall the PCI filler panel in the unused PCI opening. 8. Detach the wrist strap and close the system unit. 9. Connect Ethernet cables to the Sun Quad FastEthernet PCI adapter and to an Ethernet network. Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997...
Verifying the Installation After you have installed the Sun Quad FastEthernet PCI adapter, but before you boot your system, perform the following tasks to verify the installation. Refer to the Solaris 2.x Handbook for SMCC Peripherals manual or your Solaris documentation for the detailed instructions.
Examining Network Activity After you have installed the Sun Quad FastEthernet PCI adapter, but before booting the system, verify the installation by examining the network interfaces with the OpenBoot PROM watch-net-all command. Make sure that the interfaces are connected to an active network.
Rebooting the System After you have examined the network activity, perform a reconfiguration boot on your system so the operating environment can recognize the Sun Quad FastEthernet PCI adapter. Perform a reconfiguration boot on the system. ok boot -r Refer to the Solaris 2.x Peripheral’s Handbook for more information.
Page 24
Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997...
C H A P T E R Configuring the Driver Software This chapter describes how to configure the driver software used by the Sun Quad FastEthernet PCI adapter. Installing the Driver Software The Sun Quad FastEthernet 2.0 CD-ROM contains the software required by the Sun Quad FastEthernet PCI adapter.
Page 26
"/pci@1f,2000/pci@2/SUNW,qfe@1,1" 5 "qfe" "/pci@1f,2000/pci@2/SUNW,qfe@2,1" 6 "qfe" "/pci@1f,2000/pci@2/SUNW,qfe@3,1" 7 "qfe" In the example above, the four SUNW,qfe@x,1 instances are from a Sun Quad FastEthernet PCI adapter installed in slot 2. For clarity, the instance numbers are bold. 2. Create an /etc/hostname.qfe<num> file, where <num> corresponds to the instance number of each interface you plan to use.
Page 27
Using the instance examples in Step 1, the following example shows the four /etc/hostname.qfe<num> files required for a system called zardoz that has a Sun Quad FastEthernet PCI adapter (zardoz-11, zardoz-12, zardoz-13, and zardoz-14). # cat /etc/hostname.hme0 zardoz # cat /etc/hostname.qfe4 zardoz-11 # cat /etc/hostname.qfe5...
Booting From the Network To use a Sun Quad FastEthernet PCI adapter ethernet interface as the boot device, perform the following tasks: 1. At the ok prompt type: ok show-devs The show-devs command lists the system devices. You should see the full path...
See Appendix C, “Configuring the Quad FastEthernet Device Driver Parameters,” for more information. Increasing TCP/IP Performance The TCP/IP performance of the Sun Quad FastEthernet PCI adapter can be increased by changing the TCP high water mark to 64K. This can be done with the ndd utility as follows.
5. At the ok prompt type: ok nvstore ok setenv use-nvramrc? true 6. Reboot your system. See Appendix C, “Configuring the Quad FastEthernet Device Driver Parameters,” for more information on forcing network speed. Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997...
If the Sun Quad FastEthernet PCI adapter is connected to a link partner with which the auto-negotiation protocol fails to operate successfully, you can configure the device to not use this protocol and force the driver to set up the link in the mode and speed of your choice.
Property Each of the network interfaces of the Sun Quad FastEthernet PCI adapter have been assigned a unique MAC (Media Access Control) address, which represents the 48-bit ethernet address for that channel. The OpenBoot firmware reports this MAC address via the local-mac-address property in the device nodes corresponding to the network interfaces.
A P P E N D I X Specifications Physical Dimensions Physical Dimensions TABLE A-1 Assembly Dimension Length Width Height: Primary component side Back side Weight Measurement 7.395 in (186.06 mm) 4.759 in (120.88 mm) 0.570 in. (14.48 mm) 0.105 in. (2.67 mm) 5.2 oz (148 g)
A P P E N D I X Interface Signals Ethernet channels 32-Pin RJ-45 Connectors FIGURE B-1 Pin Descriptions for the 32-Pin RJ-45 Connectors: Channels 0 - 3 TABLE B-1 Description TD– Not Used Not Used RD– Not Used Not Used 16 17 24 25 32...
Page 36
Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997...
Configuring the Quad FastEthernet Device Driver Parameters The qfe device driver controls the Sun Quad FastEthernet PCI adapter’s SUNW,qfe Ethernet devices. You can manually configure the qfe device driver parameters to customize each SUNW,qfe device in your system. This appendix provides an overview of the internal transceiver used in the adapter, lists the available qfe device driver parameters, and describes how you can configure these parameters.
100fdx_cap 100hdx_cap 10fdx_cap 10hdx_cap lp_autoneg_cap lp_100fdx_cap lp_100hdx_cap Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997 Driver Parameter, Status, and Descriptions Status Read only Read only Read only Read only Read and write Read and write...
Driver Parameter, Status, and Descriptions (Continued) TABLE B-1 Parameter Status Read only lp_10fdx_cap Read only lp_10hdx_cap Read and write instance Read and write lance_mode Read and write ipg0 Defining the Current Status The read-only parameters described in interface. These parameters define the current status. Read-Only Parameters Defining the Current Status TABLE B-2 Parameter...
20 by 400 ns to get 800 ns. If the link speed is 100 Mbps, and you set ipg0 to 30 nibble-times, multiply 30 by 40 ns to get 120 ns. Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997 Values...
defines the lance_mode and ipg0 parameters. TABLE B-4 Parameters Defining lance_mode and ipg0 TABLE B-4 Parameter lance_mode ipg0 1. The default value is 16 nibble-times, which is 6.4 microseconds for 10 Mbps and 0.64 microseconds for 100 Mbps. Operational Mode Parameters describes the operational mode parameters and their default values.
Parameter autoneg_cap 100fdx_cap 100hdx_cap 10fdx_cap 10hdx_cap Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997 ) defines the maximum number of back-to- TABLE B-6 Values Description 1 to 255 = Number of back-to-back packets transmitted at one time...
Reporting the Link Partner Capabilities describes the read-only link partner capabilities. TABLE B-8 Read-Only Link Partner Capabilities TABLE B-8 Parameter Values lp_autoneg_cap lp_100fdx_cap lp_100hdx_cap lp_10fdx_cap lp_10hdx_cap If the link partner is not capable of auto-negotiation (when lp_autoneg_cap is 0) the information described in TABLE B-8 If the link partner is capable of auto-negotiation (when lp_autoneg_cap is 1) then the speed and mode information is displayed when you use auto-negotiation and...
Before you use the ndd utility to get or set a parameter for a qfe device, you must specify the device instance for the utility since there will be at least four SUNW,qfe devices. Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997...
"/pci@1f,2000/pci@2/SUNW,qfe@1,1" 5 "qfe" "/pci@1f,2000/pci@2/SUNW,qfe@2,1" 6 "qfe" "/pci@1f,2000/pci@2/SUNW,qfe@3,1" 7 "qfe" In the example above, the four SUNW,qfe@x,1 instances are from a Sun Quad FastEthernet PCI adapter installed in slot 2. For clarity, the instance numbers are bold. 2. Use the instance number to select the device.
Page 46
(Enter the parameter name or ? to view all parameters) After entering the parameter name, the ndd utility prompts you for the parameter value (see TABLE B-1 Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997 through TABLE B-8...
Page 47
To list all the parameters supported by the qfe driver, type ndd /dev/qfe \?. (See through TABLE B-1 TABLE B-8 # ndd /dev/qfe \? transceiver_inuse link_status link_speed link_mode ipg1 ipg2 use_int_xcvr pace_size adv_autoneg_cap adv_100fdx_cap adv_100hdx_cap adv_10fdx_cap adv_10hdx_cap autoneg_cap 100fdx_cap 100hdx_cap 10fdx_cap 10hdx_cap lp_autoneg_cap...
2. Set the local transceiver capabilities advertised by the hardware to 1, the auto- negotiation setting: adv_autoneg_cap 1 Use the ndd utility as described in “Using the ndd Utility in Interactive Mode” on page 32. Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997 on page 27). TABLE B-5...
Setting Parameters in the /etc/system File To configure the qfe driver parameters for all SUNW,qfe devices in the system so that the parameter variables are always effective (even after rebooting the system), enter the parameter variables in the /etc/system file. When you reboot the system, the system reads the /etc/system file and sets these parameter variables in the qfe module in the operating system kernel.
24. The man pages for prtconf (1M), system (4) and driver.conf (4) include additional details. The next section shows an example of setting parameters in a qfe.conf file. Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997...
Setting ipg Driver Parameters Using a qfe.conf File 1. Obtain the hardware path names for the qfe devices in the device tree. Typically the path names and the associated instance numbers will be present in the /etc/path_to_inst file. # grep qfe /etc/path_to_inst "/pci@1f,2000/pci@2/SUNW,qfe@0,1"...
Page 52
4. Save and close all files and programs, and exit the windowing system. 5. Halt and reboot the system by typing the init 6 command at the superuser prompt. Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997...
This appendix describes how to test the Sun Quad FastEthernet PCI adapter with its FCode PROM selftest. Note – To test the Sun Quad FastEthernet PCI adapter further, refer to the SunVTS User’s Guide that shipped with your operating system.
In this example, the SUNW,qfe@x,1 entries identify the device paths to the four Ethernet channels. 5. Type the following to put the OpenBoot PROM into diagnostic mode: ok setenv diag-switch? true Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997...
Page 55
6. Type the following to run the selftest using the test command on one of the adapters four Ethernet channels: ok test <device path> The following tests are run when the test command is executed: hme register MAC internal loopback External loopback 100 Mbps PHY loopback 10 Mbps PHY loopback...
Page 56
8. Set the auto-boot? configuration parameter to true. ok setenv auto-boot? true 9. Reset and reboot the system. ok reset-all Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997...
Page 60
Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997...
Page 61
Ordering Sun Documents SunDocs is a distribution program for technical documentation and is available from SunExpress. To order or for more information: Country Phone Belgium 02-72-09-09 Canada 1-800-873-7869 France 0800-90-61-57 Germany 01-30-81-61-31 Holland 06-022-34-45 Japan 0120-33-9096 World Wide Web: http://www.sun.com/sunexpress/ Sun Welcomes Your Comments We are interested in improving our documentation and welcome your comments.
Page 62
IBRS/CCRI No. 808 INTERNATIONAL BUSINESS REPLY MAIL/RESPONSE PAYEE PERMIT NO. 808 POSTAGE WILL BE PAID BY ADDRESSEE INFORMATION PRODUCTS M/S MPK14-108 SUN MICROSYSTEMS INC 2550 GARCIA AVE MOUNTAIN VIEW CA 94043-9551 UNITED STATES OF AMERICA MOUNTAIN VIEW CA NE PAS AFFRANCHIR...
Need help?
Do you have a question about the Sun Quad and is the answer not in the manual?
Questions and answers