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] Bizarre freeze
Date: Tue,  5 Aug 2008 15:49:38 -0400	[thread overview]
Message-ID: <8c0e2e9fc0c571f3be800e7c21531f11@quanstro.net> (raw)

> > I wonder why there is a command to turn on DMA on disks.  Could
> > it be that some disks don't work with DMA on?

> sure. it's PC hardware, so it's crap :-)

unfortunately, this isn't a pc hardware thing.  pata
devices are not required to support dma.  ata 7, which
is the first to include sata support, requires udma mode
5 support.  (many sata:pata bridges violate this part of
the spec, e.g. sata doms.)

but i'm wondering if dma support isn't a red herring.

> sdC0 is a cdrom. I can turn dma on for my sata disks (sdE0/sdF0) no problem.

it could be that this is a chipset that advertizes sata and
pata pci devices concurrently, but only one may be accessed
by the operating system.  some ich 7 chipsets fall into this
category.

does this also hang your machine?

	echo probe|scuzz

if so, i would put some debugging in atapktio.
otherwise, it just might be a bug in sdata.c

- erik



             reply	other threads:[~2008-08-05 19:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-05 19:49 erik quanstrom [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-08-05 18:01 sqweek
2008-08-05 18:16 ` Sape Mullender
2008-08-05 18:26   ` ron minnich
2008-08-05 19:01     ` erik quanstrom
2008-08-07 10:17     ` matt

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=8c0e2e9fc0c571f3be800e7c21531f11@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).