From owner-freebsd-current@FreeBSD.ORG Wed Sep 29 18:37:20 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F28D31065673; Wed, 29 Sep 2010 18:37:19 +0000 (UTC) (envelope-from rbgarga@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id BE9FD8FC1A; Wed, 29 Sep 2010 18:36:59 +0000 (UTC) Received: by wyb32 with SMTP id 32so19966wyb.13 for ; Wed, 29 Sep 2010 11:36:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=wASeikb1bOj+vAbzBCSahmYTxTmBzcPaWx8+4K8xAz0=; b=kCGf+ztsGFEMwPBBcpeYwFaoBkjKVn7nclYYZJFw9L3cZo+qRAQl9rRNtMcKqO+YsI OrG/l6pKAigdKyfESPRJ0bFJs5FJGQEbTh31xsptjGkpUDCgTFw3HhmjfJydVlMrI42w LOKXiO39ZugQF0WWkg1RKlZjmLK9drhKyW+U8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=LPqt3lA3ppr6NVzrIKp6kC1mpxqskoCSJTTbPAKmMZOnBULZIREjxyCrpVS5XKUPhG Y6YHk7+mhTfHzYd2w4GbOfX6ksvnvbDDiE9ZsgBoCtMM5U3XPBsI99zxIYY4FbNuwFY/ aRJgQqMMryh0Gx2bD10UUXpc7AWlleJ4yELD0= Received: by 10.216.35.75 with SMTP id t53mr2863047wea.95.1285785351873; Wed, 29 Sep 2010 11:35:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.181.142 with HTTP; Wed, 29 Sep 2010 11:35:31 -0700 (PDT) In-Reply-To: <4CA34E16.3030003@FreeBSD.org> References: <4CA34E16.3030003@FreeBSD.org> From: Renato Botelho Date: Wed, 29 Sep 2010 15:35:31 -0300 Message-ID: To: Dimitry Andric Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD-Current , Kirk McKusick Subject: Re: Soft update panic while running perl 5.12 tests 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: Wed, 29 Sep 2010 18:37:20 -0000 On Wed, Sep 29, 2010 at 11:32 AM, Dimitry Andric wrote: > Hi, > > I just encountered the following soft update panic while running perl > 5.12's tests: > > panic: indir_trunc: Index out of range -148 parent -2061 lbn -305164 > cpuid =3D 3 > KDB: enter: panic > [ thread pid 19 tid 100047 ] > Stopped at =A0 =A0 =A0kdb_enter+0x3a: movl =A0 =A0$0,kdb_why > db> bt > Tracing pid 19 tid 100047 td 0xc72e9b40 > kdb_enter(c0cd6a90,c0cd6a90,c0cfe8ab,e6be2b58,3,...) at kdb_enter+0x3a > panic(c0cfe8ab,ffffff6c,fffff7f3,ffffffff,fffb57f4,...) at panic+0x136 > indir_trunc(fffff7f3,ffffffff,c85507c0,c834d200,c733de00,...) at > indir_trunc+0x4be > handle_workitem_indirblk(4,c0cd520e,df,c834d200,c834d200,...) at > handle_workitem_indirblk+0x64 > handle_workitem_freeblocks(0,e6be2c74,2,5dc,1e0,...) at > handle_workitem_freeblocks+0x95 > process_worklist_item(c0fb2f98,0,c0cfdf8d,54a,c72e9b40,...) at > process_worklist_item+0x21c > softdep_process_worklist(c732aca8,0,c0cfdf8d,4cd,64,...) at > softdep_process_worklist+0x8c > softdep_flush(0,e6be2d28,c0cd1c8a,349,c72ed550,...) at softdep_flush+0x2a= 0 > fork_exit(c0afb670,0,e6be2d28) at fork_exit+0xb8 > fork_trampoline() at fork_trampoline+0x8 > --- trap 0, eip =3D 0, esp =3D 0xe6be2d60, ebp =3D 0 --- > > It is consistently reproducible. =A0This is on a -current system, at > r213139, on i386. =A0Settings for the affected filesystem: > > tunefs: POSIX.1e ACLs: (-a) =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0disabled > tunefs: NFSv4 ACLs: (-N) =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 disabled > tunefs: MAC multilabel: (-l) =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 disabled > tunefs: soft updates: (-n) =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 enabled > tunefs: soft update journaling: (-j) =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 enabled > tunefs: gjournal: (-J) =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 disabled > tunefs: maximum blocks per file in a cylinder group: (-e) =A02048 > tunefs: average file size: (-f) =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A016384 > tunefs: average number of files in a directory: (-s) =A0 =A0 =A0 64 > tunefs: minimum percentage of free space: (-m) =A0 =A0 =A0 =A0 =A0 =A0 8% > tunefs: optimization preference: (-o) =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0time > tunefs: volume label: (-L) =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 dimtest1 > > The panic is apparently caused by perl's "op/lfs.t" test, which tests > perlio with big files. =A0You can test it by building the perl 5.12 port, > and then running: > > cd /usr/ports/lang/perl5.12/work/perl-5.12.2/t > ../miniperl op/lfs.t > > Alternatively, just run "make test" in /usr/ports/lang/perl5.12. Since i'm running -current with SUJ here, and built perl 5.12 recently without problems, maybe this can help you (I have that patch applied locally since it was not committed yet). http://lists.freebsd.org/pipermail/freebsd-current/2010-August/019409.html --=20 Renato Botelho