diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2013-03-26 15:49:59 +0100 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2013-03-26 15:49:59 +0100 |
commit | 7c90e65e25f673a9c621c6102ee3d7c130160b01 (patch) | |
tree | b399b10e23f3194d70326eac190f74de473d60d5 /faq/issues/got_a_db_prompt.mdwn | |
parent | ab11a8b78ca03dede4b29bbb7a04dac40019042f (diff) | |
parent | 6ded0f6763c776e42d363f2b5714c79a34c9b70f (diff) | |
download | web-7c90e65e25f673a9c621c6102ee3d7c130160b01.tar.gz web-7c90e65e25f673a9c621c6102ee3d7c130160b01.tar.bz2 web-7c90e65e25f673a9c621c6102ee3d7c130160b01.zip |
Merge commit '6ded0f6763c776e42d363f2b5714c79a34c9b70f'
Polish and enhance some pages some more.
Diffstat (limited to 'faq/issues/got_a_db_prompt.mdwn')
-rw-r--r-- | faq/issues/got_a_db_prompt.mdwn | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/faq/issues/got_a_db_prompt.mdwn b/faq/issues/got_a_db_prompt.mdwn new file mode 100644 index 00000000..ce376728 --- /dev/null +++ b/faq/issues/got_a_db_prompt.mdwn @@ -0,0 +1,34 @@ +[[!meta copyright="Copyright © 2013 Free Software Foundation, Inc."]] + +[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable +id="license" text="Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, Version 1.2 or +any later version published by the Free Software Foundation; with no Invariant +Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license +is included in the section entitled [[GNU Free Documentation +License|/fdl]]."]]"""]] + +[[!meta title="Help, I've just gotten a db> prompt"]] + +If you see a `db>` prompt on the console, something unexpected and bad happened +inside the [[GNU Mach kernel|microkernel/mach/gnumach]], which it cannot +recover from. (Think of it as the equivalent of a [[!wikipedia +Linux_kernel_oops]], for example.) The `db>` prompt is actually the GNU Mach +kernel debugger waiting for your commands. For example, you can then reboot +the system by issuing the `reboot` command, or if you want to help analyze the +problem, start by typing in the `trace` command, which will display the +function call trace leading to the crash: + + 0x8007cf1(8088488,5e,40000008,2aa008,0) + 0x80071bc(0,0,0,0,0) + 0x8006831(24fe00,2000,b,800,0) + +This can be decyphered by using: + + $ addr2line -i -f -e /boot/gnumach 0x8007cf1 0x80071bc 0x8006831 + +You can then [[send us|contact_us]] the results of the `trace` and the +`addr2line` commands, as well as +the exact version of the GNU Mach kernel you were running, for further +investigation. More information about the [[GNU Mach +debugger|microkernel/mach/gnumach/debugging]] is available. |