From owner-freebsd-questions Fri Jun 28 5:54:47 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 3194B37B400 for ; Fri, 28 Jun 2002 05:54:41 -0700 (PDT) Received: from spork.pantherdragon.org (spork.pantherdragon.org [206.29.168.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 80BA443E06 for ; Fri, 28 Jun 2002 05:54:40 -0700 (PDT) (envelope-from dmp@pantherdragon.org) Received: from spark.techno.pagans (spark.techno.pagans [4.61.202.145]) by spork.pantherdragon.org (Postfix) with ESMTP id C9CB6471DA; Fri, 28 Jun 2002 05:54:39 -0700 (PDT) Received: from pantherdragon.org (speck.techno.pagans [172.21.42.2]) by spark.techno.pagans (Postfix) with ESMTP id D16DBFEBE; Fri, 28 Jun 2002 05:54:35 -0700 (PDT) Message-ID: <3D1C5C8B.DB25D012@pantherdragon.org> Date: Fri, 28 Jun 2002 05:54:35 -0700 From: Darren Pilgrim X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: noackjr@compgeek.com Cc: Brooks Davis , freebsd-questions@freebsd.org Subject: Re: A working command-line ATAPI-capable audio CD player? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Jon Noack wrote: > > Is this a DMA issue? Try 'sysctl hw.ata.atapi_dma=1' and then see what it > returns. I'm utterly dumbfounded on this one. I was able to work around the problem with a hardware swap, but the circumstances are truly strange. Read on... The problem drive is a generic 50x drive. The replacement drive is a Toshiba XM-6402B. The problem machine is called spark. My test machine is called hackbox. When the generic drive is in spark, it won't play CDs. When in hackbox it will. When the Toshiba drive is in either box it will play CDs. Additionally, in all instances the drives probe and operate properly at UDMA33 except when the generic drive is in spark, when it will only probe and work at PIO4. There is a history of the generic drive in spark throwing DMA errors on me, and at one point I forced the drive into PIO mode via hw.atamodes. I did remove the line from /etc/rc.local that set this. There otherwise was and is no setting anywhere on either system to explain this. Both machines are otherwise identical in hardware and software (4.5-R mirrored). > From: owner-freebsd-questions@FreeBSD.ORG > On Behalf Of Darren Pilgrim > > Brooks Davis wrote: > > On Thu, Jun 27, 2002 at 03:46:06PM -0700, Darren Pilgrim wrote: > > > After exhausting the ports tree and several search engines I have not > > > been able to find a single CD player that works. Everything I've found, > > > whether it be a port or not, doesn't work for one of the following > > > reasons: > > > > > > X/Gnome/KDE/whatever is required. > > > The source tarball is unfetchable (non-ports). > > > It won't compile (non-ports). > > > Is limited to SCSI drives only (e.g., ports/audio/cdplay). > > > > > > Does anyone know of any command-line, ATAPI-compatible CD players for > > > FreeBSD? > > > > If all you want to do is press play/stop, cdcontrol works. > > cdcontrol doesn't seem to work either: > > 15:59:09 dmp@spark$ su - > Password: > 15:59:12 root@spark# cdcontrol -v -f /dev/acd0c info > Starting track = 1, ending track = 13, TOC size = 114 bytes > track start duration block length type > ------------------------------------------------- > 1 0:02.33 4:28.42 33 19992 audio > 2 4:29.00 5:05.45 20025 22770 audio > 3 9:32.45 4:41.08 42795 20933 audio > 4 14:11.53 5:48.40 63728 25990 audio > 5 19:58.18 5:22.42 89718 24042 audio > 6 25:18.60 4:34.53 113760 20453 audio > 7 29:51.38 4:23.45 134213 19620 audio > 8 34:13.08 5:54.47 153833 26447 audio > 9 40:05.55 4:28.70 180280 20020 audio > 10 44:32.50 4:38.28 200300 20728 audio > 11 49:09.03 4:43.02 221028 21077 audio > 12 53:50.05 6:01.20 242105 26945 audio > 13 59:49.25 4:33.38 269050 20363 audio > 170 64:20.63 - 289413 - - > 15:59:22 root@spark# cdcontrol -v -f /dev/acd0c play 1 13 > 16:01:04 root@spark# > > Meanwhile, in /var/log/messages: > > Jun 27 15:59:12 spark su: dmp to root on /dev/ttyp0 > Jun 27 16:01:04 spark /kernel: acd0: PLAY_BIG - ILLEGAL REQUEST asc=20 > ascq=00 error=01 > > That is the same error message that ports/audio/cd-console gave me. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message