From owner-freebsd-sparc64@FreeBSD.ORG Tue Dec 25 00:35:58 2012 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CBADAFFE; Tue, 25 Dec 2012 00:35:58 +0000 (UTC) (envelope-from cross+freebsd@distal.com) Received: from mail.distal.com (mail.distal.com [IPv6:2001:470:e24c:200::ae25]) by mx1.freebsd.org (Postfix) with ESMTP id 8109E8FC0A; Tue, 25 Dec 2012 00:35:58 +0000 (UTC) Received: from magrathea.distal.com (magrathea.distal.com [206.138.151.12]) (authenticated bits=0) by mail.distal.com (8.14.3/8.14.3) with ESMTP id qBP0Zv5k000719 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Mon, 24 Dec 2012 19:35:57 -0500 (EST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: Changes to kern.geom.debugflags? From: Chris Ross In-Reply-To: <7AA0B5D0-D49C-4D5A-8FA0-AA57C091C040@distal.com> Date: Mon, 24 Dec 2012 19:35:57 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <6A0C1005-F328-4C4C-BB83-CA463BD85127@distal.com> References: <7AA0B5D0-D49C-4D5A-8FA0-AA57C091C040@distal.com> To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.1499) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.2 (mail.distal.com [206.138.151.250]); Mon, 24 Dec 2012 19:35:57 -0500 (EST) Cc: freebsd-sparc64@freebsd.org X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Dec 2012 00:35:58 -0000 On Dec 23, 2012, at 16:56 , Chris Ross wrote: > I had brought up a machine months ago with freebsd-9-stable. I = configured it to boot off of a single disk, with ZFS, expecting I would = likely later attach the other disk to the zpool. I tried to do that = today, but find that I can't write the bootloader to either disk. >=20 > gpart: /dev/da0a: Operation not permitted >=20 > [...] Okay. It occurred to me today what was likely the problem. I was = running, even when single user, off of the zfs pool on the disks I was = trying to write the bootloader to. I tar'd up /boot after my recent install from a Dec 22 9-stable, and = moved it off-host. Then, I booted off of the July stable-9 CD-ROM I = have in the machine, and was able to write bootblocks (with gpart = bootcode) and a bootloader (dd if=3D/boot/zfsloader of=3D/dev/${disk}a = bs=3D512 oseek=3D1024 conv=3Dnotrunc). Now, the new problem. When I try to boot my sparc64 with these bits, = I see: >> FreeBSD/sparc64 ZFS boot block Boot path: /pci@1c,600000/scsi@2/disk@0,0:a Consoles: Open Firmware console =20 ERROR: Last Trap: Division by Zero {1} ok So, does anyone know if something has gone unstable in the sparc64 = zfsboot in recent months? If I boot from the cdrom again and load the = July zfsboot via gpart bootcode, it boots correctly again. Thanks. Any feedback appreciated. - Chris