[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference ozrock::x25_osf

Title:Proudly built by the engineers of NaC Australia
Moderator:DELNI::MUGGERIDGE
Created:Tue Oct 13 1992
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:908
Total number of notes:3829

867.0. "Check for kernel support" by NETRIX::"nancy@csc.cxo.dec.com" (Nancy Flavell) Wed Feb 19 1997 07:33

The Problem:  A customer needs to occasionally boot genvmunix but still
come up to run level 3.  In doing so in Digital UNIX 3.2g with X.25 v2.0,
when X.25 starts up, it apparently tries to continue with the startup
process, even though there is no support built into the kernel.  Thus,
the machine will not boot the rest of the way.

The workaround:  He will try to rename the /sbin/rc3.d/S28.50x25 file
so that X.25 will not start up before booting to the generic kernel.

Our questions:   Could he be more direct by placing a script somewhere
to check for kernel support before bringing up X.25?  What would that
check look like?  Should the X.25 product be expected to do this,
anyway?  If so, would you like for me to formally escalate an 
enhancement request?

Your consideration and comments will be appreciated.

Nancy Flavell
Digital UNIX Network Support Team
Customer Support Center/Colorado
[Posted by WWW Notes gateway]
T.RTitleUserPersonal
Name
DateLines
867.1Workaround not acceptableNETRIX::"nancy@csc.cxo.dec.com"Nancy FlavellFri Feb 21 1997 04:2816
The customer spoke with their Engineers who said that the reason they
sometimes need to boot genvmunix is that the system becomes basically
unusable.  Thus, the previously mentioned workaround is not feasible,
unless they first boot to single-user mode.

So, I'm left with wondering how to make an automatic check on system
boot so that X.25 will not be started unless support is there.

We considered applying a check similar to what LAT does, where it
uses sysconfig -s to see whether dlb is built into the kernel.
However, would there be something statically available to grep for,
like x25_access, or does X.25 dynamically add support?

Nancy

[Posted by WWW Notes gateway]
867.2DELNI::MUGGERIDGEFri Feb 21 1997 05:3226
I am not aware of any requirement to have X.25 be aware of when genvmunix is booting
and taking appropriate action if it is not configured.

In the spirit of genvmunix, it should contain the 'maximum' system configuration.  If
you take a look at the config file it describes all manner of devices which it will attemp
to detect.  If it finds a device, then it is configured.

So continuing with the spirit of genvmunix, it would make some sense to configure X25
into that file as well.

However, if you absolutely must not have X.25 starting when genvmunix boots, then
one way you could do this is by creating a file in /sbin/rc3.d (or maybe rc2.d) 
with a name like S28.00_NoX25.  Then this could detect which kenel is booting
and move the X.25 startup scripts.  e.g. maybe something like:

	create directory /sbin/rc3.d/tmp if it doesn't already exist
	if genvmunix then mv S28.[1-9]* /sbin/rc3.d/tmp
	else if vmunix then mv /sbin/rc3.d/tmp/* /sbin/rc3.d

You may run into problems with the way these scripts are invoked.  I don't know if
by the time rc3.d scripts are run, that moving them will result in problems.  If this
is the case, you can try this script in rc2.d.

Good luck.

Matt.
867.3rfc1006 the real culpritNETRIX::"nancy@csc.cxo.dec.com"Nancy FlavellWed Feb 26 1997 04:5120
Matt,

In implementing your recommended workaround, the customer realized
that, even though there were lots of X.25 errors spewing across the
screen, it was actually the rfc1006 starting up directly afterward
which caused the system to panic.  Applying the same workaround to
the rfc1006 startup took care of the problem.

They are upgrading to the OSI 3.2b product this weekend and will 
test to see whether the system still panics when rfc1006 tries to
start under the generic kernel.

The customer wanted to thank you for your time and to let you 
know that it was not the X.25 starting up which caused the
problem.

I extend my gratitide, as well.

Nancy
[Posted by WWW Notes gateway]