From owner-freebsd-current@FreeBSD.ORG Sat Aug 15 12:19:17 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27C4A106568C for ; Sat, 15 Aug 2009 12:19:17 +0000 (UTC) (envelope-from Joerg.Schilling9ab33xy531fokus.fraunhofer.de@bounce.antispameurope.com) Received: from relay01-haj2.antispameurope.com (relay01-haj2.antispameurope.com [83.246.65.51]) by mx1.freebsd.org (Postfix) with ESMTP id AB1218FC52 for ; Sat, 15 Aug 2009 12:19:16 +0000 (UTC) Received: by relay01-haj2.antispameurope.com (ASE-Secure-MTA, from userid 1000) id 3A729160011; Sat, 15 Aug 2009 14:19:14 +0200 (CEST) Received: from pluto.fokus.fraunhofer.de (pluto.fokus.fraunhofer.de [195.37.77.164]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by relay01-haj2.antispameurope.com (ASE-Secure-MTA) with ESMTP id AC6BD94120; Sat, 15 Aug 2009 14:19:13 +0200 (CEST) Received: from EXCHSRV.fokus.fraunhofer.de (bohr.fokus.fraunhofer.de [10.147.9.231]) by pluto.fokus.fraunhofer.de (8.14.2/8.14.2) with SMTP id n7FCJD18022508; Sat, 15 Aug 2009 14:19:13 +0200 (MEST) Received: from rigel ([10.147.65.195]) by EXCHSRV.fokus.fraunhofer.de with Microsoft SMTPSVC(6.0.3790.3959); Sat, 15 Aug 2009 14:19:14 +0200 Date: Sat, 15 Aug 2009 14:18:38 +0200 From: Joerg.Schilling@fokus.fraunhofer.de (Joerg Schilling) To: freebsd-current@freebsd.org, nox@jelal.kn-bremen.de Message-ID: <4a86a79e.fsqybTv/DWO05+80%Joerg.Schilling@fokus.fraunhofer.de> User-Agent: nail 11.22 3/20/05 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 15 Aug 2009 12:19:14.0113 (UTC) FILETIME=[9A1F4B10:01CA1DA2] X-Mailman-Approved-At: Sat, 15 Aug 2009 12:48:18 +0000 Cc: Subject: Re: ahci(4) hang reproduced, this time it was cdrdao scanbus 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, 15 Aug 2009 12:19:17 -0000 >wanted to burn an audio cd today and ran `cdrdao scanbus' to find out >cdrdao's --device arg for the optical drive (turns out its the same why do you use cdrdao for writing an audio CD? >numbering as camcontrol devlist reports i.e. > at scbus3 target 0 lun 0 (cd1,pass3) >becomes --device 3,0,0) - after which ahci(4) hung again with the board's >disk access led on solid. This time tho I took a photo: > http://people.freebsd.org/~nox/ahcihang1.jpg This may be a bug in the driver, a driver is not allowed to do retries in case that a command was send via SCSI pass through. > cdrdao is in ports as sysutils/cdrdao and is mostly used for writing >or cloning audio cds or vcds. (I haven't tried cdrecord's -scanbus >command tho I wouldn't be surprised if it behaves the same... cdrecord >is in ports as sysutils/cdrtools and sysutils/cdrtools-devel; you usually >want cdrtools-devel.) Cloning CDs is not really implemented in cdrdao, if you really like to clone, use the clone feature from cdrtools: readcd -clone f=img.out cdreccord -v -raw96r -clone img.out but note that there is a quality loss with cloning, I recommend to call this: cdda2wav -vall cddb=0 -paranoia -Owav -B cdrecord -v -sao -text -useinfo *.wav for best quality of a CD-Audio copy. >Oh and btw, the actual burning (after reboot + fsck) then went just >fine, its just the scanbus command that ahci(4) apparently doesn't like... If you like to see what causes the hang, call: cdrecord -scanbus -V Jörg -- EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin js@cs.tu-berlin.de (uni) joerg.schilling@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily