[uml-devel] Which version to use

2006-08-07 Thread Alejandro Liu
Hi, What is a "current" version of UML to use as a guest? I am currently using the one that comes with the vanilla 2.6.17.6 kernel and trying to use hostfs as root and found a number of bugs. Of course I went ahead and fixed those bugs but I don't know if I should send the patches somewhere o

Re: [uml-devel] [PATCH 3/3] uml: clean our set_ether_mac

2006-08-07 Thread Jeff Dike
On Sun, Aug 06, 2006 at 05:47:05PM +0200, Paolo 'Blaisorblade' Giarrusso wrote: > From: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> > > Clean set_ether_mac usage. Maybe could also be removed, but surely it can't > be a > global function taking a void* argument. > > You may want to defer t

Re: [uml-devel] [PATCH 2/3] uml: fix proc-vs-interrupt context spinlock deadlock

2006-08-07 Thread Jeff Dike
On Sun, Aug 06, 2006 at 05:47:03PM +0200, Paolo 'Blaisorblade' Giarrusso wrote: > From: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> > > This spinlock can be taken on interrupt too, so spin_lock_irq[save] must be > used. > > However, Documentation/networking/netdevices.txt explains we are

Re: [uml-devel] [PATCH 1/3] uml: use -mcmodel=kernel for x86_64

2006-08-07 Thread Jeff Dike
On Sun, Aug 06, 2006 at 05:47:00PM +0200, Paolo 'Blaisorblade' Giarrusso wrote: > +_extra_flags_ = -fno-builtin -m64 -mcmodel=kernel What exactly does this do, and can you remember why you think it's needed? Jeff ---

Re: [uml-devel] [PATCH] [RFC] uml: make activate_fd atomic

2006-08-07 Thread Jeff Dike
On Sun, Aug 06, 2006 at 05:44:31PM +0200, Paolo 'Blaisorblade' Giarrusso wrote: > I had this patch in my queue since some time, because it fixes some spinlocks > vs > sleeps issues; please verify whether after your restructuring it is still > needed (it applied before this restructuring). I belie

[uml-devel] [PATCH] UML - Fix botched signal handling patch

2006-08-07 Thread Jeff Dike
I botched a previous patch which changed how UML handles signals. I left out a bit which sets the signal handler to be one provided by the architecture. This patch sets the handler correctly. Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> Index: linux-2.6.18-mm/arch/um/os-Linux/signal.c =