Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jul 1998 12:37:02 -0600
From:      vanmaren@fast.cs.utah.edu (Kevin Van Maren)
To:        hackers@FreeBSD.ORG
Subject:   ibcs2 emulation problem
Message-ID:  <199807151837.MAA09249@fast.cs.utah.edu>

next in thread | raw e-mail | index | archive | help
I'm not currently on this list, but I'm hoping someone
has an answer for me:

I tried to run the Seagate BackupExec client for SCO on
FreeBSD 2.2.6-Release.  It seems to get stuck in an
infinite loop when it tries to determine the disk usage:
in this case I had the server try to backup the /mis
directory, and it is looping on /mis/.  Does anyone
know if maybe the lstat call (#91) is not entirly compatable?
Any other ideas?  There are no symbols in the COFF file,
which makes debugging more challenging.

Here is an excerpt from ktrace:

  6292 agent.be CALL  close(0x9)
  6292 agent.be RET   close 0
  6292 agent.be CALL  #91(0xefbfd7bc,0xefbfda18)
  6292 agent.be NAMI  "/compat/ibcs2/mis/."
  6292 agent.be NAMI  "/mis/."
  6292 agent.be RET   #91 0
  6292 agent.be CALL  open(0x40a910,0,0x40a900)
  6292 agent.be NAMI  "/compat/ibcs2/mis"
  6292 agent.be NAMI  "/mis"
  6292 agent.be RET   open 9
  6292 agent.be CALL  sendmsg(0x9,0xefbfd9c8)
  6292 agent.be RET   sendmsg 0
  6292 agent.be CALL  old.lseek(0x9,0,0x1)
  6292 agent.be RET   old.lseek 0
  6292 agent.be CALL  old.lseek(0x9,0,0x1)
  6292 agent.be RET   old.lseek 0
  6292 agent.be CALL  getpgrp(0x9,0x4212e4,0x418)
  6292 agent.be RET   getpgrp 518/0x206
  6292 agent.be CALL  old.lseek(0x9,0,0x1)
  6292 agent.be RET   old.lseek 512/0x200
  6292 agent.be CALL  close(0x9)
  6292 agent.be RET   close 0
  6292 agent.be CALL  #91(0xefbfd7bc,0xefbfda18)
  6292 agent.be NAMI  "/compat/ibcs2/mis/."
  6292 agent.be NAMI  "/mis/."
  6292 agent.be RET   #91 0
  6292 agent.be CALL  open(0x40a910,0,0x40a900)
  6292 agent.be NAMI  "/compat/ibcs2/mis"
  6292 agent.be NAMI  "/mis"
  6292 agent.be RET   open 9
  6292 agent.be CALL  sendmsg(0x9,0xefbfd9c8)
  6292 agent.be RET   sendmsg 0
  6292 agent.be CALL  old.lseek(0x9,0,0x1)
  6292 agent.be RET   old.lseek 0
  6292 agent.be CALL  old.lseek(0x9,0,0x1)
  6292 agent.be RET   old.lseek 0
  6292 agent.be CALL  getpgrp(0x9,0x4212e4,0x418)
  6292 agent.be RET   getpgrp 518/0x206
  6292 agent.be CALL  old.lseek(0x9,0,0x1)
  6292 agent.be RET   old.lseek 512/0x200
  6292 agent.be CALL  close(0x9)
  6292 agent.be RET   close 0
  6292 agent.be CALL  #91(0xefbfd7bc,0xefbfda18)
  6292 agent.be NAMI  "/compat/ibcs2/mis/."
  6292 agent.be NAMI  "/mis/."
  6292 agent.be RET   #91 0
  6292 agent.be CALL  open(0x40a910,0,0x40a900)
  6292 agent.be NAMI  "/compat/ibcs2/mis"
  6292 agent.be NAMI  "/mis"
  6292 agent.be RET   open 9

The other agents I can choose from (x86) are the Solaris/x86
and Unixware(1,2), and another SCO (isc) binary, that dies
on /dev/tcp.


Thanks,
Kevin Van Maren

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807151837.MAA09249>