9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] atagenioretry: nondma
Date: Sun, 19 May 2013 10:13:28 -0400	[thread overview]
Message-ID: <13095494dd62b57b68b36d52632bcfb6@kw.quanstro.net> (raw)
In-Reply-To: <5F4ED75F-A4FB-4B81-9595-24D2A06A4E24@ar.aichi-u.ac.jp>

On Sun May 19 00:34:14 EDT 2013, arisawa@ar.aichi-u.ac.jp wrote:
> Hello,
>
> yesterday day I had error messages below:
>
> automatic dump Fri May 17 05:00:07 2013
> automatic dump Sat May 18 05:00:08 2013
> command 30
> data f7aea8a0 limit f7aec0a0 dlen 16384 status 0 error 0
> lba 163565804 -> 163565804, count 32 -> 32 (32)
> atagenioretry: nondma w:163565804:32 @163565804:32
> wrenwrite: error on w"/dev/sdD0/fsworm"(2315949): i/o error 040804 163565804
> mirrwrite: error at w"/dev/sdD0/fsworm" block 2315949
> atagenioretry: nondma w:163565836:32 @163565836:32
> wrenwrite: error on w"/dev/sdD0/fsworm"(2315950): i/o error 040804 163565836
> mirrwrite: error at w"/dev/sdD0/fsworm" block 2315950
> atagenioretry: nondma w:163565900:32 @163565900:32
> wrenwrite: error on w"/dev/sdD0/fsworm"(2315952): i/o error 040804 163565900
> mirrwrite: error at w"/dev/sdD0/fsworm" block 2315952
> atagenioretry: nondma w:163565932:32 @163565932:32

iirc, there are three big issues i've seen with the ide driver.
1.  incorrrect pio timings,
2.  missed interrupts
3.  assumption that dma doesn't work.

the 9atom driver addresses all three of these issues.
but you may find it easier to chip away at the issue.
correcting the timings and adding the vid/did.  or
use the ahci driver, which tends to be more reliable
on newer hardware.  here's the ide source for comparison:

	/n/atom/plan9/sys/src/9/pc/sdide.c

what does your fs configuration string look like?

- erik



  reply	other threads:[~2013-05-19 14:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-19  4:32 arisawa
2013-05-19 14:13 ` erik quanstrom [this message]
2013-05-19 15:55   ` cinap_lenrek
2013-05-19 17:47     ` erik quanstrom
2013-05-19 17:52       ` erik quanstrom
2013-05-20 22:10         ` arisawa
2013-05-21  1:40           ` erik quanstrom
2013-05-22 23:18             ` arisawa

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=13095494dd62b57b68b36d52632bcfb6@kw.quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@9fans.net \
    /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).