From owner-freebsd-current@FreeBSD.ORG Fri Dec 12 09:52:45 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15C151065670 for ; Fri, 12 Dec 2008 09:52:45 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.terabit.net.ua (mail.terabit.net.ua [195.137.202.147]) by mx1.freebsd.org (Postfix) with ESMTP id A38F88FC14 for ; Fri, 12 Dec 2008 09:52:44 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from skuns.zoral.com.ua ([91.193.166.194] helo=mail.zoral.com.ua) by mail.terabit.net.ua with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63 (FreeBSD)) (envelope-from ) id 1LB4hO-0007te-7T; Fri, 12 Dec 2008 11:52:42 +0200 Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id mBC9qc8U039990 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 12 Dec 2008 11:52:39 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3) with ESMTP id mBC9qckr025019; Fri, 12 Dec 2008 11:52:38 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3/Submit) id mBC9qca5025018; Fri, 12 Dec 2008 11:52:38 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 12 Dec 2008 11:52:38 +0200 From: Kostik Belousov To: Bartosz Stec Message-ID: <20081212095238.GY2038@deviant.kiev.zoral.com.ua> References: <4940A685.7040608@psg.com> <494216C2.7080606@kkip.pl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UJoEJyuH25+IoM96" Content-Disposition: inline In-Reply-To: <494216C2.7080606@kkip.pl> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.93.3, clamav-milter version 0.93.3 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua X-Virus-Scanned: mail.terabit.net.ua 1LB4hO-0007te-7T c26b065b130b663fc565536a76ee9982 X-Terabit: YES Cc: Randy Bush , FreeBSD Current Subject: Re: panic: sleeping thread & bufwrite: buffer is not busy??? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Dec 2008 09:52:45 -0000 --UJoEJyuH25+IoM96 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 12, 2008 at 08:46:10AM +0100, Bartosz Stec wrote: > Randy Bush pisze: > >i386 soekris 5501 > >current as of Dec 11 00:27 gmt > > > >Unread portion of the kernel message buffer: > >Sleeping thread (tid 100054, pid 646) owns a non-sleepable lock > >panic: sleeping thread > >panic: bufwrite: buffer is not busy??? > >Uptime: 2m1s > >Physical memory: 503 MB > > > >#0 doadump () at pcpu.h:246 > >#1 0xc0571f33 in boot (howto=3D260) at=20 > >/usr/src/sys/kern/kern_shutdown.c:420 > >#2 0xc05720f7 in panic (fmt=3DVariable "fmt" is not available.) > > at /usr/src/sys/kern/kern_shutdown.c:576 > >#3 0xc06fc75c in ffs_bufwrite (bp=3D0xc2937e20) > > at /usr/src/sys/ufs/ffs/ffs_vfsops.c:1786 > >#4 0xc05c7250 in vfs_bio_awrite (bp=3D0xc2937e20) at buf.h:385 > >#5 0xc05cfee0 in vop_stdfsync (ap=3D0xc2a89b34) > > at /usr/src/sys/kern/vfs_default.c:479 > >#6 0xc0520ad3 in devfs_fsync (ap=3D0xc2a89b34) > > at /usr/src/sys/fs/devfs/devfs_vnops.c:485 > >#7 0xc074e50e in VOP_FSYNC_APV (vop=3D0xc07cc800, a=3D0xc2a89b34) > > at vnode_if.c:1007 > >#8 0xc06fd0a2 in ffs_sync (mp=3D0xc2e33c80, waitfor=3D2, td=3D0xc2c2848= 0) > > at vnode_if.h:529 > >#9 0xc05e0803 in sync (td=3D0xc2c28480, uap=3D0x0) > > at /usr/src/sys/kern/vfs_syscalls.c:149 > >#10 0xc0571ad2 in boot (howto=3D256) at=20 > >/usr/src/sys/kern/kern_shutdown.c:312 > >#11 0xc05720f7 in panic (fmt=3DVariable "fmt" is not available.) > > at /usr/src/sys/kern/kern_shutdown.c:576 > >#12 0xc059ec81 in propagate_priority (td=3D0xc2e696c0) > > at /usr/src/sys/kern/subr_turnstile.c:222 > >#13 0xc059f551 in turnstile_wait (ts=3D0xc2c0ee10, owner=3D0xc2e696c0,= =20 > >queue=3DVariable "queue" is not available.) > > at /usr/src/sys/kern/subr_turnstile.c:738 > >#14 0xc0570c73 in _rw_wlock_hard (rw=3D0xc2cdcd80, tid=3D3267527808,=20 > >file=3D0x0, line=3D0) > > at /usr/src/sys/kern/kern_rwlock.c:705 > >#15 0xc06bdcb6 in in6_mtutimo (rock=3D0xc2cdcd00) > > at /usr/src/sys/netinet6/in6_rmx.c:437 > >#16 0xc0580f77 in softclock (arg=3D0xc07ffbe0) > > at /usr/src/sys/kern/kern_timeout.c:398 > >#17 0xc055790a in intr_event_execute_handlers (p=3D0xc2c257ec,=20 > >ie=3D0xc2c22400) > > at /usr/src/sys/kern/kern_intr.c:1134 > >#18 0xc0558933 in ithread_loop (arg=3D0xc2c07ba0) > > at /usr/src/sys/kern/kern_intr.c:1147 > >#19 0xc0555cb6 in fork_exit (callout=3D0xc05588d0 , > > arg=3D0xc2c07ba0, frame=3D0xc2a89d38) at=20 > >/usr/src/sys/kern/kern_fork.c:821 > >#20 0xc0730a50 in fork_trampoline () at=20 > >/usr/src/sys/i386/i386/exception.s:270 > >_______________________________________________ > >freebsd-current@freebsd.org mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-current > >To unsubscribe, send any mail to=20 > >"freebsd-current-unsubscribe@freebsd.org" > I have similiar problem: >=20 > Dump header from device /dev/ad0s1b > Architecture: i386 > Architecture Version: 2 > Dump Length: 216797184B (206 MB) > Blocksize: 512 > Dumptime: Thu Dec 11 20:20:45 2008 > Hostname: serwer.obsysa.net > Magic: FreeBSD Kernel Dump > Version String: FreeBSD 8.0-CURRENT #3: Thu Dec 11 16:55:50 CET 2008 > ncpnc@serwer.obsysa.net:/usr/obj/usr/src/sys/ATHLON8 > Panic String: sleeping thread > Dump Parity: 1830535215 > Bounds: 0 > Dump Status: good >=20 > Unfortunately I cannot provide more debug information at this time=20 > because kernel was built without debugging options. (I will rebuild it=20 > if needed) However I can still provide some info: > - kernel panic while loading modules, just after loding ZFS module (I=20 > have RAIDZ configuration) and after a couple of minutes without any=20 > visible action on the screen. > - I have this panic with *every* build I made after 7 Dec 2008, but I=20 > don't remember wchich day exactly I have experienced that for the first= =20 > time. > - For now I'm using kernel builded 7 Dec 2008 and no panic seen at all. You are mixing the issues without a reason. To claim that you problem is similar, you need to show the similar backtrace. The panic shown is the late manifestation of a problem, it is kind a catch-all for some sort of locking issues. --UJoEJyuH25+IoM96 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAklCNGYACgkQC3+MBN1Mb4izUwCfcJciBNXp2Ff39V0+WqpajGaZ drgAmwZpNqrv8FJkiR93k1/taCju5yyg =W8wK -----END PGP SIGNATURE----- --UJoEJyuH25+IoM96--