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

[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 === --- l

[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 P

[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 0/7] UML - more locking and formatting fixes

2007-01-23 Thread Jeff Dike
As usual, these are post-2.6.20 material. Jeff - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT

[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 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 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 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

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) >> gdb>run ubd0=/var/opt/FedoraCore5-AMD64-root_fs eth0=tuntap,,,192.168.0.117 >> after first trap in gdb >> gdb>handle SIGUSR1 pass nostop noprint >> from than on its strait gdb, tell me if you need a script for

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 t

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. > > Hm

Re: [uml-devel] UML/64bit is miscompiled by gcc 4.0.3 on Ubuntu 6.06 LTS

2007-01-23 Thread Blaisorblade
On Monday 22 January 2007 21:59, Jeff Dike wrote: > On Sat, Jan 20, 2007 at 12:18:30AM +0100, Blaisorblade wrote: > > Ok, I hope I remembered correctly how to debug such faults (I'm posting > > the full procedure so you can give a look) > > Correct. > > > 0x619a592f: mov%edx,%fs:(%r

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

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.