Information for Solaris

Similar documents
LabVIEW Application Builder User Guide

README for X11R6.9 on NetBSD

Building Open Source Software on DEC ULTRIX V4.5 (Revision ) RISC / VAX. Revision Joachim Buss

LABVIEW. Contents RELEASE NOTES. Version 6.1

README for X11R7.5 on OpenBSD

Release Note MPI/XMP-Linux Support Package

LABVIEW APPLICATION BUILDER

Oracle Tuxedo Application Runtime for Batch

xlc.c or or or or vac.c or or

SPARC Enterprise Preinstall Information

The build2 Toolchain Installation and Upgrade

Embedded Systems Programming

Requirements for Building and Using the Kernel

Installation Details for XFree

CS 300 Data Structures

GNU-AVR Building the GNU AVR Toolchain for Mac OS X and Linux

LabVIEW Release Notes

ArcReader System Requirements

CS 326: Operating Systems. Process Execution. Lecture 5

Building the X Window System from the X.org Source Distribution 1

ArcGIS Engine Developer Kit System Requirements

LINUX KERNEL UPDATES FOR AUTOMOTIVE: LESSONS LEARNED

UPDATING SOCRATES Version Build May 2018

CSc33200: Operating Systems, CS-CCNY, Fall 2003 Jinzhong Niu September 26, Nachos Overview

Participants in this lab will gain example-led awareness and understanding of the following technical facilities:

There are three separate utilities for configuring Linux kernel and they are listed below: Command-line interface # make config. Figure 1.

Release notes December 2005

Linux Operating System Environment Computadors Grau en Ciència i Enginyeria de Dades Q2

Introduction to Linux

Using the Unix system. UNIX Introduction

Outline. Threads. Single and Multithreaded Processes. Benefits of Threads. Eike Ritter 1. Modified: October 16, 2012

COPYRIGHTED MATERIAL. Starting Strong with Visual C# 2005 Express Edition

HOW LINUX BOOTS. As it turns out, there isn t much to the boot process:

LABVIEW APPLICATION BUILDER

Outline Background Jaluna-1 Presentation Jaluna-2 Presentation Overview Use Cases Architecture Features Copyright Jaluna SA. All rights reserved

Lecture-4. Introduction to Unix: More Commands, Boot-up Actions and X Window

Reconstructive Software

Setting up my Dev Environment ECS 030

System Administration for Beginners

CSC UNIX System, Spring 2015

[S9I ] gtmsecshr vulnerability Security Advisory Page 1 of 6

Filesystem Hierarchy Operating systems I800 Edmund Laugasson

ArcGIS Engine Runtime System Requirements

COPYRIGHTED MATERIAL. Installing Xcode. The Xcode Installer

Setting up a compiler

Formatting 1. Commands starting with $ are Linux console commands on the host PC:

Maemo Diablo GNU Make and makefiles Training Material

The modularity requirement

Yes Yes Yes. No Yes No Client.

ECE 3210 Laboratory 1: Develop an Assembly Program

RightFielder Object. Quick Start Guide

Transport Gateway Installation / Registration / Configuration

Operating systems fundamentals - B02

EECS2301. Lab 1 Winter 2016

CptS 360 (System Programming) Unit 2: Introduction to UNIX and Linux

TNM093 Practical Data Visualization and Virtual Reality Laboratory Platform

PL-I Assignment Broup B-Ass 5 BIOS & UEFI

(Ubuntu 10.04), the installation command is slightly different.

CSC209. Software Tools and Systems Programming.

CSC209. Software Tools and Systems Programming.

Cross Compiling. Real Time Operating Systems and Middleware. Luca Abeni

How To Remove Windows Version Installer Virus With Linux

Zend Core TM. Installation and Maintenance Guide. Zend Core for Oracle. By Zend Technologies, Inc. w w w. z e n d. c o m

8 Software Package Administration

ULTRIX FREEWARE CD-ROMS - Version 2.0 September Joachim Buss

Chapter 8. The incremental linker

Transport Gateway Installation / Registration / Configuration

Procedure for Creating a Standalone Player With Virtools Dev 3.5/4 & VC++ 7 (.NET 2003)

UNIX / LINUX - GETTING STARTED

A guide to correct PostgreSQL setup and management

COSC 2P95. Introduction. Week 1. Brock University. Brock University (Week 1) Introduction 1 / 18

CS370 Operating Systems

The UNIX operating system is a set of programs that act as a link between the computer and the user.

TABLE OF CONTENTS: NEED TO KNOW

Introduction to Linux

Required software. Mac OS X In this section, you ll find instructions for downloading and configuring the Arduino IDE in Mac OS X.

Remote Connection to the Zoo

Information for SCO OpenServer Users

GRACES Data Reduction Cookbook

52 Remote Target. Simulation. Chapter

CS354 gdb Tutorial Written by Chris Feilbach

ESTABLISHED Paul Kunz SLAC. Overview. Examples. Expose the downsides. Benefits. Risks and Costs. Building with Automake 1 Paul F.

ArcReader 9.1 System Requirements

Pico Computing. M 501 / M 503 Getting Started Guide. March 7, Overview 1. 2 System Requirements 1. 3 Ubuntu Linux Configuration 2

Page 2 PragmaDev Studio V5.3

Running Java Programs

1 Installation (briefly)

You must build perl on VOS Release (or later) on an XA/R or Continuum platform.

Vectorization Lab Parallel Computing at TACC: Ranger to Stampede Transition

Unix System Architecture, File System, and Shell Commands

AVT Cameras and Linux

1. Install a Virtual Machine Download Ubuntu Create a New Virtual Machine Seamless Operation between Windows an Linux...

Familiar Linux for the ipaq H3975 (XScale Processor) CSC 714 Real Time Computing Systems Term Project

NVIDIA CUDA GETTING STARTED GUIDE FOR LINUX

Comp 204: Computer Systems and Their Implementation. Lecture 18: Devices

Guide for getting started with SystemC development

1. Introduction EE108A. Lab 1: Combinational Logic: Extension of the Tic Tac Toe Game

CSC209: Software Tools and Systems Programming. Richard Krueger Office hours: BA 3234

ATs.T X ;,

Certification. System Initialization and Services

Transcription:

Information for Solaris David Holland, modified by Marc Aurele La France 2004 August 18 1. The VT-switching sub-system in Solaris x86 The virtual terminal sub-system is a undocumented, and unsupported feature of Solaris x86 releases 2.1 through 7. It is no longer present in Solaris 8 and later releases. Therefore if you use virtual terminals, you do so at YOUR OWN RISK. Virtual terminals are not available in Solaris SPARC, and their availability has been removed in Solaris8 x86. When available, the virtual terminals of Solaris work basically the same way as most other SVR4 VT sub-systems. However, there are a number of limitations documented below. First, if you are running a Solaris 2.4 x86 system, and you want VT s, you will have to create the necessary devices first, so become root. Verify the chanmux device driver s major number is 100: # grep -i chanmux /etc/name_to_major chanmux 100 # If the number after chanmux is anything but 100, I would suggest you immediately abort your attempt to create virtual terminals, and learn to live without them. However, if it is 100, then as root type the following commands to create the maximum allowable number of virtual terminals. # cd /dev # mknod vt01 c 100 1 # mknod vt02 c 100 2 # mknod vt03 c 100 3 # mknod vt04 c 100 4 # mknod vt05 c 100 5 # mknod vt06 c 100 6 # mknod vt07 c 100 7 There isnoneed for a reconfiguration boot. Secondly, for both 2.1, and 2.4 x86 systems, add a few lines to the inittab to enable logins on them. (Note, donot make a mistake here, you could lock yourself out of the system) Information for Solaris 1

Information for Solaris 2 --------------------->Snip Snip<----------------------------------------------- v1:234:respawn:/usr/lib/saf/ttymon -g -h -p " uname -n VT01 login: " -T AT386 -d /dev/vt01 -l console v2:234:respawn:/usr/lib/saf/ttymon -g -h -p " uname -n VT02 login: " -T AT386 -d /dev/vt02 -l console v3:234:respawn:/usr/lib/saf/ttymon -g -h -p " uname -n VT03 login: " -T AT386 -d /dev/vt03 -l console v4:234:respawn:/usr/lib/saf/ttymon -g -h -p " uname -n VT04 login: " -T AT386 -d /dev/vt04 -l console ---------------------->End Here<----------------------------------------------- These four lines enable four VT s on Alt-SysReq-F1 through Alt-SysReq-F4. Then execute the command init q toimmediately enable the virtual terminals. The keys used for VT switching are asfollows: Alt-SysReq-F1 through Alt-SysReq-F7 enable VT screens 1-7 respectively (if the VT is active). Alt-SysReq-n enables the next active VT screen. Alt-SysReq-p enables the previous active VT screen. Alt-SysReq-h returns to the console. If you are using virtual terminals, you must leave at least one free for use by the Xserver. Limitations of the virtual terminal sub-system under Solaris x86: There are only a total of 8 available VT s (7 normal VT s + 1 console) not the usual 15. If you have all 8 allocated, and you attempt to allocate a additional VT you will panic the system. (This bug is worked around in the Solaris X11R6.8.1 Xserver.) From a programming stand point, they work pretty much as documented in the AT&T Unix System V/386 Release 4 Integrated Software Development Guide, however a number of ioctl() calls are broken. 2. Notes for building X11R6.8.1 on Solaris 1. Both GCC, and the Sun Studio compilers are supported by X11R6.8.1. The minimum recommended GCC release is 2.7.2. Some earlier GCC s are known to not work and should be avoided. You should also make certain your version of GCC predefines sun. If needed edit /usr/local/lib/gcc-lib/*/*/specs, and modify the*predefines: line. On SPARCs, regardless of the compiler you use, ensure it generates 32-bit binaries. At this time, 64-bit binaries will probably not work. 2. Also on SPARCs, you may be able to build the old deprecated Xsun* servers for older cg* graphics devices by adding "#define XsunServer YES" or "#define Xsun24Server YES" or "#define XsunMonoServer YES" to xc/config/cf/host.def. These servers are no longer maintained nor supported and may not build in this release. 3. A Threaded Xlib compiled with GCC has subtle problems. It ll work 98% of the time, however clients will occasionally exhibit strange hangs. Most notably image viewers such as xv-3.10 exhibit this problem. It is recommended that you set ThreadedX in xc/config/cf/host.def to NO, if you are using GCC. Sun s compilers do not have this problem. Whether this behaviour still exists with newer GCC s has not been verified. 4. To build X11R6.8.1 with GCC you need gcc and (optionally) c++filt from GNU binutils. Don t install gas or ld from GNU binutils, use the one provided by Sun.

Information for Solaris 3 You might need to setup a /opt/sunwspro/bin directory containing symbolic links named cc, CC, and c++filt pointing respectively to the actual gcc, g++ and c++filt commands. 5. If you are using Sun compilers to compile the X11R6.8.1 distribution, you need to modify your PATH appropriately so the Sun compiler tools are available. Normally, they should be in/opt/sunwspro/bin 6. You MUST put /usr/ccs/bin at the front of your PATH. There are known problems with some GNU replacements for the utilities found there. So the /usr/ccs/bin versions of these programs must be found before any possible GNU versions. (Most notably GNU ar does not work during the build). 3. Notes for running XorgonSolaris 1. Depending on the release or architecture of Solaris you are running, you might need to install an OS driver for an aperture device. Under Solaris x86 2.5 and later, there s a system driver (/dev/xsvc) that provides this functionality. It will be detected automatically by the server, so you don t need to install the aperture driver. For older Solaris x86 and for Solaris SPARC releases, the source for this driver is included in xc/programs/xserver/hw/xfree86/etc/apsolaris.shar of the source distribution. This file can usually also be found in the /usr/x11r6/lib/x11/etc directory when Xorg is installed. Building, and installing the driver is relatively straight forward. Please read its accompanying README file. 2. If you have not made the Virtual Terminal devices, you will need to specify the terminal device to run the Xserver on. The correct device is vt00 so your xinit command would look like so: xinit -- vt00 If you have made the virtual terminal devices you do not need to specify the VT to run the Xserver on. 3. For old releases of Solaris you will probably want to set your LD LIBRARY PATH to /usr/x11r6/lib:/usr/openwin/lib:/usr/dt/lib. Including /usr/x11r6/lib in your LD LIBRARY PATHisprobably not necessary, however it doesn t hurt. :) Including /usr/openwin/lib in the LD LIBRARY PATH is recommended on older releases because some Sun supplied binaries were not compiled with LD RUN PATH set properly at compile time. Motif and CDE applications may require/usr/dt/lib in your LD LIBRARY PATH too. 4. Xqueue is NOT supported under Solaris. The includes necessary for Xqueue are available, however the driver does not seem to be in the kernel. (Go figure) 5. If you want to use xdm with Solaris, extract the files from the shar file in /usr/x11r6/lib/x11/etc/xdmconf.svr4 into a temporary directory. The README file tells where the individual files need to be installed. Be sure to read through each file and make any site-specific changes that you need. 4. Known bugs, and work arounds with Solaris 1. The Solaris 2.1 for x86 OpenWindows filemgr does not work against a X11R5 Xserver, it probably will also not work against a X11R6 Xserver. Attempting to Drag and Drop a file causes the filemgr to abort with an X error

Information for Solaris 4 Solaris x86 2.4 does not have this problem. There isnoknown work around. 2. The SPARC port is still quite new, so instability is to be expected (and reported!). It might even have broken some aspects of the x86 port. 5. Bug Notification Bug reports should be reported using the bugzilla.freedesktop.org using the xorg product or sent to <xorg@freedesktop.org>.

Information for Solaris 5

CONTENTS 1. The VT-switching sub-system in Solaris x86... 1 2. Notes for building X11R6.8.1 on Solaris... 2 3. Notes for running Xorg onsolaris... 3 4. Known bugs, and work arounds with Solaris... 3 5. Bug Notification... 4 $XdotOrg: xc/programs/xserver/hw/xfree86/doc/sgml/solaris.sgml,v 1.3 2004/08/19 16:28:42 kem Exp $ i