From: Rashkae <rashkae@tigershaunt.com>
To: linux-kernel@vger.kernel.org
Subject: ATAPI DVD Drive looses dma settings on reset, keepsettings=1
Date: Thu, 12 Jan 2006 17:41:39 -0500 [thread overview]
Message-ID: <20060112224139.GA4562@tigershaunt.com> (raw)
Tested with Linux 2.6.15 and 2.6.13.3
I have an ATAPI DVD drive as a master(single) device on my
secondary IDE (hdc).
The normal hdparm settings are:
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 1 (on)
readonly = 0 (off)
readahead = 256 (on)
However, if I force a reset with hdparm -w (or the Kernel does
when I insert a disc that the drive takes too long to identify),
DMA gets turned off. Dmesg reports:
hdc: DMA disabled
hdc: ATAPI reset complete
In the case where inserting a disc causes the reset, dmesg
reports:
hdc: irq timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdc: DMA disabled
hdc: ATAPI reset complete
Is there a way I can increate the irq timeout?
It was my understanding that with keepsettings on, the driver
would retain the dma setting on reset. If there is a way correct
this, or I have mis-understood the purpose of keepsettings,
please CC me the response.
Thanks.
reply other threads:[~2006-01-12 22:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060112224139.GA4562@tigershaunt.com \
--to=rashkae@tigershaunt.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox