From owner-freebsd-current@FreeBSD.ORG Mon May 12 06:25:17 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 786AD1065674; Mon, 12 May 2008 06:25:17 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (nagual.pp.ru [194.87.13.69]) by mx1.freebsd.org (Postfix) with ESMTP id E1C848FC19; Mon, 12 May 2008 06:25:16 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.14.2/8.14.2) with ESMTP id m4C6PF8I010163; Mon, 12 May 2008 10:25:15 +0400 (MSD) (envelope-from ache@nagual.pp.ru) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nagual.pp.ru; s=default; t=1210573515; bh=qQlTXgCd4Xd+4eBSGcopMczmpckbyG50bfmosOA vOOE=; l=827; h=Date:From:To:Cc:Subject:Message-ID:References: MIME-Version:Content-Type:In-Reply-To; b=SuCsVh2u8sH7sN9drpNJqAkLY /JVWVeCyT2f7ZGievRYIn0LC0M58QqhGoV37cJoyUGbJ/Kp9WIFPao8D+Eibh67QCjB /GIOtk/ZIKqSBFjM2NNK8xAdfF/PTcWpkKVrlOKP81ZseGcJWLZyxDbr1dpg3v6nq0t u7a0+v1WF3l8= Received: (from ache@localhost) by nagual.pp.ru (8.14.2/8.14.2/Submit) id m4C6PFM6010162; Mon, 12 May 2008 10:25:15 +0400 (MSD) (envelope-from ache) Date: Mon, 12 May 2008 10:25:14 +0400 From: Andrey Chernov To: "Andrey V. Elsukov" Message-ID: <20080512062514.GA10058@nagual.pp.ru> Mail-Followup-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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4827DCED.1000205@yandex.ru> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: current@FreeBSD.ORG, grehan@FreeBSD.ORG, sos@FreeBSD.ORG 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 06:25:17 -0000 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) -- http://ache.pp.ru/