From owner-freebsd-current@FreeBSD.ORG Mon May 12 12:49:24 2008 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 188131065672; Mon, 12 May 2008 12:49:24 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id C088B8FC12; Mon, 12 May 2008 12:49:23 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from phobos.samsco.home (phobos.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.8/8.13.8) with ESMTP id m4CCnFbX037309; Mon, 12 May 2008 06:49:15 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <48283CCB.1060507@samsco.org> Date: Mon, 12 May 2008 06:49:15 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.13) Gecko/20080313 SeaMonkey/1.1.9 MIME-Version: 1.0 To: Andrey Chernov , "Andrey V. Elsukov" , sos@FreeBSD.ORG, grehan@FreeBSD.ORG, current@FreeBSD.ORG References: <20080511004607.GA67182@nagual.pp.ru> <4827DCED.1000205@yandex.ru> <20080512062514.GA10058@nagual.pp.ru> In-Reply-To: <20080512062514.GA10058@nagual.pp.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=3.8 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on pooker.samsco.org Cc: Subject: Re: atadev->param.model problem or bug with Marvell 88SE6811 chip 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: Mon, 12 May 2008 12:49:24 -0000 Andrey Chernov wrote: > On Mon, May 12, 2008 at 10:00:13AM +0400, Andrey V. Elsukov wrote: >> Andrey Chernov wrote: >>> I have device detection problem with device attached to >>> atapci0: port 0xec00-0xec07,0xe880-0xe883,0xe800-0xe807,0xe480-0xe483,0xe400-0xe40f mem 0xfebffc00-0xfebfffff irq 16 at device 0.0 on pci3 >>> (ASUS P5E3 motherboard). >>> It seems that this controller not fills atadev->param.model as current >>> ata-all.c code expects: >> Can you try this patch and show verbose dmesg with patched kernel? > > I change them to atadev->param.config and atadev->param.reserved2 > since there is no such members in atadev directly. Results are: > > ata2: IDENTIFY DEVICE data is complete, word2 is 0x0000 > ata2: IDENTIFY DEVICE data is complete, word2 is 0x0000 > > (per each channel) > ATAPI devices should be getting their identifying strings via an MMC INQ command instead of an ATA IDENTIFY command. What happens if you add the atapicam driver? Scott