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] Random SATA errors with SMP on a dual core machine.
Date: Wed,  3 Jun 2009 01:15:04 -0400	[thread overview]
Message-ID: <1f4d49255f3ca5256e7c85dff0265cd7@quanstro.net> (raw)
In-Reply-To: <aa7e41150906021322q2dcac95fq88b51f412cc566d0@mail.gmail.com>

sorry to hear things aren't working.

> % 9fs sources
> % cd /n/sources/contrib/quanstro/root/sys/src/9/pc
> % cp sdata.c sdiahci.c ahci.h /sys/src/9/pc
> % cd ../port
> % cp devsd.c sd.h sdloop.c /sys/src/9/port
> % cd ../../libfis
> % mkdir /sys/src/libfis
> % cp fis.h mkfile /sys/src/libfis
> % cd /sys/src/libfs
> % mk install

steve is correct.  using contrib is the easy way to do this,
but the full list of files is in /n/sources/contrib/quanstro/replica/sd/,
if you don't want to use the contrib stuff.  pc/sdscsi.c
jumps out as missing.

> Now the problem that I am seeing is that, if I boot the machine up
> with both cores enabled, I get some relatively small amount of use out
> of the SATA drives, then I get a (seemingly) random i/o error and then
> all further access to the drives fails.  I am still booting from the
> CF disk, but using the fossil on the SATA drives as the root.  I was

(i assuming that you are not running in combined mode and you have
configured the sata ports in ahci mode.)

could you send me the errors you are seeing?  it may be helpful to
turn on debugging.  i'd suggest recompiling the kernel with debug=1
in sdiahci.c.  i'd be interested in the output (including all the boot-time
noise) if you could send it off list.  i am running the same intel 3000
mukilteo-2 chipset in a few machines but don't see any trouble.  i am
running all of them with mp interrupts enabled.

- erik



  parent reply	other threads:[~2009-06-03  5:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-02 20:22 Dan Cross
2009-06-02 21:01 ` Steve Simon
2009-06-03  5:15 ` erik quanstrom [this message]
2009-06-04 16:03   ` Dan Cross
2009-06-04 17:54     ` erik quanstrom
2009-06-04 19:33 ` Venkatesh Srinivas

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=1f4d49255f3ca5256e7c85dff0265cd7@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).