AIX 5L for POWER V5.2.0 dated 8-2004 and VSTH 5.4.2 Test Suite installation 1. Install local test machine o Install AIX 5.2.0 base operating System. bos.adt 5.2.0.0 bos.net 5.2.0.0 bos.loc.adt.locale 5.2.0.0 vac.C 6.0.0.0 xlC.msg.en_US.rte 6.0.0.0 xlC.rte 6.0.0.0 o Install AIX V 5.2 8-2004 update. o Install AIX V 5.2 APARS: IY59610, IY60869, IY61045 o Install VAC 6.0.0.9 update. The following AIX-specific procedures were used to configure a pSeries Server for VSTH 5.4.2 running in UNIX03 mode. The system used for test returned the following when uname -a was executed: AIX unix19 2 5 000F5C6D4C00 User IDs were added to /etc/passwd for the following test IDs: vsx0::2000:2000::/tsuites/VSTH/vsth:/bin/ksh vsx1::2001:2001::/tsuites/VSTH/vsx1:/bin/ksh vsx2::2002:2002::/tsuites/VSTH/vsx2:/bin/ksh Group IDs were added to /etc/group for the following test IDs: vsxg0::2000:vsx0 vsxg29::2029:vsx0 vsxg51::2051:vsx0 vsxg1::2001:vsx1 vsxg30::2030:vsx0 vsxg52::2053:vsx0 vsxg2::2002:vsx2 vsxg31::2031:vsx0 vsxg53::2053:vsx0 vsxg10::2010:vsx0 vsxg32::2032:vsx0 vsxg54::2054:vsx0 vsxg11::2011:vsx0 vsxg33::2033:vsx0 vsxg55::2055:vsx0 vsxg12::2012:vsx0 vsxg34::2034:vsx0 vsxg56::2056:vsx0 vsxg13::2013:vsx0 vsxg35::2035:vsx0 vsxg57::2057:vsx0 vsxg14::2014:vsx0 vsxg36::2036:vsx0 vsxg58::2058:vsx0 vsxg15::2015:vsx0 vsxg37::2037:vsx0 vsxg59::2059:vsx0 vsxg16::2016:vsx0 vsxg38::2038:vsx0 vsxg60::2060:vsx0 vsxg17::2017:vsx0 vsxg39::2039:vsx0 vsxg61::2061:vsx0 vsxg18::2018:vsx0 vsxg40::2040:vsx0 vsxg62::2062:vsx0 vsxg19::2019:vsx0 vsxg41::2041:vsx0 vsxg63::2063:vsx0 vsxg20::2020:vsx0 vsxg42::2042:vsx0 vsxg64::2064:vsx0 vsxg21::2021:vsx0 vsxg43::2043:vsx0 vsxg65::2065:vsx0 vsxg22::2022:vsx0 vsxg44::2044:vsx0 vsxg66::2066:vsx0 vsxg23::2023:vsx0 vsxg45::2045:vsx0 vsxg67::2067:vsx0 vsxg24::2024:vsx0 vsxg46::2046:vsx0 vsxg68::2068:vsx0 vsxg25::2025:vsx0 vsxg47::2047:vsx0 vsxg69::2069:vsx0 vsxg26::2026:vsx0 vsxg48::2048:vsx0 vsxg70::2070:vsx0 vsxg27::2027:vsx0 vsxg49::2049:vsx0 vsxg71::2071:vsx0 vsxg28::2028:vsx0 vsxg50::2050:vsx0 vsxg72::2072:vsx0 Tetware 3.6 lite was installed in directory /tsuites/VSTH. TET was configured by the following steps: o chmod +wx configure o edit configure; add the following three lines for AIX 5 *-ibm-aix5*) fname=aix43.mk ;; o execute ./configure -t lite. Then TET was build by the following steps: o cd src o edit defines.mk; replace _XOPEN_SOURCE=500 with _XOPEN_SOURCE=600 in all instances. Change c89 to /usr/vac/bin/c99. o make ; make install. VSXGEN 3.1 was unpacked in directory /tsuites/VSTH/vsth. VSTH 5.4.2 was unpacked in directory /tsuites/VSTH/vsth. A "chown -R vsx0.vsxg0. /tsuites/VSTH" was issued to ensure vsx0 user and vsxg0 group ownership of all VSTH files. The file SRC/common/drivers/Makefile.org was edited, changing the following line in driver.C stanzas: $(CC) -o $@ $(OFILES) $(COFILES) $(TCM) $(LIBS) $(SYSLIBS) $(LDFLAGS) to $(CC) -o driver_tmp $(OFILES) $(COFILES) $(TCM) $(LIBS) $(SYSLIBS) $(LDFLAGS) the following line was then added after the above line. mv driver_tmp $@ The test suite filesystem was /tsuites/VSTH. The logical volume name was /dev/lv11 and the following tetexec.cfg entries were updated to reflect this information; VSX_BLKDEV_FILE and VSX_CHRDEV_FILE. The major and minor numbers for /dev/lv11 were 45 (0x002c) and 13 (0x000d). The test filesystem was /tsuites/testfs/vsx. The logical volume name was /dev/lv02 and the following tetexec.cfg entries were updated to reflect this information; VSX_MOUNT_DEV, VSX_NOSPC_DEV, and VSX_ROFS. The major and minor numbers for /dev/lv02 were 45 (0x002c) and 04 (0x0004). The login terminal was a pts device, /dev/pts/0. The tetexec.cfg entry, VSX_TTYNAME was set to reflect this information. The following responses were given to the config.sh questions: test mode: UNIX03 subset: vsth name of the compiler: /usr/vac/bin/c99 additional libraries: -liconv -lpthread command line options for thread-safe programs: After running config.sh, the SRC/vsxconfig.h file was edited. the line reading "#define NSIG (-1)" was changed to "#define NSIG (64)". The src/userintf.c file was edit and the following lines were removed; #undef _POSIX_SOURCE /* don't want namespace restrictions in here */ #undef _POSIX_C_SOURCE #undef _XOPEN_SOURCE #define _ALL_SOURCE /* change to suitable feature test macro */ The VSTH libraries and utilities were then built by executing the command: su -c make VSTHX 5.4.2 was then built. AIX paging space allocation method was set to early allocation in order to comply with the UNIX malloc specification. This is done by the executing the following commands prior to issuing the tcc -e -s scen.exec command: export PSALLOC=early. The UNIX behaviour is invoked by executing the following command prior to issueing the tcc -e -s scen.exec command. export XPG_SUS_ENV=ON VSTH 5.4.2 was then run. The following is the complete VSTH 5.4.2 configuration from the tetexec.cfg file. TEST_MODE=UNIX03 TEST_PACKAGES= VSTH5.4.2 VSXDIR=/tsuites/VSTH/vsth/SRC VSX_DBUG_FLAGS= VSX_DBUG_FILE=/tsuites/VSTH/vsth/TESTROOT/dbug.out VSX_NAME=VSTH 524 Beta VSX_OPER=OPEN SYSTEMS Conformance Center VSX_ORG=UNIX Development - IBM Austin VSX_PATH= VSX_SYS=AIX 5L, P-Series Servers VSX_UID0=2000 VSX_UID1=2001 VSX_UID2=2002 VSX_GID0=2000 VSX_GID1=2001 VSX_GID2=2002 TET_EXEC_TOOL= TET_EXEC_FILE= TET3RT_RTSYS_ID= TET3RT_TP_TIMEOUT=60 TET3RT_TP_TIMESLICE= TET_SIG_IGN=25 TET_SIG_LEAVE= TET3RT_SIG_IGN= TET3RT_SIG_LEAVE= VSX_CC=/usr/vac/bin/c99 VSX_CFLAGS= VSX_LIBS=-lm -liconv -lpthread VSX_BLKDEV_FILE=/dev/lv11 VSX_CHRDEV_FILE=/dev/rlv11 VSX_FCNTL_EDEADLK=Y VSX_FCNTL_MAXLOCK=-1 VSX_INVALID_FCNTL_CMD=-1 VSX_INVALID_GID=unsup VSX_INVALID_GNAME=nogroup VSX_INVALID_PNAME=nouser VSX_INVALID_UID=unsup VSX_INVALID_WHENCE=-1 VSX_INVAL_SIG=-1 VSX_MOUNT_DEV=/dev/lv02 VSX_NOSPC_DEV=/dev/lv02 VSX_PURE_FILE=/tsuites/VSTH/vsth/TESTROOT/BIN/purefile VSX_READDIR_EBADF=N VSX_ROFS=/dev/lv02 VSX_SIGSET_EINVAL=Y VSX_SYS_OPEN_MAX=-1 VSX_TTYNAME=/dev/pts/0 VSX_TTYUSER=vsx0 VSX_ULIMIT_BLKS=1 VSX_UNLOCKABLE_FILE=unsup VSX_UNUSED_GID=unsup VSX_UNUSED_UID=unsup VSX_TERMIOS_TTY= VSX_TERMIOS_LOOP= VSX_MASTER_TTY= VSX_MASTER_LOOP= VSX_TERMIOS_ASYNC= VSX_TERMIOS_BUFFERED= VSX_TERMIOS_SPEED= VSX_MODEM_CONTROL= VSX_START_STOP_CHNG= VSX_TCGETPGRP_SUPPORTED= VSX_TCSETPGRP_SUPPORTED= VSX_UNSUPPORTED_CFLAG= VSX_SUPPORTED_CFLAG= PCTS_ECHOE= PCTS_ECHOK= VSTH_CFLAGS= VSTH_LIBS=-lpthread VSTH_ADS=0 VSTH_VALID_GUARDSIZE=98304 VSTH_INVALID_GUARDSIZE=2000000 VSTH_VALID_STACKSIZE=98304 VSTH_INVALID_STACKSIZE=500000000 VSTH_FIFO_MIN_PRIORITY=1 VSTH_FIFO_MAX_PRIORITY=127 VSTH_RR_MIN_PRIORITY=1 VSTH_RR_MAX_PRIORITY=127 VSTH_OTHER_MIN_PRIORITY=1 VSTH_OTHER_MAX_PRIORITY=127 VSTH_INVALID_KEY_DETECTED=Y VSTH_INVALID_CANCELSTATE_DETECTED=Y VSTH_INVALID_CANCELTYPE_DETECTED=Y VSTH_VALID_CONCURRENCY_LEVEL=100 VSTH_UPAO_EINVAL=Y VSTH_UCV_EINVAL=N VSTH_UCVAO_EINVAL=N VSTH_CV_EBUSY=N VSTH_NTS_EINVAL=Y VSTH_SIG_IGN= VSTH_PSA_EINVAL=Y VSTH_SELF_EDEADLK_DETECTED=N VSTH_REFERENTIAL_EDEADLK_DETECTED=N VSTH_DETACH_EINVAL=Y VSTH_TID_ESRCH=Y VSTH_KEY_EINVAL=Y VSTH_SIG_EINVAL=Y VSTH_INVALID_SIG=999 VSTH_UNSUPPORTED_SIG=999 VSTH_MX_EBUSY=N VSTH_MX_EINVAL=Y VSTH_MXAO_EINVAL=N VSTH_SCHED_EPERM=Y VSTH_PRIO_EINVAL=Y VSTH_MX_EPERM=N VSTH_PROTO_UNSUP=10 VSTH_PROTO_EPERM=Y VSTH_PS_EINVAL=10 VSTH_TYPE_EINVAL=10 VSTH_RWL_EBUSY=N VSTH_RWL_EINVAL=Y VSTH_RWLAO_EINVAL=N VSTH_PSHARED_EINVAL=10 VSTH_RWL_DEADLK=N VSTH_MX_DEADLK=N VSTH_RWL_MAX=2147483647 VSTH_RWL_EPERM=N VSTH_TID_EINVAL=Y VSTH_KEYS_USED=5 VSTH_RTHITS_MIN=2 VSTH_RTTRIES_MAX=20 VSTH_DIR_PREAD=Y VSTH_ENXIO_DEV=/dev/bill VSTH_NOSEEK_DEV=/dev/rfd0 VSTH_ULIMIT_BLKS=1 VSTH_GETLOGIN_R_ERANGE=Y VSTH_TTYNAME_R_ENOTTY=Y VSTH_TTYNAME_R_ERANGE=Y VSTH_READDIR_R_EBADF=N VSTH_PGSP_SUPPORTED=Y VSTH_PAGSI_SUPPORTED=Y VSTH_PAGSP_SUPPORTED=Y VSTH_PAGSS_SUPPORTED=Y VSTH_UNSUP_INHERITSCHED_VAL= VSTH_UNSUP_CSCOPE_VAL= VSTH_RR_INTERVAL_SECS= VSTH_RR_INTERVAL_NSECS= VSTH_RWL_INIT_PRIV=N VSTH_INVALID_POLICY=N VSTH_UNSUPPORTED_POLICY=N VSTH_INVALID_INHERITSCHED_VAL=N VSTH_SPC_EPERM=N VSTH_GPC_EPERM=N VSTH_VALID_STACKSIZE_LIMIT=0x10000000 VSTH_INPROPER_ALIGN_SUPPORTED=N VSTH_PRIO_EACCES_SUPPORTED=N VSTH_INVALID_PRIORITY= VSTH_FIFO_UNSUPPORTED_PRIORITY= VSTH_RR_UNSUPPORTED_PRIORITY= VSTH_SPORADIC_UNSUPPORTED_PRIORITY= VSTH_OTHER_UNSUPPORTED_PRIORITY= VSTH_SCHED_PRIO_PERMISSION= VSTH_NOT_EXISTING_THREAD= VSTH_STRERR_INVALID_ERRNUM=999 VSTH_STRERR_ERANGE_SUPPORTED=Y VSTH_ICONV_CODESET1=ISO8859-1 VSTH_ICONV_CODESET2=uucode VSTH_SUPP_GID=2010 VSTH_TEMP_SEM_NAME=/tmp/sema_name TET_EXEC_IN_PLACE=True TET_OUTPUT_CAPTURE=False
Copyright © 2004 International Business Machines Corporation.
All Rights Reserved.
OSF/1, Motif, UNIX, and the "X" device are registered trademarks in the U.S. and other countries, and IT DialTone and The Open Group are trademarks of The Open Group.