[ktap] Re: "BUG: unable to handle kernel paging request" after ktap script to trace SyS_write

  • From: Jovi Zhangwei <jovi.zhangwei@xxxxxxxxx>
  • To: ktap@xxxxxxxxxxxxx
  • Date: Wed, 23 Oct 2013 11:21:24 +0800

On Wed, Oct 23, 2013 at 5:04 AM, Azat Khuzhin <a3at.mail@xxxxxxxxx> wrote:
> I've just found the reason, after applying next _patch_ to
> https://gist.github.com/azat/7078890#file-config-3-12-0-rc5-deb
> kprobes works.
> I can't sent normal patch for now, because I applied some debug stuff
> to 3.12.rc5 config, and it can misinform.
>
> I will report this to LKML on this week.
> Jovi, thanks for helping me!
>
> $ diff -u0 debian/config-3.12.0-rc5+
> debian/config-3.12.0-rc5+worked-ktap | grep PREE
> -CONFIG_TREE_PREEMPT_RCU=y
> -CONFIG_PREEMPT_RCU=y
> +# CONFIG_PREEMPT_RCU is not set
> -# CONFIG_PREEMPT_VOLUNTARY is not set
> -CONFIG_PREEMPT=y
> +CONFIG_PREEMPT_VOLUNTARY=y
> +# CONFIG_PREEMPT is not set
> -CONFIG_DEBUG_PREEMPT=y
> -# CONFIG_PREEMPT_TRACER is not set
>
Hmm, I tried both configs posted by you, but still cannot reproduce in
my machine.
Nothing happened, weird. hardware differences? we need get voice from
kprobe experts in LKML.

Other related posts: