Re: Crash Mode -> Startup Crash
Hello Ray
I think that there is no need for cat command in the middle ? I could
be just ./emc.run >> runlog.txt instead. One thing that comes to my
mind is that there is some sort of buffer in disk-writing that gets
flushed only in couple of times per minute. So that new files are
really "appended" to actual disk just couple of times in minute. This
could be the kernel update ([k]update) process that flushes the memory
to disk. That way when crash occurs it doesn't flush the memory to
disk and then after reboot it just shows that there is too little
messages in log-file because later messages weren't flushed to disk.
One thing I could think of is to monitor the log-file in another
console (be it X-console or "real" console) with "tail -f runlog.txt"
That way we could monitor the last thing that is produced by EMC in
real time because "tail" doesn't care whether the file is already in
disk or just in "disk-memory-buffer".
One solution is to put update-process running many times in minute, say, 1 time/sec (I don't
know whether this affects the system performance, propably it will ?).
Information about update-process can be found from man-page "update"
(man update).
I think that update-frequency could be put to /etc/inittab to the line
that says
ud::once:/sbin/update
All this is just my quess, I haven't tried those methods myself and
I'm not a kernel-guru ;-)
Best regards,
Henry "Henkka" Palonen
h-at-no-sp-am-yty.net
Finland
* Ray (rehenry-at-up.net) [18.05.2001 18:38]:
> ...
> My rather primitive test has been to cat some terminal reports into a file
> using a terminal command like ./emc.run cat >> runlog.txt. With debug set
> to max in the ini file, this startup produces a list of NML messages and
> some aux stuff concerning the startup. The interesting thing that I found
> is that cat stops working long before the crash. The last line in the run
> entry of runlog.txt would be something like
>
> starting EMC MOTION PROGRAM -- steppermod.o...
>
> Notice that it did not even report that it was done starting steppermod but
> the run script kept going and put up the gui. Then I took EMC out of
> e-stop and turned the machine on but there was no message of it.
> ...
--
TIETOLIIKENNE EI KUULU SÄHKÖVERKKOON !!
SAY NO FOR PLC (Power Line Communication) !!
http://www.sci.fi/~ijl/eiplclle.html
http://www.darc.de/referate/ausland/download/darc-plc-paper.html
Date Index |
Thread Index |
Back to archive index |
Back to Mailing List Page
Problems or questions? Contact