lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 27 Sep 2006 23:05:25 +0200
From:	Michiel de Boer <x@...elhomicide.demon.nl>
To:	gregkh@...e.de
CC:	linux-kernel@...r.kernel.org
Subject: [PATCH] Chipset addition for the VIA Southbridge workaround / quirk

Hi, i'm (maybe unfortunately ;) the owner of a socket 370 motherboard
by DFI. It's type number is CA63-EC REV A+. According to the manual
this is the exact chipset naming:
VIA 82C693A/82C686B AGPset

Also built in is an Creative Labs SB Live! audio device. When i was
still using windows 98, i experienced corruptions when burning DVD's,
and after lengthy investigation i discovered i had a buggy southbridge.[1]
Apparently the presence of the SB Live! audio device might even accelerate
the problem, although it does not actually disappear when this PCI card
is removed. When i moved to Linux, i decided that writing a kernel patch
based on the fixup programs i found for windows 98 would be appropriate.

However, i was pleased to discover that fixup code was already present in
drivers/pci/quirks.c . The only thing i had to do then was add my mother-
board identifier to the bottom of the code. The patch has been tried and
tested since 2.6.8, and since then it has evolved since it turned out it
contained unneccessary code patches. It has also been tested without
problems on the user base of the distro Kanotix[2], of which i'm a
co-developer. It activates as it should when it should, fixes the corrup-
tions i had when burning DVD's, and improves system behavior.
It's a very small and simple patch, but it would spare me from having
to patch the kernel source myself it it were to be included.

Regards, Michiel de Boer

[1] 
http://www.theregister.co.uk/2001/04/12/datacorruption_bug_hits_via_chipsets/
     http://www.realworldtech.com/page.cfm?ArticleID=RWT051401003409
     http://www.tecchannel.de/ueberblick/archiv/401770/
[2] http://www.kanotix.com

Credit: Stefan Lippers-Hollmann <s.l-h@....de>, for showing me the way
around in the kernel sources.
Signed-off-by: Michiel Lieuwe de Boer <x@...elhomicide.demon.nl>

diff -Nru linux-2.6.18.orig/drivers/pci/quirks.c 
linux-2.6.18/drivers/pci/quirks.c
--- linux-2.6.18.orig/drivers/pci/quirks.c      2006-09-20 
05:42:06.000000000 +0200
+++ linux-2.6.18/drivers/pci/quirks.c   2006-09-27 22:43:30.000000000 +0200
@@ -172,6 +172,7 @@
 DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_VIA,     
PCI_DEVICE_ID_VIA_8363_0,       quirk_vialatency );
 DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_VIA,     
PCI_DEVICE_ID_VIA_8371_1,       quirk_vialatency );
 DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_VIA,     
PCI_DEVICE_ID_VIA_8361,         quirk_vialatency );
+DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_VIA,     
PCI_DEVICE_ID_VIA_82C691_0,     quirk_vialatency );

 /*
  *     VIA Apollo VP3 needs ETBF on BT848/878

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ