Operating System - HP-UX
1834646 Members
2002 Online
110069 Solutions
New Discussion

Re: unpredictable x25 inits at boottime

 
Ceesjan van Hattum
Esteemed Contributor

unpredictable x25 inits at boottime

Hi,
In the bootsequence of my HPUX11-system, some x25-inits are done. But sometimes (!) it works just fine, sometimes 'wantune' failes.
As you can see in the attachement, i have 3 scripts:
/sbin/rc2.d/S334x25 -> /sbin/init.d/srax25
/sbin/rc2.d/S565SnmpX25 -> /sbin/init.d/SnmpX25
/sbin/rc2.d/x25init->/sbin/init.d/x25
For as now, it seems to work fine (using only 2 devices: x25_0p1 and 0p2) and tests are okay.
But at some reboots, it says:
/usr/sbin/wantune -P -d /dev/wan -s 0p1 /var/x25/conf/0p1.c84.wan

Can somebody tell me why this only sometimes happens and how to solve this issue?
Greetings,
Ceesjan
6 REPLIES 6
Ceesjan van Hattum
Esteemed Contributor

Re: unpredictable x25 inits at boottime

Oops,
/sbin/rc2.d/x25init has to be /sbin/rc2.d/S566x25init
-CJ
Johan Gjestvang
Frequent Advisor

Re: unpredictable x25 inits at boottime

Hi,unforthly I'm not able to open the attatchment, but do
you see errormessages like
this:
wantune: opening /dev/wans1 (No such device or address) ?
If so, they are possibly not
in the kernel.
What did ioscan say ?
If you have psi cards do
ioscan -fnCpsi check that your
cards are CLAIMED with nioxb
drivers.
If they are not, you have to
re-install the software.

Best Regards,
Johan Gjestvang
Ceesjan van Hattum
Esteemed Contributor

Re: unpredictable x25 inits at boottime

I rebuild a new kernel, and the first boot sounded promissing: everything okay, no failures
Second boot was UNsuccesfull:
Configure X.25 interfaces
Output from "/sbin/rc2.d/S566x25init start":
----------------------------
[x25init] Command: "/usr/sbin/wantune -P -d /dev/wan -s 0p1 /var/x25/conf/0p1.c8
4.wan" failed
CAUSE : Command has returned a bad exiting value
ACTION : Contact your system administrator
[x25init] Starting the X.25 stack failed.

Then i tried myself:

/usr/sbin/wantune -P -d /dev/wan -s 0p1 /var/x25/conf/0p1.t84.wan
wantune: W_SETTUNE ioctl failed on /dev/wan (No such device)

/ #ioscan -fnCpsi
Class I H/W Path Driver S/W State H/W Type Description
================================================================
psi 0 0/2/4/0 syncio CLAIMED INTERFACE X25 8-port Adapter(4MB)
psi 1 0/2/5/0 syncio CLAIMED INTERFACE X25 4-port Adapter(4MB)
psi 2 0/3/4/0 syncio CLAIMED INTERFACE X25 8-port Adapter(4MB)
psi 3 0/3/5/0 syncio CLAIMED INTERFACE X25 4-port Adapter(4MB)

And althoug PHNE_23965 is installed (concerning simmilar issues), i'm now
getting out of ideas.
Any suggestions?
ps. How do i know whether or not my kernel is okay?
Ceesjan van Hattum
Esteemed Contributor

Re: unpredictable x25 inits at boottime

Hi,
I still have no solution on my X25 device quest. PHNE_23965 (superseeding PHNE_21026) is already installed, but i cannot find any solution on the inpredictable W_SETTUNE ioctl failed on /dev/wan (no such device).
Good suggestions will be rewarded !
Johan Gjestvang
Frequent Advisor

Re: unpredictable x25 inits at boottime

You may have loose your
device files.
Do ll /dev/wan*

Br,
Johan Gjestvang
Ceesjan van Hattum
Esteemed Contributor

Re: unpredictable x25 inits at boottime

Today i rebooted again. Now i see in the syslog.log:

vmunix: wanswput: WAN_SID no snid x317030
vmunix: wanswput: WAN_SID no snid x327030

A snid is a 'SubNetwork ID'.
A serial WAN driver attaches a SNID to a physical port; a multiplexed WAN driver uses the SNID for an internal channel that may or may not be connected to a physical-channel end port.

Nice to know, but should i DO ?