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

Re: some more 110h4 clues...



Torsten Scherer wrote:
>  How many getties do you run? If I start only one, evertything is fine
> for me too.

If I start gem.sys, I don't run any getty at all. 
Either, I use init - getty (only one) - login - shell (as usual)
together with sockdev.xdd and nfs.xfs, or GEM without all that.
Starting GEM from a shell is unstable... maybe this
is because of my rather old version of GEM? (I don't know which
version it is, but gem.sys has 273903 Bytes...).
The system hangs after a few key presses in the Gemini-1.99-console,
but not in a TOSWIN-window.

I just remember something strange:
When I started gem.sys anew after applying the latest patches to MiNT,
I didn't deactivate sockdev.xdd and nfs.xfs. And that worked _with_
memory protection. Then I threw those two out, and MiNT crashed.
Can it be that after the two daemons have been started, the
problem is not there any more? But I'm not sure of all that,
I have to verify it when I have more time again :-(.
 

>  One possible explanation would be that p_vfork() attaches the parent's
>  basepage to the child and doesn't really copy it to something private and
>  leave the original attached to where it was. This way a subsequent p_exec()
>  would still have access to the basepage, but *not* if the parent has p_vforked
>  again in the meantime, attaching the basepage to the second child. Hmmm, I'm
>  quite uncertain about this, but maybe it can give another clue...

I think we're talking about different versions of MiNT (not surprising, though, with
all those patches...). AFAIK, MiNT does not use do_vfork() itself anywhere, 
not even in Pexec(), does it? (Maybe I missed something). Pexec() does all the
things that do_vfork does itself, so I think our both - different - problems
lie in Pexec().

Ciao,
Stephan

-- 
+------------------------------+-----------------------------+
|      Stephan Haslbeck	       |    Fachschaft Informatik    |
|       Agricolastr. 61	       |   Technische Universitaet   |
|      D-80686 Muenchen	       |      Muenchen, Bayern	     |
+------------------------------+-----------------------------+
|Motto: Es gibt keine Probleme,|
|        nur Loesungen.	       |
+------------------------------+