From owner-freebsd-current@FreeBSD.ORG Sat Aug 28 17:38:39 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 09CE01065670 for ; Sat, 28 Aug 2010 17:38:39 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 1E24C8FC15 for ; Sat, 28 Aug 2010 17:38:37 +0000 (UTC) Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id UAA08165; Sat, 28 Aug 2010 20:38:36 +0300 (EEST) (envelope-from avg@icyb.net.ua) Received: from localhost.topspin.kiev.ua ([127.0.0.1]) by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1OpPMS-0007n0-6W; Sat, 28 Aug 2010 20:38:36 +0300 Message-ID: <4C79499B.3050305@icyb.net.ua> Date: Sat, 28 Aug 2010 20:38:35 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.8) Gecko/20100822 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: Garrett Wollman References: <19577.18337.120013.129482@hergotha.csail.mit.edu> In-Reply-To: <19577.18337.120013.129482@hergotha.csail.mit.edu> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: current@freebsd.org Subject: Re: Difficulty playing DVDs under AHCI/CAM? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Sat, 28 Aug 2010 17:38:39 -0000 on 28/08/2010 20:30 Garrett Wollman said the following: > After a recent upgrade, I switched to AHCI/CAM for my SATA devices, > including a new DVD drive. Now I find that nothing can play DVDs any > more. For example, here's what mplayer does: [snip] > 8469 initial thread CALL close(0x4) > 8469 initial thread RET close 0 > 8469 initial thread CALL read(0x3,0x7fffffffb4d0,0x800) > 8469 initial thread RET read -1 errno 6 Device not configured > > ...say what? Why is the cd driver suddenly returning ENXIO? Strange indeed. Can you dtrace this read? You can use combination of syscall and fbt providers with execname predicate. -- Andriy Gapon