[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fatal error in pipefs.c (RE: [MiNT] a clean "shutdown" command?)



> > That's correct, if you disable the vcons you'll see that shutdown() will
> > work as intended.
> 
> But it is kernel bug :-(.

Well, this may be either a kernel bug or the concept of the vcons is
broken. I mean, it seems, that the "bug" may be gone if vcons would be at
least partially recoded so that the part that drives the screens and
handles the keyboard would be an XDD driver that could be eventually used
by a daemon. The fatal error that occurs at shutdown time is apparently
correct and means a broken pipeline.

The mysterious part of this story is that the error only occurs when the
vcons and an AES (no matter which one) are active simultaneously or even
when the AES was active and has been shut down. If vcons are not active or
if the AES is not started, everything works fine. That means that the AES
and vcons conflict somewhere.

Anyways, killing the vcons daemon when gettys are open on vconsoles is not
a good idea, it seems. I'd suspect that if the pipelines wouldn't be
created by the daemon, but by an XDD, killing a daemon which uses them
could be safe.

Nevertheless, all the text above is only a suggestion and cannot be
considered a definite statement, coz I am not 100% sure of the exact
reason for the behaviour in question (the fatal error). However, it is
rather a serious problem and I think some discuss on that may be useful.

Gtx,

--
Konrad M.Kokoszkiewicz
|mail: draco@atari.org                  |  Atari Falcon030 user   |
|http://www.obta.uw.edu.pl/~draco/      | Moderator gregis LATINE |
|http://draco.atari.org                 |       (loquentium)      |

** Ea natura multitudinis est,
** aut servit humiliter, aut superbe dominatur (Liv. XXIV,25)
*************************************************************
** U pospolstwa normalne jest, ze albo sluzy ono unizenie,
** albo bezczelnie sie panoszy.