Messages in this thread |  | | From | Zwane Mwaikambo <> | Subject | Re: Lockup in IDE code | Date | Sat, 10 Nov 2001 15:36:51 +0200 |
| |
Uniform Multi-Platform E-IDE driver Revision: 6.31 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx PIIX4: IDE controller on PCI bus 00 dev 21 PIIX4: chipset revision 1 PIIX4: not 100% native mode: will probe irqs later ide0: BM-DMA at 0xd800-0xd807, BIOS settings: hda:pio, hdb:DMA ide1: BM-DMA at 0xd808-0xd80f, BIOS settings: hdc:pio, hdd:pio hdb: CRD-8480B, ATAPI CD/DVD-ROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
He only has the one device on IDE as you can see that the probe only shows hdb, and i have a PIIX4 too and they do UDMA33 well enough, in fact i'm not aware of any DMA problems with the PIIX4. Richard, have you tried disabling CONFIG_IDEDMA_AUTO and CONFIG_PIIX_TUNING ?
But looking at the code in ide-features.c it doesn't look like we have enabled DMA by the time we get to that code.
if (error) { (void) ide_dump_status(drive, "set_drive_speed_status", stat); return error; }
<----- snip ----- > #if defined(CONFIG_BLK_DEV_IDEDMA) && !defined(CONFIG_DMA_NONPCI) if (speed > XFER_PIO_4) { outb(inb(hwif->dma_base+2)|(1<<(5+unit)), hwif->dma_base+2); } else { outb(inb(hwif->dma_base+2) & ~(1<<(5+unit)), hwif->dma_base+2); } #endif /* (CONFIG_BLK_DEV_IDEDMA) && !(CONFIG_DMA_NONPCI) */
But bear in mind i'm far from being remotely knowledgeable about this specific code ;) - 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/
|  |