From owner-freebsd-hackers@FreeBSD.ORG Thu Aug 14 09:33:48 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 548B91065679; Thu, 14 Aug 2008 09:33:48 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from smtp14.yandex.ru (smtp14.yandex.ru [77.88.32.84]) by mx1.freebsd.org (Postfix) with ESMTP id 5CA268FC19; Thu, 14 Aug 2008 09:33:47 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from ns.kirov.so-cdu.ru ([77.72.136.145]:30194 "EHLO [127.0.0.1]" smtp-auth: "bu7cher" TLS-CIPHER: "DHE-RSA-AES256-SHA keybits 256/256 version TLSv1/SSLv3" TLS-PEER-CN1: ) by mail.yandex.ru with ESMTP id S5178657AbYHNJdh (ORCPT + 1 other); Thu, 14 Aug 2008 13:33:37 +0400 X-Yandex-Spam: 1 X-Yandex-Front: smtp14 X-Yandex-TimeMark: 1218706417 X-MsgDayCount: 12 X-Comment: RFC 2476 MSA function at smtp14.yandex.ru logged sender identity as: bu7cher Message-ID: <48A3FBEE.5060302@yandex.ru> Date: Thu, 14 Aug 2008 13:33:34 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: sam References: <48A3D034.9090809@gmail.com> <48A3D43E.2070101@yandex.ru> <48A3D771.5010601@gmail.com> <48A3DA54.9070803@FreeBSD.org> <48A3DC83.1080806@gmail.com> <48A3E0E4.3090909@yandex.ru> <48A3E25E.6050105@gmail.com> In-Reply-To: <48A3E25E.6050105@gmail.com> Content-Type: multipart/mixed; boundary="------------000106050100000300000604" Cc: freebsd-hackers@freebsd.org, Kris Kennaway , elloallo@infinito.it Subject: Re: kern/98388: [ata] FreeBSD 6.1 - WDC WD1200JS SATA II disks are seen as older SATA X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Aug 2008 09:33:48 -0000 This is a multi-part message in MIME format. --------------000106050100000300000604 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit sam wrote: > -------------------------------------------------------- > # ident /boot/kernel/kernel | grep ata-chipset > $FreeBSD: src/sys/dev/ata/ata-chipset.c,v 1.202.2.11 2008/08/02 > 12:34:49 remko Exp $ > -------------------------------------------------------- Can you apply attached patch, rebuild your kernel, reboot in verbose mode and show /var/run/dmesg.boot ? -- WBR, Andrey V. Elsukov --------------000106050100000300000604 Content-Type: text/plain; name="ata-chipset.c.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="ata-chipset.c.diff" --- ata-chipset.c.orig 2008-08-12 08:31:14.000000000 +0400 +++ ata-chipset.c 2008-08-14 13:31:40.000000000 +0400 @@ -2193,6 +2193,11 @@ ctlr->allocate = ata_intel_allocate; ctlr->reset = ata_intel_reset; + if (bootverbose) { + device_printf(dev, "SCRD = 0x%08x, SATACR1 = 0x%08x\n", + pci_read_config(dev, 0x94, 4), + pci_read_config(dev, 0xac, 4)); + } /* * if we have AHCI capability and AHCI or RAID mode enabled * in BIOS we try for AHCI mode --------------000106050100000300000604--