From owner-freebsd-current@FreeBSD.ORG Fri Aug 5 05:08:25 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 269341065675 for ; Fri, 5 Aug 2011 05:08:25 +0000 (UTC) (envelope-from ttsestt@gmail.com) Received: from mail-iy0-f172.google.com (mail-iy0-f172.google.com [209.85.210.172]) by mx1.freebsd.org (Postfix) with ESMTP id E602F8FC0C for ; Fri, 5 Aug 2011 05:08:24 +0000 (UTC) Received: by iye7 with SMTP id 7so1804063iye.17 for ; Thu, 04 Aug 2011 22:08:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:message-id:user-agent :mime-version:content-type; bh=7qDgGGC6CEHC9EhauFZ+rqRTgb0jeZTPaUzkdeF3+LE=; b=uDJDcgj25uZFmH0jk1qPR674OdGkq9mZdghin/EmnaSn0uecJw1u1GMA70ak9SF1VR Q5TWs9Qm+aSHisg/o3EkKjpQIagEBg/MJCPoenptOwilfBFSVwpuU0uOQJuLEsiGGEgH TfMk8xJ5zTF6o5yq/Gn+4+hY6MssbvDAg4sKQ= Received: by 10.231.83.196 with SMTP id g4mr1354781ibl.54.1312520904464; Thu, 04 Aug 2011 22:08:24 -0700 (PDT) Received: from localhost (tor-exit-router45-readme.formlessnetworking.net [199.48.147.45]) by mx.google.com with ESMTPS id v16sm1747187ibe.17.2011.08.04.22.08.22 (version=SSLv3 cipher=OTHER); Thu, 04 Aug 2011 22:08:23 -0700 (PDT) From: Test Rat To: Pawel Worach References: <86zkjtwc8r.fsf@gmail.com> Date: Fri, 05 Aug 2011 09:08:08 +0400 Message-ID: <86vcucfnt3.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: freebsd-current@freebsd.org Subject: Re: [clang] (gpt)zfsboot is broken: zfs_alloc()/zfs_free() mismatch 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: Fri, 05 Aug 2011 05:08:25 -0000 Pawel Worach writes: > On Aug 1, 2011, at 14:24, Test Rat wrote: > >> Anyone else? I can still reproduce with trunk r136607. >> boot and gptboot seem to be unaffected. >> >> IIRC, with previous clang import it just stuck during boot >> without any error messages. > > A workaround for the hang on boot and "error 1 lba X" failures is the > following patch, it would be interesting if it also makes the > zfs_alloc/free error go away too. [...] After applying the patch zfsboot and gptzfsboot boot successfully. Tested both inside qemu and only gptzfsboot on a living system.