TritonDataCenter / smartos-live

For more information, please see http://smartos.org/ For any questions that aren't answered there, please join the SmartOS discussion list: https://smartos.topicbox.com/groups/smartos-discuss
1.57k stars 245 forks source link

Host panic when installing SmartOS on SmartOS #743

Open YanChii opened 7 years ago

YanChii commented 7 years ago

Hi,

when trying to install a SmartOS KVM guest under SmartOS, it panicks at the end of prompt-config.

Steps to reproduce:

Dump analysis:

> $c
vpanic()
vcmn_err+0x42(3, fffffffff7ebf128, ffffff001f810700)
zfs_panic_recover+0x51(fffffffff7ebf128)
range_tree_add+0x14e(ffffff06ec016b00, 8ca7aa400, 800)
metaslab_free_dva+0x138(ffffff06eb92d000, ffffff06ed645c58, aab, 0)
metaslab_free+0xab(ffffff06eb92d000, ffffff06ed645c58, aab, 0)
zio_dva_free+0x1f(ffffff06ed645be8)
zio_execute+0x7f(ffffff06ed645be8)
zio_nowait+0x2d(ffffff06ed645be8)
spa_free_sync_cb+0x52(ffffff075914a808, ffffff0701b88470, ffffff0700db7b00)
bplist_iterate+0x6f(ffffff06eb92d578, fffffffff7e2f620, ffffff075914a808, ffffff0700db7b00)
spa_sync_frees+0x49(ffffff06eb92d000, ffffff06eb92d578, ffffff0700db7b00)
spa_sync+0x3a4(ffffff06eb92d000, aab)
txg_sync_thread+0x227(ffffff06ea267880)
thread_start+8()
> ::status
debugging crash dump vmcore.0 (64-bit) from smarthost
operating system: 5.11 joyent_20170831T155808Z (i86pc)
image uuid: (not set)
panic message: zfs: allocating allocated segment(offset=37756773376 size=2048)

dump content: kernel pages only

It might be related to https://github.com/zfsonlinux/zfs/issues/6315 but I don't know how to verify it.

Jan

pfmooney commented 7 years ago

Is it the KVM guest or the containing host which is panicking?

YanChii commented 7 years ago

The containing host. The whole physical server goes panick and dumps a core.

pfmooney commented 7 years ago

OK. Thanks for the detail. I'll look into the zfs bug you cited.

YanChii commented 6 years ago

Hi. Any news on this? I'm running SmartOS KVM instances for debugging and I'm forced to use a year old SmartOS host platform because the new ones crash instantly. Thanks. Jan