[uml-devel] Real time Clock access from a Guest Kernel

2008-04-04 Thread Scott Hadley
Hi, I am trying to port a kernel module from a host machine to a guest kernel but am having some troubles with the real time clock. The kernel module uses the mc146818rtc.h driver to access the hardware clock from the CMOS. Unfortunately the mc146818rtc.h does not appear to be in the asm-um d

[uml-devel] Makefile patch

2008-04-04 Thread Ian Grant
From at least 2006 the Makefile in arch/um uses $(shell cd ...) but the cd command outputs to stdout if CDPATH is in effect and this causes the Makefile to break with *** missing separator. One fix is to suppress the stdout of the cd command. Another is to assign the result e.g.: JUNK := $(

[uml-devel] uml_utilities patch for fuse

2008-04-04 Thread Ian Grant
I needed this to build uml_utilities_20070815 with fuse 2.7.0 --- tools-20070815/umlfs/uml_mount.c.orig 2008-04-04 13:26:14.0 +0100 +++ tools-20070815/umlfs/uml_mount.c2008-04-04 13:26:33.0 +0100 @@ -1,3 +1,4 @@ +#define FUSE_USE_VERSION 25 #include #include #

Re: [uml-devel] [Patch] arch/um/os-Linux/main.c: Fix memory leaks.

2008-04-04 Thread Jeff Dike
On Tue, Apr 01, 2008 at 11:06:41PM +0800, WANG Cong wrote: > > This patch fixes possible memory leaks in the main() function of > arch/um/os-Linux/main.c. I'm somewhat dubious about this - the memory is freed immediately before exiting, making this patch have no practical effect.

[uml-devel] FW: cosmetic issue - segfault when uml kernel panics

2008-04-04 Thread devzero
sorry for crossposting, but this was meant for user-mode-linux-devel, not user-mode-linux-user hi there, i never gave much about this, and iirc, it has always been like this - but it just came to my mind, so i`d like to give a comment here. if you start uml just by executing ./linux, beside

[uml-devel] allyesconfig/allmodconfig broken for 2.6.25-rc8-git3

2008-04-04 Thread devzero
hi ! this maybe minor issue, but it seems that with 2.6.25-rc8-git3, allyesconfig and allmodconfig doesn`t build for ARCH=um regards roland # configuration written to .config # scripts/kconfig/conf -s arch/um/Kconfig SYMLINK arch/um/include/sysdep CHK arch/um/include/uml-config.h UPD

Re: [uml-devel] [Patch] arch/um/os-Linux/main.c: Fix memory leaks.

2008-04-04 Thread WANG Cong
From: Jeff Dike <[EMAIL PROTECTED]> Date: Fri, 4 Apr 2008 11:49:01 -0400 > On Tue, Apr 01, 2008 at 11:06:41PM +0800, WANG Cong wrote: > > > > This patch fixes possible memory leaks in the main() function of > > arch/um/os-Linux/main.c. > > I'm somewhat dubious about this - the memory is freed im