NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/51996: kmem_alloc called from intr context in fstrans_get_lwp_info



>Number:         51996
>Category:       kern
>Synopsis:       kmem_alloc called from intr context in fstrans_get_lwp_info
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 23 08:15:00 +0000 2017
>Originator:     Martin Husemann
>Release:        NetBSD 7.99.62
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD .. 7.99.62 NetBSD 7.99.62 ... sparc64
Architecture: sparc64
Machine: sparc64
>Description:

Booting -current fails with a KASSERT in kmem_alloc, subr_kmem.c:389:

void *
kmem_alloc(size_t size, km_flag_t kmflags)
{
        void *v;

        KASSERTMSG((!cpu_intr_p() && !cpu_softintr_p()),
            "kmem(9) should not be used from the interrupt context");
        v = kmem_intr_alloc(size, kmflags);


Call stack is:

kmem_alloc
fstrans_get_lwp_info
fstrans_start
VOP_STRATEGY
dkstart
biodone
biointr

>How-To-Repeat:
t
Just try to boot my machine ;-)

>Fix:
n/a



Home | Main Index | Thread Index | Old Index