From owner-freebsd-multimedia Sun Nov 16 11:14:09 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA07781 for multimedia-outgoing; Sun, 16 Nov 1997 11:14:09 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA07776 for ; Sun, 16 Nov 1997 11:14:06 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.v-site.net [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.5) with ESMTP id LAA06494; Sun, 16 Nov 1997 11:13:49 -0800 (PST) Message-Id: <199711161913.LAA06494@rah.star-gate.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: Luigi Rizzo cc: multimedia@FreeBSD.ORG Subject: Re: rvplayer problem... In-reply-to: Your message of "Sun, 16 Nov 1997 14:21:10 +0100." <199711161321.OAA14913@labinfo.iet.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 16 Nov 1997 11:13:48 -0800 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk If you like you can download the linux emulation layer from rah: ftp://rah.star-gate.com/pub/linux_ioctl-3.0-current.tar.gz As for compiling the linux layer: cd /usr/src/lkm/linux make make install modstat to find out a module's id modunload -i #to unload a module linux #to load linux module Amancio > (this message probably would be better directed to -hackers...) > > I am trying to use the rvplayer 5.0 and since it is a linux binary i > had to load the linux emulator with modload /lkm/linux_mod.o (this is > my first try with the linux emulator -- i am running 2.2.1 and > linux_mod.o is the stock one.) > > the program starts fine, and even starts displaying the first frame of > the sample file welcome.rm which comes with the package. However, it > immediately emits the message > LINUX: 'ioctl' fd=5, typ=0x450(P), num=0xf not implemented > at which point the program seems rather stuck on a select doing nothing > useful. The audio device is not open after the failure. > > Now the message comes from the linux_ioctl module and I have tracked it > down to a few missing defines for some audio ioctls in the linux emulation > code (the one above is GETCAPS or something similar). > > Is there any hope that, if I fix the above ioctl (btw: how do i rebuild > /lkm/linux_mod.o ?) that the player works ? Has anyone had success with > it ? > > Cheers > Luigi