NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Couldn't boot NetBSD-9.2-amd64-install.img on bhyve VM



uki%e-yuuki.org@localhost (Yuuki Enomoto) writes:

># gpt create -p 128 ld0
>gpt: /dev/rld0: Media size can't be 0


The media size is read as:

        ld->sc_secperunit = virtio_read_device_config_8(vsc,
            VIRTIO_BLK_CONFIG_CAPACITY) / (ld->sc_secsize / VIRTIO_BLK_BSIZE);

So the host appears to send a size of zero.



Home | Main Index | Thread Index | Old Index