Giter Site home page Giter Site logo

ampfsm's People

Contributors

antchan2 avatar ayakimen avatar chrismci avatar craig65535 avatar greg-muchka avatar neiwilso avatar ortalgruner avatar rebeccasenger avatar rkubik avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ampfsm's Issues

ampfsm: <error> fileop_new: kmem_cache_alloc(path_name) failed

ampfsm_fileop_new_error.log

Over the last few weeks we started getting a bunch of errors from ampfsm, I'm not sure what's causing them and the last change to the fileop_new call and usage was a couple of years ago, I'm not a kernel developer, or even a C programmer, but I only note that which struct was used in kmem_cache_alloc() changed from what was renamed to path_kmem_cache to the next struct member combined_path_kmem_cache and guessed that maybe this isn't populated in some obscure case.

$ modinfo /usr/lib/modules/$(uname -r)/extra/ampfsm.ko
filename: /usr/lib/modules/3.10.0-1160.71.1.0.1.el7.x86_64/extra/ampfsm.ko
description: Cisco AMP Filesystem Module
author: Craig Davison [email protected]
author: Russ Kubik [email protected]
license: GPL
retpoline: Y
rhelversion: 7.8
srcversion: 2E9B5B876C49847D65CC59B
depends:
vermagic: 3.10.0-1127.el7.x86_64 SMP mod_unload modversions
$ modinfo ampfsm
filename: /lib/modules/3.10.0-1160.71.1.0.1.el7.x86_64/weak-updates/lib/modules/3.10.0-1160.2.2.el7.x86_64/extra/ampfsm.ko
description: Cisco AMP Filesystem Module
author: Craig Davison [email protected]
author: Russ Kubik [email protected]
license: GPL
retpoline: Y
rhelversion: 7.8
srcversion: 5DB2BA437180AD290E7C36F
depends:
vermagic: 3.10.0-1127.el7.x86_64 SMP mod_unload modversions

build failed on kernel 3.10.0-123.el7.x86_64

Hello,

build failed on kernel 3.10.0-123.el7.x86_64

]# make
make -C /lib/modules/3.10.0-123.el7.x86_64/build M=/root/amp/ampfsm-master EXTRA_CFLAGS="-I/root/amp/ampfsm-master/common/include " modules
make[1]: Entering directory `/usr/src/kernels/3.10.0-123.el7.x86_64'
  CC [M]  /root/amp/ampfsm-master/fsm.o
/root/amp/ampfsm-master/fsm.c: In function ‘fileop_new’:
/root/amp/ampfsm-master/fsm.c:482:5: error: implicit declaration of function ‘task_ppid_nr’ [-Werror=implicit-function-declaration]
     data->ppid = TASK_PPID_NR(current);
     ^
cc1: some warnings being treated as errors
make[2]: *** [/root/amp/ampfsm-master/fsm.o] Error 1
make[1]: *** [_module_/root/amp/ampfsm-master] Error 2
make[1]: Leaving directory `/usr/src/kernels/3.10.0-123.el7.x86_64'
make: *** [all] Error 2
]#

can this be somehow corrected?

there are no problems for all other kernels, I checked on the following

3.10.0-229.el7.x86_64
3.10.0-327.el7.x86_64
3.10.0-514.el7.x86_64
3.10.0-693.el7.x86_64
3.10.0-862.el7.x86_64
3.10.0-957.el7.x86_64
3.10.0-1062.el7.x86_64
3.10.0-1127.el7.x86_64

build is success.

The code is not here.

I am looking for the source for this module as well as the ampnetworkflow module to enable AMP for Endpoints to work on Ubuntu 16.04 with a newer kernel rather than CentOS 7.4 (kernel 3.10.0693) which is very, very old.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.