On Tue, Jul 5, 2011 at 11:26 AM, Richard Kang <turquesa@xxxxxxxxx> wrote: > >> 2011/6/29 Richard Kang<turquesa@xxxxxxxxx>: >>> >>> Hello. >>> >>> I have a sil3132 pci-e card and a DB-88F6282-A-BP(Marvell development >>> board based on Arm9). >>> I compiled sata_sil24 driver as a module with a cross-compiler. >>> >>> But, when loading the driver, qc timeout error was occurred during >>> ata_read_dev_id. >>> What is wrong, IRQ or DMA ? >> >> looks to me this is DMA issue, can you force pio mode? you can do that >> by adding "libata.dma=0" to the kernel command line. >> saeed >> >>> I have 2.6.31.8 > > Dear saeed, > > I excuted libata.dma=0 through "$modprobe libata dma=0" > Then I excuted "$modprobe sata_sil24" > > But, result is same as before. > I think sata_sil24 supports only dma not pio, right? I don't think so. can you check if interrupts working fine? you can test that by loading the driver without any connected disk, then check if the controller raises any interrupt from /proc/interrupts when plugging a disk, saeed -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html