9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@coraid.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] fossil crash after installation
Date: Mon,  4 Jun 2007 07:45:18 -0400	[thread overview]
Message-ID: <c5f3ba25ccb2cec436ae6c3ef348c429@coraid.com> (raw)
In-Reply-To: <10b109140706040232q4a660daera1e8161433e65c0e@mail.gmail.com>

> Where is the best place to disable DMA ?
> This command can be used in termrc (or cpurc) after kernel is loaded. But
> isn't it late?
>
> Antonin

dma is left as bios left it. c.f. /sys/src/9/pc/sdata.c:/^atadmamode
so disabling dma in bios should do the trick.  you can verify this
with

	; /cat /dev/sdC0/ctl | grep config
	config 427A capabilities 2F00 dma 00550040 dmactl 00000000 rwm 16 rwmctl 0 lba48always off

the number following dmactl will be non-zero if dma is on.

- erik


  reply	other threads:[~2007-06-04 11:45 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-04  7:26 Antonin Vecera
2007-06-04  7:35 ` Steve Simon
2007-06-04  7:59   ` Charles Forsyth
2007-06-04  8:13     ` W B Hacker
2007-06-04  8:55       ` Charles Forsyth
2007-06-04  8:27     ` Charles Forsyth
2007-06-04  8:58       ` W B Hacker
2007-06-04  8:55   ` Antonin Vecera
2007-06-04  9:32   ` Antonin Vecera
2007-06-04 11:45     ` erik quanstrom [this message]
2007-06-04 15:10       ` Russ Cox

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=c5f3ba25ccb2cec436ae6c3ef348c429@coraid.com \
    --to=quanstro@coraid.com \
    --cc=9fans@cse.psu.edu \
    /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).