From owner-freebsd-hackers Fri Jun 7 13: 8:45 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from natto.numachi.com (natto.numachi.com [198.175.254.216]) by hub.freebsd.org (Postfix) with SMTP id 176F637B403 for ; Fri, 7 Jun 2002 13:08:41 -0700 (PDT) Received: (qmail 346 invoked by uid 1001); 7 Jun 2002 20:08:39 -0000 Date: Fri, 7 Jun 2002 16:08:39 -0400 From: Brian Reichert To: hackers@FreeBSD.ORG, reichert@numachi.com Subject: Re: accessing data track of multimedia CD? Message-ID: <20020607160839.A232@numachi.com> References: <20020606180401.A3240@numachi.com> <20020607073443.GA11391@pc5.abc> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020607073443.GA11391@pc5.abc>; from list@rachinsky.de on Fri, Jun 07, 2002 at 09:34:43AM +0200 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Jun 07, 2002 at 09:34:43AM +0200, Nicolas Rachinsky wrote: > * Brian Reichert [2002-06-06 18:04 -0400]: > > I've been beating my head for hours against a wall trying to research > > this: > > > > Under FreeBSD (4.5-RELEASE), with an ATAPI device (/dev/acd0c), how > > can I mount, or otherwise access the data in a 'data track' of a > > 'multimedia CD'? > > > > cdda2wav shows me: > > Look at the output of > cdcontrol -f /dev/ Info > instead. > > If there is a track with type data, you can try to mount this track > with mount_cd9660 with parameter -s followed by the startsector of the > data track (shown by cdcontrol). mount_cd9660 is supposed to, out-of-hand, mount the last data track on a CD, Worked for me as such on older, other boxes. Well, I had tried that earlier on my box, but let me perform that in front of an audience: # dmesg | grep acd0 acd0: DVD-ROM at ata1-master using WDMA2 # sysctl -a | grep hw.ata hw.ata.ata_dma: 1 hw.ata.wc: 1 hw.ata.tags: 0 hw.ata.atapi_dma: 1 hw.atamodes: dma,dma,dma,---, # cdcontrol -f /dev/acd0c Info | grep data 11 54:12.68 7:08.38 243818 31988 data # mount_cd9660 -s 243818 /dev/acd0c /mnt mount_cd9660: /dev/acd0c: Invalid argument I've tried this with both DMA and PIO on my drive, which I'll point out is a DVD-ROM drive, not a CD-ROM drive. With your pointers, though, I was able to correctly use 'mount' using both of my test CDs on another box running 4.1-RELEASE with a classic CD-ROM drive: acd0: CDROM at ata0-slave using UDMA33 So, this issue at hand is some combination of my kernel (4.5-RELEASE) and my hardware (DVD-ROM). Any further suggestions? > HTH > Nicolas -- Brian 'you Bastard' Reichert 37 Crystal Ave. #303 Daytime number: (603) 434-6842 Derry NH 03038-1713 USA Intel architecture: the left-hand path To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message