9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: zfolkerts@mail.starcenter.tn.org
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Enabling DMA causes newlines on console
Date: Mon, 14 Jul 2003 12:28:23 -0500	[thread overview]
Message-ID: <20030714172823.GA13597@antares> (raw)
In-Reply-To: <eaa6f24b357cb8e47fd55814a8a2fd40@plan9.bell-labs.com>

On Mon, Jul 14, 2003 at 10:50:38AM -0400, jmk@plan9.bell-labs.com wrote:
> On Mon, 14 Jul 2003 zfolkerts@starcenter.tn.org wrote:
> > If I enable DMA on my disks I get blank lines on the console whenever
> > I do disk I/O. Basically this prevents me from using rio while any
> > I/O is happening. I think there may be a blank message echoed to the
> > console in the IDE driver or somewhere. This does not happen if I do
> > not have DMA enabled. This seems to happen even if I only enable DMA on
>
> do a simple test - bring the system up to a shell prompt (i.e. no window
> manager) - enable dma then dd from one of discs to /dev/null, see what happens.
Well, I rebooted the box, and found that there was no longer a partition
table on either of the drives attached to the Promise controller(lc
/dev/sd[EF]0 only gives ctl data and raw). Other than that, these were
the results:
	with dma on:
		/dev/sdC0	no newlines to console
		/dev/sd[EF]0	newlines to console
	with dma off:
		/dev/sdC0	newlines to console
		/dev/sd[EF]0	newlines to console

Could enabling dma on the Promise controller have trashed the partition
table? (I seem to remember a message to 9fans saying some controllers
trash data with dma enabled) Also which controllers are recommended? I
also have a Promise Ultra 66, and a CMD 640b(I haven't tried to use this
under Plan 9 since it is so old). Luckily I have my fossil on the first
drive in the system, so I don't have to recreate that, however I am
curious whether I should just get rid of the offboard controller entirly
making one of the drives slave to another. I had originally put the
Ultra 100 in so I could keep all of my disks as masters. Any suggestions
are appreciated.

Thanks,
Zack Folkerts



  reply	other threads:[~2003-07-14 17:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-14 14:34 zfolkerts
2003-07-14 14:34 ` andrey mirtchovski
2003-07-14 14:50   ` jmk
2003-07-14 17:28     ` zfolkerts [this message]
2003-07-15  8:40       ` bs

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=20030714172823.GA13597@antares \
    --to=zfolkerts@mail.starcenter.tn.org \
    --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).