From owner-freebsd-current@FreeBSD.ORG Mon Oct 14 08:44:39 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 7C908C03 for ; Mon, 14 Oct 2013 08:44:39 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from eu1sys200aog105.obsmtp.com (eu1sys200aog105.obsmtp.com [207.126.144.119]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id ADC992407 for ; Mon, 14 Oct 2013 08:44:38 +0000 (UTC) Received: from mail-we0-f178.google.com ([74.125.82.178]) (using TLSv1) by eu1sys200aob105.postini.com ([207.126.147.11]) with SMTP ID DSNKUluu7zONS/qXr9O4+Z3aV34Jptf9ZLtc@postini.com; Mon, 14 Oct 2013 08:44:38 UTC Received: by mail-we0-f178.google.com with SMTP id q59so6577998wes.23 for ; Mon, 14 Oct 2013 01:44:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:message-id:to:subject:reply-to; bh=2E6rMLSY6Ur4pvRQn3h6lX1kOOtQD3S/oaoQDfByWvc=; b=R3t91odQqWLCfYMMf6Czg/oLgdoikMDnZrXmOAW76L1T/l4l8/CQOD5iw8BwNQHNbc IGALsskDqjc1boB4kFsCPV+0RTlSk6Ky7JRahh17sOyvHwHd0JBNSIm291TWGrWL19yT XYMSgtuHnHU+8lulQMlggQGadG5nOFaubamNzj1z9JGCEb/KI+xZWVXpe6n7e5yXUkXn V+Z/Hu14hNP55vR7XHAEtO2XI1cBQbaO2rTWirLGaPsO30dnaJHBTeMdkzxF5EYI+IAq YKYySdgPCJSykh7OxZRgPDzzTUtdEYsNE0SuifyiRoDtMwOjbU/eWAPUuy35xy5YmbeJ g9SA== X-Gm-Message-State: ALoCoQmvQx4MBSYau7AP7Jp4eCooU+0kc1biyDyl6eICMYD25R44LPHYPYI5xN90RedL3dV1bVQpcgrCFRu5edX7/RIY9ToTrEAvQuGDF5H4VRiJhmGIZmPYkMaFuXWfa9ZXvERRvRNUgyEgnUa7T6gcxOgkug8VUWpJOrfDhRBVOCgnfn776iA= X-Received: by 10.180.73.134 with SMTP id l6mr13694124wiv.16.1381740271534; Mon, 14 Oct 2013 01:44:31 -0700 (PDT) X-Received: by 10.180.73.134 with SMTP id l6mr13694119wiv.16.1381740271454; Mon, 14 Oct 2013 01:44:31 -0700 (PDT) Received: from mech-cluster241.men.bris.ac.uk (mech-cluster241.men.bris.ac.uk. [137.222.187.241]) by mx.google.com with ESMTPSA id q17sm31960706wiv.10.1969.12.31.16.00.00 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 14 Oct 2013 01:44:30 -0700 (PDT) Sender: Anton Shterenlikht Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.7/8.14.6) with ESMTP id r9E8iSXr015099 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 14 Oct 2013 09:44:28 +0100 (BST) (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.7/8.14.6/Submit) id r9E8iSYM015098; Mon, 14 Oct 2013 09:44:28 +0100 (BST) (envelope-from mexas) Date: Mon, 14 Oct 2013 09:44:28 +0100 (BST) From: Anton Shterenlikht Message-Id: <201310140844.r9E8iSYM015098@mech-cluster241.men.bris.ac.uk> To: freebsd-current@freebsd.org, freebsd-ia64@freebsd.org Subject: panic: uma_zfree: Freeing to non free bucket index. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: mexas@bris.ac.uk List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Oct 2013 08:44:39 -0000 BTW, I see in dmesg: Starting ddb. ddb: sysctl: debug.ddb.scripting.scripts: Invalid argument /etc/rc: WARNING: failed to start ddb What is that about? panic: uma_zfree: Freeing to non free bucket index. cpuid = 0 KDB: stack backtrace: db_trace_self(0x9ffc000000158380) at db_trace_self+0x40 db_trace_self_wrapper(0x9ffc000000607370) at db_trace_self_wrapper+0x70 kdb_backtrace(0x9ffc000000ed0e10, 0x9ffc00000058e660, 0x40c, 0x9ffc0000010a44a0) at kdb_backtrace+0xc0 vpanic(0x9ffc000000dfc468, 0xa0000000e26e0fd8, 0x9ffc000000ef9670, 0x9ffc000000ed0bc0) at vpanic+0x260 kassert_panic(0x9ffc000000dfc468, 0xe000000015e25f90, 0xe000000015e243e0, 0xe00000027ffd5200) at kassert_panic+0x120 uma_zfree_arg(0xe00000027ffccfc0, 0xe000000015e243e0, 0x0) at uma_zfree_arg+0x2d0 g_destroy_bio(0xe000000015e243e0, 0x9ffc0000004ad4a0, 0x30a, 0x30a) at g_destroy_bio+0x30 g_disk_done(0xe000000015e243e0, 0xe000000015e15d10, 0xe000000012672700, 0x9ffc0000006b18c0) at g_disk_done+0x140 biodone(0xe000000015e243e0, 0x9ffc000000e0e150, 0xe000000010c24030, 0x0, 0x0, 0x0, 0x9ffc000000066890, 0x614) at biodone+0x180 dadone(0xe000000012672600, 0xe000000012541000, 0xe000000015e243e0, 0x7) at dadone+0x620 camisr_runqueue(0xe000000011a2dc00, 0xe000000012541054, 0xe000000012541000, 0x135d) at camisr_runqueue+0x6c0 camisr(0xe000000011a2dc20, 0xe000000011a2dc00, 0x9ffc000000bee9d0, 0xa0000000e26e1548) at camisr+0x260 intr_event_execute_handlers(0xe0000000111764a0, 0xe00000001118d998, 0xe000000011191c00, 0x0) at intr_event_execute_handlers+0x280 ithread_loop(0xe000000011192f00, 0xa0000000e26e1550, 0xe000000011192f14, 0xe00000001118d99c) at ithread_loop+0x1b0 fork_exit(0x9ffc000000e12a90, 0xe000000011192f00, 0xa0000000e26e1550) at fork_exit+0x120 enter_userland() at enter_userland KDB: enter: panic [ thread pid 12 tid 100015 ] Stopped at kdb_enter+0x92: [I2] addl r14=0xffffffffffe2c990,gp ;; db> db> scripts lockinfo=show locks; show alllocks; show lockedvnods db> run lockinfo db:0:lockinfo> show locks db:0:locks> show alllocks db:0:alllocks> show lockedvnods Locked vnodes 0xe00000001ab39ba8: tag ufs, type VDIR usecount 1, writecount 0, refcount 3 mountedhere 0 flags (VI_ACTIVE) v_object 0xe00000001cd30900 ref 0 pages 0 lock type ufs: EXCL by thread 0xe0000000183d9680 (pid 41389, cpdup, tid 100121) ino 5467932, on dev da5p1 0xe000000015ed3ba8: tag ufs, type VDIR usecount 1, writecount 0, refcount 3 mountedhere 0 flags (VI_ACTIVE) v_object 0xe00000001cd33e00 ref 0 pages 0 lock type ufs: EXCL by thread 0xe000000012a28900 (pid 41421, cpdup, tid 100092) ino 5467948, on dev da5p1 0xe00000001ab16938: tag ufs, type VREG usecount 1, writecount 0, refcount 3 mountedhere 0 flags (VI_ACTIVE) v_object 0xe00000001cd98a00 ref 0 pages 1 lock type ufs: EXCL by thread 0xe000000018494000 (pid 41337, cpdup, tid 100137) ino 5469420, on dev da5p1 0xe00000001b2503b0: tag ufs, type VREG usecount 1, writecount 0, refcount 1 mountedhere 0 flags (VI_ACTIVE) lock type ufs: EXCL by thread 0xe000000012a28900 (pid 41421, cpdup, tid 100092) ino 5469421, on dev da5p1 0xe00000001ab2a760: tag ufs, type VREG usecount 1, writecount 0, refcount 1 mountedhere 0 flags (VI_ACTIVE) lock type ufs: EXCL by thread 0xe0000000183d9680 (pid 41389, cpdup, tid 100121) ino 5469422, on dev da5p1 db> db> script zzz=textdump set; capture on; run lockinfo; show pcpu; bt; ps; alltrace; capture off; reset db> run zzz Then I see lots of info on the console. However, on reboot, there's nothing: from dmesg: *skip* Starting syslogd. No core dumps found. ^^^^^^^^^^^^^^^^^^^ Clearing /tmp (X related). *skip* # savecore -C -v unable to open bounds file, using 0 checking for kernel dump on device /dev/da4p1 mediasize = 72834820096 sectorsize = 512 magic mismatch on last dump header on /dev/da4p1 No dump exists # ls -al /var/crash/ total 16 drwxr-x--- 2 root wheel 512 Oct 13 21:55 . drwxr-xr-x 28 root wheel 512 Oct 14 09:37 .. -rw-r--r-- 1 root wheel 2 Oct 13 21:54 bounds -rw-r--r-- 1 root wheel 5 Jun 12 2009 minfree # Where did my textdump go? Thanks Anton