From owner-freebsd-emulation Thu Jan 6 18:39: 5 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from blaubaer.kn-bremen.de (blaubaer.kn-bremen.de [195.37.179.254]) by hub.freebsd.org (Postfix) with ESMTP id 716BB1586D for ; Thu, 6 Jan 2000 18:38:50 -0800 (PST) (envelope-from nox@saturn.kn-bremen.de) Received: from saturn.kn-bremen.de (uucp@localhost) by blaubaer.kn-bremen.de (8.9.1/8.9.1) with UUCP id DAA15556; Fri, 7 Jan 2000 03:30:56 +0100 Received: (from nox@localhost) by saturn.kn-bremen.de (8.9.3/8.8.5) id DAA07190; Fri, 7 Jan 2000 03:08:30 +0100 (CET) Date: Fri, 7 Jan 2000 03:08:30 +0100 (CET) From: Juergen Lock Message-Id: <200001070208.DAA07190@saturn.kn-bremen.de> To: marcel@scc.nl Subject: Re: Seagate Backup Exec for Linux? X-Newsgroups: local.list.freebsd.emulation In-Reply-To: <383FB4CF.CA6F6E79@scc.nl> References: <4.2.2.19991126162208.00cd4880@imap.tassie.net.au>, <14398.57642.861319.487652@jabberwock.rstcorp.com> Organization: home Cc: FreeBSD-emulation@FreeBSD.ORG Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In article <383FB4CF.CA6F6E79@scc.nl> you write: >"Viren R.Shah" wrote: >> >> Well, I just looked thru my log file, and saw: >> >> Nov 22 13:58:14 jabberwock last message repeated 51 times >> Nov 22 13:58:15 jabberwock /kernel: linux: syscall ustat is obsoleted >> or not implemented (pid=35198) >> >> Does anyone know whether the emulation of ustat was removed form the >> linux compatibility code? > >It has not been removed. We now simply emit a diagnostic message so that >people can find out why their Linux binary doesn't work. > >I'll try to implement it ASAP. Remember that it will live in -current >for a couple of days before it will be merged to -stable. Well, we just updated our -stable and tried this program in the subject again, and it still didn't see any directories. here's a snippet from linux_kdump... (EXPOSE and immotest are directories and they don't show up at all in Backup Exec.) ... 643 agent.be CALL linux_newstat(0x8082288,0xbfbfd770) 643 agent.be NAMI "/compat/linux/smb/src/disk0/export" 643 agent.be NAMI "/smb/src/disk0/export" 643 agent.be RET linux_newstat 0 643 agent.be CALL linux_open(0x8082288,0x800,0x8082288) 643 agent.be NAMI "/compat/linux/smb/src/disk0/export" 643 agent.be NAMI "/smb/src/disk0/export" 643 agent.be RET linux_open 9 643 agent.be CALL linux_fcntl(0x9,0x2,0x1) 643 agent.be RET linux_fcntl 0 643 agent.be CALL linux_lseek(0x9,0,0x1) 643 agent.be RET linux_lseek 0 643 agent.be CALL linux_getdents(0x9,0xbfbfb924,0x1eb9) 643 agent.be RET linux_getdents 220/0xdc 643 agent.be CALL close(0x9) 643 agent.be RET close 0 643 agent.be CALL linux_newlstat(0xbfbfd628,0xbfbfd56c) 643 agent.be NAMI "/compat/linux/smb/src/disk0/export/EXPOSE" 643 agent.be NAMI "/smb/src/disk0/export/EXPOSE" 643 agent.be RET linux_newlstat 0 643 agent.be CALL linux_ustat(0x40c,0xbfbfd63c) 643 agent.be RET linux_ustat 0 643 agent.be CALL linux_newstat(0x8082288,0xbfbfd770) 643 agent.be NAMI "/compat/linux/smb/src/disk0/export" 643 agent.be NAMI "/smb/src/disk0/export" 643 agent.be RET linux_newstat 0 643 agent.be CALL linux_open(0x8082288,0x800,0x8082288) 643 agent.be NAMI "/compat/linux/smb/src/disk0/export" 643 agent.be NAMI "/smb/src/disk0/export" 643 agent.be RET linux_open 9 643 agent.be CALL linux_fcntl(0x9,0x2,0x1) 643 agent.be RET linux_fcntl 0 643 agent.be CALL linux_lseek(0x9,0,0x1) 643 agent.be RET linux_lseek 0 643 agent.be CALL linux_getdents(0x9,0xbfbfb924,0x1eb9) 643 agent.be RET linux_getdents 220/0xdc 643 agent.be CALL close(0x9) 643 agent.be RET close 0 643 agent.be CALL linux_newlstat(0xbfbfd628,0xbfbfd56c) 643 agent.be NAMI "/compat/linux/smb/src/disk0/export/immotest" 643 agent.be NAMI "/smb/src/disk0/export/immotest" 643 agent.be RET linux_newlstat 0 643 agent.be CALL linux_ustat(0x40c,0xbfbfd63c) 643 agent.be RET linux_ustat 0 643 agent.be CALL linux_newstat(0x8082288,0xbfbfd770) 643 agent.be NAMI "/compat/linux/smb/src/disk0/export" 643 agent.be NAMI "/smb/src/disk0/export" 643 agent.be RET linux_newstat 0 643 agent.be CALL linux_open(0x8082288,0x800,0x8082288) 643 agent.be NAMI "/compat/linux/smb/src/disk0/export" 643 agent.be NAMI "/smb/src/disk0/export" 643 agent.be RET linux_open 9 643 agent.be CALL linux_fcntl(0x9,0x2,0x1) 643 agent.be RET linux_fcntl 0 643 agent.be CALL linux_lseek(0x9,0,0x1) 643 agent.be RET linux_lseek 0 643 agent.be CALL linux_getdents(0x9,0xbfbfb924,0x1eb9) 643 agent.be RET linux_getdents 220/0xdc 643 agent.be CALL close(0x9) 643 agent.be RET close 0 I'm willing to help debug this and test patches... (Btw i just noticed there's an agent.linux and also an agent.linux_old in the tarball and one links libc5 and the other links libc6. so for we have only tried one. And we would really like this working because of linux' problems with the async mounted filesystems... and i know BSD better too. :) Oh and there are also isc and sco binaries in the tarball, would those maybe have more chances? And is the old linux version that worked on 3.2(?) maybe still available somewhere? Regards, -- Juergen Lock (remove dot foo from address to reply) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message