From owner-freebsd-current@FreeBSD.ORG Wed Jul 29 18:22:03 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 0BE051065670 for ; Wed, 29 Jul 2009 18:22:03 +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 8CAC28FC1A for ; Wed, 29 Jul 2009 18:22:02 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from [212.86.226.226] (account mav@alkar.net HELO mavbook.mavhome.dp.ua) by cmail.optima.ua (CommuniGate Pro SMTP 5.2.9) with ESMTPSA id 250118162; Wed, 29 Jul 2009 21:21:58 +0300 Message-ID: <4A709323.6050001@FreeBSD.org> Date: Wed, 29 Jul 2009 21:21:23 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.21 (X11/20090405) MIME-Version: 1.0 To: Ilya Zhuravlev References: <4A4517BE.9040504@FreeBSD.org> <4A6EBAFC.6090800@cbtnet.ru> In-Reply-To: <4A6EBAFC.6090800@cbtnet.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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: Wed, 29 Jul 2009 18:22:03 -0000 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. -- Alexander Motin