From owner-freebsd-current@FreeBSD.ORG Sun Mar 6 10:10:45 2011 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 14BE4106564A for ; Sun, 6 Mar 2011 10:10:45 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 827F58FC12 for ; Sun, 6 Mar 2011 10:10:43 +0000 (UTC) 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 p26AAe5i086987 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 6 Mar 2011 12:10:40 +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.4/8.14.4) with ESMTP id p26AAeA9077649; Sun, 6 Mar 2011 12:10:40 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id p26AAdR0077648; Sun, 6 Mar 2011 12:10:39 +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: Sun, 6 Mar 2011 12:10:39 +0200 From: Kostik Belousov To: obrien@freebsd.org, freebsd-current@freebsd.org Message-ID: <20110306101039.GT78089@deviant.kiev.zoral.com.ua> References: <20110305233301.GA3232@dragon.NUXI.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="nIBs8SLBsIiemmyM" Content-Disposition: inline In-Reply-To: <20110305233301.GA3232@dragon.NUXI.org> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-3.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: Subject: Re: [PANIC] ffs_alloccg: map corrupted (w/SU+J) 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: Sun, 06 Mar 2011 10:10:45 -0000 --nIBs8SLBsIiemmyM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 05, 2011 at 03:33:01PM -0800, David O'Brien wrote: > Feb 24 19:43:16 : FreeBSD 9.0-CURRENT #662 r218815:218845M: Tue Feb 22 00= :13:31 PST 2011 > Feb 24 19:43:16 : /sys/i386/compile/DRAGON i386 > [..] > Mar 5 14:41:38 : start =3D 0, len =3D 1659, fs =3D /storage > Mar 5 14:41:38 : panic: ffs_alloccg: map corrupted > Mar 5 14:41:38 : cpuid =3D 0 > Mar 5 14:41:38 : KDB: stack backtrace: > Mar 5 14:41:38 : db_trace_self_wrapper(c084242b,65676172,a0d,4,0,...) at= 0xc04ebf46 =3D db_trace_self_wrapper+0x26 > Mar 5 14:41:38 : kdb_backtrace(c0860edc,0,c085531a,eaf4870c,0,...) at 0x= c05ff87a =3D kdb_backtrace+0x2a > Mar 5 14:41:38 : panic(c085531a,0,67b,c65230d4,e000c000,...) at 0xc05d1d= 67 =3D panic+0x117 > Mar 5 14:41:38 : ffs_mapsearch(4462ea0,0,8,0,0,...) at 0xc0759163 =3D ff= s_mapsearch+0x153 > Mar 5 14:41:38 : ffs_alloccgblk(4462ea0,0,4000,5ae,0,...) at 0xc075935c = =3D ffs_alloccgblk+0xec > Mar 5 14:41:38 : ffs_alloccg(c99c29f8,2fa,4462ea0,0,4000,...) at 0xc0759= c83 =3D ffs_alloccg+0x1b3 > Mar 5 14:41:38 : ffs_hashalloc(4462ea0,0,4000,4000,c0759ad0,...) at 0xc0= 756321 =3D ffs_hashalloc+0x41 > Mar 5 14:41:38 : ffs_alloc(c99c29f8,100e,0,4462ea0,0,...) at 0xc075acff = =3D ffs_alloc+0x19f > Mar 5 14:41:38 : ffs_balloc_ufs2(ca740110,4038000,0,4000,c8bc7400,...) a= t 0xc075cff9 =3D ffs_balloc_ufs2+0x1949 > Mar 5 14:41:38 : ffs_write(eaf48b90,eaf48b4c,eaf48b10,c0780ac2,ca740168,= ...) at 0xc077fc66 =3D ffs_write+0x276 > Mar 5 14:41:38 : VOP_WRITE_APV(c08bb080,eaf48b90,ca740110,264,0,...) at = 0xc08036e4 =3D VOP_WRITE_APV+0xe4 > Mar 5 14:41:38 : vn_write(c7cfcc78,eaf48c24,c8bc7400,0,cddd05c0,...) at = 0xc0663ad3 =3D vn_write+0x1c3 > Mar 5 14:41:38 : dofilewrite(eaf48c24,ffffffff,ffffffff,0,c7cfcc78,...) = at 0xc060fe55 =3D dofilewrite+0x95 > Mar 5 14:41:38 : kern_writev(cddd05c0,4,eaf48c24,eaf48c44,1,...) at 0xc0= 6100e8 =3D kern_writev+0x58 > Mar 5 14:41:38 : write(cddd05c0,eaf48cec,cddd05c0,eaf48d28,4,...) at 0xc= 061016f =3D write+0x4f > Mar 5 14:41:38 : syscallenter(cddd05c0,eaf48ce4,eaf48ce4,0,3,...) at 0xc= 060b363 =3D syscallenter+0x2c3 > Mar 5 14:41:38 : syscall(eaf48d28) at 0xc07e3114 =3D syscall+0x34 > Mar 5 14:41:38 : Xint0x80_syscall() at 0xc07cf121 =3D Xint0x80_syscall+0= x21 > Mar 5 14:41:38 : --- syscall (4, FreeBSD ELF32, write), eip =3D 0x2818c6= 0b, esp =3D 0xbfbfe86c, ebp =3D 0xbfbfe8d8 --- >=20 >=20 > Changes since my last reported SU+J panic: > 1. Newer revision of ahd(4) ASIC > 2. New U320 SCA enclosures (different vendor + model). > 3. New motherboard >=20 > --=20 > -- David (obrien@FreeBSD.org) >=20 > P.S. I am using this UFS patch: Both changes you are using were superseded by proper fixes committed into HEAD for some time. For me, this indeed sounds as disk corruption. Could you somehow verify that the disks read the data that was written to ? E.g, putting some iso image with known sha checksum onto the disk with dd, and then reading that part and checksumming it ? --nIBs8SLBsIiemmyM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk1zXZ8ACgkQC3+MBN1Mb4h6qQCcD0+GDkefHLT5GygZQOvV1o4L g7AAni6vjLf9y73FvH9f1WPgQ2HmY3va =zr8c -----END PGP SIGNATURE----- --nIBs8SLBsIiemmyM--