Subject: sysinst to vnd0: Rewrite of MBR failed. I can't continue.
To: None <tech-install@NetBSD.org>
From: Hubert Feyrer <hubert@feyrer.de>
List: tech-kern
Date: 09/04/2006 03:15:20
vnconfig'ing vnd0 and telling sysinst to install to that (empty) disk 
image used to work so far. It seems on a 4.0_BETA kernel with -current 
sysinst, this doesn't work any more.

I've tracked things down to the pwrite() call in sysinst's write_mbr() 
failing with sector=0, but I don't know how to interpret this, esp. as 
this used to work. Is writing to the start of a vnd device prohibited now?

FWIW, I've tried running 'disklabel -W vnd0' but that didn't make any 
changes.

Is there something I'm missing?


  - Hubert