From owner-freebsd-current@FreeBSD.ORG Thu Aug 6 14:56:12 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 8A1EE10656A9 for ; Thu, 6 Aug 2009 14:56:12 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id 1716C8FC22 for ; Thu, 6 Aug 2009 14:56:11 +0000 (UTC) Received: from orphanage.alkar.net (account mav@alkar.net [212.86.226.11] verified) by cmail.optima.ua (CommuniGate Pro SMTP 5.2.9) with ESMTPA id 250880631; Thu, 06 Aug 2009 17:56:08 +0300 Message-ID: <4A7AEF07.2040906@FreeBSD.org> Date: Thu, 06 Aug 2009 17:56:07 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.22 (X11/20090805) MIME-Version: 1.0 To: Ilya Zhuravlev References: <4A4517BE.9040504@FreeBSD.org> <4A6EBAFC.6090800@cbtnet.ru> <4A709323.6050001@FreeBSD.org> <4A7AB52B.5000300@cbtnet.ru> In-Reply-To: <4A7AB52B.5000300@cbtnet.ru> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD-Current Subject: Re: RFC: ATA to CAM integration patch 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, 06 Aug 2009 14:56:12 -0000 Ilya Zhuravlev wrote: > Alexander Motin wrote: >> Ilya Zhuravlev wrote: >>> ahci cannot attach drives >>> 8.0-beta2, laptop asus k50in, nvidia MCP75L-based >>> >>> ahci0: [THREAD] >>> ahci0: AHCI v1.20 with 2 3Gbps ports, Port Multiplier supported >>> ahcich0: at channel 0 on ahci0 >>> ahcich0: [THREAD] >>> ahcich1: at channel 1 on ahci0 >>> ahcich1: [THREAD] >>> ...... >>> (aprobe0:ahcich0:0:15:0): SIGNATURE: 0000 >>> (aprobe0:ahcich0:0:0:0): SIGNATURE: 0000 >>> (aprobe0:ahcich0:0:0:0): Uncorrected Parity Error >>> (aprobe0:ahcich0:0:0:0): Retrying Command >>> (aprobe0:ahcich0:0:0:0): Uncoreccted Parity Error >>> (aprobe0:ahcich0:0:0:0): error 5 >>> (aprobe0:ahcich0:0:0:0): Retries Exhausted >>> (aprobe1:ahcich1:0:15:0): SIGNATURE: eb14 >>> (aprobe0:ahcich1:0:0:0): SIGNATURE: eb14 >>> (aprobe0:ahcich1:0:0:0): Uncoreccted Parity Error >>> (aprobe0:ahcich1:0:0:0): Retrying Command >>> (aprobe0:ahcich1:0:0:0): Uncoreccted Parity Error >>> (aprobe0:ahcich1:0:0:0): error 5 >>> (aprobe0:ahcich1:0:0:0): Retries Exhausted >>> >>> pciconf with ata-driver and ata-compat enabled in bios: >>> atapci0@pci0:0:11:0: class=0x010185 card=0x1cf71043 >>> chip=0x0ab510de rev=0xb1 hdr=0x00 >>> vendor = 'Nvidia Corp' >>> class = mass storage >>> subclass = ATA >>> bar [10] = type I/O Port, range 32, base 0xc080, size 8, enabled >>> bar [14] = type I/O Port, range 32, base 0xc000, size 4, enabled >>> bar [18] = type I/O Port, range 32, base 0xbc00, size 8, enabled >>> bar [1c] = type I/O Port, range 32, base 0xb880, size 4, enabled >>> bar [20] = type I/O Port, range 32, base 0xb800, size 16, enabled >>> bar [24] = type Memory, range 32, base 0xfae7c000, size 8192, >>> enabled >>> cap 01[44] = powerspec 2 supports D0 D3 current D0 >>> cap 12[8c] = SATA Index-Data Pair >>> cap 05[b0] = MSI supports 8 messages, 64 bit >>> >>> atacontrol for devices on channels attached >> >> Try please to uncomment device_printf() lines inside ahci_ch_intr() >> function. It could give some ideas about what's going on there. >> > Sorry for long delay. > boot -v, pciconf attached I don't see that you've uncommented //device_printf(dev, "%s ERROR is %08x cs %08x... lines in ahci_ch_intr() and rebuilt kernel as I've said. -- Alexander Motin