← Back to team overview

hybrid-graphics-linux team mailing list archive

Re: jprobe is not loading

 

Thanks for the answer, It was solved after a kernel update with kprobe
enabled.
It is working like a charm again :)

Regards,


RICARDO A. OBREGÓN M.
Consultor y Analista de Sistemas y Tecnología
Ingeniero de Sistemas - CSE - WP&D
Twitter: @robregonm <http://twitter.com/robregonm>
http://www.obregon.co/



2011/5/6 Alex Williamson <alex.l.williamson@xxxxxxxxx>

> 2011/5/6 Ricardo Obregón <robregonm@xxxxxxxxx>:
> > My laptop is Asus N53Jf.
> > My OS is Linux Chakra with kernel 2.6.38 x86_64 Intel(R) Core(TM) i3 CPU
> M
> > 370 @ 2.40GHz GenuineIntel.
> > The first time I tried Asus-switcheroo worked like a charm, but after
> some
> > updates I re-compiled Asus-switcheroo and since then It has not worked
> > again.
> > This is what I found in dmesg.
> > -------
> > Found VGA device 0000:00:02.0 (\_SB_.PCI0.GFX0): IGD
> > Found VGA device 0000:01:00.0 (\_SB_.PCI0.PEG1.GFX0): DIS
> > Asus switcheroo: detected DSM switching method \_SB_.PCI0.PEG1.GFX0
> handle
> > Couldn't find acpi_lid_notifier_register address
> > Failed register_jprobe for request_irq, -38
>
> errno 38 is ENOSYS, that means your kernel doesn't have kprobe support
> in it.  All of the dynamic fixes for i915 lid switch and nouveau
> interrupt de-registration require kprobe support.  Try:
>
> # egrep 'KPROBE|KRETPROBE' /boot/config-`uname -r`
>
> I get this on my system:
>
> CONFIG_KPROBES=y
> CONFIG_KRETPROBES=y
> CONFIG_HAVE_KPROBES=y
> CONFIG_HAVE_KRETPROBES=y
> # CONFIG_KPROBES_SANITY_TEST is not set
> CONFIG_KPROBE_EVENT=y
>
> If you still have the previous kernel installed, try grepping the same
> from it's config file.  If it's been removed, file bugs with your
> distro.  Thanks,
>
> Alex
>

References