Date: Thu, 14 Aug 2008 13:33:34 +0400 From: "Andrey V. Elsukov" <bu7cher@yandex.ru> To: sam <samflanker@gmail.com> Cc: freebsd-hackers@freebsd.org, Kris Kennaway <kris@FreeBSD.org>, elloallo@infinito.it Subject: Re: kern/98388: [ata] FreeBSD 6.1 - WDC WD1200JS SATA II disks are seen as older SATA Message-ID: <48A3FBEE.5060302@yandex.ru> In-Reply-To: <48A3E25E.6050105@gmail.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48A3FBEE.5060302>
