I switched to smartos since its easier to build iso with https://github.com/TritonDataCenter/smartos-live. After building a new ISO with more debug prints in illumos kernel, in the `clear_boot_mappings()` I added patch to skip the first 64KB to preserve kmdb console/keyboard mappings, diff --git a/usr/src/uts/i86pc/vm/hat_i86.c b/usr/src/uts/i86pc/vm/hat_i86.c index 85dc7fa8bb..2a4deedc82 100644 --- a/usr/src/uts/i86pc/vm/hat_i86.c +++ b/usr/src/uts/i86pc/vm/hat_i86.c @@ -4584,11 +4584,25 @@ clear_boot_mappings(uintptr_t low, uintptr_t high) /* * On 1st CPU we can unload the prom mappings, basically we blow away * all virtual mappings under _userlimit. */ + if (vaddr == 0) { + cmn_err(CE_CONT, "!clear_boot_mappings: Skipping first 64KB for kmdb\n"); + vaddr = 0x10000; + } +
that resolved the kmdb running into above page fault. But then it still gets stuck somewhere in clear_boot_mappings() so I removed the call to it entirely. Now I see its booting from console messages and stack traces but apparently its not able to use the VGA console even with basic text mode so I cannot access anything beyond kmdb running in boot console. After continuing from break point in kmdb it appears as if its stuck but it boots successfully and just cannot render anything to the console beyond that. So its the incompatibility with integrated Radeon 890M GPU that is causing the problem now. ------------------------------------------ illumos: illumos-discuss Permalink: https://illumos.topicbox.com/groups/discuss/Tbc4d081ad58aef80-M9dad4c8522d9b89fe057e54f Delivery options: https://illumos.topicbox.com/groups/discuss/subscription