NetBSD Problem Report #45930

From www@NetBSD.org  Sun Feb  5 14:49:19 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 0DEA963DF86
	for <gnats-bugs@gnats.NetBSD.org>; Sun,  5 Feb 2012 14:49:19 +0000 (UTC)
Message-Id: <20120205144918.5663863D7A7@www.NetBSD.org>
Date: Sun,  5 Feb 2012 14:49:18 +0000 (UTC)
From: skrll@netbsd.org
Reply-To: skrll@netbsd.org
To: gnats-bugs@NetBSD.org
Subject: DIAGNOSTIC kernel on cobalt hits KASSERT in sys/arch/mips/mips/mips_fpu.c
X-Send-Pr-Version: www-1.0

>Number:         45930
>Category:       port-mips
>Synopsis:       DIAGNOSTIC kernel on cobalt hits KASSERT in sys/arch/mips/mips/mips_fpu.c
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-mips-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 05 14:50:00 +0000 2012
>Closed-Date:    Wed Apr 18 19:50:02 +0000 2012
>Last-Modified:  Wed Apr 18 19:50:02 +0000 2012
>Originator:     Nick Hudson
>Release:        -current
>Organization:
n/a
>Environment:
NetBSD blue 5.99.64 NetBSD 5.99.64 (GENERIC) #8: Sun Feb  5 14:19:02 GMT 2012  nick@kenny:/u/obj/cobalt/usr/src/sys/arch/cobalt/compile/GENERIC cobalt

>Description:
uname is from kernel without the KASSERT.


panic: kernel diagnostic assertion "l == curlwp" failed: file "/usr/src/sys/arch/mips/mips/mips_fpu.c", line 352 
kernel: breakpoint trap
Stopped in pid 102.1 (sleep) at netbsd:cpu_Debugger+0x4:        jr      ra
                bdslot: nop
db> t
0xc7f5bcc0: cpu_Debugger+4 (63061,500,4,80469c90) ra 802bdf2c sz 0
0xc7f5bcc0: vpanic+214 (63061,500,4,80469c90) ra 803cb07c sz 56
0xc7f5bcf8: kern_assert+3c (63061,80416450,8041b8ec,804376c4) ra 801c7814 sz 32
0xc7f5bd18: mips_fpu_state_release+84 (63061,80416450,8041b8ec,804376c4) ra 802b6848 sz 32
0xc7f5bd38: pcu_cpu_op+dc (63061,80416450,8041b8ec,804376c4) ra 802b6ccc sz 56
0xc7f5bd70: pcu_load+f0 (63061,80416450,8041b8ec,804376c4) ra 803051f4 sz 64
0xc7f5bdb0: trap+a14 (1,80416450,8041b8ec,400d4c) ra 801c4f38 sz 408
0xc7f5bf48: mips3_user_gen_exception+d8 (1,80416450,8041b8ec,400d4c) ra 0 sz 0
User-level: pid 102.1
db>
>How-To-Repeat:
Boot a mips machine with DIAGNOSTIC
>Fix:
Merge mips_fpu.c from matt-nb5-mips64 ?

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: skrll@NetBSD.org
State-Changed-When: Tue, 28 Feb 2012 07:25:59 +0000
State-Changed-Why:
Incorrect KASSERT was removed.


State-Changed-From-To: closed->pending-pullups
State-Changed-By: tsutsui@NetBSD.org
State-Changed-When: Tue, 28 Feb 2012 22:39:07 +0900
State-Changed-Why:
pullup-6 #66


State-Changed-From-To: pending-pullups->closed
State-Changed-By: snj@NetBSD.org
State-Changed-When: Wed, 18 Apr 2012 19:50:02 +0000
State-Changed-Why:
Pullup has been processed.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.