Hi all,
I am using QNX 4.25a but 4.25b of tcp runtime. I have a very strange problem. Once in a while on powerup (maybe every 20th time), I get a no licence error when the sysinit file invokes tcp commands (route, inet, etc). The script also invokes photon which fails and then there is a segment voilation on the shell so no login can occur. Sometimes, I need to repeat the powerup numerous times to recover. Often, I am fine on the next powerup and then the system runs for weeks before routine power down. Note that I do not use QNX networking and the problem occurs with no network cable installed. I install all licences on all my systems so there are over a dozen qnx, photon and tcp licences on each system. Copies of sysinit, netstart and hosts are below. Does anyone have any ideas.
Thanks in advance.
Jack
PROGRAM NAME VERSION DATE
/boot/sys/Proc32 Proc 4.25I Nov 25 1998
/boot/sys/Proc32 Slib16 4.23G Oct 04 1996
/boot/sys/Slib32 Slib32 4.24B Aug 12 1997
/bin/Fsys Fsys32 4.24S Jul 16 1998
/bin/Fsys Floppy 4.24B Aug 19 1997
/bin/Fsys.aha7scsi scsi 4.24M Mar 23 1998
//1/bin/Dev Dev32 4.23G Oct 04 1996
//1/bin/Pipe Pipe 4.23A Feb 26 1996
//1/bin/Dev.ser Dev32.ser 4.23I Jun 27 1997
//1/bin/Dev.ser Dev32.ser 4.23I Jun 27 1997
//1/bin/Dev.ansi Dev32.ansi 4.23H Nov 21 1996
//1/bin/Dev.par Dev32.par 4.23G Oct 04 1996
//1/bin/Dev.pty Dev32.pty 4.23G Oct 04 1996
//1/bin/Fsys.eide eide 4.24N Nov 18 1998
//1/bin/Iso9660fsys Iso9660fsys 4.23B Jun 10 1998
//1/bin/Net Net 4.25B Jul 27 1998
//1/bin/Net.ether1000 Net.ether100 4.24B Jul 24 1998
//1/bin/Net.epic Net.epic 4.24C Dec 04 1998
//1/bin/Net.epic Net.epic 4.24C Dec 04 1998
//1/bin/Net.epic Net.epic 4.24C Dec 04 1998
//1/usr/ucb/Socket Socket 4.25G Mar 29 1999
//1/bin/Mqueue mqueue 4.24B Jan 12 1999
//1//photon/bin/Photon Photon 1.13D Sep 03 1998
//1//bin/phfontpfr Photon Font 1.13A Jul 07 1998
**** SYSINIT FILE
#Image: /boot/sys/boot -v
#Image: /boot/sys/Proc32 -l 1
#Image: /boot/sys/Slib32
#Image: /boot/sys/Slib16
#Image: /bin/Fsys
#Image: /bin/Fsys.aha7scsi fsys -Ndsk1 -n0=hd1. -n5=cd1. aha7scsi -ad400 -i9
#Image: /bin/mount -p /dev/hd1.0 /dev/hd1.0t77 /
#Image: /bin/sinit TERM=qnxm
export NODE=1
export KBD=en_US_101.kbd
export ABLANG=en
export CON_KBD=USA
export TZ=est05edt04,M4.1.0/2,M10.5.0/2
/bin/rtc -l hw
Dev &
emu87 &
Pipe &
/bin/Dev.ser -N/dev/ser1 3f8,4 &
/bin/Dev.ser -N/dev/ser2 2f8,3 &
Dev.ansi -Q -n9 &
reopen /dev/con1
kbd $CON_KBD
prefix -A /dev/console=/dev/con1
Dev.par &
Dev.pty -n16 &
/bin/Fsys.eide fsys -Ndsk0 -n0=hd0. -n5=cd0. eide -a1f0 -i14
Iso9660fsys /cd0.0=/dev/cd0.0 &
/bin/Fsys.floppy -a3f0 -i6
Define the default CD Rom
/bin/prefix -A /cd=//0/cd0.0
/bin/Net -d 4 &
/bin/Net.ether1000 -l1 -p320 -i15 &
/bin/Net.epic -I1 -l2 -s 100 -r 100000000 &
/bin/Net.epic -I2 -l3 -s 100 -r 100000000 &
/bin/Net.epic -I0 -l4 -s 100 -r 100000000 &
netmap -f
nameloc &
chkfsys /
sleep 10
netstart
Mqueue &
tinit -t /dev/con1 &
tinit -T /dev/con[2-6] &
export PHPDM_DISABLE=1
export PHEXIT_DISABLE=1
ph
**** NETSTART ******
#!/bin/sh
export SOCK=$NODE
/bin/slay -f Socket Socklet;
/bin/prefix -D /dev/console >/dev/null 2>&1;
/bin/prefix -A /dev/console=/dev/con1;
start up Socket: assume hostnames are defined as ‘node#’
Note: if not using NFS, use Socklet instead
/usr/ucb/Socket dc_interface &
\
Note: assuming ethernet interface on logical LAN 1
/usr/ucb/ifconfig en1 scitex_server up netmask 255.255.255.0
/usr/ucb/ifconfig en2 dc_interface up netmask 255.255.255.0
/usr/ucb/ifconfig en3 alt_dc_interface up netmask 255.255.255.0
/usr/ucb/ifconfig en4 s120_server up netmask 255.255.255.0
/usr/ucb/ifconfig lo0 localhost up
/usr/bin/syslogd
Note: to act as an NFS server, uncomment the next line
/etc/nfsstart
Note: to act as a TCP/IP server, uncomment the next line
/usr/ucb/inetd
/usr/ucb/route add default default_gateway
/usr/ucb/route add alt_datacenter route_to_alt
****** HOSTS*****
Host Database
This file should contain the addresses and aliases
for local hosts that share this file.
It is used only for “ifconfig” and other operations
before the nameserver is started.
127.1 localhost localhost.my.domain
Interfaces to the datacenter
172.16.1.35 dc_interface
128.1.95.35 alt_dc_interface
Datacenter addresses
172.16.1.250 datacenter
128.1.12.252 alt_datacenter
128.1.95.240 default_gateway
128.1.95.240 route_to_alt