BUGFIX: UDMA-SiS5513 chipset support

Frank Neuber (frank.neuber@gmx.de)
Sat, 18 Aug 2001 20:23:09 +0200 (CEST)


This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.

---2139483686-1497291156-998158989=:1982
Content-Type: TEXT/PLAIN; charset=US-ASCII

Hi,
recently I did an upgrade of my old computer (ASUS SP97-V) to
the kernel-2.4.7.

Problem:
My system was crashing even when I load the module ide-disk.o
Solution:
Because of the broken hardware (some UDMA problems with an non
UDMA-Cabel to the drive) the linux kernel hangs during ide_dma_check.
Even if UDMA is disabeld in the bios, the kernel detect this drive as
an udma drive. And this is wrong!!
My solution was simply to comment out the ide_dma_check in ide.c.
You can find this patch as attachment.

Frank

-- 
     _/_/_/_/ _//   _/ Frank Neuber
    _/       _/_/  _/  frank.neuber@gmx.de (private)
   _/_/_/   _/ _/ _/
  _/       _/  _/_/    neuber@opensource-systemberatung.de
 _/       _/    // http://www.opensource-systemberatung.de

---2139483686-1497291156-998158989=:1982 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="ide-sis.patch" Content-Transfer-Encoding: BASE64 Content-ID: <Pine.LNX.3.96.1010818202309.1982B@mars.private.de> Content-Description: ide-sis.patch

LS0tIGlkZS5jCVNhdCBBdWcgMTggMTk6NDY6MDggMjAwMQ0KKysrIGlkZS1z aXMuYwlTYXQgQXVnIDE4IDE5OjQ1OjUxIDIwMDENCkBAIC0zNDMxLDcgKzM0 MzEsNyBAQA0KIAkJCSAqICAgUEFSQU5PSUEhISENCiAJCQkgKi8NCiAJCQko dm9pZCkgKEhXSUYoZHJpdmUpLT5kbWFwcm9jKGlkZV9kbWFfb2ZmX3F1aWV0 bHksIGRyaXZlKSk7DQotCQkJKHZvaWQpIChIV0lGKGRyaXZlKS0+ZG1hcHJv YyhpZGVfZG1hX2NoZWNrLCBkcml2ZSkpOw0KKwkJCS8vKHZvaWQpIChIV0lG KGRyaXZlKS0+ZG1hcHJvYyhpZGVfZG1hX2NoZWNrLCBkcml2ZSkpOw0KIAkJ fQ0KIAkJZHJpdmUtPmRzY19vdmVybGFwID0gKGRyaXZlLT5uZXh0ICE9IGRy aXZlICYmIGRyaXZlci0+c3VwcG9ydHNfZHNjX292ZXJsYXApOw0KIAkJZHJp dmUtPm5pY2UxID0gMTsNCg== ---2139483686-1497291156-998158989=:1982-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/