Re: The problems for the rootless subhurd

2009-06-16 Thread olafBuddenhagen
Hi, On Tue, Jun 09, 2009 at 02:25:53PM +0800, Da Zheng wrote: > As I mentioned before, the subhurd sometimes hangs. I think I have > found one of the places where subhurd hangs. [...] > One place where subhurd hangs is when the exec server calls vm_map at > some point. The proxy fails to forward

Re: The problems for the rootless subhurd

2009-06-08 Thread Da Zheng
olafbuddenha...@gmx.net wrote: In order to track all tasks in subhurd, boot works as a proxy for all RPCs on the task port, [...] However, it seems to be the source of the most serious bug in my modified boot. BUG: After I added the proxy for all RPCs to 'boot', I find that subhurd

Re: The problems for the rootless subhurd

2009-05-16 Thread olafBuddenhagen
Hi, On Mon, Apr 27, 2009 at 10:52:27AM +0100, Zheng Da wrote: > But I wonder how you trace the source of these RPCs. > >From the logging of 'boot', I can know what are the target tasks but > >I > cannot tell where are the RPCs from, because a task can send the RPC > on the behalf of another task.

Re: The problems for the rootless subhurd

2009-04-27 Thread Zheng Da
Hi, On Sun, Apr 26, 2009 at 11:04 PM, wrote: > Hi, > > On Sun, Apr 26, 2009 at 10:01:56PM +0100, Da Zheng wrote: > > > I logged all RPCs and tried to analyze them. (antrik, I was wrong. > > There aren't 100, 000 RPCs. The number of RPCs to the Mach during the > > subhurd booting is about 20,00

Re: The problems for the rootless subhurd

2009-04-26 Thread olafBuddenhagen
Hi, On Sun, Apr 26, 2009 at 10:01:56PM +0100, Da Zheng wrote: > I logged all RPCs and tried to analyze them. (antrik, I was wrong. > There aren't 100, 000 RPCs. The number of RPCs to the Mach during the > subhurd booting is about 20,000 - 60,000). I found something > abnormal, but I am not sure

Re: The problems for the rootless subhurd

2009-04-26 Thread Da Zheng
olafbuddenha...@gmx.net wrote: However, it seems to be the source of the most serious bug in my modified boot. BUG: After I added the proxy for all RPCs to 'boot', I find that subhurd sometimes failed to boot. For example, it sometimes stops booting after the system displays "GNU 0.3 (hurd) (

Re: The problems for the rootless subhurd

2009-04-23 Thread olafBuddenhagen
Hi, On Tue, Apr 21, 2009 at 12:28:13AM +0100, Da Zheng wrote: > First, I don't know how to handle vm_wire() and thread_wire(). Since > the boot doesn't have the real privileged host port, there seems to > be no way to handle them. Currently, I don't implement them and just > let them return EO

The problems for the rootless subhurd

2009-04-20 Thread Da Zheng
Hi, I am developing the subhurd and try to remove its limitation that only the root can use it. The main task is to make boot works without the master device port and the privileged host port. The original boot implementation creates a pseudo master device port for subhurd and works as a pro