Re: [RFT] hpt366: reset DMA state machine on timeouts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.

Linas Vepstas wrote:

Reset HPT36x's DMA state machine on a DMA timeout the way it's done for HPT370.
drivers/ide/pci/hpt366.c |   24 +++++++++++++++++++++++-

This worked great!

I hope you meant those messages were preceeded by DMA timeouts (otherwise this code wouldn't come into action).

Oops, I was wrong ...

Scads of Jun 21 20:22:30 localhost kernel: [ 434.574301] hdc: task_out_intr:
status=0x50 { DriveReady SeekComplete }
Jun 21 20:22:30 localhost kernel: [  434.574318] ide: failed opcode was:
unknown

from it (I put in a printk to verify this).

  You mean into my ide_dma_timeout() method?

Ooops, I lied. I have so many printk's in there, that I got confused.
No, in fact, it looks like I did NOT see your handler run.

   Now I'm confused too -- did you get any DMA timeouts this time?

--linas

MBR, Sergei
-
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

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux