Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Host panic when installing SmartOS on SmartOS #743

Open
YanChii opened this issue Sep 4, 2017 · 4 comments
Open

Host panic when installing SmartOS on SmartOS #743

YanChii opened this issue Sep 4, 2017 · 4 comments

Comments

@YanChii
Copy link

YanChii commented Sep 4, 2017

Hi,

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

Steps to reproduce:

  • Download and install latest SmartOS (joyent_20170831T155808Z).
  • Create a SmartOS guest with 2 disks and dd the SmartOS USB image onto the first (boot) disk
  • Run guest VM and go thru the prompt-config
  • The last messages I can see:
Creating pool zones...				done
Initializing config dataset for zones...	done
Creating config dataset...			done
Creating global cores dataset...		

And then the host crashes. Verified on 3 diferrent servers.

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 openzfs/zfs#6315 but I don't know how to verify it.

Jan

@pfmooney
Copy link
Contributor

pfmooney commented Sep 4, 2017

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

@YanChii
Copy link
Author

YanChii commented Sep 5, 2017

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

@pfmooney
Copy link
Contributor

pfmooney commented Sep 5, 2017

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

@YanChii
Copy link
Author

YanChii commented Oct 16, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants