Comments (11)
Yep, i've no idea, what that was, maybe typo in arg string, but now all works like a charm
from lime.
it is the latest LiME, built directly on the machine
from lime.
Has the kernel been updated recently? Has the machine been updated since the update?
from lime.
I don't know. It is VM. as i know, kernel was updated to the latest (that was published recently), recently.
from lime.
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.
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.
after running insmod, run dmesg. What does the error state there?
from lime.
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.
I don't known how, but the issue has gone away. Can't reproduce it even from previous snapshot
from lime.
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.
@effolkronium So LiME is working and you can create an image of the RAM?
from lime.
Related Issues (20)
- Not finding vmlinux
- Error compiling in kali "5.16.0-kali7-amd64" HOT 3
- Error in using make command on oracle linux. HOT 1
- Error in adding module HOT 3
- Device crashes a few seconds after loading LiME HOT 1
- [RISC-V | TEEs] Crashes when memory is protected by PMP. HOT 2
- RHEL 8.4 onwards build issue
- Enable DIO HOT 1
- Raw format warning HOT 1
- Memory dump with lime very slow HOT 1
- Setup Environment on Android 13
- Need Help with "No rule to make target 'modules_prepare'. Stop" Error
- Change license to MIT HOT 2
- Cannot compile for Linux with kernel version 2.4.25 Cannot find linux/err.h
- Start dump but soon after "segmentation fault" problem with /dev/shm HOT 1
- insmod: ERROR: could not insert module ./lime-5.11.0-36-generic.ko: Unknown symbol in module
- Loading Lime to obtain ram image comaptible with volatility
- LiME hangs when trying to capture memory on the Amazon Linux with kernel version 5 HOT 2
- Issues compiling LiME for a Android Pixel 2 - Invalid Argument
- Issues compiling LiME for embedded Linux buildroot 4.15.7 kernel (armV71)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lime.