SunFastEthernet Adapter User Guide Sun Microsystems Computer Corporation 2550 Garcia Avenue Mountain View, CA 94043 U.S.A. Part No.
1994 Sun Microsystems, Inc. 2550 Garcia Avenue, Mountain View, California 94043-1100 U.S.A. All rights reserved. This product and related documentation are protected by copyright and distributed under licenses restricting its use, copying, distribution, and decompilation. No part of this product or related documentation may be reproduced in any form by any means without prior written authorization of Sun and its licensors, if any. Portions of this product may be derived from the UNIX® and Berkeley 4.
Contents Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi 1. Introducing the SunFastEthernet Adapter Card . . . . . . . . . . . 1-1 2. Installing the SunFastEthernet SBus Card . . . . . . . . . . . . . . . . 2-1 2.1 Card Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1 2.2 Testing the SunFastEthernet Adapter Card Before Booting the System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3.5 SunFastEthernet Directories . . . . . . . . . . . . . . . . . . . 3-15 3.3.6 Installation Verification . . . . . . . . . . . . . . . . . . . . . . . 3-15 3.4 Setting Up Diskless Clients . . . . . . . . . . . . . . . . . . . . . . . . . 3-16 3.4.1 Setting Up to Write to the Server’s /usr Partition . 3-16 3.4.2 Building a New Kernel . . . . . . . . . . . . . . . . . . . . . . . . 3-16 4. Installing SunFastEthernet Software Using Solaris 2.x . . . . . 4-1 4.1 Hardware Requirements . . . . . . . . . . .
B.1 Performance Specifications . . . . . . . . . . . . . . . . . . . . . . . . . B-1 B.2 Power Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-2 B.3 Physical Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-2 B.4 Environmental Specifications . . . . . . . . . . . . . . . . . . . . . . . B-3 C. Running Diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-1 C.1 Selftest . . . . . . . . . . . . . . . . . . . . . . . . .
vi SunFastEthernet Adapter User Guide—November 1994
Figures Figure 1-1 SunFastEhernet Adapter Card Components. . . . . . . . . . . . . . . 1-3 Figure 1-2 SunFastEthernet Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . 1-4 Figure 2-1 Handling the SunFastEthernet Adapter Card. . . . . . . . . . . . . . 2-1 Figure C-1 Sundiag Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
viii SunFastEthernet Adapter User Guide—November 1994
Tables Table 1-1 Organization. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 Table 3-1 Solaris 1.x Platform Architecture with Systems . . . . . . . . . . . . 3-2 Table 3-2 /export/exec/sun4/BQE Subdirectories . . . . . . . . . . . . . . . . . 3-15 Table 4-1 Solaris 2.x Platform Archtecture with Systems Supported . . . 4-2 Table 4-2 Solaris 2.3 Hardware: 5/94 CD . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3 Table 4-3 Solaris 2.
x SunFastEthernet Adapter User Guide—November 1994
Preface This manual provides information about the SunFastEthernet Adapter card. Document Organization The information in this manual is presented in six chapters and four appendixes. Manual arrangement is as follows: Chapter 1: “Introducing the SunFastEthernet Adapter Card” describes the features of the SunFastEthernet Adapter card and provides hardware requirements. Chapter 2: “Installing the SunFastEthernet SBus Card” provides card installation, testing and relocation procedures.
Appendix A: “Interface Signals” provides pinout data. Appendix B: “SunFastEthernet Adapter Card Specifications” provides information on performance and power specifications, physical dimensions, and environmental specifications. Appendix C: “Running Diagnostics” explains how to run diagnostic tests that verify the SunFastEthernet Adapter card is working correctly in the system. Appendix D: “Solaris 2.x Driver Performance Tuning” explains how to tune the SunFastEthernet Adapter card for performance.
What Typographic Changes and Symbols Mean Section Table P-1, “Typographic Conventions describes the typefaces and symbols used in this book. Table P-1 Typographic Conventions Typeface or Symbol Meaning Example AaBbCc123 The names of commands, files, and directories; on-screen computer output Edit your.login file. Use ls -a to list all files. system% You have mail.
Notes, Cautions, and Warnings Warning – This equipment contains lethal voltage. Accidental contact can result in serious injury or death. ! Caution – Improper handling by unqualified personnel can cause serious damage to this equipment. Unqualified personnel who tamper with this equipment may be held liable for any resultant damage to the equipment.
Introducing the SunFastEthernet Adapter Card 1 The information contained in this guide is organized as follows: Table 1-1 Organization Chapter/Appendi x Material covered OS applicability 1 Introduction to SunFastEthernet Both 1.x and 2.x 2 Installing SunFastEthernet SBus card Both 1.x and 2.x 3 Solaris 1.x software installation 1.x only 4 Solaris 2.x software installation 2.x only 5 Network Linkups/Speed Selection Both 1.x and 2.x 6 Interface Signals Both 1.x and 2.
1 The SunFastEthernet™ Adapter card is a dual mode high speed ethernet SBus card that can operate at either 10 or 100Mbps. The card provides the Media Access Control (MAC) function for either a 10 or 100Mbps CSMA/CD protocol based network interface conforming to IEEE 802.3 and the Ethernet specification. 1. Fully complies with the following standards: a. ANSI/IEEE std 802.3 CSMA/CD MAC layer specification i. Supports 10Base-T (twisted-pair) Ethernet.
1 SBUS SRAM QEC SRAM EPROM RX Buf MACH BigMAC IO TXFMR MACH Relay MACH Xtal Relay Choke Choke TXFMRs PDR PDT Twister RJ45 ULTRA DB40 Figure 1-1 SunFastEhernet Adapter Card Components Introducing the SunFastEthernet Adapter Card 1-3
1 SBus QEC ASIC Local bus Buffer memory EPROM XCVR management register BigMAC ASIC RX buffer TX buffer BabyBAC Transceiver MII Interface Ultra DB40 External transceiver Figure 1-2 1-4 SunFastEthernet Block Diagram SunFastEthernet Adapter User Guide—November 1994 RJ45 Hub
1 The SunFastEthernet Adapter card is supported on most SBus based Sun-4c, Sun-4m, and Sun-4d system architectures that run under the Solaris® environment or other compatible operating systems. To utilize the SunFastEthernet Adapter card, the system also needs to contain OpenBoot™ PROM (OBP) level 2.3 or later. Verify your OBP version by typing the banner command at the ok prompt. If the OBP version is earlier than 2.3 then the OBP must be upgraded.
1 1-6 SunFastEthernet Adapter User Guide—November 1994
Installing the SunFastEthernet SBus Card 2 2.1 Card Installation 1. Remove the SunFastEthernet Adapter card from the antistatic bag and spread the bag on a firm surface to provide a protective mat. Figure 2-1 Handling the SunFastEthernet Adapter Card 2. Place the card, component side up, on the bag. 3. Install the card according to the SBus installation procedures in the hardware installation or service manual for your system.
2 Use the onboard transceiver RJ45 connector for Category 5, data grade UTP wiring (100M maximum). The external transceiver MII Interface connector can be used for Category 5, data grade UTP or for other wiring types (dependent upon the transceiver type). For example: Category 3 voice grade (UTP), fiber optic, STP, etc. 5. Verify SunFastEthernet installation by testing the card as indicated in the following section. 2.
2 2. Use show-devs to find out SBus card information. The show-devs command used by itself shows the entire device tree. The example below shows information for a SPARCserver™ 1000 system with only one system board (board 0) and a SunFastEthernet channel installed in slot 1.
2 Note – To find out the OpenBoot PROM revision level on your system, type .version at the <#0> ok prompt. a. If the system has OpenBoot PROM 2.6 or above, use watch-net-all. This example shows output when a be channel is connected to a 10Mbps network. Note – Activity may also be displayed for the le0 interface if it is connected. <#0> ok watch-net-all /io-unit@f,e0200000/sbi@0,0/qec@1,20000/be@0,0 Qe register test -- succeeded. Internal loopback test -- succeeded.
2 b. If the system has OpenBoot PROM 2.3 to 2.5, use the watch-net command. <#0> ok watch-net Qe register test -- succeeded. Internal loopback test -- succeeded. Transceiver check -- 100 mbps Link Down, 10 mbps Link Up, passed. Tx/Rx enable/disable test--succeeded Frame counter test--succeeded Address detection test--succeeded Address hash test--succeeded Looking for Ethernet packets. ‘.’ is a good packet. ‘X’ is a bad packet. Type any key to stop. ..........................................................
2 2.
2 2.4 Relocating a SunFastEthernet Card (Solaris 2.x Only) If a SunFastEthernet card is installed in an sbus slot and you later change the location of the card, then you must perform the following procedure or the driver will not be recognized within the system: 1. Use the pkgrm command to remove the driver SUNWbmac as shown in the following example: # pkgrm SUNWbmac 2. Edit the file(s) /etc/path_to_inst and /etc/name_to_major by removing any references to the be channel that you are changing from.
2 2-8 SunFastEthernet Adapter User Guide—November 1994
Installing SunFastEthernet Software Using Solaris 1.x 3 The Solaris 1 software version of the SunFastEthernet driver is supported on Solaris 1.1 (SunOS 4.1.3) and later releases. To utilize the SunFastEthernet Adapter card, the system also needs to contain OpenBoot™ PROM (OBP) level 2.3 or later. There is no restriction on the number of SunFastEthernet SBus cards that can be installed in one system. The name of the SunFastEthernet interface is “be”.
3 3.1 Hardware Requirements Table 3-1 lists systems supported under the Solaris 1.x software versions for Sun -4m architectures: Note – The SunFastEthernet is not supported on the SBus Expansion Subsystem under Solaris 1.x. Table 3-1 Solaris 1.x Platform Architecture with Systems Platform Architecture System Type Sun-4m SPARCserver 630MP SPARCserver 670MP SPARCserver 690MP SPARCclassic SPARCstation 5 SPARCstation 10 SPARCstation 20 SPARCstation LX 3.
3 • To confirm the existence of the link in the /export/exec directory, use the commands shown in the following example: hostname # cd /export/exec hostname # ls -l sun4 lrwxrwxrwx l root 4 Apr 9 03:27 sun4 -> /usr The example response from command ls -l shows that the sun4 and /usr directories are symbolically linked.
3 3.3.3 Mounting the CD-ROM 1. Mount the CD-ROM from either a local or remote machine. For example, for a local machine enter the following: hostname # mkdir /cdrom hostname # mount -r /dev/sr0 /cdrom For a remote machine enter the following: hostname # mkdir /cdrom hostname # mount -r : /cdrom /cdrom 2. After successfully mounting the CD-ROM filesystem, change directories to /cdrom as follows: hostname # cd /cdrom 3.3.4 Install Script Using cdm 3. Enter ./cdm at a shell prompt.
3 4. Enter 1 to select an application. You will then see the following display: Applications available: 1. SBus Quad Ethernet Controller Driver 2. SunFastEthernet Driver Please enter a number or q to quit: 5. Enter 2 to select SunFastEthernet. You will then see the following display: * “SunFastEthernet” Driver selected as new application. ----->>>>>CDM<<<<<----1. Select Application 2. Show Current Application 3. Install Application 4. Display Application Text File 5. Print Application Text File 6.
3 3-6 SunFastEthernet Adapter User Guide—November 1994
3 Executing installation file... The following product will be installed: Product Name: 1.1 FCS SunFastEthernet and SBus Quad Ethernet Controller Driver Sun Platforms: Sun-4m SUNBIN Media type/format: CD-ROM (UFS file system format) 1 of 1 Part Number: 258-4882 Compatible with the Solaris(R) 1.1, 1.1.1, and 1.1.2 releases Copyright 1994 Sun Microsystems, Inc. All Rights Reserved Printed in the United States of America. 2550 Garcia Avenue, Mountain View, California, 94043-1100 U.S.A.
3 The X Window System is a product of the Massachusetts Institute of Technology. Sun, Sun Microsystems, the Sun Logo, Solaris, SunOS, ONC, NFS, OpenWindows, DeskSet, AnswerBook, SunLink, SunView, SunDiag, NeWS, OpenBoot, OpenFonts, SunInstall, SunNet, ToolTalk, X11/NeWS and XView are trademarks or registered trademarks of Sun Microsystems, Inc. UNIX is a registered trademark of Novell, Inc. in the United States and other countries. X/Open Company, Ltd. is the exclusive licensor of such trademark.
3 9. The script will then query: Do you want to see a description of this installation script [y|n]? Follow by entering n. You will then see the following display: Install the SunFastEthernet driver. Installation should take approximately 2 minutes.
3 Follow by entering y. You will then see the following display: The destination directory for SunFastEthernet is: /export/exec a sun4/BQE/install/install_bqe 25 blocks a sun4/BQE/install/deinstall_bqe 8 blocks a sun4/BQE/usr/bin/be_speed 208 blocks a sun4/BQE/usr/man/man4/be.4s 17 blocks a sun4/BQE/usr/man/man4/qe.4s 16 blocks a sun4/BQE/usr/man/man4/qec.4s 6 blocks a sun4/BQE/4.1.3/sys/sunif/if_bmac.h 19 blocks a sun4/BQE/4.1.3/sys/sunif/if_bqe.h 15 blocks a sun4/BQE/4.1.3/sys/sunif/if_mace.
3 you for a hostname for every SunFastEthernet hardware device installed. Once all devices have been given a hostname, you will then see the following display: The current official hostname is: (current official hostname) Do you wish to change the official hostname? (y|n) [n]: 12. The default is n, if you want to change the official hostname respond by entering y.
3 You will then see the following prompt: New System Config File [BQE]: 3-12 SunFastEthernet Adapter User Guide—November 1994
3 If you want to change the new system config file from the default [BQE], then enter the new file name now or press RETURN to accept the default. You will then see the following display: File protection on files and BQE adjusted .... Doing a “make depend” /etc/config BQE run successfully .... Issuing make ...
3 Followed by: *************************************************************** The SunFastEthernet has been successfully installed. To use the new kernel, do the following: # mv vmunix vmunix.org # mv vmunix.bqe vmunix # /etc/reboot *************************************************************** Note – If there are problems with the preceding procedure (moving vmunix / rebooting), then you need to boot the old vmunix which is vmunix.org in the above example. Thus, type: boot vmunix.org.
3 3.3.5 SunFastEthernet Directories The following table lists the major subdirectories of the directory that receives SunFastEthernet files, /export/exec/sun4/BQE. Note that /export/exec/sun4 is a symbolic link to /usr. Table 3-2 /export/exec/sun4/BQE Subdirectories Subdirectory Description 4.1.3/sys 4.1.3_u1/sys Kernel and system configuration files install Product specific installation scripts usr/bin Utilities usr/man Product manual pages 3.3.
3 You can also use ifconfig to check on a particular interface, for example: hostname # ifconfig be0 be0: flags=63 inet netmask broadcast The string indicates that the SunFastEthernet interface is correctly installed and configured. 3.4 Setting Up Diskless Clients This section tells you how to set up a server so that you can boot and run diskless client workstations over the SunFastEthernet.
3 If you are on a SunOS 4.1.3 machine use 4.1.3 in place of OSVER, for releases later than SunOS 4.1.3 use 4.1.3_U1 in place of OSVER. Enter the following commands: # cp /usr/BQE/OSVER/sys/sunif/* SYS/sunif # cp /usr/BQE/OSVER/sys/sun4m/OBJ/* SYS/sun4m/OBJ # cp SYS/sun4m/conf/files SYS/sun4m/conf/files.prebqe Add the following lines to SYS/sun4m/conf/files: # # SunFastEthernet and SBus Quad Ethernet Controller # sunif/if_qec.c optional qec sunif/if_bqe.
3 3-18 SunFastEthernet Adapter User Guide—November 1994
Installing SunFastEthernet Software Using Solaris 2.x 4 This chapter describes SunFastEthernet installation requirements for Solaris 2.x software versions only. The SunFastEthernet Adapter card is supported on most SBus based Sun-4c, Sun-4m, and Sun-4d system architectures that run under the Solaris® environment — or other compatible operating systems. To utilize the SunFastEthernet Adapter card, the system also needs to contain OpenBoot™ PROM (OBP) level 2.3 or later.
4 Table 4-1 Solaris 2.x Platform Archtecture with Systems Supported Platform Architecture System Type Sun-4c SPARCstation 2 SPARCstation IPX Sun-4d SPARCserver 1000 SPARCcenter 2000 Sun-4m SPARCserver 630MP SPARCserver 670MP SPARCserver 690MP SPARCclassic SPARCstation 5 SPARCstation 10 SPARCstation 20 SPARCstation LX 4.2 Solaris 2.3 Hardware: 5/94 Software Requirements Solaris 2.3 Hardware: 5/94 is the first Solaris 2 release supporting the SunFastEthernet.
4 automatically installs SUNWbmac. If disk space is a concern, and you choose to install another cluster, use the pkgadd command to add the SunFastEthernet driver as described in the following procedure: Table 4-2 Solaris 2.3 Hardware: 5/94 CD Cluster Size Entire Distribution plus OEM Support 298.80 MByte Entire Distribution 298.1 MByte End User System Support 125.37 MByte Core System Support 59.88 MByte 4.2.3 Adding SUNWbmac Using pkgadd Command 1.
4 4. Verify that the driver is installed as follows: # pkginfo | grep SUNWbmac system SUNWbmac SunFastEthernet Device 5. Once you verify that the driver has been installed, proceed to the following section, “Host File Configuration”. 4.2.4 Host File Configuration Complete the host file configuration before you install the SunFastEthernet Adapter card. By creating and configuring the system files before installing the card, you will have to reboot your system only once.
4 2. Create an appropriate entry in the /etc/hosts file for each active be channel. Using the example in step 1, you will have: zardoz# cat /etc/hosts # # Internet host table # 127.0.0.1 localhost 129.144.10.57 zardoz loghost 129.144.11.83 zardoz-11 129.144.12.41 zardoz-12 Once /etc/hostname.be files and /etc/hosts files are created/updated: 3. Halt the system using the shutdown -i0 command. 4. Once the system has been halted, proceed to Chapter 2, “Installing the SunFastEthernet SBus Card”. 4.
4 Table 4-3 Solaris 2.3 Hardware: 8/94 CD Cluster Size Entire Distribution plus OEM Support 298.80 MByte Entire Distribution 298.1 MByte Programmer 220Mbyte End User System Support 125.37 MByte Core System Support 59.88 MByte If SunFastEthernet hardware was not installed when the Solaris 2.
4 3. Use the cd command and go to the directory containing your particular architecture. 4. Type the following line to get a listing for the minor device number for the be0 device: # ls -l devices/pseudo/clone@0:be The resultant listing will have the following format: crw-rw-rw 1 root sys 11, /devices/pseudo/clone@0:be 5. For the above example the minor-device-number should be added to the etc/name_to_major file as follows: be 4.3.
4 3. Copy be driver to clients root partition as follows: # cd /export/root//kernel/drv then: # cp /kernel/drv/be . 4.4 Solaris 2.4 Hardware: 11/94 Software Requirements Note – The patch described in the following paragraph is mandatory for Solaris 2.4. You can find the Solaris 2.4 software for the SunFastEthernet adapter card on the Solaris 2.4 Hardware: 11/94 Software CD. In addition, you must also install patch ID # 102001-03 located on the SMCC Updates CD.
Network Linkups/Speed Selection 5 The information presented in this chapter is applicable to both Solaris 1.x and 2.x software versions. 5.1 Network Link Ups 5.1.1 10/100Mbps Link Up Using RJ45 Connector If your SunFastEthernet channel is connected to a 10 or 100Mbps network through the RJ45 connector you will receive a Link Up message whenever you boot the system or disconnect and then reconnect to the network.
5 Note – If you do not see a “10 or 100Mbits/sec Link Up” message, then the link is down and the probable cause could be a disconnected cable, transceiver or hub. 5.1.2 10/100Mbps Link Up Using MII interface Connector If your SunFastEthernet channel is connected to a 10 or 100 Mbps network through the MII interface connector you will receive a Link Up message whenever you boot the system or disconnect and then reconnect to the network.
5 5.2 Speed Selection If you receive the following messages after connecting to a 10 or 100Mbps network then more than likely the external hub and the SunFastEthernet are out of sync. In these instances speed selection may be done manually using the be_speed utility as indicated in the procedure that follows: # be: 100 Mbps Link Up Link Down 10 Mbps Link Up Link Down This utility is available in the directory /usr/sbin only if patch ID 101820-01 is installed. This patch is mandatory for the Solaris 2.
5 5-4 SunFastEthernet Adapter User Guide—November 1994
A Interface Signals Table A-1 lists SBus interface signals and their corresponding pin numbers. Table A-1 SBus Interface Signals Pin No. Description Pin No. Description Pin No.
A Table A-1 A-2 SBus Interface Signals (Continued) Pin No. Description Pin No. Description Pin No.
A Table A-2 lists SunFastEthernet Adapter Media Independent Interface signals and their corresponding pin numbers.
A A-4 SunFastEthernet Adapter User Guide—November 1994
SunFastEthernet Adapter Card Specifications B B.1 Performance Specifications Table B-1 Performance Specifications Feature Specification SBus Clock 12.5MHz to 25MHz Max SBus Burst Transfer Rate 12.
B B.2 Power Specifications Table B-2 Power Specifications Specification Measurement Power Dissipation 9.5 Watt max. Voltage Tolerance +/- 5% Ripple ≤ 100 mV Operational Current 5V, 2.0 Amps B.3 Physical Dimensions Table B-3 Overall Physical Dimensions Dimension B-2 Measurement Length 5.78 in. (147.70 mm) Width 3.3 in. (83.82 mm) Weight 5.52 oz.
B B.4 Environmental Specifications Note – Specifications shown are for Sun Fast Ethernet Adapter Card in SPARCstation 10. Table B-4 Environmental Specifications Condition Operating Specification Storage Specification Temperature 0 to 400 C -40 to 750 C Relative Humidity 5 to 85% RH, 400 C non-condensing 95% RH, 400 C non-condensing Shock 8 G’s, 11 msec 25 G’s, 11 msec Vibration, peak acceleration .35 G’s, 5 - 500 Hz 1.
B B-4 SunFastEthernet Adapter User Guide—November 1994
Running Diagnostics C Note – The SunFast Ethernet Adapter is not supported in Sundiag for Solaris 1.x. The tests available for this device consist of a selftest and SunDiag. C.1 Selftest The SunFastEthernet selftest is a test that verifies correct operation of the SBus card. The selftest consists of a suite of tests that reside in the FCcode PROM on the card. The code is written in Forth programming language and can only be run under OBP version 2.3 or later.
C SPARCstation 2, Type 4 keyboard Rom Rev 2.4, 16MB memory installed Ethernet address 8:0:20:8;42:7, Host ID 51000007 Type b (boot), c (command), n (new command) >n ok To check that the system has a SunFastEthernet Adapt;er card installed and in which SBus slot, look for the be device in the following command: ok show-devs ... /sbus@1,f8000000/qec@1,20000/be@0,0 ... ok To display the OBP set of environment variables, type the following command: ok printenv selftest-#megs ... auto-boot? ...
C ok setenv auto-boot? false ok reset To browse the OBP device tree, use the cd command to get to a specific working directory, and words to find all the Forth words available in that directory: ok cd /sbus/qec@1,20000/be ok words read write load close open seek reset selftest ok To examine the definition of a word, use the see command as follows: ok see selftest : selftest (ffd988d0) (ffd98c28) (ffd99564) (ffd98c60) swap (ffd5fb9c) (ffd988d0) if (ffd995ec) else -1 then ; ok For more information on us
C C.1.1 Selftest Description The Selftest can be invoked from the ok prompt on a Sun machine that has OBP 2.x or later as follows: 1. Set the diag-switch to true. At the ok prompt type: ok setenv diag-switch? true Note – If the diag switch is not set to true reduced tests are run. ok test /iommu/sbus/qec/be@0,0 Qe register test--succeeded Internal loopback test--succeeded Transceiver check -- 100 mbps Link Down, 10 mbps Link Up, passed.
C C.1.1.1 Register Test This test performs write, read, and compare on the QEC, bmac, and transceiver registers. The test will then issue a reset to make sure that the appropriate register contents are reset. C.1.1.2 Internal Loopback Test This test will check the internal loopback data path. C.1.1.3 Transceiver Test This test will check the onboard transceiver connection and the link status. C.1.1.
C C.1.2 Debug using Selftest For debuging under selftest refer to “Writing FCode Programs, Revision A, November 1993” (Sun Part Number 801-5123-10). C.2 Sundiag Sundiag is an on-line system exerciser that runs diagnostic hardware tests. It is used primarily with the OpenWindows software interface that enables you to quickly and easily set test parameters to run tests. Note – Sundiag does not probe for SunFastEthernet devices by default, for Sundiag to acknowledge a beX channel the .
C C.2.2 The Sundiag Window Note – The SunFast Ethernet Adapter is not supported in Sundiag for Solaris 1.x. Note – Examples in this section show Sundiag running in the OPEN LOOK® environment. Sundiag run in the SunView™ environment will look different. To start Sundiag, cd to the Sundiag directory (/opt/SUNWdiag/bin/sundiag) and then type the sundiag command. After you enter the sundiag command, the Sundiag window is displayed on your screen, refer to Figure C-1.
C Figure C-1 Sundiag Window C.2.3 Starting the Test 1. Review the information in the control panel, which identifies the devices that are available for testing. Click on the device that you want to test, in this case (USER 0) nettest.Your selection is confirmed with the display of a highlighted box next to the device name 2. Click on the Start button. 3. Watch the console window for messages.
C 4. To interrupt a test or to stop after a test is completed, click on the Stop button. If no problems are identified during the testing, the SunFastEthernet card is ready for operation in your system. Click on the Quit button to exit Sundiag.
C C-10 SunFastEthernet Adapter User Guide—November 1994
Solaris 2.x Driver Performance Tuning D If your system is a server which serves clients with heavy traffic and you experience numerous RPC errors, you may fine tune your system for performance by changing the buffer default settings in the /etc/system file as follows. Table D-1 depicts the buffer default settings; each buffer requiring 1.5 kbyte of memory.
D D-2 SunFastEthernet Adapter User Guide—November 1994
Console Messages (Solaris 1.x Only) E The SunFastEthernet software can output the messages listed below. Each message is accompanied by an explanation and/or workaround. Some of the messages indicate normal operation of the product, while others indicate an error condition. In the latter category, certain messages indicate a transitory condition, while others indicate a condition fatal to the operation of the SunFastEthernet device.
E be: No carrier-cable problem or hub link test disabled? The no carrier portion of this message indicates that the device may have lost the carrier detect signal. The driver has a test feature that verifies the Ethernet cable connection between the device and the Ethernet hub. In order for this feature to function correctly, the Ethernet hub must support the link test feature and it must be turned on in the hub.
E and be: SBus tx derror ack The DMA engine encounted an error which indicates a potential hardware or driver problem. be: SBus rx late error be: SBus tx late error be: SBus rx parity error and be: SBus tx parity error The DMA engine encounted an error which typically indicates a hardware problem. be: bechanstop: global reset failed be: bechanstop: gec init failed and be: bechanstop: TDMD did not clear These errors indicate a hardware failure.
E be: bqeallocthings: Not enough system memory The driver cannot allocate sufficient memory for resources. These messages occur when attempting to load the driver. You will be unable to load the driver until sufficient memory becomes free. Terminating unnecessary processes or unloading unused drivers are ways to free memory. be: bqeallocthings: berpending and qerpending are too large The values for the berpending and qerpending combined are too large.
E error is usually symptomatic of trouble elsewhere in the operating system. be: map_regs for qec per-channel reg failed be: map_regs for bmac reg failed be: map_regs for bmac transceiver reg failed and be: mb_nmapalloc for QMD and buffers failed The driver cannot allocate sufficient address space for resources. These messages occur when attempting to load the driver. You will be unable to load the driver until sufficient address space becomes free.
E be: rx crc error The driver has received a packet with an incorrect checksum field. be: rx fifo overflow Indicates that the device receive FIFO has overflowed. This is most likely due to the system being under a heavy load. be: rx framing/alignment error The driver has received a packet containing a noninteger multiple of eight bits and there was a CRC error. be: rx late collision error A packet collision has occurred after the channel’s slot time has elapsed.
E transmission of a chained packet. This indicates a problem in the driver. The device will reset itself and continue normal operation. be: tx babble A packet larger than 1518 bytes was passed to the device. This indicates an error in the driver. be: tx fifo underflow Indicates that the device transmit FIFO has underflowed. This is most likely due to the system being under a heavy load. be: tx jabber Indicates that the device attempted to transmit for an excessive time period.
E device. bqeattach: bad number of regs The SBus card has reported an invalid number of device registers. The device may be bad, or there may be a problem in the operating system or driver. bqeattach: driver has no parent The driver doesn’t have a parent driver. This error is usually symptomatic of trouble elsewhere in the operating system.
Revision History Revision Dash Date Comments A 11 November 1994 Included Solaris 1.x support.
SunFastEthernet Adapter User Guide—November 1994