Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jan 1997 13:00:03 +0100 (MET)
From:      Luigi Rizzo <luigi@labinfo.iet.unipi.it>
To:        dg@root.com
Cc:        swallace@ece.uci.edu, current@FreeBSD.ORG
Subject:   Re: exec bug
Message-ID:  <199701261200.NAA27988@labinfo.iet.unipi.it>
In-Reply-To: <199701261239.EAA06801@root.com> from "David Greenman" at Jan 26, 97 04:38:52 am

next in thread | previous in thread | raw e-mail | index | archive | help
> >> >execve() maps the first page to memory and calls exec_aout_imgact()
> >> >which then accesses this page and fails.  The system then gets
> >> >a page fault while in kernel mode and dies.
> >
> >Given this description, would this also occur when trying to run
> >a program from an nfs-mounted partition which at some point becomes
> >unavailable ? If not (as I hope!) what is the difference ?
> 
>    In the case of NFS, the read should block indefinately. I'm not sure what
> will happen if the NFS is mounted "soft", however.

that would be a major problem then! Wouldn't it be possible to track
the exact reason of the fault inside the handler and avoid panicing ?
After all there are no performance problems at that point..

	Thanks
	Luigi
-----------------------------+--------------------------------------
Luigi Rizzo                  |  Dip. di Ingegneria dell'Informazione
email: luigi@iet.unipi.it    |  Universita' di Pisa
tel: +39-50-568533           |  via Diotisalvi 2, 56126 PISA (Italy)
fax: +39-50-568522           |  http://www.iet.unipi.it/~luigi/
_____________________________|______________________________________



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701261200.NAA27988>