Solaris kernel debugging: Difference between revisions
From Lolly's Wiki
Jump to navigationJump to search
No edit summary |
m (Text replacement - "[[Kategorie:" to "[[Category:") |
||
Line 1: | Line 1: | ||
[[ | [[Category:Solaris|Kernel Debugging]] | ||
* Direkt in den Debugger booten | * Direkt in den Debugger booten |
Latest revision as of 03:54, 26 November 2021
- 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