[uml-user] cannot bring up the serial line

2013-09-24 Thread Han
not working: S0:23:respawn:/sbin/agetty ttyS0 9600 vt100-nav Any advices? thanks Han -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for M

Re: [uml-user] tsc.c in UML

2013-08-27 Thread Han
On Tue, Aug 27, 2013 at 2:28 PM, Han wrote: > > > > On Tue, Aug 27, 2013 at 1:31 PM, Richard Weinberger wrote: > >> Hi! >> >> Am 27.08.2013 19:51, schrieb Han: >> > >> > On Sat, Aug 24, 2013 at 6:42 AM, richard -rw- weinberger < &

Re: [uml-user] tsc.c in UML

2013-08-27 Thread Han
On Tue, Aug 27, 2013 at 1:31 PM, Richard Weinberger wrote: > Hi! > > Am 27.08.2013 19:51, schrieb Han: > > > > On Sat, Aug 24, 2013 at 6:42 AM, richard -rw- weinberger < > richard.weinber...@gmail.com <mailto:richard.weinber...@gmail.com>> wrote: > > &g

Re: [uml-user] tsc.c in UML

2013-08-27 Thread Han
On Sat, Aug 24, 2013 at 6:42 AM, richard -rw- weinberger < richard.weinber...@gmail.com> wrote: > On Fri, Aug 23, 2013 at 8:35 PM, Han wrote: > > Hi, > > > > I am using Linux kernel 2.6.27 for building UML kernel. It seems like > > "arch/x86/kernel/tsc.c&qu

[uml-user] tsc.c in UML

2013-08-23 Thread Han
y(patch?) to include it in UML? I have not tried the same on the newer kernels yet as my target system uses 2.6.27 only so I prefer to stick with 2.6.27 if possible. thanks Han -- Introducing Performance Central, a new sit

Re: [uml-user] how to build programs for running in UML

2013-08-08 Thread Han
hough the fs are built for openvz I've used them for UML, LXC. > > HTH > Tony > On Aug 7, 2013 11:10 AM, "Han" wrote: > >> >> >> On Tue, Aug 6, 2013 at 7:51 PM, Michael Richardson wrote: >> >>> >>> Han wrote: >>> &g

Re: [uml-user] how to build programs for running in UML

2013-08-07 Thread Han
On Tue, Aug 6, 2013 at 7:51 PM, Michael Richardson wrote: > > Han wrote: > > I am trying to build and run some of my C programs in UML. One way > I tried is > > to build (i.e. compile) the program on the host, then run it in > UML. The > > problem

[uml-user] how to build programs for running in UML

2013-08-06 Thread Han
art of the rootfs, or some add-ons? Any pointers for that? (meantime, I am trying to load a rootfs that has gcc but had issues with that ) Thanks. Han -- Get 100% visibility into Java/.NET code with AppDynamics Lite! I

Re: [uml-user] self-built root filesystem failed to boot

2013-08-06 Thread Han
what changed. Will play around more. Han On Tue, Aug 6, 2013 at 12:35 PM, Stelios M. wrote: > Hello. > > You could try to loop mount the root fs and check if there is an init > there. You could also boot it with bash as init (init=/bin/bash) and check > things. > > Regards

[uml-user] self-built root filesystem failed to boot

2013-08-06 Thread Han
init option in the rootfs? please advise. thanks Han -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks

[uml-user] RTC (real time clock) support in UML

2013-08-01 Thread Han
Hi, I am using UML in kernel 2.6.27. In the uml kernel I've built, there is no "native_read_tsc" symbol. Does UML support RTC ? Is there a config option I need to enable? thanks in advance. Han

[uml-user] kernel panic when loading a module (klm)

2013-07-31 Thread Han
s memory at address 0xf7fd30f0 (gdb) bt #0 0x007a7821 in ?? () #1 0x0006 in ?? () #2 0x081f8960 in cpu0_irqstack () #3 0x in ?? () (gdb) What could be possible reason for proc_mkdir to cause kernel panic? thanks Han

Re: [uml-user] kmalloc returns NULL during module init

2013-03-21 Thread Han
On Wed, Mar 20, 2013 at 7:20 PM, Antoine Martin wrote: > On 03/21/2013 05:53 AM, Han wrote: >> Hi Richard, >> >> I hit other issues after moving to a recent kernel UML (i.e. cannot >> fully bring up the UML). Now I am back and trying to debug UML >> itself. Howe

Re: [uml-user] kmalloc returns NULL during module init

2013-03-20 Thread Han
inux/main.c:150 (gdb) On Fri, Mar 15, 2013 at 11:36 AM, Han wrote: > On Fri, Mar 15, 2013 at 11:11 AM, Han wrote: >> On Fri, Mar 15, 2013 at 10:50 AM, richard -rw- weinberger >> wrote: >>> On Fri, Mar 15, 2013 at 6:01 PM, Han wrote: >>>> I started UML with &q

Re: [uml-user] kmalloc returns NULL during module init

2013-03-15 Thread Han
On Fri, Mar 15, 2013 at 11:11 AM, Han wrote: > On Fri, Mar 15, 2013 at 10:50 AM, richard -rw- weinberger > wrote: >> On Fri, Mar 15, 2013 at 6:01 PM, Han wrote: >>> I started UML with "mem=128M", the module init only kmalloc 8 bytes: >>> >>> kma

Re: [uml-user] kmalloc returns NULL during module init

2013-03-15 Thread Han
On Fri, Mar 15, 2013 at 10:50 AM, richard -rw- weinberger wrote: > On Fri, Mar 15, 2013 at 6:01 PM, Han wrote: >> I started UML with "mem=128M", the module init only kmalloc 8 bytes: >> >> kmalloc(size, GFP_KERNEL); >> >> where "size" is 8.

Re: [uml-user] kmalloc returns NULL during module init

2013-03-15 Thread Han
On Fri, Mar 15, 2013 at 9:56 AM, richard -rw- weinberger wrote: > On Fri, Mar 15, 2013 at 5:38 PM, Han wrote: >> On Fri, Mar 15, 2013 at 1:35 AM, richard -rw- weinberger >> wrote: >>> On Fri, Mar 15, 2013 at 5:39 AM, Han wrote: >>>> Hi, >>>> &

Re: [uml-user] kmalloc returns NULL during module init

2013-03-15 Thread Han
On Fri, Mar 15, 2013 at 1:35 AM, richard -rw- weinberger wrote: > On Fri, Mar 15, 2013 at 5:39 AM, Han wrote: >> Hi, >> >> I am trying to build and to install a kernel module into UML. The UML >> kernel is built from linux 2.6.2, 32-bit i386. The rootfs is >>

[uml-user] kmalloc returns NULL during module init

2013-03-14 Thread Han
found the kmalloc() during module init returns NULL, and it was dereferenced later, hence the panic. my question is: is kmalloc() supported in UML (during kernel module init)? Is there anything special I need to do? thanks Han

Re: [uml-user] cannot use "hostfs" or "humfs"

2013-02-08 Thread Han
Never mind. I found the solution. I needed to rebuild the UML kernel to include the file systems support. thanks Han On Fri, Feb 8, 2013 at 1:59 PM, Han wrote: > Hi, > > I am using linux-2.6.24 UML in 32-bit x86. I booted up UML > successfully but was not able to mount using hos

[uml-user] cannot use "hostfs" or "humfs"

2013-02-08 Thread Han
ystem type 'humfs' The rootfs I used to boot up UML is: Debian-Squeeze-x86-root_fs. Any ideas why hostfs and humfs are "unknown"? thanks Han -- Free Next-Gen Firewall Hardware Offer Buy your Sophos ne

Re: [uml-user] cannot log in UML

2013-01-30 Thread Han
ng the root-fs, and also tried "root". Both have the same problem. I also tried to start UML under host gdb. But it would crash at the beginning. So i was not able to reach the login prompt. any tips about debugging such login issue? thanks. On Mon, Jan 28, 2013 at 10:36 PM, Han w

[uml-user] cannot log in UML

2013-01-28 Thread Han
ot-fs was created as: debootstrap --arch i386 breezy After created the root-fs, I chroot into it and did "adduser uml". But why the UML did not accept the user name "uml"? thanks Han -- Master Visual Studio,

[uml-user] how to build your own file system for UML

2013-01-25 Thread Han
m wondering how can I built a new FS for UML from scratch? Thanks Han -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with Lear

Re: [uml-user] How to build UML 32-bit on a 64-bit linux host?

2013-01-25 Thread Han
Thanks Matthias. It worked :-) Han On Thu, Jan 24, 2013 at 1:15 PM, Matthias Rieber wrote: > Hello, > > Am 24.01.2013 22:03, schrieb Han: >> Hi, >> >> I am trying to build UML (User Mode Linux) kernel in 32-bit on a >> 64-bit linux host. How can I do that? >

[uml-user] How to build UML 32-bit on a 64-bit linux host?

2013-01-24 Thread Han
.6.27. Thanks. Han -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Micr