Okay, so I've found a way around the invalid exe symlink.
I don't need that anymore.
The next challenge is concurrency in UML.
I wrote a simple program that launches 10 pthreads,
Each of which makes some system calls in an infinite loop.
I notice that even though there are 10 threads in my dummy
I mean, there is only ONE thread in UML that intercepts
The system calls and services them.
Can we have more such threads in the kernel ?
-Original Message-
From: Nalli, Sanketh
Sent: Monday, June 02, 2014 6:29 PM
To: user-mode-linux-user@lists.sourceforge.net; 'Richard Weinberger'
Cc: Vo
Here is some bootlog from 3.9
Core dump limits :
soft - 0
hard - NONE
Checking that ptrace can change system call numbers...OK
Checking syscall emulation patch for ptrace...OK
Checking advanced syscall emulation patch for ptrace...OK
Checking for tmpfs mount on /dev/shm...nothing mo
Oh wait, sorry its not.
-Original Message-
From: Nalli, Sanketh
Sent: Monday, June 02, 2014 1:50 PM
To: 'Richard Weinberger'
Cc: user-mode-linux-user@lists.sourceforge.net
Subject: RE: [uml-user] invalid /proc/PID/exe in UML processes
OK Checking for new_mm and switch_mm support in the
OK Checking for new_mm and switch_mm support in the host:
> /proc/self/mm ... Failed -
> No such file or directory
> Checking for the skas3 patch in the host:
> - /proc/mm...not found: No such file or directory
> - PTRACE_FAULTINFO...not found
> - PTRACE_LDT...not found
> UML running
Am 02.06.2014 22:42, schrieb Nalli, Sanketh:
> Nope, but here is some bootlog
Hmm, I have no idea so far.
Applications running under valgrind or other debuggers suffered from the issue
that /proc/pid/exe is empty.
> The host does not have skas3 patch
> Do you think that is the problem ?
Nope. S
Nope, but here is some bootlog
The host does not have skas3 patch
Do you think that is the problem ?
Which host shd I use that already has this patch
(I mean I cud patch the host myself but if there is one
Already present, that is good !)
Core dump limits :
soft - 0
hard - NONE
Che
Are you running UML under a debugger?
Thanks,
//richard
Am 02.06.2014 22:16, schrieb Nalli, Sanketh:
> -r--r--r-- 1 nalli nalli 0 Jun 2 13:07 wchan
> nalli@haris-crashnburn:/proc/4755$ ls -la
> ls: cannot read symbolic link exe: No such file or directory
> total 0
> dr-xr-xr-x 9 nalli nalli 0
-r--r--r-- 1 nalli nalli 0 Jun 2 13:07 wchan
nalli@haris-crashnburn:/proc/4755$ ls -la
ls: cannot read symbolic link exe: No such file or directory
total 0
dr-xr-xr-x 9 nalli nalli 0 Jun 2 13:07 .
dr-xr-xr-x 346 root root 0 May 23 10:18 ..
dr-xr-xr-x 2 nalli nalli 0 Jun 2 13:07 attr
-rw-r-
Am 02.06.2014 22:11, schrieb Nalli, Sanketh:
> Nothing..just lists all the contents including the hidden
> Ones in a long listing fashion.
Please show it verbatim.
Thanks,
//richard
> -Original Message-
> From: Richard Weinberger [mailto:rich...@nod.at]
> Sent: Monday, June 02, 2014 12:
Nothing..just lists all the contents including the hidden
Ones in a long listing fashion.
-Original Message-
From: Richard Weinberger [mailto:rich...@nod.at]
Sent: Monday, June 02, 2014 12:20 PM
To: Nalli, Sanketh
Cc: user-mode-linux-user@lists.sourceforge.net
Subject: Re: [uml-user] inva
nalli@haris-crashnburn:~$ cd /proc/6188
nalli@haris-crashnburn:/proc/6188$ ls -l exe
ls: cannot read symbolic link exe: No such file or directory
lrwxrwxrwx 1 nalli nalli 0 May 30 07:45 exe
nalli@haris-crashnburn:/proc/6188$ killall linux
-Original Message-
From: Nalli, Sanketh
Sent: Mond
Am 02.06.2014 21:16, schrieb Nalli, Sanketh:
> nalli@haris-crashnburn:~$ cd /proc/6188
> nalli@haris-crashnburn:/proc/6188$ ls -l exe
What does "ls -la /proc/6188" show?
Thanks,
//richard
--
Learn Graph Databases - Dow
Also,
This is how I compile and run :
make defconfig ARCH=um
make menuconfig ARCH=um ( set the CONFIG_X86_64 = y)
make -j 24 ARCH=um
./linux rootfstype=hostfs rw mem=1G init=/bin/bash
-Original Message-
From: Richard Weinberger [mailto:rich...@nod.at]
Sent: Monday, June 02, 2014 12:06
The host kernel is linux 3.5
And for guest I've tried
Linux 3.9, 3.4 and 3.5.
The distro is RHEL6 and Ubuntu 12.04
-Original Message-
From: Richard Weinberger [mailto:rich...@nod.at]
Sent: Monday, June 02, 2014 12:06 PM
To: Nalli, Sanketh
Cc: enjoy mindful; user-mode-linux-user@lists.sour
-Original Message-
From: Nalli, Sanketh
Sent: Monday, June 02, 2014 11:54 AM
To: Richard Weinberger
Cc: user-mode-linux-user@lists.sourceforge.net
Subject: Re: [uml-user] invalid /proc/PID/exe in UML processes
And that symlink is crucial to the workload I am trying to run !
-Or
Am 02.06.2014 20:53, schrieb Nalli, Sanketh:
>>> And why does the /proc/PID/exe NOT point to anything in
>>>
>>> The host ? (PID is the pid of a dummy program running in UML)
>
>> Host PID != Guest PID
>
> Yes I know that.
> That’s not what I meant.
>
> What I am trying to say is this :
> 1. Wh
And that symlink is crucial to the workload I am trying to run !
-Original Message-
From: Nalli, Sanketh
Sent: Monday, June 02, 2014 11:53 AM
To: 'Richard Weinberger'
Cc: enjoy mindful; user-mode-linux-user@lists.sourceforge.net
Subject: RE: [uml-user] invalid /proc/PID/exe in UML pro
>>And why does the /proc/PID/exe NOT point to anything in
>>
>> The host ? (PID is the pid of a dummy program running in UML)
>Host PID != Guest PID
Yes I know that.
That’s not what I meant.
What I am trying to say is this :
1. When you run a program in side UML it shows up on HOST
as "linux" i
On Mon, Jun 2, 2014 at 7:55 PM, Nalli, Sanketh wrote:
> Thanks a lot.
>
> Do you know why my /proc is empty in the guest
Did you mount procfs?
> And why does the /proc/PID/exe NOT point to anything in
>
> The host ? (PID is the pid of a dummy program running in UML)
Host PID != Guest PID
>
>
>
Thanks a lot.
Do you know why my /proc is empty in the guest
And why does the /proc/PID/exe NOT point to anything in
The host ? (PID is the pid of a dummy program running in UML)
From: enjoy mindful [mailto:enjoymind...@gmail.com]
Sent: Friday, May 30, 2014 12:06 AM
To: Nalli, Sanketh
Cc: user-mod
21 matches
Mail list logo