From nobody@FreeBSD.org  Mon Mar  8 14:38:42 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 77F1C106564A
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <bugs@zxvf.us>
To: freebsd-gnats-submit@FreeBSD.org
Subject: NanoBSD's updatep* scripts fail with boot0cfg: vnode_pager_getpages: I/O read error
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         144553
>Category:       misc
>Synopsis:       [nanobsd] NanoBSD's updatep* scripts fail with boot0cfg: vnode_pager_getpages: I/O read error
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    imp
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 08 14:40:02 UTC 2010
>Closed-Date:    Thu Mar 13 22:16:11 MDT 2014
>Last-Modified:  Thu Mar 13 22:16:11 MDT 2014
>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:
State-Changed-From-To: open->patched 
State-Changed-By: imp 
State-Changed-When: Fri May 13 12:23:10 MDT 2011 
State-Changed-Why:  
This has already been fixed in -current.  Haven't MFC'd this to 8 yet, 
I don't think.  Will verify and merge and/or close. 


Responsible-Changed-From-To: freebsd-bugs->imp 
Responsible-Changed-By: imp 
Responsible-Changed-When: Fri May 13 12:23:10 MDT 2011 
Responsible-Changed-Why:  
foo 

http://www.freebsd.org/cgi/query-pr.cgi?pr=144553 
State-Changed-From-To: patched->closed 
State-Changed-By: imp 
State-Changed-When: Thu Mar 13 22:15:48 MDT 2014 
State-Changed-Why:  
This was in 9 and 10. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=144553 
>Unformatted:
