9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Lucio De Re <lucio@proxima.alt.za>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] ATA next
Date: Thu, 22 Jan 2004 20:19:18 +0200	[thread overview]
Message-ID: <20040122201917.E28365@cackle.proxima.alt.za> (raw)
In-Reply-To: <b16c5acf16741d91543edf849cfaccc9@plan9.bell-labs.com>; from jmk@plan9.bell-labs.com on Thu, Jan 22, 2004 at 10:22:37AM -0500

On Thu, Jan 22, 2004 at 10:22:37AM -0500, jmk@plan9.bell-labs.com wrote:
>
> The code in sdata.c/atawctl() could perhaps be a little smarter and
> not allow dmactl to be set if ctlr->prdt is nil, then at least you'd get
> an error when you tried to set dma on, not later when you actually
> tried some data transfers. Something like
>
There didn't use to be a noticeable problem with the kernel dating
back a year or more ago.  I didn't put it to the test, but I always
assumed that DMA was permissible.  It's a recent-ish change that
seems to have (erroneously, I believe) detected that the disk/controller
is not DMA capable.  Is it not just an issue that DMA is (accidentally)
no longer supported on non-PCI systems?  Must I try another old
computer to check?

While on the subject of that particular host, it also seems to have
developed an affinity for (once I enabled the warning message):

	cpu0: spurious interrupt 39, last 0

which immediately precedes each of those annoying blank lines.  Since
the newer kernel these have become very frequent, the previous kernel
would have one or two blank lines in an hour, at a rough guess, now
they occur every few seconds.  The message is in "pc/trap.c".

Never having promoted myself from the 8088 which I knew really well, I
have no idea what would give rise to interrupt 39 (0x27 to save you
working it out), and in a new, extremely frequent number.

I suspect all IDE hosts do it to a greater or lesser degree and DMA
also seems to have a bearing.  But I'm none the wiser as to why.

++L


  reply	other threads:[~2004-01-22 18:19 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-22 14:23 Lucio De Re
2004-01-22 15:22 ` jmk
2004-01-22 18:19   ` Lucio De Re [this message]
2004-01-22 19:13     ` jmk
2004-01-23  5:19       ` Lucio De Re
2004-01-23  9:11         ` Charles Forsyth
2004-01-23  9:37           ` Lucio De Re
2004-01-23 16:38           ` jmk
2004-01-23 16:47             ` C H Forsyth
2004-01-22 15:53 ` David Presotto
2004-01-22 18:36   ` Lucio De Re
2004-01-22 19:53     ` David Presotto
2004-01-23  5:55       ` [9fans] imap4d operation (Was: ATA next) Lucio De Re
2004-01-23 16:39         ` David Presotto
2004-01-22 20:10     ` [9fans] ATA next David Presotto
2004-01-23  7:11       ` Lucio De Re
2004-01-23  9:00         ` Lucio De Re
2004-01-23 16:37         ` David Presotto

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=20040122201917.E28365@cackle.proxima.alt.za \
    --to=lucio@proxima.alt.za \
    --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).