Re: [uml-user] F_SETLK failed, file already locked by pid 0

2009-01-12 Thread David Moffatt
I don't know if this is the cause but look for a zombie process. I had something were A locked a file then forked B. A was "kill -9"'d but not B. Somehow the lock was still held. The fix was "killall A; killall B".I think what happed was A was a zombie waiting for B to die so it could ge

Re: [uml-user] Launching 25 UMLs

2009-02-27 Thread David Moffatt
Forgive the glib answer but, are you sure you don't just need to "apt-get install gcc" (or yum or rpm or whatever you install packages with)? --David. From: Jawad hussain [mailto:jawad.ss...@gmail.com] Sent: Friday, February 27, 2009 5:23 PM To: David Fr

[uml-user] Host files opened multiple times by UML

2009-03-04 Thread David Moffatt
n the host svdmoffattlnx:~$ lsof | grep /libalp_flightmodeui.so | wc 59 5319440 The only thing that I am doing odd is I don't use the SKAS patches. --Thanks for any ideas David Moffatt ---

Re: [uml-user] uml instance dhcp problem

2009-04-02 Thread David Moffatt
Another possible issue is network manager. When Ubuntu added network manager we had lots of issues with the software bridge. My user base put up a fit about removing network manager so I yanked out the bridge and went with NAT and port forwarding instead. To see if network manager is your pro

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

2009-06-01 Thread David Moffatt
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 real1m 6.91s user0m 0.17s sys 0m 0.01s --David. -Origi

Re: [uml-user] Mapping a physical serial port to UML

2009-10-30 Thread David Moffatt
Yes we use it. It is just a command line option to the kernel. I bolded the one I think you want. UML command line: /opt/alp-dev/bin/alp-linux ro mem=512M root=/dev/root rootflags=/scratchbox/users/david/targets/alp-x86-dbg-dev rootfstype=hostfs ssl0=tty:/dev/ttyS0 eth0=tuntap,tap0,,192.168.