From owner-freebsd-amd64@FreeBSD.ORG Fri Jun 5 11:06:13 2009 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C529106564A for ; Fri, 5 Jun 2009 11:06:13 +0000 (UTC) (envelope-from freebsd-current@chrishedley.com) Received: from mailout.zetnet.co.uk (mailout.zetnet.co.uk [194.247.47.231]) by mx1.freebsd.org (Postfix) with ESMTP id CB78C8FC12 for ; Fri, 5 Jun 2009 11:06:12 +0000 (UTC) (envelope-from freebsd-current@chrishedley.com) Received: from irwell.zetnet.co.uk ([194.247.47.48] helo=zetnet.co.uk) by mailout.zetnet.co.uk with esmtp (Exim 4.63) (envelope-from ) id 1MCWEG-0001Nd-3F for freebsd-amd64@freebsd.org; Fri, 05 Jun 2009 11:00:52 +0100 Received: from mail.chrishedley.com (53-233.adsl.zetnet.co.uk [194.247.53.233]) by zetnet.co.uk (8.14.1/8.14.1/Debian-9) with ESMTP id n55A0p9K020859 for ; Fri, 5 Jun 2009 11:00:51 +0100 Received: from localhost (localhost [127.0.0.1]) by mail.chrishedley.com (Postfix) with ESMTP id 46C688F1CF for ; Fri, 5 Jun 2009 11:00:51 +0100 (BST) X-Virus-Scanned: amavisd-new at chrishedley.com Received: from mail.chrishedley.com ([127.0.0.1]) by localhost (mail.chrishedley.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id uzmae6j-oW-N for ; Fri, 5 Jun 2009 11:00:48 +0100 (BST) Received: from teapot.cbhnet (teapot.cbhnet [192.168.1.1]) by mail.chrishedley.com (Postfix) with ESMTP id 75C098F1B1 for ; Fri, 5 Jun 2009 11:00:48 +0100 (BST) Date: Fri, 5 Jun 2009 11:00:48 +0100 (BST) From: Chris Hedley X-X-Sender: cbh@teapot.cbhnet To: freebsd-amd64@freebsd.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.1.7 (zetnet.co.uk [194.247.46.1]); Fri, 05 Jun 2009 11:00:52 +0100 (BST) Subject: New builds won't boot X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jun 2009 11:06:13 -0000 Hi all, I was wondering if anybody has any suggestions for me. Since around January this year, I've been unable to get new builds to boot on my system: they go through the usual kernel initialisation stage, reach the "ZFS is an experimental feature" message, sometimes followed a few other random notices, and then it hangs indefinitely. I've just regressed to a version from mid January which boots without any problems, though ZFS from that point is unstable enough that I'm unable to update any of the packages on the security alerts list without it locking up, so it's not ideal. I've tried various approaches to see if I can find out what was the problem. I did read that GEOM_MIRROR has displayed similar problems in recent versions, especially if combined with k8temp, oddly, but disabling one or other, or both, or making it part of the kernel, and various other trial-and-error configurations haven't yielded any success. Other attempts have been to try a build both with and without SMP, turning off optimisation in CFLAGS and numerous other fiddles that I can't recall now. A further complication is that USB appears also to be broken in the newer versions, so although I can break out into the debugger, the keyboard doesn't work from that point onwards. Not that it makes a lot of difference as I'm not really sure what to look for. It is also worth noticing that a build of GENERIC also has the above two problems so I'm not entirely convinced it's a configuration issue unless there's something weird in my loader.conf, which is as follows if it looks suspect to anybody: #geom_mirror_load="YES" geom_label_load="YES" geom_eli_load="YES" nvram_load="YES" zfs_load="YES" vm.kmem_size="1536M" vm.kmem_size_max="1536M" vfs.zfs.arc_min="512M" vfs.zfs.arc_max="1024M" vfs.zfs.prefetch_disable=1 # vfs.zfs.zil_disable=1 vfs.root.mountfrom="zfs:tank/root.2009.01" kern.maxfiles="25000" My system setup is a uniprocessor Opteron 248 in a Tyan Thunder dual processor motherboard with 3GB registered/ECC RAM. I use ZFS for my main storage array in a RAIDZ2 configuration spread across eight of its 10 partitioned SATA discs; the system boots off one component of a GEOM_MIRROR enabled partition to avoid any need for zfsboot and related issues. I'm wondering if it might be ZFS that's the problem here. I'm not especially enthusiastic about giving it up, so might I be better off migrating to Solaris, do you think? Any suggestions would be welcome!