Subject: Re: vmware 2.04 and raw disks
To: None <current-users@netbsd.org>
From: Leo Weppelman <leo@wau.mis.ah.nl>
List: current-users
Date: 11/10/2002 21:48:42
On Wed, Nov 06, 2002 at 09:11:46AM +0100, Leo Weppelman wrote:
> I have x86 pc here on my desk that has w2000 installed on the first
> partition and NetBSD on the 3rd. I made a virtual machine config with
> vmware that tells it to have a w2000 machine on the raw disk /dev/hda.
> When I try to power-up the virtual machine I get an error:
> Failed to open rawdisk /dev/hda: Value too large for defined
> data type. Failed to configure ide0:0.
>
As an extra data-point, while ktracing, I came along the following fragment:
550 vmware NAMI "/emul/linux/dev/hdb"
550 vmware NAMI "/emul/linux"
550 vmware NAMI "/emul/linux/dev/hdb"
550 vmware RET stat64 0
550 vmware CALL write(0x10,0xbfbfa5a4,0x18)
550 vmware GIO fd 16 wrote 24 bytes
"\M^N\M-&\M-?\M-?l\^R\f\b\M-=\0\0\0\^X\0\0\0z\M-&\M-?\M-? NRH"
550 vmware RET write 24/0x18
550 vmware CALL write(0x10,0xbfbfa5ec,0xa5)
550 vmware GIO fd 16 wrote 165 bytes
"\^A\0\0\0\0\0msg.rawdisk.notFound\0\b\M^D\M-O\M-?\M-?\0\0\0\0D\M-&\M-?\
\M-?/\M^^\^E\b\M-H\M^S1\b\M-|\M-F\M-?\M-?\0\^D\0\0\M-|\M-F\M-?\M-?\M^N\
\0\0\0\M-H\M^S1\bl\^R\f\b\M-&\0\0\0\^X\0\0\0\M^N\0\0\0 NRH\M-|\M-J\M-?\
\M-?^\^R\f\b8\M-4&\b\^[\M-K\M-?\M-?\^B\0\0\0\M-:\M-5 \b,\M-K\M-?\M-?H\
\M^T1\b\M^P\M^U1\bx\M-K\M-?\M-?\0\M-5 \b@\M-KFailed to open rawdisk %s\
: %s
\0"
This might be indicating that the output of stat64 somehow influences the
type of a disk... Are there people currently running vmware on a raw disk?
If so, what is the major/minor number of the disk? Maybe something has
changed in this area?
Leo.