Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hw: print useful information if an unresolvable page fault occurs #1382

Closed
nfeske opened this issue Jan 25, 2015 · 1 comment
Closed

hw: print useful information if an unresolvable page fault occurs #1382

nfeske opened this issue Jan 25, 2015 · 1 comment

Comments

@nfeske
Copy link
Member

nfeske commented Jan 25, 2015

Right now, core on base-hw merely prints a brief message when a thread dies because of an unresolvable page fault

void Genode::Pager_object::unresolved_page_fault_occurred(): not implemented
unknown signal context

On NOVA, the response of core is far more useful:

virtual void Genode::Signal_session_component::submit(Genode::Signal_context_capability, unsigned int): invalid signal-context capability
static void Genode::Pager_object::_page_fault_handler(): unhandled page fault, 'pager:Command Terminal' address=0xa03fd8c0 ip=0x10a4327

It would be nice to have such diagnostic information available on base-hw, too.

@nfeske nfeske added the feature label Jan 25, 2015
skalk added a commit to skalk/genode that referenced this issue Mar 10, 2015
To ease debugging without the need to tweak the kernel every time, and to
support userland developers with useful information this commit extends several
warnings and errors printed by the kernel/core by which thread/application
caused the problem, and what exactly failed.

Fix genodelabs#1382
Fix genodelabs#1406
@skalk skalk added the fixed label Mar 10, 2015
skalk added a commit to skalk/genode that referenced this issue Mar 19, 2015
To ease debugging without the need to tweak the kernel every time, and to
support userland developers with useful information this commit extends several
warnings and errors printed by the kernel/core by which thread/application
caused the problem, and what exactly failed.

Fix genodelabs#1382
Fix genodelabs#1406
skalk added a commit to skalk/genode that referenced this issue Mar 19, 2015
To ease debugging without the need to tweak the kernel every time, and to
support userland developers with useful information this commit extends several
warnings and errors printed by the kernel/core by which thread/application
caused the problem, and what exactly failed.

Fix genodelabs#1382
Fix genodelabs#1406
@chelmuth
Copy link
Member

Hm, did you settle on 102b9bf? Still missing the confirmed flag here and in #1406.

skalk added a commit that referenced this issue Mar 19, 2015
To ease debugging without the need to tweak the kernel every time, and to
support userland developers with useful information this commit extends several
warnings and errors printed by the kernel/core by which thread/application
caused the problem, and what exactly failed.

Fix #1382
Fix #1406
skalk added a commit that referenced this issue Mar 20, 2015
To ease debugging without the need to tweak the kernel every time, and to
support userland developers with useful information this commit extends several
warnings and errors printed by the kernel/core by which thread/application
caused the problem, and what exactly failed.

Fix #1382
Fix #1406
cnuke pushed a commit to cnuke/genode that referenced this issue Mar 20, 2015
To ease debugging without the need to tweak the kernel every time, and to
support userland developers with useful information this commit extends several
warnings and errors printed by the kernel/core by which thread/application
caused the problem, and what exactly failed.

Fix genodelabs#1382
Fix genodelabs#1406
@skalk skalk closed this as completed in 381711d Mar 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants