Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jan 2015 18:52:52 +0900
From:      "Lundberg, Johannes" <johannes@brilliantservice.co.jp>
To:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>,  "freebsd-mobile@freebsd.org" <freebsd-mobile@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   System-On-Module
Message-ID:  <CAASDrVmh-UrYXoBoze6_ZMNjORuAMi_pmNO=N-ZOv7tHCEU7Mg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
SGkNCg0KT2YgYWxsIHRoZSBsb3cgcG93ZXIsIGhpZ2gtc3BlYyBzeXN0ZW0vY29tcHV0ZXItb24t
bW9kdWxlcyBvdXQgdGhlcmUgd2hpY2gNCmhhdmUgYmVzdCBzdXBwb3J0IGZvciBGcmVlQlNEPw0K
DQpNRU4NClZhcmlzY2l0ZQ0KVGVjaG5vbG9naWMgc3lzdGVtDQpBZGxpbmsNCmV0Yy4NCg0KV2hh
dCBJIGFtIGxvb2tpbmcgZm9yIGlzIGEgc3lzdGVtIHdpdGggcm91Z2hseSB0aGlzIHNwZWNzDQpB
Uk0gb3IgeDg2LCA2NGJpdCBpZiBwb3NzaWJsZS4NCjItNCBjb3Jlcw0KMS41LTIuMCBHSHoNCjIg
R0IgUkFNDQp+MTYgR0IgU3RvcmFnZQ0KVVNCIDMuMA0KUENCIHNpemUgYWJvdXQgb25lIHRvIHR3
byBjcmVkaXQgY2FyZHMuDQoNCkkgd2lzaCB0byBtaW5pbWl6ZSB0aGUgYW1vdW50IG9mIHBvcnRp
bmcgbmVlZGVkIHNvIEkgYW0gdmVyeSBncmF0ZWZ1bCBpZg0Kc29tZW9uZSBoYXMgZ29vZCBpbnNp
Z2h0cyBpbiB0aGlzIGFyZWEuIEFuZCBvZiBjb3Vyc2UsIGl0IHdvdWxkIGhlbHAgYSBsb3QNCmlm
IGl0IHdhcyBhIG1hbnVmYWN0dXJlciB3aG8gaXMgd2lsbGluZyB0byBwcm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iB5b3UgYXJlIG5vdCB0aGUgaW50ZW5kZWQgcmVjaXBpZW50IGFuZCBoYXZlIHJl
Y2VpdmVkIHRoaXMgZW1haWwgaW4KZXJyb3IsIHBsZWFzZSBkZXN0cm95IHRoZSBvcmlnaW5hbCBt
ZXNzYWdlLgo=
From owner-freebsd-current@FreeBSD.ORG  Wed Jan 28 10:48:48 2015
Return-Path: <owner-freebsd-current@FreeBSD.ORG>
Delivered-To: current@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 84FE3C71;
 Wed, 28 Jan 2015 10:48:48 +0000 (UTC)
Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id EB394F14;
 Wed, 28 Jan 2015 10:48:47 +0000 (UTC)
Received: from tom.home (kostik@localhost [127.0.0.1])
 by kib.kiev.ua (8.14.9/8.14.9) with ESMTP id t0SAmgdE025401
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
 Wed, 28 Jan 2015 12:48:43 +0200 (EET)
 (envelope-from kostikbel@gmail.com)
DKIM-Filter: OpenDKIM Filter v2.9.2 kib.kiev.ua t0SAmgdE025401
Received: (from kostik@localhost)
 by tom.home (8.14.9/8.14.9/Submit) id t0SAmg2p025400;
 Wed, 28 Jan 2015 12:48:42 +0200 (EET)
 (envelope-from kostikbel@gmail.com)
X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com
 using -f
Date: Wed, 28 Jan 2015 12:48:42 +0200
From: Konstantin Belousov <kostikbel@gmail.com>
To: Gleb Smirnoff <glebius@FreeBSD.org>
Subject: Re: panic in softdep_slowdown()
Message-ID: <20150128104842.GL42409@kib.kiev.ua>
References: <20150127203103.GZ15484@glebius.int.ru>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20150127203103.GZ15484@glebius.int.ru>
User-Agent: Mutt/1.5.23 (2014-03-12)
X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00,
 DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no
 autolearn_force=no version=3.4.0
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on tom.home
Cc: current@FreeBSD.org
X-BeenThere: freebsd-current@freebsd.org
X-Mailman-Version: 2.1.18-1
Precedence: list
List-Id: Discussions about the use of FreeBSD-current
 <freebsd-current.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-current>, 
 <mailto:freebsd-current-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-current/>;
List-Post: <mailto:freebsd-current@freebsd.org>
List-Help: <mailto:freebsd-current-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-current>,
 <mailto:freebsd-current-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 28 Jan 2015 10:48:48 -0000

On Tue, Jan 27, 2015 at 11:31:03PM +0300, Gleb Smirnoff wrote:
> Got this in bhyve VM on boot up and mount:
> 
> Starting file system checks:
> /dev/vtbd0p3: FILE SYSTEM CLEAN; SKIPPING CHECKS
> /dev/vtbd0p3: clean, 1617700 free (222876 frags, 174353 blocks, 5.9% fragmentation)
> 
> 
> Fatal trap 18: integer divide fault while in kernel mode
> cpuid = 1; apic id = 01
> instruction pointer     = 0x20:0xffffffff80895d63
> stack pointer           = 0x28:0xfffffe001eb5f220
> frame pointer           = 0x28:0xfffffe001eb5f2b0
> code segment            = base 0x0, limit 0xfffff, type 0x1b
>                         = DPL 0, pres 1, long 1, def32 0, gran 1
> processor eflags        = interrupt enabled, resume, IOPL = 0
> current process         = 49 (mount)
> [ thread pid 49 tid 100045 ]
> Stopped at      softdep_slowdown+0x1d3: idivl   %ecx,%eax
> db> bt
> Tracing pid 49 tid 100045 td 0xfffff800026ee000
> softdep_slowdown() at softdep_slowdown+0x1d3/frame 0xfffffe001eb5f2b0
> ffs_truncate() at ffs_truncate+0x1be/frame 0xfffffe001eb5f640
> ufs_setattr() at ufs_setattr+0x4e5/frame 0xfffffe001eb5f6a0
> VOP_SETATTR_APV() at VOP_SETATTR_APV+0x22a/frame 0xfffffe001eb5f710
> VOP_SETATTR() at VOP_SETATTR+0x45/frame 0xfffffe001eb5f760
> vn_truncate() at vn_truncate+0x196/frame 0xfffffe001eb5f870
> fo_truncate() at fo_truncate+0x41/frame 0xfffffe001eb5f8b0
> kern_ftruncate() at kern_ftruncate+0x16d/frame 0xfffffe001eb5f920
> sys_ftruncate() at sys_ftruncate+0x27/frame 0xfffffe001eb5f940
> syscallenter() at syscallenter+0x46e/frame 0xfffffe001eb5f9b0
> amd64_syscall() at amd64_syscall+0x1f/frame 0xfffffe001eb5fab0
> Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe001eb5fab0
> --- syscall (480, FreeBSD ELF64, sys_ftruncate), rip = 0x800b511fa, rsp = 0x7fffffffe998, rbp = 0x7fffffffeb90 ---
> db> call doadump
> Dumping 60 out of 495 MB:..27%..54%..80%
> Dump complete
> = 0
> db>
> 
> I've got the core file.

At least the source line for the panic is needed.
Also, print out the value of stat_flush_threads.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAASDrVmh-UrYXoBoze6_ZMNjORuAMi_pmNO=N-ZOv7tHCEU7Mg>