linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Robert Hancock <hancockrwd@gmail.com>
To: Ben Whitten <benwhitten@gmail.com>
Cc: linux-ide@vger.kernel.org
Subject: Re: DMA bug with ata_piix on ICH7-M
Date: Tue, 06 Dec 2011 21:10:25 -0600	[thread overview]
Message-ID: <4EDED921.6030207@gmail.com> (raw)
In-Reply-To: <1323176998.2687.35.camel@Sparkler>

On 12/06/2011 07:09 AM, Ben Whitten wrote:
> Hi,
> I seem to have found a problem with DMA on a motherboard using an ICH7-M
> chipset, this bug prevents me from installing to the harddrive and I
> have been unable to find a workaround.
> The motherboard is a Unicorn computers ENDAT-2794A motherboard[1]
> When I try to run the Ubuntu 11.10 USB install image which is using
> kernel 3.0 the system jams for a good few minutes at a stage in boot
> then eventually comes up. In the dmesg I see the following;
>
> [  332.656551] ata1.01: configured for UDMA/33
> [  332.656590] ata1: EH complete
> [  332.716560] ata1.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
> frozen
> [  332.716776] ata1.01: BMDMA stat 0x44
> [  332.716887] ata1.01: failed command: READ DMA
> [  332.717029] ata1.01: cmd c8/00:08:78:03:00/00:00:00:00:00/f0 tag 0
> dma 4096 in
> [  332.717034]          res 50/00:00:7f:03:00/00:00:12:00:00/f0 Emask
> 0x2 (HSM violation)
> [  332.717435] ata1.01: status: { DRDY }
> [  332.717564] ata1: soft resetting link
> [  332.900593] ata1.01: configured for UDMA/33
> [  332.900631] ata1: EH complete
> [  332.949133] ata1.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
> frozen
> [  332.949344] ata1.01: BMDMA stat 0x44
> [  332.949454] ata1.01: failed command: READ DMA
> [  332.949593] ata1.01: cmd c8/00:08:90:03:00/00:00:00:00:00/f0 tag 0
> dma 4096 in
> [  332.949598]          res 50/00:00:97:03:00/00:00:12:00:00/f0 Emask
> 0x2 (HSM violation)
> [  332.950006] ata1.01: status: { DRDY }
> [  332.950130] ata1: soft resetting link
>
> Prior to this it gets configured for UDMA/133 which I believe is out of
> spec for the ICH7 following information on a previous fixed bug[2]. It
> eventually backs it down to 33, which is probably where the system
> unlocks and can continue to boot.

That speed limitation only applies to PATA ports. The UDMA speed 
selection doesn't really do much or anything with SATA devices. It 
doesn't look like it has any effect on this issue since from the dmesg 
on the Launchpad report, the problems continue after we speed down to 
UDMA33.

>
> I have also tried this with a development snapshot of Ubuntu 12.04 using
> kernel 3.2 with the same result.
> I have attached a screen shot of the IDE BIOS options in case a default
> is wrong or there is a workaround until the bug is fixed. Further system
> information and logs can be found on the generated ubuntu launchpad bug
> report [3].

Is this hardware setup known to be working? Is there a previous kernel 
or other OS that worked?


  reply	other threads:[~2011-12-07  3:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-06 13:09 DMA bug with ata_piix on ICH7-M Ben Whitten
2011-12-07  3:10 ` Robert Hancock [this message]
2011-12-07 10:57   ` Ben Whitten
2011-12-08 14:08   ` Ben Whitten

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=4EDED921.6030207@gmail.com \
    --to=hancockrwd@gmail.com \
    --cc=benwhitten@gmail.com \
    --cc=linux-ide@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;
as well as URLs for NNTP newsgroup(s).