8.0-RELEASE-p2: boot0cfg yields "vnode_pager_getpages: I/O read error"

Brian Conway bconway at alum.wpi.edu
Mon Mar 8 14:32:16 UTC 2010


On Mon, 8 Mar 2010, Maciej Milewski wrote:

> Dnia poniedziałek, 8 marca 2010 o 04:00:02 Brian Conway napisał(a):
>> Greetings.  I'm testing NanoBSD images for eventual use in an Alix board
>> and have run into an issue with the boot0cfg lines in the update scripts,
>> in multiple environments.  Specifically, any use of boot0cfg yields a
>> successful output[1], followed by:
>> ...
>> Any ideas?  Bug or
>> user error?  Thanks.
>>
>> Brian Conway
>
> Brian,
> try changing in updatep1 and updatep2 to use gpart not boot0cfg:
>
> #boot0cfg -s 1 -v ${NANO_DRIVE}
> gpart set -a active -i 1 ${NANO_DRIVE}
>
> I think is the problem. I was having similar errors as you while I was using
> boot0cfg.
>
> Maciej Milewski
>

Maciej,

Thanks, that resolved it and I've updated the scripts on my end.  It looks 
like nanobsd.sh is using boot0cfg successfully when it builds the images, 
so I'll submit a PR.

Brian Conway


More information about the freebsd-stable mailing list