NetBSD Problem Report #44708

From njoly@lanfeust.sis.pasteur.fr  Fri Mar 11 13:10:46 2011
Return-Path: <njoly@lanfeust.sis.pasteur.fr>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id A02C463B8DB
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 11 Mar 2011 13:10:46 +0000 (UTC)
Message-Id: <20110311131040.ABCA6DC9BD@lanfeust.sis.pasteur.fr>
Date: Fri, 11 Mar 2011 14:10:40 +0100 (CET)
From: njoly@pasteur.fr
Reply-To: njoly@pasteur.fr
To: gnats-bugs@gnats.NetBSD.org
Subject: t_zpool:create test failure with RUMP_LOCKDEBUG=yes
X-Send-Pr-Version: 3.95

>Number:         44708
>Category:       misc
>Synopsis:       t_zpool:create test failure (with RUMP_LOCKDEBUG=yes)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 11 13:15:00 +0000 2011
>Closed-Date:    Tue Dec 06 18:21:52 +0000 2011
>Last-Modified:  Tue Dec 06 18:21:52 +0000 2011
>Originator:     Nicolas Joly
>Release:        NetBSD 5.99.48
>Organization:
Insitut Pasteur
>Environment:
System: NetBSD lanfeust.sis.pasteur.fr 5.99.48 NetBSD 5.99.48 (LANFEUST) #19: Thu Mar 10 11:18:01 CET 2011 njoly@lanfeust.sis.pasteur.fr:/local/src/NetBSD/obj.amd64/sys/arch/amd64/compile/LANFEUST amd64
Architecture: x86_64
Machine: amd64
>Description:
The t_zpool:create test fails (with RUMP_LOCKDEBUG=yes libraries) ...

njoly@lanfeust [/tmp]> /usr/tests/fs/zfs/t_zpool create
Executing command [ rump_server -lrumpvfs -lrumpkern_solaris -lrumpfs_zfs -lrumpdev -lrumpdev_rnd -d key=/dk,hostpath=zfs.img,size=100m unix://zsuck ]
Fail: incorrect exit status: 3, expected: 0
stdout:
WARNING: module error: builtin module `zfs' failed to init
WARNING: ZFS on NetBSD is under development
mutex error: lockdebug_alloc: already initialized

lock address : 0x00007f7ff627e6b8 type     :     sleep/adaptive
initialized  : 0x00007f7ff6025cc8
shared holds :                  0 exclusive:                  0
shares wanted:                  0 exclusive:                  0
current cpu  :                  0 last held:                  0
current lwp  : 0x00007f7ff7fe3000 last held: 000000000000000000
last locked  : 000000000000000000 unlocked : 000000000000000000


panic: LOCKDEBUG
rump kernel halting...
halted

stderr:

failed: atf-check failed; see the output of the test for details

njoly@lanfeust [/tmp]> gdb rump_server rump_server.core
Core was generated by `rump_server'.
Program terminated with signal 6, Aborted.
#0  0x00007f7ff68e878a in _lwp_kill () from /usr/lib/libc.so.12
#0  0x00007f7ff68e878a in _lwp_kill () from /usr/lib/libc.so.12
#1  0x00007f7ff68e80fe in abort () at /local/src/NetBSD/src/lib/libc/stdlib/abort.c:74
#2  0x00007f7ff7408555 in rumpuser_exit (rv=1) at /local/src/NetBSD/src/lib/librumpuser/rumpuser.c:541
#3  0x00007f7ff787b3ec in cpu_reboot (howto=<value optimized out>, bootstr=<value optimized out>)
    at /local/src/NetBSD/src/lib/librump/../../sys/rump/librump/rumpkern/rump.c:573
#4  0x00007f7ff785603e in panic (fmt=0x7f7ff7883953 "LOCKDEBUG")
    at /local/src/NetBSD/src/lib/librump/../../sys/rump/../kern/subr_prf.c:302
#5  0x00007f7ff784635d in lockdebug_abort1 (ld=0x7f7ff7acb3b0, s=0, func=0x7f7ff7fe3000 "", 
    msg=<value optimized out>, dopanic=true)
    at /local/src/NetBSD/src/lib/librump/../../sys/rump/../kern/subr_lockdebug.c:781
#6  0x00007f7ff7846986 in lockdebug_alloc (lock=0x7f7ff627e6b8, lo=0x7f7ff7aa32c0, 
    initaddr=140187564924104)
    at /local/src/NetBSD/src/lib/librump/../../sys/rump/../kern/subr_lockdebug.c:252
#7  0x00007f7ff6025cc8 in callb_init (dummy=0x0)
    at /local/src/NetBSD/src/sys/../external/cddl/osnet/sys/kern/callb.c:106
#8  0x00007f7ff6008b5a in rumpcompinitRUMP_COMPONENT_KERN_VFS ()
    at /local/src/NetBSD/src/sys/rump/kern/lib/libsolaris/component.c:49
#9  0x00007f7ff787b1b3 in rump_component_init_cb (rc=0x7f7ff627d260, type=7)
    at /local/src/NetBSD/src/lib/librump/../../sys/rump/librump/rumpkern/rump.c:670
#10 0x00007f7ff74069cf in rumpuser_dl_component_init (type=7, 
    compinit=0x7f7ff787b18e <rump_component_init_cb>)
    at /local/src/NetBSD/src/lib/librumpuser/rumpuser_dl.c:408
#11 0x00007f7ff787bc63 in rump__init (rump_version=<value optimized out>)
    at /local/src/NetBSD/src/lib/librump/../../sys/rump/librump/rumpkern/rump.c:420
#12 0x0000000000401b11 in main (argc=<value optimized out>, argv=0x7f7fffffdae8)
    at /local/src/NetBSD/src/usr.bin/rump_server/../rump_allserver/rump_allserver.c:331


>How-To-Repeat:
cd /tmp && /usr/tests/fs/zfs/t_zpool create
>Fix:

>Release-Note:

>Audit-Trail:
From: "Jukka Ruohonen" <jruoho@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/44708 CVS commit: src/tests/fs/zfs
Date: Mon, 19 Sep 2011 06:38:03 +0000

 Module Name:	src
 Committed By:	jruoho
 Date:		Mon Sep 19 06:38:02 UTC 2011

 Modified Files:
 	src/tests/fs/zfs: t_zpool.sh

 Log Message:
 Point to PR misc/44708 when failing. XXX: Remove once the test is fixed.


 To generate a diff of this commit:
 cvs rdiff -u -r1.1 -r1.2 src/tests/fs/zfs/t_zpool.sh

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: "Nicolas Joly" <njoly@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/44708 CVS commit: src/sys/rump/kern/lib/libsolaris
Date: Tue, 6 Dec 2011 18:12:26 +0000

 Module Name:	src
 Committed By:	njoly
 Date:		Tue Dec  6 18:12:25 UTC 2011

 Modified Files:
 	src/sys/rump/kern/lib/libsolaris: Makefile
 Removed Files:
 	src/sys/rump/kern/lib/libsolaris: component.c

 Log Message:
 Remove the unneeded rump component; the library already includes the
 module code that will be initialised by rump.

 Fix PR/44708, t_zpool:create test failure for RUMP_LOCKDEBUG=yes
 builds.


 To generate a diff of this commit:
 cvs rdiff -u -r1.1 -r1.2 src/sys/rump/kern/lib/libsolaris/Makefile
 cvs rdiff -u -r1.1 -r0 src/sys/rump/kern/lib/libsolaris/component.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: "Nicolas Joly" <njoly@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/44708 CVS commit: src/tests/fs/zfs
Date: Tue, 6 Dec 2011 18:18:59 +0000

 Module Name:	src
 Committed By:	njoly
 Date:		Tue Dec  6 18:18:59 UTC 2011

 Modified Files:
 	src/tests/fs/zfs: t_zpool.sh

 Log Message:
 Remove expected failure now that PR/44708 is fixed.


 To generate a diff of this commit:
 cvs rdiff -u -r1.2 -r1.3 src/tests/fs/zfs/t_zpool.sh

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: njoly@NetBSD.org
State-Changed-When: Tue, 06 Dec 2011 18:21:52 +0000
State-Changed-Why:
Fixed.


>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.