Re: [uml-devel] [PATCH] [UML] fix mknod

2007-01-23 Thread Blaisorblade
On Monday 22 January 2007 21:13, Johannes Stezenbach wrote: Hi, I was playing with user-mode Linux and found that mknod creates devices node in hostfs with wrong major/minor numbers. The patch below fixes it for me. Johannes Hmpf. Still having this bug on hostfs is quite bad. Thanks for

Re: [uml-devel] Something wrong with booting the UML in new kernel

2007-01-23 Thread Blaisorblade
On Sunday 21 January 2007 03:34, An Ching wrote: Hi, I had recompiled my host kernel with setting the EXT2_FS_SECURITY and EXT3_FS_SECURITY in filesystem configuration. My UML is OK before doing this, but now I can not boot the UML in the new-recompiled kernel. It just went to the step...

Re: [uml-devel] ED_manneris

2007-01-23 Thread Alma Breen
Good day, CIA_ALIS $3, 00 VIA_AGRA $1, 80 LEV_VITRA $3, 35 http://www.printeryml*com ( Important! Replace * with . ) -- No ones tried to attack me so far, except a dragon and a couple of grindylows, Harry said, but Sirius scowled at him. I dont care... Ill breathe freely again when this

Re: [uml-devel] buggy UML AMD64?

2007-01-23 Thread Boaz Harrosh
Antoine Martin wrote: for me I just do #gdb um/vmlinux (was compiled with -O um) gdbrun ubd0=/var/opt/FedoraCore5-AMD64-root_fs eth0=tuntap,,,192.168.0.117 after first trap in gdb gdbhandle SIGUSR1 pass nostop noprint from than on its strait gdb, tell me if you need a script for loading

Re: [uml-devel] [PATCH] [UML] fix mknod

2007-01-23 Thread Johannes Stezenbach
On Tue, Jan 23, 2007 at 09:02:30AM +0100, Blaisorblade wrote: On Monday 22 January 2007 21:13, Johannes Stezenbach wrote: I was playing with user-mode Linux and found that mknod creates devices node in hostfs with wrong major/minor numbers. The patch below fixes it for me. Hmpf. Still

[uml-devel] [PATCH 1/7] UML - Add per-device queues and locks to ubd driver

2007-01-23 Thread Jeff Dike
Replace global queue and lock with per-device queues and locks. Mostly a straightforward replacement of ubd_io_lock with dev-lock and ubd_queue with dev-queue. Complications - There was no way to get a request struct (and queue) from the structure sent to the io_thread, so a pointer to

[uml-devel] [PATCH 2/7] UML - locking fixes in the ubd driver

2007-01-23 Thread Jeff Dike
Some small locking and formatting fixes in the ubd driver. Signed-off-by: Jeff Dike [EMAIL PROTECTED] -- arch/um/drivers/ubd_kern.c | 35 +++ 1 file changed, 15 insertions(+), 20 deletions(-) Index: linux-2.6.18-mm/arch/um/drivers/ubd_kern.c

[uml-devel] [PATCH 3/7] UML - locking comments in memory and tempfile code

2007-01-23 Thread Jeff Dike
Locking comments and emacs comment removal in the low-level memory and temp file code. Signed-off-by: Jeff Dike [EMAIL PROTECTED] -- arch/um/include/tempfile.h | 10 -- arch/um/kernel/mem.c |3 ++- arch/um/os-Linux/mem.c |7 +++ 3 files changed, 9 insertions(+),

[uml-devel] [PATCH 5/7] UML - style fixes in startup code

2007-01-23 Thread Jeff Dike
Some style fixes in startup.c. Signed-off-by: Jeff Dike [EMAIL PROTECTED] -- arch/um/os-Linux/start_up.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) Index: linux-2.6.18-mm/arch/um/os-Linux/start_up.c ===

[uml-devel] [PATCH 7/7] UML - fix style violations

2007-01-23 Thread Jeff Dike
Fix a bunch of style violations in mem.c. Signed-off-by: Jeff Dike [EMAIL PROTECTED] -- arch/um/os-Linux/mem.c |9 + 1 file changed, 5 insertions(+), 4 deletions(-) Index: linux-2.6.18-mm/arch/um/os-Linux/mem.c === ---

[uml-devel] [PATCH 6/7] UML - libc-dependent code should call libc directly

2007-01-23 Thread Jeff Dike
We shouldn't be using the os wrappers from os code - we can use libc directly. This patch replaces wrapper calls with libc calls. It turns out that os_sigio_async had only one caller, which was in startup.c, so that function is moved there and its name changed. Signed-off-by: Jeff Dike [EMAIL

[uml-devel] [PATCH 4/7] UML - locking comments in startup code

2007-01-23 Thread Jeff Dike
Add a couple of comments about some non-locked data. Signed-off-by: Jeff Dike [EMAIL PROTECTED] -- arch/um/os-Linux/start_up.c |2 ++ 1 file changed, 2 insertions(+) Index: linux-2.6.18-mm/arch/um/os-Linux/start_up.c === ---

Re: [uml-devel] [PATCH] [UML] fix mknod

2007-01-23 Thread Blaisorblade
On Tuesday 23 January 2007 14:17, Johannes Stezenbach wrote: On Tue, Jan 23, 2007 at 09:02:30AM +0100, Blaisorblade wrote: On Monday 22 January 2007 21:13, Johannes Stezenbach wrote: I was playing with user-mode Linux and found that mknod creates devices node in hostfs with wrong