lkml.org 
[lkml]   [2001]   [Aug]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectBUGFIX: UDMA-SiS5513 chipset support
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
--- ide.c Sat Aug 18 19:46:08 2001
+++ ide-sis.c Sat Aug 18 19:45:51 2001
@@ -3431,7 +3431,7 @@
* PARANOIA!!!
*/
(void) (HWIF(drive)->dmaproc(ide_dma_off_quietly, drive));
- (void) (HWIF(drive)->dmaproc(ide_dma_check, drive));
+ //(void) (HWIF(drive)->dmaproc(ide_dma_check, drive));
}
drive->dsc_overlap = (drive->next != drive && driver->supports_dsc_overlap);
drive->nice1 = 1;
\
 
 \ /
  Last update: 2005-03-22 12:57    [W:0.057 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site