linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* reenable DMA
@ 2008-10-30 21:54 kenneth johansson
  2008-11-11  8:41 ` Tejun Heo
  0 siblings, 1 reply; 2+ messages in thread
From: kenneth johansson @ 2008-10-30 21:54 UTC (permalink / raw)
  To: linux-ide

I have a small problem where my DVD player got confused by a disk
and the ata driver ended up putting the driver in PIO mode. 

Now I need to get it back into DMA without rebooting the computer. 

 hdparm -d1 /dev/sr0

/dev/sr0:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Inappropriate ioctl for device
 HDIO_GET_DMA failed: Inappropriate ioctl for device
-------
 ata9.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
 ata9.00: cmd a0/00:00:00:00:fc/00:00:00:00:00/a0 tag 0 pio 131072 in
          cdb 28 00 00 13 c6 4a 00 00  40 00 00 00 00 00 00 00
          res 40/00:02:00:08:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
 ata9.00: status: { DRDY }
 ata9: soft resetting link
 ata9.00: configured for PIO0
 ata9: EH complete


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: reenable DMA
  2008-10-30 21:54 reenable DMA kenneth johansson
@ 2008-11-11  8:41 ` Tejun Heo
  0 siblings, 0 replies; 2+ messages in thread
From: Tejun Heo @ 2008-11-11  8:41 UTC (permalink / raw)
  To: kenneth johansson; +Cc: linux-ide

kenneth johansson wrote:
> I have a small problem where my DVD player got confused by a disk
> and the ata driver ended up putting the driver in PIO mode. 
> 
> Now I need to get it back into DMA without rebooting the computer. 
> 
>  hdparm -d1 /dev/sr0

Sorry it isn't implemented yet but why does libata get confused in the
first place?  Care to post logs?

Thanks.

-- 
tejun

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-11-11  8:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-30 21:54 reenable DMA kenneth johansson
2008-11-11  8:41 ` Tejun Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).