Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jan 2000 03:08:30 +0100 (CET)
From:      Juergen Lock <nox@jelal.kn-bremen.de>
To:        marcel@scc.nl
Cc:        FreeBSD-emulation@FreeBSD.ORG
Subject:   Re: Seagate Backup Exec for Linux?
Message-ID:  <200001070208.DAA07190@saturn.kn-bremen.de>
In-Reply-To: <383FB4CF.CA6F6E79@scc.nl>
References:  <4.2.2.19991126162208.00cd4880@imap.tassie.net.au>, <14398.57642.861319.487652@jabberwock.rstcorp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <nox.foo@jelal.kn-bremen.de>
(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




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