linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <bh40@calva.net>
To: linuxppc-dev@lists.linuxppc.org
Subject: Generic problem with BootX
Date: Mon, 22 Mar 1999 14:15:44 +0100	[thread overview]
Message-ID: <19990322141544.028907@mail.mipsys.com> (raw)


I think I finally found the cause of the crash: During relocation of the
kernel by BootX, it looks like the UW is still DMA-ing things to main
memory, damaging the kernel. I added a reset of the Symbios chip just
before switching the MMU off, and now, my kernel boots again on the G3.

This is a generic problem with any device that may do DMA. I thought most
of this would be fixed by the shutdown-proc mecanism used in bootx, but
apparently, this is not the case.

So, I'll soon release a version of BootX that resets this card before
booting, and also resets all the DBDMA channels (could someone send me a
list of all possible DBDMA channels on various chips ? I think I know
where the mac-io ones are, but I don't have a Grand-Central not OHare
based machine available now).

I beleive I also need to reset an eventual adaptec board, and BootX will
probably require similar fixes for all sorts of boards (fortunately,
boards that DMA to system memory all the time even after a MacOS shutdown
are quite rare).

If you know of a device that may fall in this category, please send me
enough infos for me to reset it (device-tree name, how to reset it, etc...)


-- 
           E-Mail: <mailto:bh40@calva.net>
BenH.      Web   : <http://calvaweb.calvacom.fr/bh40/>





[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]

             reply	other threads:[~1999-03-22 13:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-22 13:15 Benjamin Herrenschmidt [this message]
1999-03-22 17:32 ` Generic problem with BootX David A. Gatwood
1999-03-22 17:55   ` Benjamin Herrenschmidt

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=19990322141544.028907@mail.mipsys.com \
    --to=bh40@calva.net \
    --cc=linuxppc-dev@lists.linuxppc.org \
    /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).