From owner-freebsd-fs@FreeBSD.ORG Sat Jan 15 11:23:18 2011 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 7EBDB106564A for ; Sat, 15 Jan 2011 11:23:18 +0000 (UTC) (envelope-from pawel@dawidek.net) Received: from mail.garage.freebsd.pl (60.wheelsystems.com [83.12.187.60]) by mx1.freebsd.org (Postfix) with ESMTP id 2B9E08FC14 for ; Sat, 15 Jan 2011 11:23:17 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 51DD64569A; Sat, 15 Jan 2011 12:23:16 +0100 (CET) Received: from localhost (89-73-192-49.dynamic.chello.pl [89.73.192.49]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id F058945684; Sat, 15 Jan 2011 12:23:13 +0100 (CET) Date: Sat, 15 Jan 2011 12:23:04 +0100 From: Pawel Jakub Dawidek To: freebsd-fs@freebsd.org Message-ID: <20110115112304.GC5335@garage.freebsd.pl> References: <4D2B9321.9070306@brawley.id.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1ccMZA6j1vT5UqiK" Content-Disposition: inline In-Reply-To: <4D2B9321.9070306@brawley.id.au> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 9.0-CURRENT amd64 Cc: Krzysztof Dajka Subject: Re: New ZFSv28 patchset for 8-STABLE 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: Sat, 15 Jan 2011 11:23:18 -0000 --1ccMZA6j1vT5UqiK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 11, 2011 at 09:45:45AM +1030, Ivan Brawley wrote: > On 10/Jan/2011, Pawel Jakub Dawidek wrote: > > On Sat, Dec 18, 2010 at 10:00:11AM +0100, Krzysztof Dajka wrote: > > > Rebooting with old world and new kernel went fine. But after reboot > > > with new world I got: > > > ZFS: zfs_alloc()/zfs_free() mismatch > > > Just before loading kernel modules, after that my system hangs. > > > > Could you tell me more about you pool configuration? > > 'zpool status' output might be helpful. >=20 > I too got hit by the same thing with my workstation. >=20 > My configuration is 3 x 1.5TB SATA drives in a RAIDZ set and I have a=20 > SSD split into two to use as L2ARC and ZIL (yeah, I know, one SSD only,= =20 > all the fun and games should it die... That's what backups are for :-). >=20 > # zpool status bang_raidz > pool: bang_raidz > state: ONLINE > scan: scrub repaired 0 in 7h55m with 0 errors on Sat Jan 1 16:16:13 2011 > config: >=20 > NAME STATE READ WRITE CKSUM > bang_raidz ONLINE 0 0 0 > raidz1-0 ONLINE 0 0 0 > ada1p3 ONLINE 0 0 0 > ada2p3 ONLINE 0 0 0 > ada3p3 ONLINE 0 0 0 > logs > ada4p2 ONLINE 0 0 0 > cache > ada4p3 ONLINE 0 0 0 >=20 > errors: No known data errors >=20 > I've tried upgrading the pool to v28 without luck. I can import the pool= =20 > if I boot from alternate media (which is what I'm currently doing). >=20 > Doing some debugging, the problem seems to be when zfs_free() is called= =20 > by sys/boot/zfs/zfsimpl.c:zio_read(). I think I found it: http://people.freebsd.org/~pjd/patches/zfssubr.c.patch I was allocating memory instead of freeing it:) Could you try it? --=20 Pawel Jakub Dawidek http://www.wheelsystems.com pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --1ccMZA6j1vT5UqiK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk0xg5gACgkQForvXbEpPzQi/wCgvZV2x6xH7gluvwWTDovDfxT9 7vIAn1mBedrqwpK79baSwB9Ck1NJbrC0 =dA9j -----END PGP SIGNATURE----- --1ccMZA6j1vT5UqiK--