Subject: Re: Problems with sparc -current (arp, sync)
To: None <abrown@eecs.harvard.edu>
From: der Mouse <mouse@Collatz.McRCIM.McGill.EDU>
List: port-sparc
Date: 07/12/1995 13:16:58
[This was sent to current-users; I'm sending to port-sparc because my
comments are purely sparc-related.]

> 2) When I try to shutdown, halt, or reboot the machine, it panics on
>    "DMAWAIT1" when it tries to sync the disks.  This happens every
>    time, even if I boot and immediately halt.  [...]

I got this sometimes, and someone told me to do something to some call
in dma.c; I've forgotten what.  But on reading the source, I decided
to, instead, goose the "count" initialization in the TIME_WAIT macro in
sys/arch/sparc/dev/dmavar.h.  It's set to 500000, I think, as
distributed; I just tacked on another zero.  Any true hang will still
be caught, but it's a good deal more tolerant of slow-to-complete DMA.
Never seen a DMAWAIT1 panic since.

					der Mouse

			    mouse@collatz.mcrcim.mcgill.edu