From owner-freebsd-bugs@FreeBSD.ORG Mon Mar 8 14:40:02 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D80B91065677 for ; Mon, 8 Mar 2010 14:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9BA598FC18 for ; Mon, 8 Mar 2010 14:40:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o28Ee2xE057987 for ; Mon, 8 Mar 2010 14:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o28Ee2gr057985; Mon, 8 Mar 2010 14:40:02 GMT (envelope-from gnats) Resent-Date: Mon, 8 Mar 2010 14:40:02 GMT Resent-Message-Id: <201003081440.o28Ee2gr057985@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Brian Conway Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 77F1C106564A for ; Mon, 8 Mar 2010 14:38:42 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 670F28FC1A for ; Mon, 8 Mar 2010 14:38:42 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o28Ecgdu048307 for ; Mon, 8 Mar 2010 14:38:42 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o28Ecgnl048289; Mon, 8 Mar 2010 14:38:42 GMT (envelope-from nobody) Message-Id: <201003081438.o28Ecgnl048289@www.freebsd.org> Date: Mon, 8 Mar 2010 14:38:42 GMT From: Brian Conway To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/144553: NanoBSD's updatep* scripts fail with boot0cfg: vnode_pager_getpages: I/O read error X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Mar 2010 14:40:02 -0000 >Number: 144553 >Category: misc >Synopsis: NanoBSD's updatep* scripts fail with boot0cfg: vnode_pager_getpages: I/O read error >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 08 14:40:02 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Brian Conway >Release: 8.0-RELEASE-p2 >Organization: >Environment: FreeBSD fbsd8.zxvf.local 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan 5 16:02:27 UTC 2010 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: The final step in the NanoBSD's updatep[1,2] scripts, boot0cfg appears to succeed, but leaves disk access unusable with errors of "vnode_pager_getpages: I/O read error". Full information and thread here: http://lists.freebsd.org/pipermail/freebsd-stable/2010-March/055653.html >How-To-Repeat: 'boot0cfg -s 1 -v ad0' from a booted NanoBSD image. >Fix: In updatep1, replace: #boot0cfg -s 1 -v ${NANO_DRIVE} gpart set -a active -i 1 ${NANO_DRIVE} However, it looks like the nanobsd.sh script is using boot0cfg successfully when building the disk image, so this may not be the correct approach (or may require updating in both places). Thanks. >Release-Note: >Audit-Trail: >Unformatted: