[[tru64]]
 

Boot into single user mode

Press Ctrl-C during the BIOS memory test to drop to the Alpha Bios / Openboot. From there:

boot -flags S

Mounting a CDROM

mount -r /dev/disk/cdrom0c /cdrom

Remount root filesystem as RW

mount -u /

Changing the speed of a NIC

According to the man page, you set the speed when you down the interface and then bring it back up, thus: ifconfig tu0 down speed 200 ; ifconfig tu0 up The speed reading translates as:

 10   10 Mbps Ethernet half-duplex
 20   10 Mbps Ethernet full-duplex
100   100 Mbps Ethernet half-duplex
200   100 Mbps Ethernet full-duplex

Adding disks and creating a new domain

disklabel -z dsk7
disklabel -z dsk8
disklabel -rw dsk7
disklabel -rw dsk8
mkfdmn dsk7g nsr_domain
addvol dsk7h nsr_domain     
addvol dsk8g nsr_domain
addvol dsk8h nsr_domain
mkfset nsr_domain nsr_fs
mkdir /mnt/nsr
mount -t advfs nsr_domain#nsr_fs /mnt/nsr
df -h /mnt/nsr

Software installation

setld -l .
cdmenu is used as a software installer thus:
export CD_DIRECTORY=/cdrom:/cdrom/cdrom
/cdrom/cdrom/cdmenu

Installing Oracle

Add the following to /etc/sysconfigtab:

ipc:
    shm_max = 4278190080
    shm_mni = 256                                                             
    shm_seg = 128                                                             
                                                                              
proc:
    per_proc_stack_size = 33554432                                            
    per_proc_data_size = 201326592      
vm:
    new_wire_method = 0

Changing the file descriptor and stack size

Edit /etc/sysconfigtab and reboot:

proc:   
      max_per_proc_address_space = 17179869184
      max_per_proc_data_size = 2147483648
      max_per_proc_stack_size = 134217728
      max_proc_per_user = 4096
      max_threads_per_user = 8192
      open_max_soft = 2048
      per_proc_address_space = 17179869184
      per_proc_data_size = 2147483648
      per_proc_stack_size = 536870912

File Locking trouble (vi especially)

rpc.lockd and rpc.statd need to be running to allow nfs locking to work.

Compiling wget with SSL support

When ./configuring wget on Tru64 with the native CC and –with-ssl to add in https support, the configure script ends prematurely. The fix: find the line that reads

LDFLAGS="-L$ssl_root/lib -R$ssl_root/lib $wget_save_LDFLAGS" 

and replace it with:

LDFLAGS="-L$ssl_root/lib $wget_save_LDFLAGS"

Configure should then run fine, as the compiler doesn’t understand the -R flag, this is a GNUism. Other compilers on other platforms seem to ignore extraneous flags.

Compiling CUPS

export CPPFLAGS="-I/usr/local/include -L/usr/local/lib"

A normal ./configure ; make ; make install should work after that.

Compiling OpenSSL 0.9.7e on Tru64

Taken from http://www.openssl.org/support/faq.html#BUILD5, and corrected.

./config --prefix=/usr/local/openssl 
make DIRS=crypto SDIRS=sha "`grep '^CFLAG=' Makefile | sed -e 's/ -O[0-9] / -O0 /'`"
rm `ls crypto/*.o crypto/sha/*.o | grep -v 'sha_dgst\.o'`
make
make install
 
tru64.txt · Last modified: 2007/05/31 14:39 by gavin
 
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki