Re: [uml-user] get process CPU kernel time / user time

Massimiliano,
I am running 2.6.24 with a fairly generic kernel config and it works
fine for me. However, I am not using the SKAS patch on the host.
~ # time grep -r fred /var > /dev/null
Command terminated by signal 2
real 1m 6.91s
user 0m 0.17s
sys 0m 0.01s
--David.
-----Original Message-----
From: maxd <at> inwind.it [mailto:maxd <at> inwind.it]
Sent: Sunday, May 31, 2009 3:11 AM
To: user-mode-linux-user
Subject: [uml-user] get process CPU kernel time / user time
Hi guys,
is there a way to get kernel time and user time of a process running
inside user mode linux? I have noticed with the "time" command that the
kernel time is always 0. Moreover, with pidstat I get wierd values for
CPU % utilization (values larger than 100 %).
I am running a kernel 2.6.27-7, in skas mode.
Thanks a lot for any help you will be able to provide.
Cheers,
Massimiliano
------------------------------------------------------------------------

[uml-user] uml jail does not run when "auto-started"

Mark Lidd <mark <at> baretoes.net>
2009-06-08 00:33:53 GMT

I have been using UML for while with good results, but this lastest
issue has got me stumped. I put together a UML jail with a perl
wrapper. It starts running as root and calls compartment to do the
chroot, change user, and run the UML. It runs just fine from the
command line, but it does not run from a crontab or if I connect it to a
"button" or rc.local. I checked the environment but have been careful
not to use anything from the enviroment. The UML is basically fedore 9
(I think). the UML kernel is 2.6.26, gcc 4.3.0 20080428 redhat 4.3.0-8.
running in SKAS0. The host is 2.6.27.19-170.2.35.fc8 I fc10 also
exhibits the same startup issues.
The UML bootup messages stops at VFS: mounted root (ext2 filesystem)
readonly. The next message "Welcome to Fedora" never appears.
The UML process seems to hang using 98% cpu time (from top).
Some memory parameters are: virt 256, res 9532, SHR 9332, mem .3%.
A normal run (from the command line) is virt 256M, resm 43, shr 43, mem
1.2%. The script is suid and I do change to the root user (real & eff)
inside of the perl script.
I also tried running it from rc.local, but no luck.
Any ideas?
thanks,
Mark

what happen about that failed ?? maybe i was missing one step to finish setup OCFS2 in UML.

any one can give me advice and explain about failed to online OCFS2 cluster.

thanks.

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get

Re: [uml-user] uml jail does not run when "auto-started"

Jeff Dike <jdike <at> addtoit.com>
2009-06-08 03:41:12 GMT

On Sun, Jun 07, 2009 at 08:33:53PM -0400, Mark Lidd wrote:
> I have been using UML for while with good results, but this lastest
> issue has got me stumped. I put together a UML jail with a perl
> wrapper. It starts running as root and calls compartment to do the
> chroot, change user, and run the UML. It runs just fine from the
> command line, but it does not run from a crontab or if I connect it to a
> "button" or rc.local.
I bet it's confused about its stdin/stdout. Normal practice is to run it
inside a screen session.
Jeff
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get

[uml-user] Compiling user mode linux 2.6.30 in fedora 11

Gordon Russell <drgrussell <at> gmail.com>
2009-06-18 15:44:32 GMT

I notice that a few people on the web, plus myself, have found it
impossible to compile user mode linux with fedora 11.
It gets pretty near the end, before dying with:
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
/usr/bin/ld:arch/um/kernel/vmlinux.lds:1: ignoring invalid character
`#' in expression
/usr/bin/ld:arch/um/kernel/vmlinux.lds:1: syntax error
collect2: ld returned 1 exit status
vmlinux.lds has I believe a problem at the beginning, with lines like:
# 1 "arch/um/kernel/vmlinux.lds.S"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "./include/linux/autoconf.h" 1
# 1 "<command-line>" 2
# 1 "arch/um/kernel/vmlinux.lds.S"
I have tried a few crazy things without much success. gcc is 4.4, ld
is 2.19.51.0.2-17.fc11. It is a 32 bit architecture.
Any thoughts? Same config file seems to work with this kernel on
another of my machines which is still on fedora 10.
Thanks
Gordon.
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects