From owner-freebsd-emulation Thu Nov 2 14:16:57 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242]) by hub.freebsd.org (Postfix) with ESMTP id 6FAB237B479 for ; Thu, 2 Nov 2000 14:16:55 -0800 (PST) Received: from adlmail.cup.hp.com (adlmail.cup.hp.com [15.0.100.30]) by palrel1.hp.com (Postfix) with ESMTP id 172A43A57; Thu, 2 Nov 2000 14:12:10 -0800 (PST) Received: from cup.hp.com (gauss.cup.hp.com [15.28.97.152]) by adlmail.cup.hp.com (8.9.3 (PHNE_18546)/8.9.3 SMKit7.02) with ESMTP id OAA15410; Thu, 2 Nov 2000 14:12:00 -0800 (PST) Message-ID: <3A01E6B0.C0A570F9@cup.hp.com> Date: Thu, 02 Nov 2000 17:12:00 -0500 From: Marcel Moolenaar Organization: Hewlett-Packard X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Bernd Walter Cc: freebsd-emulation@FreeBSD.ORG Subject: Re: Using tape drives in linux emulation References: <20001101181907.A33365@cicely8.cicely.de> <3A011A5F.77800DC2@cup.hp.com> <20001102223003.A35931@cicely8.cicely.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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. -- Marcel Moolenaar mail: marcel@cup.hp.com / marcel@FreeBSD.org tel: (408) 447-4222 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message