Skip to content

Instantly share code, notes, and snippets.

@jubalskaggs
Created January 3, 2019 21:50
Show Gist options
  • Save jubalskaggs/dd6520f13602320734c2fce29f4cf7fa to your computer and use it in GitHub Desktop.
Save jubalskaggs/dd6520f13602320734c2fce29f4cf7fa to your computer and use it in GitHub Desktop.
1rst ipxeboot SmartOS gce
module /platform/i86pc/kernel/amd64/unix: text at [0xfffffffffb800000, 0xfffffffffb9763b6] data at 0xfffffffffbc00000 [0/0]
module /kernel/amd64/genunix: text at [0xfffffffffb9763c0, 0xfffffffffbbf0237] data at 0xfffffffffbcaf780
SunOS Release 5.11 Version joyent_20190103T011318Z 64-bit
Copyright (c) 2010-2018, Joyent Inc. All rights reserved.
x86_feature: lgpg
x86_feature: tsc
x86_feature: msr
x86_feature: mtrr
x86_feature: pge
x86_feature: de
x86_feature: cmov
x86_feature: mmx
x86_feature: mca
x86_feature: pae
x86_feature: cv8
x86_feature: pat
x86_feature: sep
x86_feature: sse
x86_feature: sse2
x86_feature: htt
x86_feature: asysc
x86_feature: nx
x86_feature: sse3
x86_feature: cx16
x86_feature: tscp
x86_feature: cpuid
x86_feature: ssse3
x86_feature: sse4_1
x86_feature: sse4_2
x86_feature: 1gpg
x86_feature: clfsh
x86_feature: 64
x86_feature: aes
x86_feature: pclmulqdq
x86_feature: xsave
x86_feature: avx
x86_feature: f16c
x86_feature: rdrand
x86_feature: x2apic
x86_feature: avx2
x86_feature: bmi1
x86_feature: bmi2
x86_feature: fma
x86_feature: smep
x86_feature: smap
x86_feature: adx
x86_feature: rdseed
x86_feature: xsaveopt
x86_feature: pcid
x86_feature: invpcid
x86_feature: ibrs
x86_feature: ibpb
x86_feature: stibp
x86_feature: ssbd
x86_feature: rsba
x86_feature: l1d_vmentry_no
mem = 3930736K (0xefe9c000)
panic[cpu0]/thread=fffffffffbc4b0a0: microfind: could not calibrate delay loop
Warning - stack not written to the dump buffer
fffffffffbc8b1d0 unix:kdi_isr_end+b131 ()
fffffffffbc8b260 unix:startup_modules+25 ()
fffffffffbc8b270 unix:startup+55 ()
fffffffffbc8b2b0 genunix:main+3b ()
fffffffffbc8b2c0 unix:_locore_start+90 ()
@jubalskaggs
Copy link
Author

try 2, with microdata_allowed_failures/W 0t9000

module /platform/i86pc/kernel/amd64/unix: text at [0xfffffffffb800000, 0xfffffffffb9763b6] data at 0xfffffffffbc00000
module /kernel/amd64/genunix: text at [0xfffffffffb9763c0, 0xfffffffffbbf0237] data at 0xfffffffffbcaf780
Loading kmdb...
module /kernel/misc/amd64/kmdbmod: text at [0xfffffffffbd71580, 0xfffffffffbe292ef] data at 0xfffffffffbe29300
module /kernel/misc/amd64/ctf: text at [0xfffffffffbbf0240, 0xfffffffffbbfcc27] data at 0xfffffffffbe62760

Welcome to kmdb
kmdb: unable to determine terminal type: assuming `vt100'
Loaded modules: [ unix krtld genunix ]
[0]> microdata_allowed_failures/W 0t9000
microdata_allowed_failures: 0x3 = 0x2328
[0]> :c
SunOS Release 5.11 Version joyent_20190103T011318Z 64-bit
Copyright (c) 2010-2018, Joyent Inc. All rights reserved.
x86_feature: lgpg
x86_feature: tsc
x86_feature: msr
x86_feature: mtrr
x86_feature: pge
x86_feature: de
x86_feature: cmov
x86_feature: mmx
x86_feature: mca
x86_feature: pae
x86_feature: cv8
x86_feature: pat
x86_feature: sep
x86_feature: sse
x86_feature: sse2
x86_feature: htt
x86_feature: asysc
x86_feature: nx
x86_feature: sse3
x86_feature: cx16
x86_feature: tscp
x86_feature: cpuid
x86_feature: ssse3
x86_feature: sse4_1
x86_feature: sse4_2
x86_feature: 1gpg
x86_feature: clfsh
x86_feature: 64
x86_feature: aes
x86_feature: pclmulqdq
x86_feature: xsave
x86_feature: avx
x86_feature: f16c
x86_feature: rdrand
x86_feature: x2apic
x86_feature: avx2
x86_feature: bmi1
x86_feature: bmi2
x86_feature: fma
x86_feature: smep
x86_feature: smap
x86_feature: adx
x86_feature: rdseed
x86_feature: xsaveopt
x86_feature: pcid
x86_feature: invpcid
x86_feature: ibrs
x86_feature: ibpb
x86_feature: stibp
x86_feature: ssbd
x86_feature: rsba
x86_feature: l1d_vmentry_no
mem = 3930736K (0xefe9c000)
SMBIOS v2.4 loaded (449 bytes)
panic[cpu0]/thread=fffffffffbc4b0a0: BAD TRAP: type=8 (#df Double fault) rp=fffffffffbc13f10 addr=0

#df Double fault
pid=0, pc=0xfffffffffb8001d1, sp=0xfffffffffbc8ad50, eflags=0x202
cr0: 80050011<pg,wp,et,pe> cr4: 3000b8<smap,smep,pge,pae,pse,de>
cr2: 0 cr3: 13c00000 cr8: 0

    rdi: fffffffffbc8ad50 rsi:               ce rdx:                0
    rcx:                0  r8: fffffffffbc8b420  r9:                0
    rax: fffffffffbc8b420 rbx: fffffffffbc8b068 rbp: fffffffffbc8ad50
    r10: fffffffffb873114 r11:                0 r12:               ce
    r13:                0 r14: fffffffffbc8b068 r15:               ce
    fsb:        200000000 gsb: fffffffffbc4d000  ds:                0
     es:                0  fs:                0  gs:                0
    trp:                8 err:                0 rip: fffffffffb8001d1
     cs:               30 rfl:              202 rsp: fffffffffbc8ad50
     ss:               38

tss.tss_rsp0: 0xfffffffffbc4ee90
tss.tss_rsp1: 0x0
tss.tss_rsp2: 0x0
tss.tss_ist1: 0xfffffffffbc14000
tss.tss_ist2: 0xfffffffffbc19000
tss.tss_ist3: 0xfffffffffbc1e000
tss.tss_ist4: 0xfffffffffbc4efb0
tss.tss_ist5: 0xfffffffffbc4ef20
tss.tss_ist6: 0xfffffffffbc4ee90
tss.tss_ist7: 0x0

Warning - stack not written to the dump buffer
fffffffffbc13e00 unix:die+89 ()
fffffffffbc13f00 unix:trap+628 ()
fffffffffbc8ad50 unix:_smap_enable_patch_25+62ce ()
fffffffffbc8ae70 unix:rdmsr+2 ()
fffffffffbc8af30 unix:ntv_rdmsr_xc+72 ()
fffffffffbc8afd0 unix:call_func_ntv+130 ()
fffffffffbc8b000 unix:ntv_rdmsr+3f ()
fffffffffbc8b050 unix:cmi_hdl_rdmsr+4f ()
fffffffffbc8b090 cpu.generic:gcpu_init_ident_intc+50 ()
fffffffffbc8b0c0 cpu.generic:gcpu_init_ident+2f ()
fffffffffbc8b120 cpu.generic:gcpu_init+126 ()
fffffffffbc8b160 unix:cmi_load_generic+8e ()
fffffffffbc8b1d0 unix:cmi_init+86 ()
fffffffffbc8b260 unix:startup_modules+252 ()
fffffffffbc8b270 unix:startup+55 ()
fffffffffbc8b2b0 genunix:main+3b ()
fffffffffbc8b2c0 unix:_locore_start+90 ()

panic: entering debugger (no dump device, continue to reboot)
Loaded modules: [ mac specfs cpu.generic ]
kmdb: target stopped at:
kmdb_enter+0xb: movq %rax,%rdi
[0]> ::quit

@jubalskaggs
Copy link
Author

try 3, after creating a new netboot machine, with the vmx license enabled:

module /platform/i86pc/kernel/amd64/unix: text at [0xfffffffffb800000, 0xfffffffffb9763b6] data at 0xfffffffffbc00000
module /kernel/amd64/genunix: text at [0xfffffffffb9763c0, 0xfffffffffbbf0237] data at 0xfffffffffbcaf780
Loading kmdb...
module /kernel/misc/amd64/kmdbmod: text at [0xfffffffffbd71580, 0xfffffffffbe292ef] data at 0xfffffffffbe29300
module /kernel/misc/amd64/ctf: text at [0xfffffffffbbf0240, 0xfffffffffbbfcc27] data at 0xfffffffffbe62760

Welcome to kmdb
kmdb: unable to determine terminal type: assuming `vt100'
Loaded modules: [ unix krtld genunix ]
[0]> microdata_allowed_failures/w 0t9000
microdata_allowed_failures: 0x3 = 0x2328
[0]> ::bp startup_smap
[0]> :c
SunOS Release 5.11 Version joyent_20190103T011318Z 64-bit
Copyright (c) 2010-2018, Joyent Inc. All rights reserved.
x86_feature: lgpg
x86_feature: tsc
x86_feature: msr
x86_feature: mtrr
x86_feature: pge
x86_feature: de
x86_feature: cmov
x86_feature: mmx
x86_feature: mca
x86_feature: pae
x86_feature: cv8
x86_feature: pat
x86_feature: sep
x86_feature: sse
x86_feature: sse2
x86_feature: htt
x86_feature: asysc
x86_feature: nx
x86_feature: sse3
x86_feature: cx16
x86_feature: tscp
x86_feature: cpuid
x86_feature: ssse3
x86_feature: sse4_1
x86_feature: sse4_2
x86_feature: 1gpg
x86_feature: clfsh
x86_feature: 64
x86_feature: aes
x86_feature: pclmulqdq
x86_feature: xsave
x86_feature: avx
x86_feature: vmx
x86_feature: f16c
x86_feature: rdrand
x86_feature: x2apic
x86_feature: avx2
x86_feature: bmi1
x86_feature: bmi2
x86_feature: fma
x86_feature: smep
x86_feature: smap
x86_feature: adx
x86_feature: rdseed
x86_feature: xsaveopt
x86_feature: pcid
x86_feature: invpcid
x86_feature: rsba
x86_feature: l1d_vmentry_no
mem = 3930736K (0xefe9c000)
kmdb: stop at startup_smap
kmdb: target stopped at:
startup_smap: pushq %rbp
[0]> :c
SMBIOS v2.4 loaded (449 bytes)
panic[cpu0]/thread=fffffffffbc4b0a0: BAD TRAP: type=8 (#df Double fault) rp=fffffffffbc13f10 addr=0

#df Double fault
pid=0, pc=0xfffffffffb8001d1, sp=0xfffffffffbc8ad50, eflags=0x202
cr0: 80050011<pg,wp,et,pe> cr4: 3000b8<smap,smep,pge,pae,pse,de>
cr2: 0 cr3: 13c00000 cr8: 0

    rdi: fffffffffbc8ad50 rsi:               ce rdx:                0
    rcx:                0  r8: fffffffffbc8b420  r9:                0
    rax: fffffffffbc8b420 rbx: fffffffffbc8b068 rbp: fffffffffbc8ad50
    r10: fffffffffb873114 r11:                0 r12:               ce
    r13:                0 r14: fffffffffbc8b068 r15:               ce
    fsb:        200000000 gsb: fffffffffbc4d000  ds:                0
     es:                0  fs:                0  gs:                0
    trp:                8 err:                0 rip: fffffffffb8001d1
     cs:               30 rfl:              202 rsp: fffffffffbc8ad50
     ss:               38

tss.tss_rsp0: 0xfffffffffbc4ee90
tss.tss_rsp1: 0x0
tss.tss_rsp2: 0x0
tss.tss_ist1: 0xfffffffffbc14000
tss.tss_ist2: 0xfffffffffbc19000
tss.tss_ist3: 0xfffffffffbc1e000
tss.tss_ist4: 0xfffffffffbc4efb0
tss.tss_ist5: 0xfffffffffbc4ef20
tss.tss_ist6: 0xfffffffffbc4ee90
tss.tss_ist7: 0x0

Warning - stack not written to the dump buffer
fffffffffbc13e00 unix:die+89 ()
fffffffffbc13f00 unix:trap+628 ()
fffffffffbc8ad50 unix:_smap_enable_patch_25+62ce ()
fffffffffbc8ae70 unix:rdmsr+2 ()
fffffffffbc8af30 unix:ntv_rdmsr_xc+72 ()
fffffffffbc8afd0 unix:call_func_ntv+130 ()
fffffffffbc8b000 unix:ntv_rdmsr+3f ()
fffffffffbc8b050 unix:cmi_hdl_rdmsr+4f ()
fffffffffbc8b090 cpu.generic:gcpu_init_ident_intc+50 ()
fffffffffbc8b0c0 cpu.generic:gcpu_init_ident+2f ()
fffffffffbc8b120 cpu.generic:gcpu_init+126 ()
fffffffffbc8b160 unix:cmi_load_generic+8e ()
fffffffffbc8b1d0 unix:cmi_init+86 ()
fffffffffbc8b260 unix:startup_modules+252 ()
fffffffffbc8b270 unix:startup+55 ()
fffffffffbc8b2b0 genunix:main+3b ()
fffffffffbc8b2c0 unix:_locore_start+90 ()

panic: entering debugger (no dump device, continue to reboot)
Loaded modules: [ mac specfs cpu.generic ]
kmdb: target stopped at:
kmdb_enter+0xb: movq %rax,%rdi
[0]>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment