Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Dec 2001 20:36:47 +0100 (CET)
From:      Søren Schmidt <sos@freebsd.dk>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        Nils Holland <nils@tisys.org>, Matthew Gilbert <agilbertm@earthlink.net>, freebsd-stable@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG
Subject:   Re: 4.4-STABLE crashes - suspects new ata-driver over wd-drivers
Message-ID:  <200112271936.fBRJalu43412@freebsd.dk>
In-Reply-To: <200112271847.fBRIlxh52129@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
It seems Matthew Dillon wrote:
>     This is great news!  I'm crossing my fingers and hoping that Nils can't
>     reproduce the crash any more with Soren's fix.

Me too :)

I have a small change that can be used if performace suffers too badly,
it has not provoked the problem again on any of the systems I've 
tried it on so far.:

--- ata-pci.c   25 Dec 2001 14:44:26 -0000      1.24
+++ ata-pci.c   27 Dec 2001 17:24:32 -0000
@@ -97,9 +97,9 @@
 
        if (pci_get_devid(child) == 0x03051106 ||       /* VIA KT133 */
            pci_get_devid(child) == 0x03911106) {       /* VIA KX133 */
-           pci_write_config(child, 0x75, 0x83, 1);
+           pci_write_config(child, 0x75, 0x80, 1);
            pci_write_config(child, 0x76, 
-                            (pci_read_config(child, 0x76, 1) & 0xdf) | 0xd0,1);
+                            (pci_read_config(child, 0x76, 1) & 0xf) | 0xd0, 1);
            device_printf(dev, "VIA '686b southbridge fix applied\n");
            break;
        }

>     I'm also wondering how applicable this patch might be in regards to 
>     forcing a 'safe' mode for other PCI chipsets, to allow us to test
>     it on non-686B machines that have similar problems.

This patch is specific for VIA K[TX]133 northbridges together with
the 686B southbridge. There might be issues with other new VIA
chipsets that uses the 686B or derivatives, but I have no way to 
test that as I dont have any of that HW here in the lab. 

-Søren

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112271936.fBRJalu43412>