From owner-freebsd-current@FreeBSD.ORG Wed Oct 12 14:59:24 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 1A57E1065676 for ; Wed, 12 Oct 2011 14:59:24 +0000 (UTC) (envelope-from jean-sebastien.pedron@dumbbell.fr) Received: from mail.made4.biz (unknown [IPv6:2001:41d0:1:7018::1:3]) by mx1.freebsd.org (Postfix) with ESMTP id AC8CF8FC08 for ; Wed, 12 Oct 2011 14:59:23 +0000 (UTC) Received: from [2001:1b48:10b:cafe:225:64ff:febe:589f] (helo=viking.yzserv.com) by mail.made4.biz with esmtpsa (TLSv1:DHE-RSA-CAMELLIA256-SHA:256) (Exim 4.76 (FreeBSD)) (envelope-from ) id 1RE0HB-0008gH-ST for freebsd-current@freebsd.org; Wed, 12 Oct 2011 16:59:22 +0200 Message-ID: <4E95AB49.30908@dumbbell.fr> Date: Wed, 12 Oct 2011 16:59:21 +0200 From: =?ISO-8859-1?Q?Jean-S=E9bastien_P=E9dron?= User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111003 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-current@freebsd.org X-Enigmail-Version: undefined Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Subject: "BTX halted" when booting 9.0-BETA3 (Root On ZFS) 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, 12 Oct 2011 14:59:24 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, For a couple of days now, I can't boot FreeBSD 9-BETA3 on my laptop. It stops at this stage (copied by hand from a screenshot): FreeBSD/x86 ZFS enabled bootstrap loader, Revision 1.1 (root@farrell.cse.buffalo.edu, Sat Sep 24 20:25:50 UTC 2011) - int=00000000 err=00000000 efl=00010246 eip=0002f4ab eax=00000001 ebx=00000000 ecx=00000000 edx=00000000 esi=00000000 edi=00000000 ebp=00094880 esp=00094808 cs=002b ds=0033 es=0033 fs=0033 gs=0033 ss=0033 cs:eip=f7 f1 85 db 89 c1 89 45-94 74 08 8b 55 18 89 32 89 7a 04 89 4d 98 8b 45-94 8b 55 98 83 c4 6c 5b ss:eip=00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 BTX halted It was installed using the RootOnZFS guide almost two years ago (MBR, multiboot with Windows 7 and Ubuntu, ZFS in a single slice[1]). I'm usually tracking CURRENT up until the ports breakage with 10-CURRENT. Now I'm tracking 9.0. I built world from SVN revision 226141. But now, kernel, zfsboot and zfsloader are those from 9.0-BETA3's DVD1. The zpool is version 28 and the zfs filesystems are version 5. It all started when I copied a directory containing around 3.5GB of JPEG images, while building world (I can't remember if the build was finished, maybe it was waiting for install). This was quite slow (but I can't give you numbers). When I then ran make installkernel, I found it to be really slow two (maybe 1-2 seconds per module). I continued with installworld in single user, then rebooted. I can't remember if the problems appeared right away but the first one was an "ZFS: invalid zap_type=134218628" at boot, exactly as described on freebsd-fs@ [2]. At this point, I used VirtualBox (on Windows) to boot from 9.0-BETA3's DVD1 and restored kernel.old (I think). Now I have this "BTX halted" exception. What I tried so far: o reinstall zfsboot from 9.0-BETA3 o restore zfsloader.old o reinstall zfsloader from 9.0-BETA3 o zfs scrub (no error) o regen zpool.cache o SMART Extended Text (no error) o memtest (no error) o zdb -cv but it's unable to complete, not enough memory The only sign of hardware failure is "Reallocated Sector Count: 98" from smartctl. But for now, I can't be sure the HDD is the root of the problems. Does someone have any suggestions about this sofware and/or hardware issue? I'm running out of ideas on how to isolate it. [1] http://wiki.freebsd.org/RootOnZFS/ZFSBootPartition [2] http://lists.freebsd.org/pipermail/freebsd-fs/2011-August/012248.html - -- Jean-Sébastien Pédron -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk6Vq0kACgkQa+xGJsFYOlOCewCfQT4jQVOVH5dDezNiSInFJS0N IBIAoNHU67v9O2BctFG3kT84gmXumBV6 =/H4A -----END PGP SIGNATURE-----