Solaris kernel debugging

From Lolly's Wiki
Revision as of 16:14, 22 May 2012 by Lollypop (talk | contribs) (Die Seite wurde neu angelegt: „* Direkt in den Debugger booten <code> ok> boot -kd ... Welcome to kmdb kmdb: unable to determine terminal type: assuming `vt100' [0]> </code> oder bei x86 Grube…“)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
  • Direkt in den Debugger booten

ok> boot -kd ... Welcome to kmdb kmdb: unable to determine terminal type: assuming `vt100' [0]> oder bei x86 Grubeintrag auswählen und in der "kernel"-Zeile -kd hinzufügen...

  • Mod-Debug aktivieren

[0]> moddebug/W 0x80000000 moddebug: 0 = 0x80000000 [0]> :c SunOS Release 5.10 Version Generic_141415-07 64-bit ...

  • Mod-Kmem aktivieren

[0]> kmem_flags/W 0x0000000f kmem_flags: 0 = 0xf [0]> :c SunOS Release 5.10 Version Generic_141415-07 64-bit ...

  • Mod-snooping aktivieren

[0]> snooping/W 0x1 snooping: 0 = 0x1 [0]> :c SunOS Release 5.10 Version Generic_141415-07 64-bit ...

  • Stack ausgeben lassen

[0]> $c

  • Letzte Meldungen

[0]> ::msgbuf

  • Crashdump schreiben lassen bei x86-Systemen

panic... [0]> $<systemdump

Kategorie:Solaris