From owner-freebsd-fs@FreeBSD.ORG Wed Aug 6 13:34:47 2008 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C8DB1065671; Wed, 6 Aug 2008 13:34:47 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (skuns.zoral.com.ua [91.193.166.194]) by mx1.freebsd.org (Postfix) with ESMTP id 8F6228FC1E; Wed, 6 Aug 2008 13:34:46 +0000 (UTC) (envelope-from kostikbel@gmail.com) 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 m76DYgAk046040 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 6 Aug 2008 16:34:42 +0300 (EEST) (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.2/8.14.2) with ESMTP id m76DYfNj089938; Wed, 6 Aug 2008 16:34:41 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2/Submit) id m76DYf3N089937; Wed, 6 Aug 2008 16:34:41 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 6 Aug 2008 16:34:41 +0300 From: Kostik Belousov To: Mateusz Guzik Message-ID: <20080806133441.GM97161@deviant.kiev.zoral.com.ua> References: <200808061020.m76AK5NI013323@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="11IAkegDWp8TRrA/" Content-Disposition: inline In-Reply-To: <200808061020.m76AK5NI013323@freefall.freebsd.org> User-Agent: Mutt/1.4.2.3i 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 Cc: freebsd-fs@freebsd.org, bug-followup@freebsd.org Subject: Re: kern/126287: [ufs] [panic] Kernel panics while mounting an UFS filesystem with snapshot enabled X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2008 13:34:47 -0000 --11IAkegDWp8TRrA/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 06, 2008 at 10:20:05AM +0000, Mateusz Guzik wrote: > The following reply was made to PR kern/126287; it has been noted by GNAT= S. >=20 > From: "Mateusz Guzik" > To: bug-followup@freebsd.org > Cc: =20 > Subject: Re: kern/126287: [ufs] [panic] Kernel panics while mounting an U= FS filesystem with snapshot enabled > Date: Wed, 6 Aug 2008 12:15:00 +0200 >=20 > Something weird happened to my attachment, I'll paste it here: > =20 > --- sys/kern/vfs_mount.c.orig 2008-08-06 11:14:16.000000000 +0200 > +++ sys/kern/vfs_mount.c 2008-08-06 11:14:32.000000000 +0200 > @@ -196,10 +196,13 @@ > void > vfs_deleteopt(struct vfsoptlist *opts, const char *name) > { > struct vfsopt *opt, *temp; > =20 > + if (opts =3D=3D NULL) > + return; > + > TAILQ_FOREACH_SAFE(opt, opts, link, temp) { > if (strcmp(opt->name, name) =3D=3D 0) > vfs_freeopt(opts, opt); > } > } > =20 > Again, it should work fine ;) > =20 > Thanks, > -- > Mateusz Guzik The PR lacks the backtrace (preferrable the ddb output or "bt full" from kgdb) for the panic. Please, show me the backtrace. --11IAkegDWp8TRrA/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkiZqHAACgkQC3+MBN1Mb4jCYQCg8Zuw0keIHdOXrkv9Q5yK8M6r tEkAn3GayEaX5S9xQqiqDRBTooAe8ggD =zxuG -----END PGP SIGNATURE----- --11IAkegDWp8TRrA/--