Port-amd64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Linux emulation problem



On Jun 28, 10:43pm, harenberg%physik.uni-wuppertal.de@localhost (Torsten 
Harenberg) wrote:
-- Subject: Re: Linux emulation problem

| Hi Christos,
| 
| Am 28.06.2011 um 20:06 schrieb Christos Zoulas:
| 
| > @@ -309,6 +309,8 @@
| >        SCARG(&bsa, domain) =3D linux_to_bsd_domain(SCARG(uap, =
| domain));
| >        if (SCARG(&bsa, domain) =3D=3D -1)
| >                return EINVAL;
| > +       if (SCARG(&bsa, domain) =3D=3D AF_ROUTE && SCARG(&bsa, type) =
| =3D=3D SOCK_RAW)
| > +               return EOPNOTSUP;
| 
|                  return EOPNOTSUPP;
| 
| >        flags =3D SCARG(uap, type) & ~LINUX_SOCK_TYPE_MASK;
| >        if (flags & ~(LINUX_SOCK_CLOEXEC | LINUX_SOCK_NONBLOCK))
| >                return EINVAL;
| 
| 
| of course I can try :)
| 
| Now we have:
| 
| mail# ktrace ./nsrexecd                        =20
| linux_probe: returning 0
| family 1, len =3D 110 [ 2f 76 61 72 2f 72 75 6e 2f 6e 73 63 64 2f=20
| family 1, len =3D 110 [ 2f 76 61 72 2f 72 75 6e 2f 6e 73 63 64 2f=20
| family 2, len =3D 16 [ 00 35 84 c3 f9 0d 00 00 00 00 00 00 00 00=20
| family 2, len =3D 16 [ 00 35 84 c3 f9 0d 00 00 00 00 00 00 00 00=20
| family 2, len =3D 16 [ 00 35 84 c3 f9 0d 00 00 00 00 00 00 00 00
| 
| kdump output is at
| 
| http://www.atlas.uni-wuppertal.de/~harenber/suse100_patched_dump
| 
| Thanks again for all your help!

Ok, now it exits after the socket, without core-dumping but it ran clone
and the child dumped. Can you ktrace -i?

christos

  1134   1134 nsrexecd CALL  clone(0x1200011,0,0,0x7f7ff7ff7770,0x46e)
  1134   1134 nsrexecd RET   clone 1405/0x57d
  1134   1134 nsrexecd CALL  rt_sigaction(SIGTERM,0x7f7fffffc1b0,0,8)
  1134   1134 nsrexecd RET   rt_sigaction 0
  1134   1134 nsrexecd CALL  rt_sigaction(SIGCHLD,0x7f7fffffc1b0,0,8)
  1134   1134 nsrexecd RET   rt_sigaction 0
  1134   1134 nsrexecd CALL  select(0,0,0,0,0x7f7fffffc250)
  1134   1134 nsrexecd RET   select -1 errno -4 Interrupted system call
  1134   1134 nsrexecd PSIG  SIGCHLD caught handler=0x422290 mask=(): code=CLD_D
UMPED child pid=1405, uid=0,  status=139, utime=0, stime=0)

christos


Home | Main Index | Thread Index | Old Index