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: Monday, June 02, 2014 12:12 PM
To: Richard Weinberger
Cc: user-mode-linux-user@lists.sourceforge.net
Subject: Re: [uml-user] invalid /proc/PID/exe in UML processes

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 PM
To: Nalli, Sanketh
Cc: enjoy mindful; user-mode-linux-user@lists.sourceforge.net
Subject: Re: [uml-user] invalid /proc/PID/exe in UML processes

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.  When you run a program in side UML it shows up on HOST as "linux" 
> in the ps -e listing
> 
> 2. the "exe" symlink of that "linux" process in the /proc of the HOST 
> Is EMPTY !!!

Not here:
rw@sandpuppy:~> for i in `pidof linux` ; do ls -l /proc/$i/exe ; done 
lrwxrwxrwx 1 rw users 0  2. Jun 21:05 /proc/31270/exe -> /home/rw/linux/linux 
lrwxrwxrwx 1 rw users 0  2. Jun 21:05 /proc/31269/exe -> /home/rw/linux/linux 
lrwxrwxrwx 1 rw users 0  2. Jun 21:05 /proc/31266/exe -> /home/rw/linux/linux 
lrwxrwxrwx 1 rw users 0  2. Jun 21:05 /proc/31250/exe -> /home/rw/linux/linux 
lrwxrwxrwx 1 rw users 0  2. Jun 21:05 /proc/31248/exe -> /home/rw/linux/linux 
lrwxrwxrwx 1 rw users 0  2. Jun 21:05 /proc/31245/exe -> /home/rw/linux/linux 
lrwxrwxrwx 1 rw users 0  2. Jun 21:05 /proc/31244/exe -> /home/rw/linux/linux 
lrwxrwxrwx 1 rw users 0  2. Jun 21:05 /proc/31243/exe -> /home/rw/linux/linux 
lrwxrwxrwx 1 rw users 0  2. Jun 21:05 /proc/31237/exe -> /home/rw/linux/linux 
lrwxrwxrwx 1 rw users 0  2. Jun 21:05 /proc/30784/exe -> /home/rw/linux/linux 
lrwxrwxrwx 1 rw users 0  2. Jun 21:05 /proc/30783/exe -> /home/rw/linux/linux 
lrwxrwxrwx 1 rw users 0  2. Jun 21:05 /proc/30759/exe -> /home/rw/linux/linux 
lrwxrwxrwx 1 rw users 0  2. Jun 21:05 /proc/30686/exe -> /home/rw/linux/linux 
lrwxrwxrwx 1 rw users 0  2. Jun 21:05 /proc/30685/exe -> /home/rw/linux/linux 
lrwxrwxrwx 1 rw users 0  2. Jun 21:05 /proc/30684/exe -> /home/rw/linux/linux 
lrwxrwxrwx 1 rw users 0  2. Jun 21:05 /proc/30683/exe -> /home/rw/linux/linux 
lrwxrwxrwx 1 rw users 0  2. Jun 21:05 /proc/30676/exe -> /home/rw/linux/linux

What host kernel are you using?

Thanks,
//richard
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the 
definitive new guide to graph databases and their applications. Written by 
three acclaimed leaders in the field, this first edition is now available. 
Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to