NetBSD Problem Report #45820
From www@NetBSD.org Thu Jan 12 04:42:45 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id B734E63BDBE
for <gnats-bugs@gnats.NetBSD.org>; Thu, 12 Jan 2012 04:42:45 +0000 (UTC)
Message-Id: <20120112044244.81EF463B8CB@www.NetBSD.org>
Date: Thu, 12 Jan 2012 04:42:44 +0000 (UTC)
From: ober@netbsd.org
Reply-To: ober@netbsd.org
To: gnats-bugs@NetBSD.org
Subject: Latest current fails on Qube2 with diagnostic error panic: kernel diagnostic assertion "l == curlwp" failed: file "/src/sys/arch/mips/mips/mips_fpu.c", line 34
X-Send-Pr-Version: www-1.0
>Number: 45820
>Category: port-cobalt
>Synopsis: Latest current fails on Qube2 with diagnostic error panic: kernel diagnostic assertion "l == curlwp" failed: file "/src/sys/arch/mips/mips/mips_fpu.c", line 34
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-cobalt-maintainer
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jan 12 04:45:00 +0000 2012
>Closed-Date: Tue Feb 28 13:41:10 +0000 2012
>Last-Modified: Tue Feb 28 13:41:10 +0000 2012
>Originator: Jaime Fournier
>Release: 5.99.59
>Organization:
NetBSD
>Environment:
NetBSD 5.99.59 (GENERIC) #0: Wed Jan 11 12:28:24 PST 2012
root@:/src/sys/arch/cobalt/compile/obj/GENERIC
Userland is 5.0.2
>Description:
Booting latest GENERIC from 5.99.59 on a Cobalt Qube 2
I get
NetBSD 5.99.59 (GENERIC) #0: Wed Jan 11 12:28:24 PST 2012
root@:/src/sys/arch/cobalt/compile/obj/GENERIC
Cobalt Qube 2
total memory = 128 MB
avail memory = 120 MB
mainbus0 (root)
com0 at mainbus0 addr 0x1c800000 level 3: st16650a, working fifo
com0: console
cpu0 at mainbus0: QED RM5200 CPU (0x28a0) Rev. 10.0 with built-in FPU Rev. 10.0
cpu0: 48 TLB entries, 16MB max page size
cpu0: 32KB/32B 2-way set-associative L1 instruction cache
cpu0: 32KB/32B 2-way set-associative write-back L1 data cache
mcclock0 at mainbus0 addr 0x10000070: mc146818 compatible time-of-day clock
panel0 at mainbus0 addr 0x1f000000
gt0 at mainbus0 addr 0x14000000
pci0 at gt0
pchb0 at pci0 dev 0 function 0: Galileo GT-64111 System Controller, rev 1
tlp0 at pci0 dev 7 function 0: DECchip 21143 Ethernet, pass 4.1
tlp0: interrupting at level 1
tlp0: Ethernet address 00:10:e0:00:4b:a6
lxtphy0 at tlp0 phy 1: LXT970 10/100 media interface, rev. 3
lxtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcib0 at pci0 dev 9 function 0
pcib0: VIA Technologies VT82C586 PCI-ISA Bridge, rev 39
viaide0 at pci0 dev 9 function 1
viaide0: VIA Technologies VT82C586 (Apollo VP) ATA33 controller
viaide0: primary channel interrupting at irq 14
atabus0 at viaide0 channel 0
viaide0: secondary channel interrupting at irq 15
atabus1 at viaide0 channel 1
VIA Technologies VT83C572 USB Controller (USB serial bus, revision 0x02) at pci0 dev 9 function 2 not configured
tlp1 at pci0 dev 12 function 0: DECchip 21143 Ethernet, pass 4.1
tlp1: interrupting at level 2
tlp1: Ethernet address 00:10:e0:00:4a:1a
lxtphy1 at tlp1 phy 1: LXT970 10/100 media interface, rev. 3
lxtphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
wd0 at atabus0 drive 0
wd0: <QUANTUM FIREBALL EX6.4A>
wd0: 6149 MB, 13328 cyl, 15 head, 63 sec, 512 bytes/sect x 12594960 sectors
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
pid 1(init): ABI set to O32 (e_flags=0x1007)
panic: kernel diagnostic assertion "l == curlwp" failed: file "/src/sys/arch/mips/mips/mips_fpu.c", line 349
kernel: breakpoint trap
Stopped in pid 4.1 (date) at netbsd:cpu_Debugger+0x4: jr ra
bdslot: nop
db>db> bt
0xcafabcc8: cpu_Debugger+4 (63061,500,4,8043b9c0) ra 8029730c sz 0
0xcafabcc8: vpanic+214 (63061,500,4,8043b9c0) ra 803a1e8c sz 56
0xcafabd00: kern_assert+3c (63061,803ec8ec,803f1b7c,8040afcc) ra 801a1ec8 sz 32
0xcafabd20: mips_fpu_state_release+68 (63061,803ec8ec,803f1b7c,8040afcc) ra 8028
fad0 sz 32
0xcafabd40: pcu_cpu_op+b4 (63061,803ec8ec,803f1b7c,8040afcc) ra 8028ff54 sz 56
0xcafabd78: pcu_load+f0 (63061,803ec8ec,803f1b7c,8040afcc) ra 802dce20 sz 64
0xcafabdb8: trap+a00 (1,803ec8ec,803f1b7c,7de69ee0) ra 8019f758 sz 400
0xcafabf48: mips3_user_gen_exception+d8 (1,803ec8ec,803f1b7c,7de69ee0) ra 0 sz 0
User-level: pid 4.1
db> show registers
at 1 _KERNEL_OPT_AIO
v0 1 _KERNEL_OPT_AIO
v1 1 _KERNEL_OPT_AIO
a0 63061 _KERNEL_OPT_AIO+0x63060
a1 500 _KERNEL_OPT_AIO+0x4ff
a2 4 _KERNEL_OPT_AIO+0x3
a3 8043b9c0 cpu_info_store
t0 1 _KERNEL_OPT_AIO
t1 1 _KERNEL_OPT_AIO
t2 8043b9c0 cpu_info_store
t3 0
t4 1 _KERNEL_OPT_AIO
t5 3 _KERNEL_OPT_AIO+0x2
t6 ffffffff
t7 fffffffe
s0 104 _KERNEL_OPT_AIO+0x103
s1 803ec8b8 copyright+0x584
s2 80440000 saemul_netbsd+0x10
s3 80454294 scratchstr.10337
s4 80460000 nfs_reqcache_pool+0x10
s5 cafabd24
s6 ff13 _KERNEL_OPT_AIO+0xff12
k1 8029707c printf+0x44
gp 8044f6d0 ip6_opts+0xc
sp cafabcc8
fp cafabcc8
ra 8029730c vpanic+0x214
sr fa03 _KERNEL_OPT_AIO+0xfa02
mdlo 3 _KERNEL_OPT_AIO+0x2
mdhi 4 _KERNEL_OPT_AIO+0x3
bad 87e68840
cs 24 _KERNEL_OPT_AIO+0x23
pc 80051e48 cpu_Debugger+0x4
netbsd:cpu_Debugger+0x4: jr ra
bdslot: nop
db>
>How-To-Repeat:
boot GENERIC from head on a 5.0.2 system
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: tsutsui@NetBSD.org
State-Changed-When: Tue, 28 Feb 2012 22:41:10 +0900
State-Changed-Why:
Superseded by PR/45930 (fixed in HEAD, pending-pullups netbsd-6).
>Unformatted:
(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.