Current-Users archive

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

Re: Need advise about linux32 on amd64




Same software, on NetBSD i386 / 4.99.64, with suse100_base only and works without problem...

I copied ptrace section:

...
...
...
...
   575      1 linux_32_software RET   fork 700/0x2bc
   575      1 linux_32_software CALL  waitpid(0x2bc,0xbfbf6a7c,0)
   700      1 linux_32_software EMUL  "linux"
   700      1 linux_32_software RET   fork 0
   700      1 linux_32_software CALL  ptrace(PTRACE_TRACEME,1,1,0x8055081)
   700      1 linux_32_software RET   ptrace 0
   700      1 linux_32_software CALL  gettimeofday(0x80ba860,0x80ba868)
   700      1 linux_32_software RET   gettimeofday 0
   700      1 linux_32_software CALL  getpid
   700      1 linux_32_software RET   getpid 700/0x2bc
   700      1 linux_32_software CALL  getuid
   700      1 linux_32_software RET   getuid 2091/0x82b
   700      1 linux_32_software CALL  uname(0x80ba890)
   700      1 linux_32_software RET   uname 0
   700      1 linux_32_software CALL  uname(0xbfbf34a6)
   700      1 linux_32_software RET   uname 0
   700      1 linux_32_software CALL  uname(0xbfbf34a6)
   700      1 linux_32_software RET   uname 0
   700      1 linux_32_software CALL  open(0x80bf0a1,0,0x1b6)
   700      1 linux_32_software NAMI  "/emul/linux/proc/cpuinfo"
   700      1 linux_32_software NAMI  "/proc/cpuinfo"
   700      1 linux_32_software RET   open -1 unknown errno 2
   700      1 linux_32_software CALL  gettimeofday(0xbfbf37c0,0xbfbf37c8)
...
...
...
...
about a hundreth lines continue... If i can not run this software, i think i need to install amd64 and i386 onto different partitions. Or if you have advise, i appreciate.

Thanks.




Christos Zoulas wrote:
In article <485126B6.1080900%eticaret.com.tr@localhost>,
Cem Kayali  <cemkayali%eticaret.com.tr@localhost> wrote:
  
Well, 'ktrace -i' produces same messages but additional ones too:

  325      1 linux_32_software CALL  fork
  325      1 linux_32_software RET   fork 390/0x186
  325      1 linux_32_software CALL  waitpid(0x186,0xffff5564,0)
  390      1 linux_32_software EMUL  "linux32"
  390      1 linux_32_software RET   fork 0
  390      1 linux_32_software CALL  #26 (unimplemented ptrace)
  390      1 linux_32_software RET   #26 (unimplemented ptrace) -1 
errno -38 Too many processes
  390      1 linux_32_software CALL  exit_group(0)
  325      1 linux_32_software RET   waitpid 390/0x186
  325      1 linux_32_software CALL  exit_group(0)


Specifically, it is ptrace problem i think...

Regards,
    

ptrace is not implemented on linux32; Does it work on i386? Can
you ktrace it [just after the fork where it calls ptrace]? I find
it strange that it works on i386 because ptrace just returns ENOSYS
currently.

christos


  



Home | Main Index | Thread Index | Old Index