9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: zfolkerts@starcenter.tn.org
To: 9fans@cse.psu.edu
Subject: [9fans] Enabling DMA causes newlines on console
Date: Mon, 14 Jul 2003 09:34:17 -0500	[thread overview]
Message-ID: <20030714143417.GA24532@antares> (raw)

Hi,

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
one disk. It also seems to happen on both the onboard and offboard
controllers. I have not yet done extensive testing(I set up this server
yesterday), so I am unsure if this happens only with reads, writes or
both.

My setup is as follows:
The onboard IDE is a VIA, it is one of the VT82C69xx chipsets.
	(I am not at the machine now, and I don't remember the exact #)
The offboard IDE is a Promise Ultra 100.

My disk layout looks like this:
	/dev/sdC0/fs      1Gb kfs (What I am currently booting from)
	/dev/sdC0/fossil  20Gb fossil
	/dev/fs/isect0    1Gb index
		/dev/sdE0/isect0
		/dev/sdF0/isect0
	/dev/fs/arenas0   17Gb arena
		/dev/sdE0/arenas0
		/dev/sdF0/arenas0

So if I do this:
# for (i in sdC0 sdE0 sdF0)
	echo 'dma on' > /dev/^$i^/ctl
# con -l /srv/fscons
prompt:
main: snap -a

A couple of seconds later, when the data is sent off to venti, I will get
blank lines scroll through the center of my display, as if a message were
being printed on the console, but no text appears. Any ideas as to the
cause/prevention of this behavior? I never had DMA enabled on the
previous fossil/venti fileserver that I had, so I have only seen this
happen on this box. None of my other machines running Plan 9 have disks
in them, so I have only seen this happen on this machine.

Thanks,
Zack Folkerts



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

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-14 14:34 zfolkerts [this message]
2003-07-14 14:34 ` andrey mirtchovski
2003-07-14 14:50   ` jmk
2003-07-14 17:28     ` zfolkerts
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=20030714143417.GA24532@antares \
    --to=zfolkerts@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).