Re: Porting highlights for the Month of the Hurd 2009-12

2009-12-28 Thread Emilio Pozuelo Monfort
Hi, Arne Babenhauserheide wrote: > Is there a port among the highlights you'd like to showcase? Many GNOME packages have been ported, resulting in the gnome-core metapackage being installable again. I haven't tested them yet though as I can't start X :) Cheers, Emilio

Re: [PATCH] Handle the root node of eth-multiplexer correctly.

2009-12-28 Thread olafBuddenhagen
Hi, > >From 9408aa4f1896a89d9d354d7a0e0f75cbf0d2fc0f Mon Sep 17 00:00:00 2001 > From: Sergiu Ivanov > Date: Tue, 4 Aug 2009 15:09:21 +0300 > Subject: [PATCH] Handle the root node of eth-multiplexer correctly. > > * eth-multiplexer/device_impl.c (ds_device_open): Check > for the device port being

Re: review of modifications of eth-multiplexer

2009-12-28 Thread olafBuddenhagen
Hi, On Sun, Dec 27, 2009 at 02:16:40PM +0800, Da Zheng wrote: > olafbuddenha...@gmx.net wrote: > > On Wed, Dec 23, 2009 at 06:32:41PM +0200, Sergiu Ivanov wrote: > >> On Wed, Dec 23, 2009 at 03:51:16PM +0100, olafbuddenha...@gmx.net > >> wrote: > >>> These are probably all related. It's all part

Re: hurd/trans/hello.c changes

2009-12-28 Thread olafBuddenhagen
Hi, On Wed, Dec 23, 2009 at 10:52:14PM +0530, Shakthi Kannan wrote: > 1. version.h is located in /usr/include/hurd/version.h, so hello.c > should include? > > === PATCH === > > -#include > +#include > > === END === I guess the hurd/ prefix is not necessary when building in-tree. As I alread

Re: Builds

2009-12-28 Thread olafBuddenhagen
Hi, On Wed, Dec 23, 2009 at 08:45:30PM +0100, Jakub Daniel wrote: > i should have asked whether there is an easy way how to make a new > disc image build myself (not to wait for L2, as i dont know how long > it would take to release L2). No, there is no *easy* way unfortunately. A couple of mont

translator stderr (was: hurd/trans/hello.c changes)

2009-12-28 Thread olafBuddenhagen
Hi, On Thu, Dec 24, 2009 at 12:32:53PM +0530, Shakthi Kannan wrote: > | Printing to a file is nothing fancy: the fprintf functions should | > suffice. > > I would appreciate if I could see a working example. When I use > fprintf(stdout, "message"); or fprintf(stderr, "error"); in a > translator,

cannot boot subhurd

2009-12-28 Thread Da Zheng
Hi, I tried to boot subhurd but no matter how I try it, it just fails to boot. My servers.boot is /hurd/ext2fs.static --bootflags=${boot-args} --host-priv-port=${host-port} --device-master-port=${device-port} --exec-server-task=${exec-task} -Tdevice ${root-device} $(task-create) $(task-resume) /li

Re: Months of the Hurd 2009-12

2009-12-28 Thread Arne Babenhauserheide
Am Montag, 28. Dezember 2009 13:34:06 schrieb Samuel Thibault: > Yes, just a small addition: > > "So from Xen 4.0 on you'll be able to run the GNU Hurd > > directly using pv-grub I added it. Thanks for checking the news! Best wishes, Arne signature.asc Description: This is a digitally sign

Porting highlights for the Month of the Hurd 2009-12

2009-12-28 Thread Arne Babenhauserheide
Am Montag, 28. Dezember 2009 12:20:37 schrieb Michael Banck: > There was lots of porting activity as well, mostly by Pino Toscano and > Emilio Pozuelo Monfort. Maybe asking them for some highlights of newly > fixed or ported packages would be worthwhile. That's a great idea! I forwarded this rep

Re: Months of the Hurd 2009-12

2009-12-28 Thread Samuel Thibault
Arne Babenhauserheide, le Mon 28 Dec 2009 13:22:54 +0100, a écrit : > Does it sound better this way? Yes, just a small addition: > "So from Xen 4.0 on you'll be able to run the GNU Hurd directly using pv-grub > without the need to [prepare a multiboot package] > (http://youpibouh.thefreecat.or

Re: SMP, barriers, etc.

2009-12-28 Thread Samuel Thibault
Da Zheng, le Mon 28 Dec 2009 20:08:56 +0800, a écrit : > On 09-12-28 下午7:28, Samuel Thibault wrote: > >>> It's not more expensive than usual operations: it already has to do it > >>> to process cache line invalidations for everything that is in the cache. > >> I don't understand. Do you mean proces

Re: Months of the Hurd 2009-12

2009-12-28 Thread Arne Babenhauserheide
Am Montag, 28. Dezember 2009 11:09:20 schrieb Samuel Thibault: > Arne Babenhauserheide, le Mon 28 Dec 2009 10:25:44 +0100, a écrit : > > > So from 4.0 on you'll be able to run the GNU Hurd in a default Xen > > > system. > > Note that one doesn't stricly need Xen 4.0, the > http://youpibouh.thefree

Re: Reauthentication implementation flaw due to EINTR

2009-12-28 Thread Samuel Thibault
Da Zheng, le Mon 28 Dec 2009 19:43:11 +0800, a écrit : > On 09-12-28 下午7:21, Samuel Thibault wrote: > > Da Zheng, le Mon 28 Dec 2009 19:03:26 +0800, a écrit : > >> Doesn't it mean the RPC on userauth (namely, auth_user_authenticate) > >> is to be canceled? > > > > No, here the auth_user_authentica

Re: SMP, barriers, etc.

2009-12-28 Thread Da Zheng
Hi, On 09-12-28 下午7:28, Samuel Thibault wrote: >>> It's not more expensive than usual operations: it already has to do it >>> to process cache line invalidations for everything that is in the cache. >> I don't understand. Do you mean processing cache line invalidation in local >> cache? > > Yes:

Re: Reauthentication implementation flaw due to EINTR

2009-12-28 Thread Da Zheng
On 09-12-28 下午7:21, Samuel Thibault wrote: > Da Zheng, le Mon 28 Dec 2009 19:03:26 +0800, a écrit : >> Doesn't it mean the RPC on userauth (namely, auth_user_authenticate) >> is to be canceled? > > No, here the auth_user_authenticate() RPC is over (else the initiator > wouldn't have destroyed the

Re: SMP, barriers, etc.

2009-12-28 Thread Samuel Thibault
Da Zheng, le Mon 28 Dec 2009 19:15:16 +0800, a écrit : > On 09-12-28 上午11:00, Samuel Thibault wrote: > > Da Zheng, le Mon 28 Dec 2009 10:31:26 +0800, a écrit : > >> On 09-12-27 下午6:38, Samuel Thibault wrote: > >>> Da Zheng, le Sun 27 Dec 2009 16:39:04 +0800, a écrit : > Is the process above co

Re: Reauthentication implementation flaw due to EINTR

2009-12-28 Thread Samuel Thibault
Da Zheng, le Mon 28 Dec 2009 19:03:26 +0800, a écrit : > Doesn't it mean the RPC on userauth (namely, auth_user_authenticate) > is to be canceled? No, here the auth_user_authenticate() RPC is over (else the initiator wouldn't have destroyed the rendezvous port). The RPC that could get canceled is

Re: Months of the Hurd 2009-12

2009-12-28 Thread Michael Banck
On Mon, Dec 28, 2009 at 10:25:44AM +0100, Arne Babenhauserheide wrote: > I prepared the news about this months. If something is missing (or wrong), > please tell me! There was lots of porting activity as well, mostly by Pino Toscano and Emilio Pozuelo Monfort. Maybe asking them for some highlig

Re: SMP, barriers, etc.

2009-12-28 Thread Da Zheng
On 09-12-28 上午11:00, Samuel Thibault wrote: > Da Zheng, le Mon 28 Dec 2009 10:31:26 +0800, a écrit : >> On 09-12-27 下午6:38, Samuel Thibault wrote: >>> Da Zheng, le Sun 27 Dec 2009 16:39:04 +0800, a écrit : Is the process above correct? >>> >>> I have never actually programmed the architectures

Re: Reauthentication implementation flaw due to EINTR

2009-12-28 Thread Da Zheng
On 09-12-28 下午6:14, Samuel Thibault wrote: > Da Zheng, le Mon 28 Dec 2009 17:59:55 +0800, a écrit : >> On 09-12-28 上午3:56, Carl Fredrik Hammar wrote: >>> >>> OK, I think I have a vague picture of what is going on: >>> ports_interrupt_self_on_port_death >>> ports_interrupt_self_on_notification >>> p

Re: Reauthentication implementation flaw due to EINTR

2009-12-28 Thread Samuel Thibault
Samuel Thibault, le Mon 28 Dec 2009 11:14:04 +0100, a écrit : > Da Zheng, le Mon 28 Dec 2009 17:59:55 +0800, a écrit : > > On 09-12-28 上午3:56, Carl Fredrik Hammar wrote: > > > > > > OK, I think I have a vague picture of what is going on: > > > ports_interrupt_self_on_port_death > > > ports_interru

Re: Reauthentication implementation flaw due to EINTR

2009-12-28 Thread Samuel Thibault
Da Zheng, le Mon 28 Dec 2009 17:58:26 +0800, a écrit : > Samuel, could you send me your fix? Here it is. Samuel diff --git a/auth/auth.c b/auth/auth.c index 2afeaf7..11db0f8 100644 --- a/auth/auth.c +++ b/auth/auth.c @@ -251,11 +251,22 @@ S_auth_makeauth (struct authhandle *auth, /* Transacti

Re: Reauthentication implementation flaw due to EINTR

2009-12-28 Thread Samuel Thibault
Da Zheng, le Mon 28 Dec 2009 17:59:55 +0800, a écrit : > On 09-12-28 上午3:56, Carl Fredrik Hammar wrote: > > > > OK, I think I have a vague picture of what is going on: > > ports_interrupt_self_on_port_death > > ports_interrupt_self_on_notification > > ports_interrupt_rpc_on_notification, > > which

Re: Reauthentication implementation flaw due to EINTR

2009-12-28 Thread Samuel Thibault
Da Zheng, le Mon 28 Dec 2009 17:58:47 +0800, a écrit : > On 09-12-27 上午1:47, Carl Fredrik Hammar wrote: > > Is it the code below from S_auth_server_authenticate the problem? > > > > /* Store the new port and wait for the user RPC to wake us up. */ > > s.passthrough = newport; > > condition_

Re: Months of the Hurd 2009-12

2009-12-28 Thread Samuel Thibault
Arne Babenhauserheide, le Mon 28 Dec 2009 10:25:44 +0100, a écrit : > > So from 4.0 on you'll be able to run the GNU Hurd in a default Xen > > system. Note that one doesn't stricly need Xen 4.0, the http://youpibouh.thefreecat.org/hurd

Re: Reauthentication implementation flaw due to EINTR

2009-12-28 Thread Da Zheng
Hi, On 09-12-28 上午3:56, Carl Fredrik Hammar wrote: > > OK, I think I have a vague picture of what is going on: > ports_interrupt_self_on_port_death > ports_interrupt_self_on_notification > ports_interrupt_rpc_on_notification, > which requests notification (to the same port as > auth_server_authen

Re: Reauthentication implementation flaw due to EINTR

2009-12-28 Thread Da Zheng
On 09-12-27 上午1:47, Carl Fredrik Hammar wrote: > > Is it the code below from S_auth_server_authenticate the problem? > > /* Store the new port and wait for the user RPC to wake us up. */ > s.passthrough = newport; > condition_init (&s.wakeup); > ports_interrupt_self_on_port_death (server

Re: Reauthentication implementation flaw due to EINTR

2009-12-28 Thread Da Zheng
Hi, On 09-12-22 上午3:43, Samuel Thibault wrote: > Hello, > > I had been noticing odd issues with sudo when it calls setresuid & > such, it took me some time to understand that there was a flaw in the > reauthentication implementation: > > sudo calls setresuid(), which calls setauth(), which (for

Months of the Hurd 2009-12

2009-12-28 Thread Arne Babenhauserheide
Hi, I prepared the news about this months. If something is missing (or wrong), please tell me! A month of the Hurd: *official Xen domU support*, *ddekit beginnings*, *FOSDEM 2010* and *SMP discussion*. > This month Samuel Thibault got the necessary Xen patches committed > into the unstable