From: Jan Mynarik <mynarikj@phoenix.inf.upol.cz>
To: linux-kernel@vger.kernel.org
Cc: andre@linux-ide.org
Subject: Re: DMA timeout error and then kernel halted
Date: Mon, 26 Jan 2004 17:37:19 +0100 [thread overview]
Message-ID: <1075135039.3449.23.camel@narsil> (raw)
In-Reply-To: <1074533362.7913.14.camel@narsil>
I've resolved my problem, DMA must be turned on by "Use DMA by default
in kernel config", it siply doesn't like latter attempts by hdparm. I
tried to have DMA by default previously but only by ide2=dma kernel boot
parameter.
Now, I'm on 40MB/s and happy :-)
Jan "Pogo" Mynarik
On Mon, 2004-01-19 at 18:29, Jan Mynarik wrote:
> Hi,
>
> I have DMA problems with HPT366 on BP6 (newest BIOS version RU incl.
> 1.28 BIOS for HPT366) and Seagate's 80 GB disk (please see exact model
> numbers in attached dmesg).
>
> It's reproducible (with or without SMP, various kernel versions,
> overclocking or not, ACPI on and off) on 2.4.22 and 2.6.0 (test9, test11
> and vanilla) and 2.6.1-rc3. On 2.4 kernel it doesn't halt kernel.
>
> Problem description:
> When I try to set DMA by hdparm, after several seconds the HDD led gets
> on and remains on for another amount of seconds, then I got
>
> hde: dma_timer_expiry: dma status == 0x21
>
> and after a while
>
> hde: DMA timeout error
>
> then kernel is halted and I need to reset my PC.
>
>
> After some investigations I realized that the problem could be in the
> combination of HPT366 and Seagate disk. In the source code of
> HighPoint's driver
> (http://www.highpoint-tech.com/hpt3xx-opensource-v131.tgz - link is in
> kernel's drivers/ide/pci/hpt366.c) I can see some function
> (seagate_hdd_fix) used to fix
> some seagate disk initialization problem which is not present in
> hpt366.c in kernel. I think that's the problem because I
> haven't found any reported problem and I think that BP6 is still widely
> used.
>
> Is it known? Any patches, workarounds, or other suggestions?
>
> Regards,
>
> Jan "Pogo" Mynarik
--
Jan Mynarik <mynarikj@phoenix.inf.upol.cz>
prev parent reply other threads:[~2004-01-26 16:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-19 17:29 Jan Mynarik
2004-01-19 18:08 ` Andreas Steinmetz
2004-01-20 16:25 ` Jan Mynarik
2004-01-19 20:31 ` Stephen D. Williams
2004-01-26 16:37 ` Jan Mynarik [this message]
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=1075135039.3449.23.camel@narsil \
--to=mynarikj@phoenix.inf.upol.cz \
--cc=andre@linux-ide.org \
--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
all inboxes | Powered by JetHome®