* Generic problem with BootX
@ 1999-03-22 13:15 Benjamin Herrenschmidt
1999-03-22 17:32 ` David A. Gatwood
0 siblings, 1 reply; 3+ messages in thread
From: Benjamin Herrenschmidt @ 1999-03-22 13:15 UTC (permalink / raw)
To: linuxppc-dev
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. ]]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Generic problem with BootX
1999-03-22 13:15 Generic problem with BootX Benjamin Herrenschmidt
@ 1999-03-22 17:32 ` David A. Gatwood
1999-03-22 17:55 ` Benjamin Herrenschmidt
0 siblings, 1 reply; 3+ messages in thread
From: David A. Gatwood @ 1999-03-22 17:32 UTC (permalink / raw)
To: Benjamin Herrenschmidt; +Cc: linuxppc-dev
On Mon, 22 Mar 1999, Benjamin Herrenschmidt wrote:
> 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).
Please, if you do this, please make it do a similar reset before booting
MkLinux. The stock G3 UW cards have been a thorn in our side for the same
reason.
Later,
David
David A. Gatwood Visit globegate's internet
dgatwood@globegate.utm.edu talker, Deep Space 36
http://globegate.utm.edu telnet globegate.utm.edu:9624
[[ 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. ]]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Generic problem with BootX
1999-03-22 17:32 ` David A. Gatwood
@ 1999-03-22 17:55 ` Benjamin Herrenschmidt
0 siblings, 0 replies; 3+ messages in thread
From: Benjamin Herrenschmidt @ 1999-03-22 17:55 UTC (permalink / raw)
To: David A. Gatwood, linuxppc-dev, gilbert
On Mon, Mar 22, 1999, David A. Gatwood <marsmail@globegate.utm.edu> wrote:
>Please, if you do this, please make it do a similar reset before booting
>MkLinux. The stock G3 UW cards have been a thorn in our side for the same
>reason.
Unfortunately, I can't do that easily without having the source code for
MkLinux booter. I cannot reset the NCR chip before running the MkLinux
booter plugin since this must be done _very_ late in the boot process. I
may be able to patch it since it's 68k code but this will definitely take
time.
--
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. ]]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1999-03-22 17:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-03-22 13:15 Generic problem with BootX Benjamin Herrenschmidt
1999-03-22 17:32 ` David A. Gatwood
1999-03-22 17:55 ` Benjamin Herrenschmidt
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).