Messages in this thread Patch in this message | | | Date | Sat, 18 Aug 2001 20:23:09 +0200 (CEST) | From | Frank Neuber <> | Subject | BUGFIX: 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; | |