From owner-freebsd-current@FreeBSD.ORG Mon Jul 12 21:44:54 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 83C7716A4CE for ; Mon, 12 Jul 2004 21:44:54 +0000 (GMT) Received: from mirapoint2.tis.cwru.edu (mirapoint2.TIS.CWRU.Edu [129.22.104.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2BDDC43D1F for ; Mon, 12 Jul 2004 21:44:54 +0000 (GMT) (envelope-from jrh29@po.cwru.edu) Received: from [90.0.0.12] (pcp06937376pcs.nrockv01.md.comcast.net [69.138.13.44]) by mirapoint2.tis.cwru.edu (MOS 3.4.3-CR) with ESMTP id BOZ28628 (AUTH jrh29); Mon, 12 Jul 2004 17:44:41 -0400 (EDT) In-Reply-To: <20040712160325.590EB5D08@ptavv.es.net> References: <20040712160325.590EB5D08@ptavv.es.net> Mime-Version: 1.0 (Apple Message framework v618) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <8F6058F1-D44C-11D8-81E6-000A95841F44@po.cwru.edu> Content-Transfer-Encoding: 7bit From: Justin Hibbits Date: Mon, 12 Jul 2004 17:43:49 -0400 To: Kevin Oberman X-Pgp-Agent: GPGMail 1.0.2 X-Mailer: Apple Mail (2.618) X-Mailman-Approved-At: Tue, 13 Jul 2004 11:48:41 +0000 cc: freebsd-current@freebsd.org cc: Ariff Abdullah Subject: Re: DVD/CD reading issues with -CURRENT from 2004-06-27 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2004 21:44:54 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Jul 12, 2004, at 12:03, Kevin Oberman wrote: >> Date: Mon, 12 Jul 2004 15:36:26 +0800 >> From: Ariff Abdullah >> >> On Sun, 11 Jul 2004 22:12:44 -0700 >> "Kevin Oberman" wrote: >> >>>> From: Justin Hibbits >>>> Date: Sat, 10 Jul 2004 20:05:15 -0400 >>>> Sender: owner-freebsd-current@freebsd.org >>>> >>>> Hi, >>>> >>>> I updated to -CURRENT a couple weeks ago, for various reasons, from >>>> 5.2.1, but now DVD and CD reading is flaking out. When trying to >>>> play DVDs with mplayer, they stop after a random amount of time, >>>> probably after reading a complete buffer. With 'dd', trying to >>>> create iso images of CDs, it stops after a random amount of data is >>>> copied. Attached is the backtrace of a 'dd' run. >>>> >>>> Specs of the system: >>>> >>>> 5.2-CURRENT as of 2004-06-27 >>>> Athlon XP 1800+ >>>> ASUS A7V266-E/A motherboard (VIA KT-266 chipset) >>>> >>>> The 2 drives I tested are: >>>> iomega Zip-CD CD-RW drive (acd0) >>>> Toshiba DVD-ROM (acd1) >>>> >>>> Any more info required, just ask. >>>> >>>> Additional, I'm not on the list, so if you could CC me, that'd be >>>> great, otherwise, I'll just check the archives. >>> >>> I reported this a couple of weeks ago. I had not used the drive >>> heavily for a while, so I don't know exactly when the problem >>> started. >>> I have discovered that accessing the drive again (another mplayer) >>> will release the drive. I suspect that an interrupt may be getting >>> lost, but I'm far from sure. >>> >> >> My trick is, to include atapicam support in kernel and access the >> cdrom >> using /dev/cd0 instead of /dev/acd0 . >> >> mplayer dvd://1 -dvd-device /dev/cd0 etc. > > I'm afraid not. I was already running ATAPICAM and accessing /dev/cd0. > I > don't think it's an ATAPICAM issue and, since ATAPICAM is shim between > SCSI and ATAPI, it is unlikely to fix a problem like this. It could > cause a problem, I suppose, but the only way I can see for it to fix a > low-level problem would be if a race condition was involved (which > still > might be the case). > -- > R. Kevin Oberman, Network Engineer > Energy Sciences Network (ESnet) > Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) > E-mail: oberman@es.net Phone: +1 510 486-8634 > Interestingly enough, ATAPICAM did work. Thanks, Ariff. I guess there was more than 1 reason for having ide-scsi in my Linux kernel when I had that installed :) I guess also that there must be some interrupt bugs in -CURRENT, but I can work around them with ATAPICAM for now. Thanks for everyone's suggestions, and I bet you're right Kevin. Tickling the drive did help (cdcontrol -f /dev/acd1 reset, which is what Vyacheslav suggested, did work). - -Justin - -- "One World, One Web, One Program" - Microsoft Promo Ad "Ein Volk, Ein Reich, Ein Fuhrer" - Adolf Hitler -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFA8wZHqt29EJDZlM4RAmzQAJ43dptTWAa7SdPKg1sLL+G769VnCgCfeejr ELfkIEAcBl23/1PS85uazFc= =AOLL -----END PGP SIGNATURE-----