On Fri, Apr 22, 2016 at 04:00:15PM +0200, Ravineet Singh wrote:
> Hi,
> Not sure if this is the correct forum but I'll try anyway.
> I am looking at the possibility to build kpatch-patches on x86 machines to
> be deployed in a arm v8 environment.
>
> The first step is to verify kpatch on  x86_64  and initially I have a
> couple a hinder.
> I might have missed one or several steps but, it seems like the kpatch
> sysfs entry is not created and hence
> listing nor unloading is possible...
> 
> I basically follwed the guide on: https://github.com/dynup/kpatch for
> debian 8.
> 
> I guess it is obvious to you guys but:
> root@debian64:~/kpatch (master) # strace kpatch list 2>&1 | grep "/sys"
> stat("/sys/kernel/kpatch/patches/*", 0x7ffcb713dff0) = -1 ENOENT (No such
> file or directory)
> 
> Could someone point me in the right direction please :)

Hi Ravineet,

Any chance your kernel was compiled with CONFIG_LIVEPATCH?  If so, you
built a livepatch module and you'll need to manage the patch using the
/sys/kernel/livepatch directory because the kpatch command-line utility
doesn't know how to interact with livepatch yet.

-- 
Josh

_______________________________________________
kpatch mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/kpatch

Reply via email to