From owner-freebsd-current@FreeBSD.ORG Thu Sep 2 08:37:02 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 39C4B1065769 for ; Thu, 2 Sep 2010 08:37:02 +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 7C4208FC20 for ; Thu, 2 Sep 2010 08:37:01 +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 LAA18973; Thu, 02 Sep 2010 11:36:57 +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 1Or5I1-0003DU-JU; Thu, 02 Sep 2010 11:36:57 +0300 Message-ID: <4C7F6229.3040708@icyb.net.ua> Date: Thu, 02 Sep 2010 11:36:57 +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> <4C79499B.3050305@icyb.net.ua> <201008281741.o7SHfqH1008851@hergotha.csail.mit.edu> <4C7E7C43.7070209@icyb.net.ua> <19582.39357.917382.37670@hergotha.csail.mit.edu> In-Reply-To: <19582.39357.917382.37670@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: Thu, 02 Sep 2010 08:37:02 -0000 on 01/09/2010 21:21 Garrett Wollman said the following: > < said: > >> Just want to draw attention of those who use ahci, have hald running and burn >> optical media to couple of known issues: > > What about those of us who use ahci, don't have hald running, and just > want to read their DVDs? I am not aware of any known but not resolved issues in this context. But I think that I gave you a good advice. > I never heard any response from you when I > asked for a more specific debugging procedure. Sorry about that, forgot to tell you about google. Now, apologies about the joke, no offense meant :-) These links should give a good overview for the start: http://wiki.freebsd.org/DTrace http://wiki.freebsd.org/DTrace/Examples http://www.freebsd.org/doc/handbook/dtrace.html http://wikis.sun.com/display/DTrace/Documentation And, oh, here is a script that I used to investigate a somewhat similar problem with failing ioctl. I think you should be able to easily adapt it to your needs. syscall::ioctl:entry /execname == "k3b" && arg1 == 3299349762/ { self->trace = 1; } fbt:::entry /self->trace/ { } fbt:::return /self->trace/ { printf("%d", arg1); } syscall::ioctl:return { self->trace = 0; } > My next step was going > to be enabling CAMDEBUG and trying to find out which specific > operation was failing, but I'm not a SCSI expert by any means.... Not sure if debugging with CAMDEBUG would be easier or not. There could be lots of output. -- Andriy Gapon