All of lore.kernel.org
 help / color / mirror / Atom feed
* trinity 1.1-677-g7bbde28 just hangs after creating fd and sockets in a user mode linux
@ 2013-08-30 15:54 Toralf Förster
  2013-08-30 15:57 ` Dave Jones
  0 siblings, 1 reply; 3+ messages in thread
From: Toralf Förster @ 2013-08-30 15:54 UTC (permalink / raw)
  To: trinity

the last lines are :

fd[376] = domain:1 (PF_LOCAL) type:0x5 protocol:1
fd[377] = domain:2 (PF_INET) type:0x2 protocol:17
fd[378] = domain:10 (PF_INET6) type:0x1 protocol:0
fd[379] = domain:1 (PF_LOCAL) type:0x1 protocol:1
fd[380] = domain:2 (PF_INET) type:0x1 protocol:0
created 375 sockets
fd[380] = domain:2 (PF_INET) type:0x1 protocol:0
created 375 sockets
fd[5] = pipe
fd[381] = pipe
fd[382] = pipe
fd[383] = pipe

thats' all,  a
$> ps axf | grep trinity | grep -v grep

just gives

$ ssh tfoerste@trinity "ps axf | grep trinity | grep -v grep"
 1072 ?        Ss     0:00  |       \_ bash -c cd ~; sudo su -c 'if [[ -d ./t3 ]]; then chmod -R a+rwx ./t3; rm -rf ./t3; fi'; mkdir ./t3; cd ./t3; logger M=; if [[ -n "" ]]; then if [[ -d /victims/v1 ]]; then sudo chmod -R a+rwx /victims/v1; sudo rm -rf /victims/v1; fi; mkdir -p /victims/v1/v2; for i in $(seq -w 1 100); do touch /victims/v1/v2/f$i 2>/dev/null; mkdir /victims/v1/v2/d$i 2>/dev/null; done; fi;  trinity -C 1 -N 10000
 1080 ?        S      0:00  |           \_ trinity -C 1 -N 10000
 1081 ?        S      0:00  |               \_ trinity -C 1 -N 10000
 1082 ?        R      2:37  |               \_ trinity -C 1 -N 10000

$ ssh tfoerste@trinity "ls -l ~/t3/*log"
-rw-r--r-- 1 tfoerste users     0 Aug 30 17:49 /home/tfoerste/t3/trinity-child0.log
-rw-r--r-- 1 tfoerste users 19610 Aug 30 17:49 /home/tfoerste/t3/trinity.log


Because I updated both trinity and the UML kernel I'm unsure were to start
-- 
MfG/Sincerely
Toralf Förster
pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: trinity 1.1-677-g7bbde28 just hangs after creating fd and sockets in a user mode linux
  2013-08-30 15:54 trinity 1.1-677-g7bbde28 just hangs after creating fd and sockets in a user mode linux Toralf Förster
@ 2013-08-30 15:57 ` Dave Jones
  2013-08-30 16:15   ` Toralf Förster
  0 siblings, 1 reply; 3+ messages in thread
From: Dave Jones @ 2013-08-30 15:57 UTC (permalink / raw)
  To: Toralf Förster; +Cc: trinity

On Fri, Aug 30, 2013 at 05:54:12PM +0200, Toralf Förster wrote:
 > the last lines are :
 > 
 > fd[376] = domain:1 (PF_LOCAL) type:0x5 protocol:1
 > fd[377] = domain:2 (PF_INET) type:0x2 protocol:17
 > fd[378] = domain:10 (PF_INET6) type:0x1 protocol:0
 > fd[379] = domain:1 (PF_LOCAL) type:0x1 protocol:1
 > fd[380] = domain:2 (PF_INET) type:0x1 protocol:0
 > created 375 sockets
 > fd[380] = domain:2 (PF_INET) type:0x1 protocol:0
 > created 375 sockets
 > fd[5] = pipe
 > fd[381] = pipe
 > fd[382] = pipe
 > fd[383] = pipe
 > 
 > thats' all,  a
 > $> ps axf | grep trinity | grep -v grep
 > 
 > just gives
 > 
 > $ ssh tfoerste@trinity "ps axf | grep trinity | grep -v grep"
 >  1072 ?        Ss     0:00  |       \_ bash -c cd ~; sudo su -c 'if [[ -d ./t3 ]]; then chmod -R a+rwx ./t3; rm -rf ./t3; fi'; mkdir ./t3; cd ./t3; logger M=; if [[ -n "" ]]; then if [[ -d /victims/v1 ]]; then sudo chmod -R a+rwx /victims/v1; sudo rm -rf /victims/v1; fi; mkdir -p /victims/v1/v2; for i in $(seq -w 1 100); do touch /victims/v1/v2/f$i 2>/dev/null; mkdir /victims/v1/v2/d$i 2>/dev/null; done; fi;  trinity -C 1 -N 10000
 >  1080 ?        S      0:00  |           \_ trinity -C 1 -N 10000
 >  1081 ?        S      0:00  |               \_ trinity -C 1 -N 10000
 >  1082 ?        R      2:37  |               \_ trinity -C 1 -N 10000
 > 
 > $ ssh tfoerste@trinity "ls -l ~/t3/*log"
 > -rw-r--r-- 1 tfoerste users     0 Aug 30 17:49 /home/tfoerste/t3/trinity-child0.log
 > -rw-r--r-- 1 tfoerste users 19610 Aug 30 17:49 /home/tfoerste/t3/trinity.log
 > 
 > 
 > Because I updated both trinity and the UML kernel I'm unsure were to start

ah, I think I know what's up here. It's hanging just before it tries to create
some 'perf' fds. I bet that either you have that config'd off in your uml kernel,
or uml doesn't support perf.

I'll add some error handling later today.

	Dave
 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: trinity 1.1-677-g7bbde28 just hangs after creating fd and sockets in a user mode linux
  2013-08-30 15:57 ` Dave Jones
@ 2013-08-30 16:15   ` Toralf Förster
  0 siblings, 0 replies; 3+ messages in thread
From: Toralf Förster @ 2013-08-30 16:15 UTC (permalink / raw)
  To: Dave Jones; +Cc: trinity

On 08/30/2013 05:57 PM, Dave Jones wrote:
> On Fri, Aug 30, 2013 at 05:54:12PM +0200, Toralf Förster wrote:
>  > the last lines are :
>  > 
>  > fd[376] = domain:1 (PF_LOCAL) type:0x5 protocol:1
>  > fd[377] = domain:2 (PF_INET) type:0x2 protocol:17
>  > fd[378] = domain:10 (PF_INET6) type:0x1 protocol:0
>  > fd[379] = domain:1 (PF_LOCAL) type:0x1 protocol:1
>  > fd[380] = domain:2 (PF_INET) type:0x1 protocol:0
>  > created 375 sockets
>  > fd[380] = domain:2 (PF_INET) type:0x1 protocol:0
>  > created 375 sockets
>  > fd[5] = pipe
>  > fd[381] = pipe
>  > fd[382] = pipe
>  > fd[383] = pipe
>  > 
>  > thats' all,  a
>  > $> ps axf | grep trinity | grep -v grep
>  > 
>  > just gives
>  > 
>  > $ ssh tfoerste@trinity "ps axf | grep trinity | grep -v grep"
>  >  1072 ?        Ss     0:00  |       \_ bash -c cd ~; sudo su -c 'if [[ -d ./t3 ]]; then chmod -R a+rwx ./t3; rm -rf ./t3; fi'; mkdir ./t3; cd ./t3; logger M=; if [[ -n "" ]]; then if [[ -d /victims/v1 ]]; then sudo chmod -R a+rwx /victims/v1; sudo rm -rf /victims/v1; fi; mkdir -p /victims/v1/v2; for i in $(seq -w 1 100); do touch /victims/v1/v2/f$i 2>/dev/null; mkdir /victims/v1/v2/d$i 2>/dev/null; done; fi;  trinity -C 1 -N 10000
>  >  1080 ?        S      0:00  |           \_ trinity -C 1 -N 10000
>  >  1081 ?        S      0:00  |               \_ trinity -C 1 -N 10000
>  >  1082 ?        R      2:37  |               \_ trinity -C 1 -N 10000
>  > 
>  > $ ssh tfoerste@trinity "ls -l ~/t3/*log"
>  > -rw-r--r-- 1 tfoerste users     0 Aug 30 17:49 /home/tfoerste/t3/trinity-child0.log
>  > -rw-r--r-- 1 tfoerste users 19610 Aug 30 17:49 /home/tfoerste/t3/trinity.log
>  > 
>  > 
>  > Because I updated both trinity and the UML kernel I'm unsure were to start
> 
> ah, I think I know what's up here. It's hanging just before it tries to create
> some 'perf' fds. I bet that either you have that config'd off in your uml kernel,
> or uml doesn't support perf.
> 
> I'll add some error handling later today.
> 
> 	Dave
>  
> 
Thx - in deed I do not have PERF in UML (enabled).


-- 
MfG/Sincerely
Toralf Förster
pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-08-30 16:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-30 15:54 trinity 1.1-677-g7bbde28 just hangs after creating fd and sockets in a user mode linux Toralf Förster
2013-08-30 15:57 ` Dave Jones
2013-08-30 16:15   ` Toralf Förster

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.