Subject: kern/4172: panic: bha_init_ccb: can't create DMA maps
To: None <>
From: Brad Spencer <>
List: netbsd-bugs
Date: 09/27/1997 17:02:14
>Number:         4172
>Category:       kern
>Synopsis:       panic: bha_init_ccb: can't create DMA maps
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 27 14:05:01 1997
>Originator:     Brad Spencer
	At home one weekend
>Release:        9/26/97 1.2G i386
trying to update to 1.2G from 9/26 source from the system:

System: NetBSD 1.2B NetBSD 1.2B (ANDUIN) #13: Sat Dec 14 11:00:39 EST 1996 i386

	A reasonable amount of disk activity will panic the system
	with the following panic:

	panic: bha_init_ccb: can't create DMA maps

	Given 48MB of core and 3 swap partitions and two BT946 controllers.

Set ddb.onpanic=0.

Started the X server [16 bit color, 1280x1024 with a nice picture in
the root window], then Netscape 4, then Executor.  As Executor starts,
some swapping occures, the system then "freezes", lots of disk
activity occures as the panic progresses, and a reboot.

The following message is printed on reboot during savecore.

Sep 27 16:15:44 anduin savecore: reboot after panic: bha_init_ccb: can't create DMA maps

	No idea.  However, it appears that the panic doesn't happen
until swap occures [this may be false, as the disks were quite a bit
more active by this time, activity may be the problem].  Setting the
swaps up so that they are not interlaced [that is, all at a different
priority level] only delays the problem.

Crash dump available upon request.