From owner-freebsd-questions Tue Oct 8 19: 5:24 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E431A37B401 for ; Tue, 8 Oct 2002 19:05:20 -0700 (PDT) Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [24.147.188.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 35B6C43E6A for ; Tue, 8 Oct 2002 19:05:20 -0700 (PDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [24.147.188.198] (may be forged)) by be-well.ilk.org (8.12.6/8.12.5) with ESMTP id g9925HrL051556; Tue, 8 Oct 2002 22:05:17 -0400 (EDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: (from lowell@localhost) by be-well.ilk.org (8.12.6/8.12.6/Submit) id g9925HeV051553; Tue, 8 Oct 2002 22:05:17 -0400 (EDT) X-Authentication-Warning: be-well.ilk.org: lowell set sender to freebsd-questions-local@be-well.ilk.org using -f To: "Lucky Green" Cc: "'Nick Slager'" , Subject: Re: Linux emulation: acd0a is not a cooked ioctl CDROM References: <004401c26f2d$58f3a850$6501a8c0@VAIO650> From: Lowell Gilbert Date: 08 Oct 2002 22:05:17 -0400 In-Reply-To: <004401c26f2d$58f3a850$6501a8c0@VAIO650> Message-ID: <448z18fjtu.fsf@be-well.ilk.org> Lines: 34 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Lucky Green" writes: > Nick wrote: > > > Checking /dev/cdrom for cdrom... > > > Testing /dev/cdrom for cooked ioctl() interface > > > /dev/acd0a is not a cooked ioctl CDROM. > > > Testing /dev/cdrom for SCSI interface > > > /dev/cdrom is not a SCSI device > > > > That doesn't look quite right; CDROM devices are usually > > accessed as /dev/acd0c in FreeBSD. Only if they're ATAPI drives. Which this poster said he had. He also said he was using cdparanoia, which is, as the error message said, specific to SCSI drives. [On Linux, ATAPI drives are supported by making them look like SCSI drives, so it sort of works with cdparanoia, but on FreeBSD ATAPI drives are supported directly.] > > Perhaps double check to see where the /dev/cdroma symlink points to. > > I have been able to rip from /dev/cdrom linking to /dev/acd0a using > cdda2wav without a problem. I just changed /dev/cdrom to link to > /dev/acd0c and am getting the same error. Sure. cdda2wav isn't SCSI-specific. > I suspect that somehow cdparanoia/Linux binaries are expecting the cdrom > device to be of a different form than what that device looks like under > FreeBSD. Which gets us back to the question of what a "cooked ioctl" is > and how one could perhaps create a device entry for a CDROM under > FreeBSD that would meet the cooked ioctl test. I suspect that it would work fine if you used it on cd0 instead of acd0. But cd0, of course, is a SCSI device node. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message