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,

Thank you.

"PTRACE works", it passed that section and it worked:


   567      1 RET   fork 519/0x207
   567      1 CALL  waitpid(0x207,0xffff5554,0)
   519      1 EMUL  "linux32"
   519      1 RET   fork 0
   519      1 CALL  ptrace(PT_TRACE_ME,1,2,0x8055081)
   519      1 RET   ptrace 0
   519      1 CALL  gettimeofday(0x80ba860,0x80ba868)
   519      1 RET   gettimeofday 0
   519      1 CALL  getpid



This may be out of issue, now the software tries to detect network cards to work properly, and it produces (software itself)  "No ethernet interface found" error message...
ktrace -i/kdump are as:

   519      1  RET   socketcall 4
   519      1  CALL  ioctl(4,_IO(0x89,0x12,0),0xffff5428)
   519      1  GIO   fd 4 wrote 16 bytes
       "\0\^B\0\0000o\f\bPT\M^?\M^?uW\M-r\M-{"
   519      1  RET   ioctl -1 errno -14 Bad address
   519      1  CALL  netbsd32_close(4)
   519      1  RET   netbsd32_close 0
   519      1  CALL  fcntl64(3,7,0xffff5370)
   519      1  RET   fcntl64 0
   519      1  CALL  stat64(0xffff9568,0xffff5204)
   519      1  NAMI  "/emul/linux32/usr/pkg/emul/linux/usr/lib/_6.5/.state.dat"
   519      1  NAMI  "/usr/pkg/emul/linux/usr/lib/_6.5/.state.dat"
   519      1  RET   stat64 0
   519      1  CALL  open(0xffff9568,0,0x1b6)
   519      1  NAMI  "/emul/linux32/usr/pkg/emul/linux/usr/lib/_6.5/.state.dat"
   519      1  NAMI  "/usr/pkg/emul/linux/usr/lib/_6.5/.state.dat"
   519      1  RET   open 4
   519      1  CALL  fstat64(4,0xffff51b0)
   519      1  RET   fstat64 0
   519      1  CALL  old_mmap(0xffff5198)
   519      1  RET   old_mmap 4226527232/0xfbebb000
   519      1  CALL  netbsd32_read(4,0xfbebb000,0x4000)
   519      1  GIO   fd 4 read 218 bytes
......
   519      1  RET   netbsd32_read 218/0xda
   519      1  CALL  netbsd32_close(4)
   519      1  RET   netbsd32_close 0
   519      1  CALL  netbsd32_munmap(0xfbebb000,0x4000)
   519      1  RET   netbsd32_munmap 0
   519      1  CALL  time(0xffff5310)
   519      1  RET   time 1213866665/0x485a22a9
   519      1  CALL  lstat64(0xffff9568,0xffff52f4)
   519      1  NAMI  "/emul/linux32/usr/pkg/emul/linux/usr/lib/_6.5/.state.dat"
   519      1  NAMI  "/usr/pkg/emul/linux/usr/lib/_6.5/.state.dat"
   519      1  RET   lstat64 0
   519      1  CALL  fcntl64(3,7,0xffff5370)
   519      1  RET   fcntl64 0
   519      1  CALL  time(0xffff5474)
   519      1  RET   time 1213866665/0x485a22a9
   519      1  CALL  fstat64(1,0xffff4264)
   519      1  RET   fstat64 0
   519      1  CALL  ioctl(1,_IO('T',0x1,0),0xffff41c4)
   519      1  RET   ioctl 0
   519      1  CALL  old_mmap(0xffff424c)
   519      1  RET   old_mmap 4227751936/0xfbfe6000
   519      1  CALL  netbsd32_write(1,0xfbfe6000,0x3b)
   519      1  GIO   fd 1 wrote 59 bytes
       "No Ethernet network interfaces were found on this machine.\n"


I also created symlink linux->linux32, after noticing "/usr/pkg/emul/linux/usr/lib/_6.5/.state.dat" above.

Regards,





Nicolas Joly wrote:
On Thu, Jun 19, 2008 at 03:36:25AM +0300, Cem Kayali wrote:
  
Update.

I see exactly 'same' messages in ktrace/kdump. Nothing different.
    

It should work with linux32_misc.c r1.12, can you try again with this
revision ?

  



Home | Main Index | Thread Index | Old Index