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

Bug#787136: kfreebsd-10: crashes seen on KVM-based buildds



Christoph Egger wrote:
> I have a kfreebsd that boots via virtio. And I'm pretty sute it was
> created with virtio disks. I'll check once home again.

I already found out the following today:

grub-probe doesn't know about /dev/vtbd* disks, so it can't install
boot blocks to a new virtio disk without a patch (I'll upload this to
jessie-kfreebsd-p-u soon).

If the boot blocks are already there, GRUB2 can boot such a disk, and
kfreebsd-10 supports it too.  (kfreebsd-9 didn't IIRC)

It is possible to migrate from if=ide to if=virtio by altering
/etc/fstab (/dev/ada -> /dev/vtbd), and the root device in
/boot/grub/grub.cfg, before making that change.  If you forget
to make those changes in advance, it is still possible (but somewhat
awkward) to rescue it and make those changes via VNC.

Likewise one can migrate e1000 to virtio-net by changing
/etc/network/interfaces (em0 -> vtnet0).

I think we ought to do this anyway for the buildds and porterboxes?
Furthermore it may avoid the stability issue (if that was related
to the emulated IDE disk or e1000 NIC).

Regards,
-- 
Steven Chamberlain
steven@pyro.eu.org

Attachment: signature.asc
Description: Digital signature


Reply to: