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

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



Paul Wise wrote:
> On Sun, 14 Jun 2015 15:07:01 +0100 Steven Chamberlain wrote:
> > I think we should rather be using if=virtio now anyway.  Could we try
> > to switch falla to that, and hopefully the issue might go away?
> 
> Switched to that:
> 
> gnt-instance shutdown falla.debian.org
> gnt-instance modify -d -H disk_type=paravirtual falla.debian.org
> gnt-instance shutdown falla.debian.org

Thanks!

> > I suggest we may rather want to use diskids in /etc/fstab
> 
> Could you outline how that works on kFreeBSD?

Looking on falla, I actually don't see any /dev/diskid/ entries
listed in /proc/partitions, so I guess this is not possible right
now;  not sure why.

> Should we make that the default in stretch and or jessie?

It's something we should implement in debian-installer for
sid/stretch.  Similar to the UUID entries used on Linux for
many years now.

> > And while here, I recommend enabling soft updates journalling
> 
> It asked me to run fsck but doing that didn't help.
> 
> fsck -y /dev/vtbd1s1
> tunefs.ufs -j enable /dev/vtbd1s1
> tunefs.ufs: soft updates journaling cannot be enabled until fsck is run
> tunefs.ufs: /dev/vtbd1s1: failed to write superblock

Odd error message.  Was it unmounted?  (not just mounted read-only)

I would also have tried to call fsck.ufs directly for good measure.

If you do have the chance to try it again, it may be useful to
install ktrace first and use that to get a system call trace
(ktrace.out) to analyse later, e.g.:

    # ktrace -di -- tunefs.ufs -j enable /dev/vtbd1s1

I can meanwhile try to find a way to reproduce it myself.

> > And set up as much logging as possible to the serial console (boot
> > with kernel flags -D -h, /etc/grub.d/10_kfreebsd), in case Ganeti can
> > keep logs of that, as it should help for issues like this.
> 
> -D was in there already, added -h, now this command works:
> gnt-instance console falla.debian.org
> 
> Should we make that the default in stretch and jessie?

For jessie, when /etc/default/grub has GRUB_TERMINAL="serial console",
I'd like those flags to be set automatically by /etc/grub.d/10_kfreebsd.
When I've finished that, we could replace falla's modified
/etc/grub.d/10_kfreebsd with a pristine copy.

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

Attachment: signature.asc
Description: Digital signature


Reply to: