Re: [uml-devel] Build error in arch/um/os-Linux/aio.c with today's 2.6.16-rc4 patch set

2006-02-21 Thread Jeff Dike
On Tue, Feb 21, 2006 at 01:53:20PM -0600, John Dykstra wrote: > It appears to me that the kernel tree will not build with the 2.6.16-rc4 > patch set I downloaded today, if HAVE_AIO_ABI is not defined. > > finish_aio_26() is referenced in arch/um/os-Linux/aio.c, but is not > defined. It looks li

[uml-devel] Re: [PATCH 0/6] UML little patches for 2.6.16

2006-02-21 Thread Jeff Dike
On Tue, Feb 21, 2006 at 06:15:35PM +0100, Paolo 'Blaisorblade' Giarrusso wrote: > I'm sending some little fixups for inclusion 2.6.16. I've held some other > fixes which need wider testing. Please merge now. Acked-by: Jeff Dike <[EMAIL PROTECTED]>

[uml-devel] Build error in arch/um/os-Linux/aio.c with today's 2.6.16-rc4 patch set

2006-02-21 Thread John Dykstra
Title: Build error in arch/um/os-Linux/aio.c with today's 2.6.16-rc4 patch set It appears to me that the kernel tree will not build with the 2.6.16-rc4 patch set I downloaded today, if HAVE_AIO_ABI is not defined.  finish_aio_26() is referenced in arch/um/os-Linux/aio.c, but is not defined.

Re: [uml-devel] "Configuring network interfaces...execvp of 'uml_net' failed - errno = 2" error msg

2006-02-21 Thread Matt Zimmerman
On Tue, Feb 21, 2006 at 05:51:08PM +0100, Stefano Melchior wrote: > The same with uml_switch, isn't it? uml_switch is more of a daemon, and those generally live in a bin directory. Again, see FHS for details. -- - mdz --- This SF.net email

[uml-devel] [PATCH 1/6] uml: correct error messages in COW driver

2006-02-21 Thread Paolo 'Blaisorblade' Giarrusso
Improve some error messages in the COW driver, and say V3, not V2, when talking about V3 format. Also resync with our userspace code utility a bit more. Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> --- arch/um/drivers/cow_sys.h |2 +- arch/um/drivers/cow_user.c | 21

[uml-devel] [PATCH 6/6] uml: tidying COW code

2006-02-21 Thread Paolo 'Blaisorblade' Giarrusso
Improve (especially for coherence) some prototypes, and return code of init_cow_file in error case - for a short write return -EINVAL, otherwise return the error we got! Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> --- arch/um/drivers/cow.h |2 +- arch/um/drivers/c

[uml-devel] [PATCH 0/6] UML little patches for 2.6.16

2006-02-21 Thread Paolo 'Blaisorblade' Giarrusso
I'm sending some little fixups for inclusion 2.6.16. I've held some other fixes which need wider testing. Please merge now. -- Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!". Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894) http://www.user-mode

[uml-devel] [PATCH 5/6] uml: better error reporting for read_output

2006-02-21 Thread Paolo 'Blaisorblade' Giarrusso
Do precise error handling: print precise error messages, distinguishing short reads and read errors. This functions fails frequently enough for me so I bothered doing this fix. Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> --- arch/um/drivers/net_user.c | 34 ++

[uml-devel] [PATCH 3/6] uml: fix ((unused)) attribute

2006-02-21 Thread Paolo 'Blaisorblade' Giarrusso
Use __attribute_used__ instead of __attribute__ ((unused)). This will help with GCC > 3.2. Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> --- arch/um/include/init.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/um/include/init.h b/arch/um/incl

[uml-devel] [PATCH 4/6] uml: os_connect_socket error path fixup

2006-02-21 Thread Paolo 'Blaisorblade' Giarrusso
Fix an fd leak and a return of -1 instead of -errno in the error path - this showed up in intensive testing of HPPFS, the os_connect_socket user. Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> --- arch/um/os-Linux/file.c | 19 ++- 1 files changed, 14 inserti

[uml-devel] [PATCH 2/6] uml: fix usage of kernel_errno in place of errno

2006-02-21 Thread Paolo 'Blaisorblade' Giarrusso
From: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> To avoid conflicts, in kernel files errno is expanded to kernel_errno, to distinguish it from glibc errno. In this case, the code wants to use the libc errno but the kernel one is used; in the other usage, we return errno in place of -errno

Re: [uml-devel] "Configuring network interfaces...execvp of 'uml_net' failed - errno = 2" error msg

2006-02-21 Thread Stefano Melchior
On Tue, Feb 21, 2006 at 08:14:50AM -0800, Matt Zimmerman wrote: Hi Matt, > On Tue, Feb 21, 2006 at 12:02:40PM +0100, Stefano Melchior wrote: > > Once discovered the issue and find the workaround [1], I am wondering why, > > if you moved uml_net from /usr/bin to /usr/lib/uml/, you left the other > >