From owner-freebsd-current@FreeBSD.ORG Fri Dec 25 21:31:15 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 6BA6F106566C; Fri, 25 Dec 2009 21:31:15 +0000 (UTC) (envelope-from trebestie@gmail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id C900C8FC08; Fri, 25 Dec 2009 21:31:14 +0000 (UTC) Received: by bwz5 with SMTP id 5so5875746bwz.3 for ; Fri, 25 Dec 2009 13:31:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=gpvzvh/bjAiShdkjvHG3m3EZjheHqiMt3/lRu6pAcO8=; b=DwL+mXwXJvbIBPxiYVSgtXuZt9LgExzchBBVDEadN+aMDElOAIG+qqBAE4GsdFKU9B ywqnVqZyOVLvwe7gh6S6IWUWng4fiZzY63fhRwlev5EJGi32xYXWraTAeSDwrsRYNl6o X/PjyRGTPDvE1j0S7M2FBui7vYDs0uWdw+Czg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=YDFdS153ZUT7R1NR+1+gAFUdK/Jh+mmMpP0qNoRhpdgbLtLW8bLkNlTql7sXW8yer1 +shw+DvhPsELUtgoFf4CTaifH+QQKEDUNjnJW3+t0LTFX+rT0ViIpNd16Qg4cbBUr3+I AClao/ILpviDbBytg9mxfyOPmN6u/IIJgarvg= MIME-Version: 1.0 Received: by 10.204.3.220 with SMTP id 28mr932500bko.4.1261776673484; Fri, 25 Dec 2009 13:31:13 -0800 (PST) In-Reply-To: <4B331C07.1020706@FreeBSD.org> References: <1261624986.00198729.1261614601@10.7.7.3> <4B331C07.1020706@FreeBSD.org> Date: Fri, 25 Dec 2009 22:31:13 +0100 Message-ID: <83e5fb980912251331r50f2de69s3158ab5dbcf7645e@mail.gmail.com> From: Diego Depaoli To: Alexander Motin Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current Subject: Re: ATA_CAM for extradummies 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: Fri, 25 Dec 2009 21:31:15 -0000 On Thu, Dec 24, 2009 at 8:45 AM, Alexander Motin wrote: > Diego Depaoli wrote: >> Trying to rip a DVD with ogmrip which uses libdvd[read | nav | css] my >> system becomes unusable. >> Syslog repeats many and many times: >> ahcich0: port is not ready (timeout 10000ms) tfd = 00000480 >> ahcich0: device ready timeout >> >> ahci0: port >> >> I can only poweroff the machine since reboot hangs syncing the buffers. >> After restart, verbose dmesg causes kernel panic. > > As soon as your DVD drive is on PATA channel, errors are not directly > related to ripping. I think it is related to device scanning before it. > I think libdvd tries to send SCSI commands to SATA disks, which is not > handled properly by IXP700 AHCI controller. After adding device sg as suggested by @bf1783 to my kernel now I can see pass devices. Unfortunately that doesn't solve the other issues: - without ataati my DVD drive isn't detected - ripping DVD the system becomes unusable ahcich0: hardware reset ... ahcich0: SATA connect time=0ms status=00000123 ahcich0: port is not ready (timeout 10000ms) tfd = 00000480 Let me know if I can help someway Regards -- Diego Depaoli