Code Monkey home page Code Monkey logo

Comments (11)

effolkronium avatar effolkronium commented on July 28, 2024 1

Yep, i've no idea, what that was, maybe typo in arg string, but now all works like a charm

from lime.

effolkronium avatar effolkronium commented on July 28, 2024

it is the latest LiME, built directly on the machine

from lime.

kd8bny avatar kd8bny commented on July 28, 2024

Has the kernel been updated recently? Has the machine been updated since the update?

from lime.

effolkronium avatar effolkronium commented on July 28, 2024

I don't know. It is VM. as i know, kernel was updated to the latest (that was published recently), recently.

from lime.

kd8bny avatar kd8bny commented on July 28, 2024

Restart the VM. That error happens when you compile a module that doesn't match the running kernel version. e.g. after a system update

from lime.

effolkronium avatar effolkronium commented on July 28, 2024

Well, i've restarted my VM, and it doesn't help =(

[centos@WebLinux dev]$ cd LiME                                                                                 
[centos@WebLinux LiME]$ cd src/                                                                                
[centos@WebLinux src]$ make clean                                                                              
rm -f *.o *.mod.c Module.symvers Module.markers modules.order \.*.o.cmd \.*.ko.cmd \.*.o.d                     
rm -rf \.tmp_versions                                                                                          
[centos@WebLinux src]$ ls                                                                                      
disk.c  lime-3.10.0-957.1.3.el7.x86_64.ko  lime.h  main.c  Makefile  Makefile.sample  tcp.c                    
[centos@WebLinux src]$ rm lime-3.10.0-957.1.3.el7.x86_64.ko                                                    
[centos@WebLinux src]$ ls                                                                                      
disk.c  lime.h  main.c  Makefile  Makefile.sample  tcp.c                                                       
[centos@WebLinux src]$ make                                                                                    
make -C /lib/modules/3.10.0-957.1.3.el7.x86_64/build M=/home/centos/dev/LiME/src modules                       
make[1]: Entering directory `/usr/src/kernels/3.10.0-957.1.3.el7.x86_64'                                       
  CC [M]  /home/centos/dev/LiME/src/tcp.o                                                                      
  CC [M]  /home/centos/dev/LiME/src/disk.o                                                                     
  CC [M]  /home/centos/dev/LiME/src/main.o                                                                     
  LD [M]  /home/centos/dev/LiME/src/lime.o                                                                     
  Building modules, stage 2.                                                                                   
  MODPOST 1 modules                                                                                            
  CC      /home/centos/dev/LiME/src/lime.mod.o                                                                 
  LD [M]  /home/centos/dev/LiME/src/lime.ko                                                                    
make[1]: Leaving directory `/usr/src/kernels/3.10.0-957.1.3.el7.x86_64'                                        
strip --strip-unneeded lime.ko                                                                                 
mv lime.ko lime-3.10.0-957.1.3.el7.x86_64.ko                                                                   
[centos@WebLinux src]$ ls                                                                                      
disk.c  lime-3.10.0-957.1.3.el7.x86_64.ko  lime.mod.c  lime.o  main.o    Makefile.sample  Module.symvers  tcp.o
disk.o  lime.h                             lime.mod.o  main.c  Makefile  modules.order    tcp.c                

[centos@WebLinux src]$ sudo insmod lime-3.10.0-957.1.3.el7.x86_64.ko  "patch ./Dump format=raw"   
insmod: ERROR: could not insert module lime-3.10.0-957.1.3.el7.x86_64.ko: Unknown symbol in module
[centos@WebLinux src]$ last reboot                                                                
reboot   system boot  3.10.0-957.1.3.e Wed Jan  2 23:17 - 23:26  (00:09)                          
reboot   system boot  3.10.0-957.1.3.e Mon Dec 31 10:08 - 23:26 (2+13:18)                         
reboot   system boot  3.10.0-957.1.3.e Mon Dec 31 10:01 - 23:26 (2+13:25)                         
reboot   system boot  3.10.0-957.1.3.e Mon Dec 31 09:59 - 23:26 (2+13:26)                         
reboot   system boot  3.10.0-957.1.3.e Mon Dec 31 09:58 - 23:26 (2+13:28)                         
reboot   system boot  3.10.0-957.1.3.e Mon Dec 31 09:55 - 23:26 (2+13:31)                         
reboot   system boot  3.10.0-957.1.3.e Mon Dec 31 09:53 - 23:26 (2+13:33)                         
reboot   system boot  3.10.0-957.1.3.e Mon Dec 31 09:38 - 23:26 (2+13:48)                         
reboot   system boot  3.10.0-957.1.3.e Mon Dec 31 09:26 - 23:26 (2+14:00)                         
reboot   system boot  3.10.0-957.1.3.e Mon Dec 31 09:13 - 23:26 (2+14:13)                         
reboot   system boot  3.10.0-957.1.3.e Mon Dec 31 09:03 - 23:26 (2+14:23)                         
reboot   system boot  3.10.0-957.1.3.e Sun Dec 30 22:58 - 23:26 (3+00:28)                         
reboot   system boot  3.10.0-957.1.3.e Sat Dec 29 16:22 - 23:26 (4+07:04)                         
reboot   system boot  3.10.0-957.1.3.e Sat Dec 22 19:25 - 19:26  (00:01)                          
reboot   system boot  3.10.0-693.11.6. Sat Dec 22 19:18 - 19:26  (00:08)                          
reboot   system boot  3.10.0-693.11.6. Sat Dec 22 18:44 - 19:26  (00:42)                          
reboot   system boot  3.10.0-693.11.6. Fri Dec 21 11:52 - 19:26 (1+07:34)                         
reboot   system boot  3.10.0-693.11.6. Fri Dec 21 11:47 - 19:26 (1+07:39)                         
reboot   system boot  3.10.0-693.11.6. Thu Mar 22 10:21 - 11:29 (274+01:07)                       
reboot   system boot  3.10.0-693.11.6. Thu Mar 22 10:19 - 11:29 (274+01:09)                       
reboot   system boot  3.10.0-693.11.6. Thu Jan 18 08:53 - 11:29 (337+02:36)                       
reboot   system boot  3.10.0-693.el7.x Wed Jan 17 22:21 - 11:29 (337+13:08)                       
reboot   system boot  3.10.0-693.el7.x Wed Jan 17 21:39 - 22:20  (00:41)                          
                                                                                                  
wtmp begins Wed Jan 17 21:39:01 2018                                                              
[centos@WebLinux src]$  

from lime.

kd8bny avatar kd8bny commented on July 28, 2024

after running insmod, run dmesg. What does the error state there?

from lime.

kd8bny avatar kd8bny commented on July 28, 2024

So on this one the last line of dmesg says there is an invalid parameter.

[ 2617.795741] lime: Unknown parameter `patch'

Your insmod has the following.

sudo insmod lime-3.10.0-957.1.3.el7.x86_64.ko "patch ./Dump format=raw"

It should say

sudo insmod lime-3.10.0-957.1.3.el7.x86_64.ko "path=./Dump format=raw"

I don't believe this was you're original issue though

Also I only need the last 20 lines or so :)

from lime.

effolkronium avatar effolkronium commented on July 28, 2024

I don't known how, but the issue has gone away. Can't reproduce it even from previous snapshot

from lime.

effolkronium avatar effolkronium commented on July 28, 2024

I've ctrl-v from top up command line, and it doesn't reproduce at all+(

[centos@WebLinux src]$ sudo insmod lime-3.10.0-957.1.3.el7.x86_64.ko "path=./DUMP format=raw"
[sudo] password for centos:
insmod: ERROR: could not insert module lime-3.10.0-957.1.3.el7.x86_64.ko: Unknown symbol in module

now, it processes without errors.

from lime.

kd8bny avatar kd8bny commented on July 28, 2024

@effolkronium So LiME is working and you can create an image of the RAM?

from lime.

Related Issues (20)

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.