From owner-freebsd-emulation@FreeBSD.ORG Sun Jun 6 14:12:13 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0437616A4CF for ; Sun, 6 Jun 2004 14:12:13 -0700 (PDT) Received: from plum.flirble.org (plum.flirble.org [195.40.6.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D78F43D2F for ; Sun, 6 Jun 2004 14:12:12 -0700 (PDT) (envelope-from jake@poptart.org) Received: from nbumaster ([82.152.7.145] helo=poptart.org) by plum.flirble.org with asmtp (Exim 3.20 #3) id 1BX4w7-0008rE-00 for freebsd-emulation@freebsd.org; Sun, 06 Jun 2004 22:12:11 +0100 Received: from choccy.int.poptart.org ([10.0.0.1]) by poptart.org with esmtp (Exim 4.14) id 1BX4w7-0000kw-4Q for freebsd-emulation@freebsd.org; Sun, 06 Jun 2004 22:12:11 +0100 Message-ID: <40C388AA.6070509@poptart.org> Date: Sun, 06 Jun 2004 22:12:10 +0100 From: Jake Scott User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-emulation@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: NetBackup for Linux [ioctl... is not implemented] X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jun 2004 21:12:13 -0000 I'm trying to get the Linux version of Veritas NetBackup 5.0 working on FreeBSD. It mainly works, but after performing one backup, then fails to perform any others. I've narrowed this down to a problem with "bpsched" interaction with the OS. When it starts up, it creates seveal message queues which it normally removes when it exits. Under the Linux emulation in FreeBSD, these message queues are not removed. So - when it starts up again, it is unable to re-create them. There are a *lot* of these messasges in the system log: linux: pid 2763 (bpsched): ioctl fd=5, cmd=0x8954 ('\M^I',84) is not implemented When starting up after the first time, the NetBackup bpsched log says: <32> main_bpsched: error creating req message queue: 17 <16> bpsched: scheduler exiting - error creating or getting message queue (209) The output of "ipcs -a" shows the following in the Message Queues section: q 65538 1280592210 --rw-rw-rw- root wheel root wheel 0 0 65536 0 0 no-entry no-entry 22:01:47 q 65539 1093288528 --rw------- root wheel root wheel 296 1 65536 2853 2754 22:04:56 22:03:26 22:03:16 q 65540 1331056194 --rw------- root wheel root wheel 0 0 65536 2763 2756 22:03:26 22:03:26 22:03:16 If I remove these, then I can do another backup. Has anyone got any ideas or experience with this? Thanks Jake