Unable to access CDROM device to play music

Polytropon freebsd at edvax.de
Sun Sep 26 00:03:31 UTC 2010


On Sat, 25 Sep 2010 19:46:08 -0400, Carmel <carmel_ny at hotmail.com> wrote:
> On Sun, 26 Sep 2010 00:49:16 +0200
> Polytropon <freebsd at edvax.de> articulated:
> 
> > Have you tried mounting using the ATAPI driver?
> > 
> > 	# mount -o ro -t cd9660 /dev/acd0 /mnt
> > 
> > Does this work for data CDs?
> 
> I get this error message:
> 
> 	mount_cd9660: /dev/acd0: Invalid argument

This seems to show that there's no ISO-9660 file system on
the (data) CD, or the session is not finished, or any other
problem on file system level. Can you check

	% file - < /dev/acd0
	% cdcontrol info

Here's an example for the output for a data CD:

	% file - < /dev/acd0
	/dev/stdin: ISO 9660 CD-ROM filesystem data
	'FreeBSD_Install                ' (bootable)

	% cdcontrol info
	Starting track = 1, ending track = 1, TOC size = 18 bytes
	track     start  duration   block  length   type
	-------------------------------------------------
	    1   0:02.00  57:57.56       0  260831   data
	  170  57:59.56         -  260831       -      -

And for an audio CD:

	% file - < /dev/acd0
	/dev/stdin: ERROR: cannot read `(null)' (Invalid argument)

	% cdcontrol info
	Starting track = 1, ending track = 18, TOC size = 154 bytes
	track     start  duration   block  length   type
	-------------------------------------------------
	    1   0:02.00   3:31.03       0   15828  audio
	    2   3:33.03   2:52.67   15828   12967  audio
	... 
	   17  52:24.53   7:27.30  235703   33555  audio
	   18  59:52.08   2:48.67  269258   12667  audio
	  170  62:41.00         -  281925       -      -

Do you get the same results for the respective CD content types?



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...


More information about the freebsd-questions mailing list