From owner-freebsd-hackers Wed Dec 1 11:40:35 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 1D89C14DF6 for ; Wed, 1 Dec 1999 11:40:32 -0800 (PST) (envelope-from bright@wintelcom.net) Received: from localhost (bright@localhost) by fw.wintelcom.net (8.9.3/8.9.3) with ESMTP id MAA22109; Wed, 1 Dec 1999 12:08:42 -0800 (PST) Date: Wed, 1 Dec 1999 12:08:41 -0800 (PST) From: Alfred Perlstein To: Wilko Bulte Cc: Gerard Roudier , FreeBSD-hackers@FreeBSD.ORG Subject: Re: Linux ioctl not implemented error In-Reply-To: <199912011849.TAA00469@yedi.iaf.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 1 Dec 1999, Wilko Bulte wrote: > As Gerard Roudier wrote ... > > > > > > On Tue, 30 Nov 1999, Wilko Bulte wrote: > > > > > I get " LINUX: 'ioctl' fd=0, typ=0x53(S), num=0x13 not implemented " > > > when attempting to configure a IDE cdrom under VMware (really coold BTW!! > > > thanks for the port development). > > > > > > Somebody close to a Linux box have an idea what this ioctl is supposed > > > to do? > > > > CDROMVOLREAD that you want to map to CDIOGETVOL. > > > > IMO, you should download a recent Linux stable tree (2.2.13 should fit) > > Sounds like fair idea. > > > which is a single gzipped tar file. Then you will be able to quickly add > > Do you have a pointer to such a tgz at hand maybe? try this: Index: linux_ioctl.c =================================================================== RCS file: /home/ncvs/src/sys/i386/linux/linux_ioctl.c,v retrieving revision 1.47 diff -u -u -r1.47 linux_ioctl.c --- linux_ioctl.c 1999/11/29 23:03:34 1.47 +++ linux_ioctl.c 1999/12/01 23:46:22 @@ -1273,6 +1273,11 @@ return error; } + case LINUX_CDROMVOLREAD: { + args->arg = CDIOGETVOL; + return (ioctl(p, (struct ioctl_args *)args)); + } + case LINUX_OSS_GETVERSION: { int version; -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message