-
carba
I did some investigation on Solaris 11.4 guest deadman cyclic panic on Omnios Bhyve. In the moment of panic the deadman_counter on the next CPU is 301sec back. All CPU threads are idle. It seems the root cause is, that the Solaris guest uses: APIC_TIMER_MODE_ONESHOT 0x0 /* One-Shot */. I guess this is not the default, instead is set because the CPU do not report the TSC feature as available (cpi_std[1].cp_ecx = 0xfede7a17) & 0x1000
-
carba
00. It is possible to change/choose an other CPU type in Bhyve on Omnios? Illumos guest uses apic_timer_preferred_mode = 2 (TSC) anyway.
-
Woodstock
carba: i'm working on something for modifying cpuid features, but no idea if this will help you in any way with this problem
-
otis
to help with live migration between nodes?
-
carba
Btw: Illumos deadman does not compare the deadman_counter of next/other CPU with the own counter.
-
Woodstock
otis: that's the long term goal
-
otis
Woodstock: fingers crossed.
-
carba
Does Bhyve have counters for steal-time or scheduling delays of vcpus?
-
gitomat
[illumos-gate] 18278 rpc: pointers need more deadbeef -- Toomas Soome <tsoome⊙mc>
-
jbk
is there a way to turn off the auto-unload of unused kernel modules on debug builds?
-
jbk
(or at least mark specific modules to not unload)
-
jbk
though I suppose I might be able to just have _fini() return 1 for testing
-
jbk
(so I don't have to race w/ te dtrace before the symbols disappear :P)
-
tsoome
/* Don't auto unload modules on if moddebug flag is set */
-
tsoome
moddebug & MODDEBUG_NOAUL_DRV
-
denk
tsoome knows everything, maybe he is an AI bot? :)
-
tsoome
most certainly do not know everything.
-
tsoome
I was once searching same thing.... ;)
-
jbk
the trick is often knowing where to look :)
-
richlowe
moddebug is full of goodies
-
richlowe
the 1 bit is great too
-
richlowe
jbk: something else good in an emergency, with an eminently forgettable name: `mtc_off` (and `mdi_mtc_off`)
-
jbk
multi-threaded config?
-
richlowe
mtc - "multi threaded config", it's what fans out module load etc.
-
jbk
ahh
-
jbk
thankfully this is just for working on the ice driver
-
jbk
it doesn't panic, but when something's not working, it's often too quick to unload
-
jbk
so just need to have it be sticky so it's easier to dtrace