Subject: port-arm32/6012: kcopy does not work on arm32 with DIAGNOSTIC
To: None <gnats-bugs@gnats.netbsd.org>
From: Lennart Augustsson <augustss@cs.chalmers.se>
List: netbsd-bugs
Date: 08/24/1998 13:24:04
>Number:         6012
>Category:       port-arm32
>Synopsis:       kcopy does not work on arm32 with DIAGNOSTIC
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 24 04:35:00 1998
>Last-Modified:
>Originator:     Lennart Augustsson
>Organization:
>Release:        NetBSD-current 980821
>Environment:

>Description:
	The kcopy() function in sys/arch/arm32/arm32/bcopyinout.S does
	not work with the DIAGNOSTIC option.  The reason is that the
	common part of the copyinout routines check that curpcb is
	non-zero, but this is not necessary for kcopy().
>How-To-Repeat:
	Try to do an uiomove() in kernel space in an interrupt context.
>Fix:
	Move the test.
>Audit-Trail:
>Unformatted: