sysinit

Hi,
When I try to execute a file from sysinit, it does’nt seem to execute the
file. I added the file at the end of the sysinit file, after all the env.
variables have been exported. But when I execute the files from .profile,
It executes the file.

I hope someone can help.

Thanks,
Shashank

“Shashank” <sbalijepalli@precitech.com> wrote in message
news:anve4t$pvn$1@inn.qnx.com

Hi,
When I try to execute a file from sysinit, it does’nt seem to execute the
file. I added the file at the end of the sysinit file, after all the env.
variables have been exported. But when I execute the files from .profile,
It executes the file.

I beleive the last line of the sysinit.X is tinit which doesn’t not return.

I hope someone can help.

Thanks,
Shashank

Mario Charest wrote:

“Shashank” <> sbalijepalli@precitech.com> > wrote in message
news:anve4t$pvn$> 1@inn.qnx.com> …
Hi,
When I try to execute a file from sysinit, it does’nt seem to execute the
file. I added the file at the end of the sysinit file, after all the env.
variables have been exported. But when I execute the files from .profile,
It executes the file.

I beleive the last line of the sysinit.X is tinit which doesn’t not return.

We have always run tinit … & and have had no problems with either
tinit or starting commands after tinit. Have I missed something?

Richard

I hope someone can help.

Thanks,
Shashank

On Tue, 08 Oct 2002 16:37:00 -0400, Richard Kramer <rrkramer@kramer-smilko.com> wrote:

Mario Charest wrote:

“Shashank” <> sbalijepalli@precitech.com> > wrote in message
news:anve4t$pvn$> 1@inn.qnx.com> …
Hi,
When I try to execute a file from sysinit, it does’nt seem to execute the
file. I added the file at the end of the sysinit file, after all the env.
variables have been exported. But when I execute the files from .profile,
It executes the file.

I beleive the last line of the sysinit.X is tinit which doesn’t not return.

We have always run tinit … & and have had no problems with either
tinit or starting commands after tinit. Have I missed something?

Should work, try putting in the full path to the executable??
Or possibly . ?

I put a “&” and other commands after tinit.

But yes, if you don’t have a “&” tinit no other commands will execute after
tinit.

“Mario Charest” postmaster@127.0.0.1 wrote in message
news:anveta$qjg$1@inn.qnx.com

I beleive the last line of the sysinit.X is tinit which doesn’t not
return.

did you remember to put a blank line at the end of the file?

Shashank <sbalijepalli@precitech.com> wrote in message
news:anve4t$pvn$1@inn.qnx.com

Hi,
When I try to execute a file from sysinit, it does’nt seem to execute the
file. I added the file at the end of the sysinit file, after all the env.
variables have been exported. But when I execute the files from .profile,
It executes the file.

I hope someone can help.

Thanks,
Shashank

Hi,
It still doesn’t work. Is there a way to see the step by step execution of
the sysinit file. The reason I ask is because I am running the /etc/netstart
script from the sysinit file and I think it fails here.

Thank you,
Shashank

“Shashank” <sbalijepalli@precitech.com> wrote in message
news:anve4t$pvn$1@inn.qnx.com

Hi,
When I try to execute a file from sysinit, it does’nt seem to execute the
file. I added the file at the end of the sysinit file, after all the env.
variables have been exported. But when I execute the files from .profile,
It executes the file.

I hope someone can help.

Thanks,
Shashank

On Wed, 9 Oct 2002 11:37:53 -0400, “Shashank” <sbalijepalli@precitech.com> wrote:

Hi,
It still doesn’t work. Is there a way to see the step by step execution of
the sysinit file. The reason I ask is because I am running the /etc/netstart
script from the sysinit file and I think it fails here.

Thank you,
Shashank

“Shashank” <> sbalijepalli@precitech.com> > wrote in message
news:anve4t$pvn$> 1@inn.qnx.com> …
Hi,
When I try to execute a file from sysinit, it does’nt seem to execute the
file. I added the file at the end of the sysinit file, after all the env.
variables have been exported. But when I execute the files from .profile,
It executes the file.

I hope someone can help.

put :

set -x

somewhere at the start of the file

Hi,
Whenever we add something new to execute in the sysinit file it doesn’t
execute. For eg. we tried adding the printer driver dev.par but it wouldn’nt
execute. Does the sysinit file have a particular syntax? This is urgent. Any
help is appreciated

Thanks,
Shashank

“Richard Kramer” <rrkramer@kramer-smilko.com> wrote in message
news:3DA341EC.DC5032CC@kramer-smilko.com

Mario Charest wrote:

“Shashank” <> sbalijepalli@precitech.com> > wrote in message
news:anve4t$pvn$> 1@inn.qnx.com> …
Hi,
When I try to execute a file from sysinit, it does’nt seem to execute
the
file. I added the file at the end of the sysinit file, after all the
env.
variables have been exported. But when I execute the files from
…profile,
It executes the file.

I beleive the last line of the sysinit.X is tinit which doesn’t not
return.

We have always run tinit … & and have had no problems with either
tinit or starting commands after tinit. Have I missed something?

Richard



I hope someone can help.

Thanks,
Shashank
\

“Shashank” <sbalijepalli@precitech.com> wrote in message
news:ao4iqq$hc$1@inn.qnx.com

Hi,
Whenever we add something new to execute in the sysinit file it doesn’t
execute. For eg. we tried adding the printer driver dev.par but it
wouldn’nt
execute. Does the sysinit file have a particular syntax? This is urgent.
Any
help is appreciated

Are you sure you are adding it in the right file. The proper file should be
sysinit.NODE and not sysinit. You have to be doing something wrong that you
are not telling us :wink:

The sysinit file is a normal script file.

Thanks,
Shashank

“Richard Kramer” <> rrkramer@kramer-smilko.com> > wrote in message
news:> 3DA341EC.DC5032CC@kramer-smilko.com> …


Mario Charest wrote:

“Shashank” <> sbalijepalli@precitech.com> > wrote in message
news:anve4t$pvn$> 1@inn.qnx.com> …
Hi,
When I try to execute a file from sysinit, it does’nt seem to
execute
the
file. I added the file at the end of the sysinit file, after all the
env.
variables have been exported. But when I execute the files from
.profile,
It executes the file.

I beleive the last line of the sysinit.X is tinit which doesn’t not
return.

We have always run tinit … & and have had no problems with either
tinit or starting commands after tinit. Have I missed something?

Richard



I hope someone can help.

Thanks,
Shashank


\

Make sure that any programs that stay loaded have a “&” after them on the
command line. It sounds to me like your sysinit file is never getting to
the end.

Try putting echo commands scattered thoughout the sysinit file to verify
your progress.
Look for the last thing that you know DID execute and put an echo in front
of it. If you don’t see that echo command then your editing the wrong file.

“Mario Charest” postmaster@127.0.0.1 wrote in message
news:ao4kph$2f0$1@inn.qnx.com

“Shashank” <> sbalijepalli@precitech.com> > wrote in message
news:ao4iqq$hc$> 1@inn.qnx.com> …
Hi,
Whenever we add something new to execute in the sysinit file it doesn’t
execute. For eg. we tried adding the printer driver dev.par but it
wouldn’nt
execute. Does the sysinit file have a particular syntax? This is urgent.
Any
help is appreciated

Are you sure you are adding it in the right file. The proper file should
be
sysinit.NODE and not sysinit. You have to be doing something wrong that
you
are not telling us > :wink:

The sysinit file is a normal script file.


Thanks,
Shashank

“Richard Kramer” <> rrkramer@kramer-smilko.com> > wrote in message
news:> 3DA341EC.DC5032CC@kramer-smilko.com> …


Mario Charest wrote:

“Shashank” <> sbalijepalli@precitech.com> > wrote in message
news:anve4t$pvn$> 1@inn.qnx.com> …
Hi,
When I try to execute a file from sysinit, it does’nt seem to
execute
the
file. I added the file at the end of the sysinit file, after all
the
env.
variables have been exported. But when I execute the files from
.profile,
It executes the file.

I beleive the last line of the sysinit.X is tinit which doesn’t not
return.

We have always run tinit … & and have had no problems with either
tinit or starting commands after tinit. Have I missed something?

Richard



I hope someone can help.

Thanks,
Shashank




\

Hi,
We are executing the correct file (sysinit.1).When we put dev.par in
sysinit.1 it gives us a SIGFPE (floating point error). But if we run dev.par
after booting to Photon it runs fine.

Thank you,
Shashank

“Alex Cellarius” <acellarius@yahoo.com> wrote in message
news:1103_1034186432@inn.qnx.com

On Wed, 9 Oct 2002 11:37:53 -0400, “Shashank” <> sbalijepalli@precitech.com
wrote:
Hi,
It still doesn’t work. Is there a way to see the step by step execution
of
the sysinit file. The reason I ask is because I am running the
/etc/netstart
script from the sysinit file and I think it fails here.

Thank you,
Shashank

“Shashank” <> sbalijepalli@precitech.com> > wrote in message
news:anve4t$pvn$> 1@inn.qnx.com> …
Hi,
When I try to execute a file from sysinit, it does’nt seem to execute
the
file. I added the file at the end of the sysinit file, after all the
env.
variables have been exported. But when I execute the files from
…profile,
It executes the file.

I hope someone can help.

put :

set -x

somewhere at the start of the file

Could it be taht you are pressing ESC during BIOS IPL.
This can lead to booting /.altboot with /etc/config/altsysinit.
Werner Schweizer

“Shashank” <sbalijepalli@precitech.com> schrieb im Newsbeitrag
news:ao4iqq$hc$1@inn.qnx.com

Hi,
Whenever we add something new to execute in the sysinit file it doesn’t
execute. For eg. we tried adding the printer driver dev.par but it
wouldn’nt
execute. Does the sysinit file have a particular syntax? This is urgent.
Any
help is appreciated

Thanks,
Shashank

“Richard Kramer” <> rrkramer@kramer-smilko.com> > wrote in message
news:> 3DA341EC.DC5032CC@kramer-smilko.com> …


Mario Charest wrote:

“Shashank” <> sbalijepalli@precitech.com> > wrote in message
news:anve4t$pvn$> 1@inn.qnx.com> …
Hi,
When I try to execute a file from sysinit, it does’nt seem to
execute
the
file. I added the file at the end of the sysinit file, after all the
env.
variables have been exported. But when I execute the files from
.profile,
It executes the file.

I beleive the last line of the sysinit.X is tinit which doesn’t not
return.

We have always run tinit … & and have had no problems with either
tinit or starting commands after tinit. Have I missed something?

Richard



I hope someone can help.

Thanks,
Shashank


\

After failing to run dev.par from sysinit.1 we added it to altsysinit and
it showed the SIGFPE error. But even if it is in the sysinit.1 file it
does’nt execute though we don’t know the error. Our assumption is that it is
a SIGFPE

Thanks,
Shashank

“Werner Schweizer” <W.Schweizer@SwissOnline.ch> wrote in message
news:ao6qtb$h7a$1@inn.qnx.com

Could it be taht you are pressing ESC during BIOS IPL.
This can lead to booting /.altboot with /etc/config/altsysinit.
Werner Schweizer

“Shashank” <> sbalijepalli@precitech.com> > schrieb im Newsbeitrag
news:ao4iqq$hc$> 1@inn.qnx.com> …
Hi,
Whenever we add something new to execute in the sysinit file it doesn’t
execute. For eg. we tried adding the printer driver dev.par but it
wouldn’nt
execute. Does the sysinit file have a particular syntax? This is urgent.
Any
help is appreciated

Thanks,
Shashank

“Richard Kramer” <> rrkramer@kramer-smilko.com> > wrote in message
news:> 3DA341EC.DC5032CC@kramer-smilko.com> …


Mario Charest wrote:

“Shashank” <> sbalijepalli@precitech.com> > wrote in message
news:anve4t$pvn$> 1@inn.qnx.com> …
Hi,
When I try to execute a file from sysinit, it does’nt seem to
execute
the
file. I added the file at the end of the sysinit file, after all
the
env.
variables have been exported. But when I execute the files from
.profile,
It executes the file.

I beleive the last line of the sysinit.X is tinit which doesn’t not
return.

We have always run tinit … & and have had no problems with either
tinit or starting commands after tinit. Have I missed something?

Richard



I hope someone can help.

Thanks,
Shashank




\

“Shashank” <sbalijepalli@precitech.com> wrote in message
news:ao703p$n4t$1@inn.qnx.com

After failing to run dev.par from sysinit.1 we added it to altsysinit and
it showed the SIGFPE error. But even if it is in the sysinit.1 file it
does’nt execute though we don’t know the error. Our assumption is that it
is
a SIGFPE

You are giving too little information. Post your sysinit.1 with the dev.par
in it.

I assume that when you modified altsysinit you pressed ESC to get it loaded?

Thanks,
Shashank

“Werner Schweizer” <> W.Schweizer@SwissOnline.ch> > wrote in message
news:ao6qtb$h7a$> 1@inn.qnx.com> …
Could it be taht you are pressing ESC during BIOS IPL.
This can lead to booting /.altboot with /etc/config/altsysinit.
Werner Schweizer

“Shashank” <> sbalijepalli@precitech.com> > schrieb im Newsbeitrag
news:ao4iqq$hc$> 1@inn.qnx.com> …
Hi,
Whenever we add something new to execute in the sysinit file it
doesn’t
execute. For eg. we tried adding the printer driver dev.par but it
wouldn’nt
execute. Does the sysinit file have a particular syntax? This is
urgent.
Any
help is appreciated

Thanks,
Shashank

“Richard Kramer” <> rrkramer@kramer-smilko.com> > wrote in message
news:> 3DA341EC.DC5032CC@kramer-smilko.com> …


Mario Charest wrote:

“Shashank” <> sbalijepalli@precitech.com> > wrote in message
news:anve4t$pvn$> 1@inn.qnx.com> …
Hi,
When I try to execute a file from sysinit, it does’nt seem to
execute
the
file. I added the file at the end of the sysinit file, after all
the
env.
variables have been exported. But when I execute the files from
.profile,
It executes the file.

I beleive the last line of the sysinit.X is tinit which doesn’t
not
return.

We have always run tinit … & and have had no problems with either
tinit or starting commands after tinit. Have I missed something?

Richard



I hope someone can help.

Thanks,
Shashank






\

Shashank wrote:

Hi,
We are executing the correct file (sysinit.1).When we put dev.par in
sysinit.1 it gives us a SIGFPE (floating point error). But if we run dev.par
after booting to Photon it runs fine.
Download a newer Dev.par from the QNX site, or get the latest OS update

(or get a slower computer).

Richard

Thank you,
Shashank

“Alex Cellarius” <> acellarius@yahoo.com> > wrote in message
news:> 1103_1034186432@inn.qnx.com> …

On Wed, 9 Oct 2002 11:37:53 -0400, “Shashank” <> sbalijepalli@precitech.com

wrote:

Hi,
It still doesn’t work. Is there a way to see the step by step execution

of

the sysinit file. The reason I ask is because I am running the

/etc/netstart

script from the sysinit file and I think it fails here.

Thank you,
Shashank

“Shashank” <> sbalijepalli@precitech.com> > wrote in message
news:anve4t$pvn$> 1@inn.qnx.com> …

Hi,
When I try to execute a file from sysinit, it does’nt seem to execute

the

file. I added the file at the end of the sysinit file, after all the

env.

variables have been exported. But when I execute the files from

.profile,

It executes the file.

I hope someone can help.

put :

set -x

somewhere at the start of the file


\

Add “set -x” to the top of the sysinit and the sysinit.$NODE. This will
allow you to see what sysinit is doing.

“Shashank” <sbalijepalli@precitech.com> wrote in message
news:ao703p$n4t$1@inn.qnx.com

After failing to run dev.par from sysinit.1 we added it to altsysinit and
it showed the SIGFPE error. But even if it is in the sysinit.1 file it
does’nt execute though we don’t know the error. Our assumption is that it
is
a SIGFPE

Thanks,
Shashank

“Werner Schweizer” <> W.Schweizer@SwissOnline.ch> > wrote in message
news:ao6qtb$h7a$> 1@inn.qnx.com> …
Could it be taht you are pressing ESC during BIOS IPL.
This can lead to booting /.altboot with /etc/config/altsysinit.
Werner Schweizer

“Shashank” <> sbalijepalli@precitech.com> > schrieb im Newsbeitrag
news:ao4iqq$hc$> 1@inn.qnx.com> …
Hi,
Whenever we add something new to execute in the sysinit file it
doesn’t
execute. For eg. we tried adding the printer driver dev.par but it
wouldn’nt
execute. Does the sysinit file have a particular syntax? This is
urgent.
Any
help is appreciated

Thanks,
Shashank

“Richard Kramer” <> rrkramer@kramer-smilko.com> > wrote in message
news:> 3DA341EC.DC5032CC@kramer-smilko.com> …


Mario Charest wrote:

“Shashank” <> sbalijepalli@precitech.com> > wrote in message
news:anve4t$pvn$> 1@inn.qnx.com> …
Hi,
When I try to execute a file from sysinit, it does’nt seem to
execute
the
file. I added the file at the end of the sysinit file, after all
the
env.
variables have been exported. But when I execute the files from
.profile,
It executes the file.

I beleive the last line of the sysinit.X is tinit which doesn’t
not
return.

We have always run tinit … & and have had no problems with either
tinit or starting commands after tinit. Have I missed something?

Richard



I hope someone can help.

Thanks,
Shashank






\