9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Russ Cox" <rsc@swtch.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] fossil crash after installation
Date: Mon,  4 Jun 2007 11:10:29 -0400	[thread overview]
Message-ID: <20070604150702.3ABCD1E8C26@holo.morphisms.net> (raw)
In-Reply-To: <c5f3ba25ccb2cec436ae6c3ef348c429@coraid.com>

> 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.

not true; dma is left off unless explicitly enabled with

	echo dma on >/dev/sdC0/ctl

that has on occasion been put in termrc but i don't
see it there now.

dma does get enabled in the termrc used for
installation, but i don't believe it stays enabled
in the base system unless you modify your
termrc yourself.

what is true is that the specific dma mode used
when dma is enabled is whatever got set up by
the bios.  but whether or not to use dma at all
is a separate question and not one that plan 9
defers to the bios for.

russ



      reply	other threads:[~2007-06-04 15:10 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
2007-06-04 15:10       ` Russ Cox [this message]

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=20070604150702.3ABCD1E8C26@holo.morphisms.net \
    --to=rsc@swtch.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).