From owner-freebsd-hackers Wed Jul 15 11:37:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA28918 for freebsd-hackers-outgoing; Wed, 15 Jul 1998 11:37:13 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from wrath.cs.utah.edu (wrath.cs.utah.edu [155.99.198.100]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA28913 for ; Wed, 15 Jul 1998 11:37:11 -0700 (PDT) (envelope-from vanmaren@fast.cs.utah.edu) Received: from fast.cs.utah.edu (fast.cs.utah.edu [155.99.212.1]) by wrath.cs.utah.edu (8.8.8/8.8.8) with SMTP id MAA16891 for ; Wed, 15 Jul 1998 12:37:03 -0600 (MDT) Received: by fast.cs.utah.edu (8.6.10/utah-2.15-leaf) id MAA09249; Wed, 15 Jul 1998 12:37:02 -0600 Date: Wed, 15 Jul 1998 12:37:02 -0600 From: vanmaren@fast.cs.utah.edu (Kevin Van Maren) Message-Id: <199807151837.MAA09249@fast.cs.utah.edu> To: hackers@FreeBSD.ORG Subject: ibcs2 emulation problem Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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