Author: Doug Moran Context: SunOS 4.1.3 Last Update: 5/9/94 When planning a demo at a remote site on a computer to be provided by the client, here is some of the information that you need to obtain as part of the planning of that demo. Model of Computer ================= WARNING: although all Sun-4's (eg, SPARCstation-2's, SPARCstation-10's) can run the same application binaries, different models have different kernels and some system binaries are different. If you plan to attach one of your own disk to their computer to do a demo, it is critical that that disk be configured for the correct model of Sun. Sun typically has both a model name (eg SPARCstation-2) and a model number (eg 4/75). Part of the model name/number for a SPARCstation-10 is the CPU designator in the form of 3-digits 1. the first digit specifies the speed (eg "5" for the 50-Mhz chip) 2. the second digit specifies amount of external cache (0-none, 1-1MB) 3. the third digit is the number of CPUs (defaults to 1) For example a SS-10 model 51 has a single 50-Mhz CPU with 1MB of external cache. A model 512 has two such CPU cards. Main Memory installed ===================== To find: See "dmesg" below If the client does not have adequate main memory installed, it is often possible to borrow memory from one of our computers for the demo. ==> need to know the number of available SIMM slots -- requires opening the computer case to confirm (although you can often make a good guess simply based on the total). Swap Space ========== To find the amount of swap space, use the command: /usr/etc/pstat -s You should see a message of the form 12484k allocated + 5208k reserved = 17692k used,76916k available In this example, you get the total swap space by adding "used" + "available", giving 94608k, or 92.4 MB. Alternatively, use /usr/etc/dkinfo command and look at the "b" partition: It is traditionally used for swap. Example: % /usr/etc/dkinfo sd3 a: 31320 sectors (24 cyls) starting cylinder 0 b: 189225 sectors (145 cyls) starting cylinder 24 c: 2747025 sectors (2105 cyls) starting cylinder 0 ... has 94613 KB of swap (a section is 512 bytes) == 92.4 MB Addresses of any locally installed disks ======================================== To find: See "dmesg" below Needed so that the disk you take to the demo can be configured to not have a conflicting address. Type of monitor and frame buffer ================================ To find: See "dmesg" below Note: we do not have all types of frame buffers. We would prefer to demo on a frame-buffer that we have here so that we can test the demo locally. ==> We have had problems -- things that ran on the GX (8-bit color) did not run correctly on the GS (24-bit color). ==> We have also run into sites that had third-party frame buffers. Since these typically require a custom kernel, we are unable to do our high-recommended practice of taking the full system on a disk (using none of the client's environment). HostID: ======= Who needs: 1. software that has node-locked licenses How to get: run /usr/bin/hostid The output will be an 8-character hexadecimal number. Revision number of main board: ============================== Who needs: 1. speech recognition applications (early SS-10 boards had too much noise) Note: in a computer with a M-bus (eg a SS-10), get the revision number from the main board, **NOT** from the M-bus card with the CPU. Problem: this requires opening up the computer's case. Alternative 1: Date of manufacture from tag on outside of case Some models have this tag on the back; others have it on the underneath side of the case. Warning: if it is underneath, you need to power of the computer and let any disks spin-down before moving the computer. Problem: if the main board has been serviced, it may have been replaced by a board with an earlier revision number. Alternative: serial number from tag on back of case: it gives approximate date of manufacture, and may be read without moving the computer. When the primary tag is on the underneath of the computer case, this info is printed on a tag with a bar code. It is of the form <3-digits, capital-letter, 4-digits>. The capital letter identifies the model (eg "F" for SS-10), the three-digit is the last digit of the year followed by two digits giving week-in-year (eg "401" specifies the first week in 1994). DMESG: ===== The command /usr/etc/dmesg prints the contents of a system buffer of "recently" printed diagnostics. These diagnostics include the configuration information printed by the kernel when the computer reboots. Even if the computer hasn't been rebooted for weeks, this information may still be in that buffer, so try this command first to get that info. Example: The following is the output for a SPARCstation-2 with 32 MB of main memory, a monochrome frame buffer (bwtwo), a 1.3GB SCSI disk at SCSI target 0 (sd3) (2105x15x87=2,747,025 512-byte sectors), a floppy drive, and a CD-ROM (sr0). SunOS Release 4.1.3 (XXXXX) #1: Fri Oct 15 17:46:22 PDT 1993 Copyright (c) 1983-1992, Sun Microsystems, Inc. mem = 32768K (0x2000000) avail mem = 29806592 Ethernet address = 8:0:20:e:1:c0 cpu = SUNW,Sun 4/75 zs0 at obio 0xf1000000 pri 12 zs1 at obio 0xf0000000 pri 12 audio0 at obio 0xf7201000 pri 13 sbus0 at SBus slot 0 0x0 le0 at SBus slot 0 0xc00000 pri 5 dma0 at SBus slot 0 0x400000 esp0 at SBus slot 0 0x800000 pri 3 sd3 at esp0 target 0 lun 0 sd3: sr0 at esp0 target 6 lun 0 bwtwo0 at SBus slot 3 0x0 pri 7 fd0 at obio 0xf7200000 pri 11 root on sd3a fstype 4.2 swap on sd3b fstype spec size 94612K dump on sd3b fstype spec size 94600K