*BSD News Article 75321


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!comp.vuw.ac.nz!usenet
From: milton@Comp.VUW.AC.NZ (milton)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: CDROM won't play audio CD & Silent SoundBlaster16
Date: 03 Aug 1996 08:34:02 +1200
Organization: Dept. of Computer Science, Victoria Uni. of Wellington, NZ.
Lines: 23
Sender: milton@bats.comp.vuw.ac.nz
Message-ID: <ch4wwzh7cg5.fsf@bats.comp.vuw.ac.nz>
References: <31F9716E.ABD322C@grolier.Fr>
        <ch4n30l6y2w.fsf@bats.comp.vuw.ac.nz> <31FD91C2.41C67EA6@grolier.Fr>
NNTP-Posting-Host: bats.comp.vuw.ac.nz
In-reply-to: Un L'Unique's message of Mon, 29 Jul 1996 21:38:26 -0700
X-Face: 1z?<f6:W_X?x4,("n&O@BTQZcRfJ;|'YmfV`a<zZqH/?y<o<uQNn:A\5*DH|"FAkV9]\z"1
 '2%*6{0b$JO'+GRo**}!f=85':yX7,s8s@o}A(]C2+}[4g$`&K1WUcU^F2nX~UMl?1S7A@u=To/5
X-uri: http://www.comp.vuw.ac.nz/~milton/
X-Newsreader: Gnus v5.1

Un L'Unique <Un@grolier.Fr> writes:

> xmcd:
> CD audio: ioclt error on /dev/rwcd0c: cmd=CDIOREADCENTRYS error=22
> same error than before.

  Looking at the code, there are only two places where "invalid
  argument" will be returned. 1) If you have requested an invalid
  starting track (below first track or above last track) or 2) You
  have given an invalid value in the data_len field of the
  ioc_read_toc_entry structure. 

  I suspect it maybe to do with trying to read the leadout
  track. Xcdplayer reads each track's TOC entry one by one rather than
  the whole lot at once. So the lead out track is read using a
  starting track of 0xaa which is above the last valid track and the
  driver barfs. I'll have to try this out, but I am pretty sure this
  is the problem.

  BTW I am looking at 2.1.5R sources here. 

M.
--