From owner-freebsd-emulation@FreeBSD.ORG Sun May 4 07:15:51 2008 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 206D7106564A for ; Sun, 4 May 2008 07:15:51 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id D2D768FC0C for ; Sun, 4 May 2008 07:15:50 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A55DDC.dip.t-dialin.net [84.165.93.220]) by redbull.bpaserver.net (Postfix) with ESMTP id 8F23B2E0D6; Sun, 4 May 2008 09:15:42 +0200 (CEST) Received: from deskjail (unknown [192.168.1.109]) by outgoing.leidinger.net (Postfix) with ESMTP id EEADBC8E3B; Sun, 4 May 2008 09:15:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1209885339; bh=NaD8LCV37ONNN/ht1ajU48mdhYtezCBlo Av0VIAh23U=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To: References:Mime-Version:Content-Type:Content-Transfer-Encoding; b=BQVy3j9EqG1elwqt64OPDjmJawgVIXeITB04zAgPjKuzcxRjbuBnKvfHl/I8V0+P7 3EUN8/0dpZeIPFR7W9r1xqqHSQRYbh2VAa41KsM6PEANT+Ct5YOD9xTQnwoHjd9ieUf alla7XlV11DCO1Mp1XlvkDOKIWU2pPTO0nQfnfpeUf5G9r3Y6Og/pXpZPG3dSBc95Nn 6411PSDbhEZNxG1ITJPU73Un3MLOCWpC3SNDs4uzNSPgjz0r1ZMsaTnWr70CM8+Iz6f 64xQ8lwGod5/8BkECwIkVNESeisXlhK+173ofAuuMoR2nzobw5uh4R90dIO9lFnvH2Q hg4PeL7Hw== Date: Sun, 4 May 2008 09:15:39 +0200 From: Alexander Leidinger To: frank@exit.com Message-ID: <20080504091539.1b140107@deskjail> In-Reply-To: <1209856296.17097.5.camel@jill.exit.com> References: <1209856296.17097.5.camel@jill.exit.com> X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.8; i686-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, ORDB-RBL, SpamAssassin (not cached, score=-14.4, required 6, BAYES_00 -15.00, DKIM_SIGNED 0.00, DKIM_VERIFIED -0.00, NO_RDNS 0.50, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: emulation@FreeBSD.org Subject: Re: Using Linux Nero port in FreeBSD 6. X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 May 2008 07:15:51 -0000 Quoting Frank Mayhar (Sat, 03 May 2008 16:11:36 -0700): > I've been trying to make this work and it never can seem to find the > device. It's a DVD writer on /dev/cd0 (connected via USB so it's using > the SCSI-like interface) and /dev/pass0. I've tried every combination I > can think of of pointing /compat/linux/dev/ to > either /dev/cd0 or /dev/pass0, to no avail. The best I've received is > the ktrace showing it getting ENOTTY (inappropriate ioctl for device). > > Hints? Suggestions? Several possibilities: The SCSI part has a linux emulation part (I don't remember the name ATM), give it a try and report back if it works. In the linux emulation exists a device wrapper feature. You can add the device there (in the source) which nero tries to open, and maybe add some more code which maps linux ioctls to FreeBSD ones (or at least identify which devices it tries to open and which ioctls it wants to do, maybe someone here on the list is willing to help out). Bye, Alexander. -- Ferengi Rule of Acquisition #139: Wives serve, brothers inherit. -- ST:DS9, "Necessary Evil" http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137