From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?VG9yYWxmIEbDtnJzdGVy?= Subject: Re: trinity 1.1-677-g7bbde28 just hangs after creating fd and sockets in a user mode linux Date: Fri, 30 Aug 2013 18:15:21 +0200 Message-ID: <5220C519.8080301@gmx.de> References: <5220C024.3070503@gmx.de> <20130830155759.GA24496@redhat.com> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <20130830155759.GA24496@redhat.com> Sender: trinity-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="utf-8" To: Dave Jones Cc: trinity@vger.kernel.org On 08/30/2013 05:57 PM, Dave Jones wrote: > On Fri, Aug 30, 2013 at 05:54:12PM +0200, Toralf F=C3=B6rster wrote: > > the last lines are : > >=20 > > fd[376] =3D domain:1 (PF_LOCAL) type:0x5 protocol:1 > > fd[377] =3D domain:2 (PF_INET) type:0x2 protocol:17 > > fd[378] =3D domain:10 (PF_INET6) type:0x1 protocol:0 > > fd[379] =3D domain:1 (PF_LOCAL) type:0x1 protocol:1 > > fd[380] =3D domain:2 (PF_INET) type:0x1 protocol:0 > > created 375 sockets > > fd[380] =3D domain:2 (PF_INET) type:0x1 protocol:0 > > created 375 sockets > > fd[5] =3D pipe > > fd[381] =3D pipe > > fd[382] =3D pipe > > fd[383] =3D pipe > >=20 > > thats' all, a > > $> ps axf | grep trinity | grep -v grep > >=20 > > just gives > >=20 > > $ ssh tfoerste@trinity "ps axf | grep trinity | grep -v grep" > > 1072 ? Ss 0:00 | \_ bash -c cd ~; sudo su -c 'i= f [[ -d ./t3 ]]; then chmod -R a+rwx ./t3; rm -rf ./t3; fi'; mkdir ./t3= ; cd ./t3; logger M=3D; if [[ -n "" ]]; then if [[ -d /victims/v1 ]]; t= hen 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; trinit= y -C 1 -N 10000 > > 1080 ? S 0:00 | \_ trinity -C 1 -N 10000 > > 1081 ? S 0:00 | \_ trinity -C 1 -N 100= 00 > > 1082 ? R 2:37 | \_ trinity -C 1 -N 100= 00 > >=20 > > $ ssh tfoerste@trinity "ls -l ~/t3/*log" > > -rw-r--r-- 1 tfoerste users 0 Aug 30 17:49 /home/tfoerste/t3/t= rinity-child0.log > > -rw-r--r-- 1 tfoerste users 19610 Aug 30 17:49 /home/tfoerste/t3/t= rinity.log > >=20 > >=20 > > Because I updated both trinity and the UML kernel I'm unsure were = to start >=20 > 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. >=20 > I'll add some error handling later today. >=20 > Dave > =20 >=20 Thx - in deed I do not have PERF in UML (enabled). --=20 MfG/Sincerely Toralf F=C3=B6rster pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3