Current-Users archive

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

Re: Need advise about linux32 on amd64




Hi,

Maybe i am unlucky, maybe i make a mistake... It works on i386 machine with suse100_base but not on amd64 with suse100_32_base...


  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)


It looks like it is ptrace problem, not implemented on amd64. I tried 'null' and 'return 0;'  parameters in /sys/compat/linux32/arch/amd64ptrace.h file (which normally does not exist), and recompiled kernel, it didn't work.

Although i have advanced background in php, i am almost a beginner in C.

Regards,
Cem




Christos Zoulas wrote:
In article <485132AB.1040508%eticaret.com.tr@localhost>,
Cem Kayali  <cemkayali%eticaret.com.tr@localhost> wrote:
  
-=-=-=-=-=-


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.
    

You need to mount procfs with -o linux.

christos


  



Home | Main Index | Thread Index | Old Index