Date: Wed, 1 Dec 1999 12:08:41 -0800 (PST) From: Alfred Perlstein <bright@wintelcom.net> To: Wilko Bulte <wilko@yedi.iaf.nl> Cc: Gerard Roudier <groudier@club-internet.fr>, FreeBSD-hackers@FreeBSD.ORG Subject: Re: Linux ioctl not implemented error Message-ID: <Pine.BSF.4.21.9912011156200.4557-100000@fw.wintelcom.net> In-Reply-To: <199912011849.TAA00469@yedi.iaf.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.9912011156200.4557-100000>
