Re: [uml-user] do i have to recompile my module in UML

2008-05-09 Thread K D
Here is my .config with which I built UML... Appreciate your help.. thanks [EMAIL PROTECTED] linux-2.6.24]# pwd /oldext/downloads/uml-krnl/linux-2.6.24 [EMAIL PROTECTED] linux-2.6.24]# ls -l .config -rw-r--r-- 1 root root 13760 May 9 18:08 .config [EMAIL PROTECTED] linux-2.6.24]# ls -l linux -r

Re: [uml-user] do i have to recompile my module in UML

2008-05-09 Thread K D
When I compile my module with UML kernel source tree I get these errors. I must be doing something silly: [EMAIL PROTECTED] rdp]# make -C /oldext/downloads/uml-krnl/linux-2.6.24 M=`pwd` modules make: Entering directory `/oldext/downloads/uml-krnl/linux-2.6.24' CC [M] /oldext/rdp/hello.o In fi

Re: [uml-user] module compilation in uml

2008-05-09 Thread vincent-perrier
Hello, I suppose so, I built the linux-2.6.25.1 with ARCH=um and put the whole tree in /usr/src/linux-2.6.25.1 of my root_fs and the modules in /lib/modules/2.6.25.1. Then I try to compile inside my working uml machine. Note: you can download my linux and root_fs at clownix.net the plug-and-

Re: [uml-user] date modif in host freezes all my umls

2008-05-09 Thread Jeff Dike
On Fri, May 09, 2008 at 04:15:52PM +0200, vincent-perrier wrote: > When I do: > "date", then I wait a few seconds, then "date --set" with the > value I had in the first date, then the UML machine > takes 100% of cpu. > This occured 5 times out of 5 tries with a 2.6.25.1 kernel uml > and 2.6.22.15 h

Re: [uml-user] do i have to recompile my module in UML

2008-05-09 Thread Jeff Dike
On Wed, May 07, 2008 at 11:57:22PM -0700, K D wrote: > Coming to my problem. I'm developing a kernel module and I hate to > reboot my host OS everytime there is any issue in module. I'm hoping > UML would help me here. When I load my module in host OS, it > loads/unloads without any issue. However

Re: [uml-user] module compilation in uml

2008-05-09 Thread Jeff Dike
On Sat, May 03, 2008 at 10:03:36PM +0200, vincent-perrier wrote: > Hello, > I want to compile a module with ARCH=um, I get some errors, > it may come from me as usual, but just in case, here are the errors: > > arch/um/include/sysdep/ptrace.h:9:24: error: uml-config.h: No such file > or directory

Re: [uml-user] PowerPC

2008-05-09 Thread Jeff Dike
On Sat, May 03, 2008 at 08:02:55PM +0200, Martin Kuhn wrote: > is the PowerPC Architecture supported by user-mode-linux? (I want to run > uml on a mac mini G4) Nope, it's i386 and x86_64 only at this point. Jeff -- Work email - jdike at linux dot intel dot com

Re: [uml-user] Evaluation of chained puzzle protocol with UML

2008-05-09 Thread Jeff Dike
On Sat, May 03, 2008 at 11:42:04AM +0200, Rezarta Jaupi wrote: > Could anyone help me to examine the network traffic and the network > throughput of IP layer (chained) puzzle protocol with User mode Linux? I > want to create 2 scenario in Linux 2.6.12 one with 2 hosts and other with > 5 hosts, but

Re: [uml-user] remove duplicated include

2008-05-09 Thread Jeff Dike
On Thu, May 08, 2008 at 09:42:33PM +0800, Huang Weiyi wrote: > Removed duplicated include file "kern_util.h" in > arch/um/drivers/ubd_kern.c. Looks good, thanks. Jeff -- Work email - jdike at linux dot intel dot com -

Re: [uml-user] date modif in host freezes all my umls

2008-05-09 Thread vincent-perrier
If I put the conditionnal break in update_wall_time, file kernel/time/timekeeping.c, I get: [SINGLE> [SINGLE> dmesg -c update_wall_time update_wall_time update_wall_time update_wall_time update_wall_time [SINGLE> and my uml machine apparently works again. The conditionnal break follows:

[uml-user] date modif in host freezes all my umls

2008-05-09 Thread vincent-perrier
Hello, When I do: "date", then I wait a few seconds, then "date --set" with the value I had in the first date, then the UML machine takes 100% of cpu. This occured 5 times out of 5 tries with a 2.6.25.1 kernel uml and 2.6.22.15 host. Regards ---