From owner-freebsd-emulation Thu Nov 2 15:14:34 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from mail.du.gtn.com (mail.du.gtn.com [194.77.9.57]) by hub.freebsd.org (Postfix) with ESMTP id 79AF337B4D7 for ; Thu, 2 Nov 2000 15:14:31 -0800 (PST) Received: from mail.cicely.de (cicely.de [194.231.9.142]) by mail.du.gtn.com (8.11.0.Beta3/8.11.0.Beta3) with ESMTP id eA2N6vn11671 (using TLSv1/SSLv3 with cipher EDH-RSA-DES-CBC3-SHA (168 bits) verified OK); Fri, 3 Nov 2000 00:06:58 +0100 (MET) Received: from cicely8.cicely.de (cicely8.cicely.de [10.1.2.10]) by mail.cicely.de (8.11.0.Beta1/8.11.0.Beta1) with ESMTP id eA2N6eY00917; Fri, 3 Nov 2000 00:06:44 +0100 (CET) Received: (from ticso@localhost) by cicely8.cicely.de (8.11.0/8.9.2) id eA2N6e936095; Fri, 3 Nov 2000 00:06:40 +0100 (CET) (envelope-from ticso) Date: Fri, 3 Nov 2000 00:06:40 +0100 From: Bernd Walter To: Marcel Moolenaar Cc: freebsd-emulation@FreeBSD.ORG Subject: Re: Using tape drives in linux emulation Message-ID: <20001103000640.B36026@cicely8.cicely.de> References: <20001101181907.A33365@cicely8.cicely.de> <3A011A5F.77800DC2@cup.hp.com> <20001102223003.A35931@cicely8.cicely.de> <3A01E6B0.C0A570F9@cup.hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <3A01E6B0.C0A570F9@cup.hp.com>; from marcel@cup.hp.com on Thu, Nov 02, 2000 at 05:12:00PM -0500 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, Nov 02, 2000 at 05:12:00PM -0500, Marcel Moolenaar wrote: > Bernd Walter wrote: > > > > That's a rewind using FreeBSD mt: > > 679 mt CALL open(0xbfbff86e,0,0x6) > > 679 mt NAMI "/dev/nrsa0" > > 679 mt RET open 3 > > 679 mt CALL ioctl(0x3,MTIOCTOP,0xbfbff5c4) > > 679 mt RET ioctl 0 > > > > And here what claims to be a rewind with the linux app: > > 682 tapeexercise CALL open(0xbfbff8a8,0x2,0) > > 682 tapeexercise NAMI "/compat/linux/dev/nrsa0" > > 682 tapeexercise NAMI "/dev/nrsa0" > > 682 tapeexercise RET open 3 > > 682 tapeexercise CALL ioctl(0x3,0x40086d01 ,0xbfbff634) > > 682 tapeexercise RET ioctl -1 errno -22 Unknown error: -22 > > 682 tapeexercise CALL ktrace(0x810b000) > > 682 tapeexercise RET ktrace 135311360/0x810b000 > > 682 tapeexercise CALL write(0x2,0xbfbfcb9c,0x3e) > > 682 tapeexercise GIO fd 2 wrote 62 bytes > > "tapeexercise: rewind ioctl failed, errno 22: Invalid argument > > " > > Did you get a linux message in your logs about an unimplemented ioctls? > If so, then we need to implement the ioctl. Ups - I never locked there. Here it is: linux: 'ioctl' fd=3, cmd=6d01 ('m',1) not implemented -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message