Comments (4)
Try running insmod without the quotes around the parameters. Different
versions of insmod behave differently in this manner.
On Jan 18, 2015 5:41 AM, "richud" [email protected] wrote:
Hi,
I am cross compiling on MIPS, it built ok, but insmod says 'invalid
parameter' (busybox insmod)/tmp # insmod /tmp/lime-3.16.0-29-generic.ko "path=/tmp format=raw"
insmod: can't insert '/tmp/lime-3.16.0-29-generic.ko': invalid parameterThis was build (I didn't remove my current kernel var bit in Makefile
hence odd name)rich@PORTEGER830:/tmp/LiME-master/src$ make ARCH=mips
CROSS_COMPILE=mips-linux- CC=mips-linux-gcc
make -C
/media/rich/WD320/DGND3700_V1.0.0.17_1.0.17_src_full/DGND3700/kernel/linux
M=/tmp/LiME-master/src modules
make[1]: Entering directory
/media/rich/WD320/DGND3700_V1.0.0.17_1.0.17_src_full/DGND3700/kernel/linux'
CC [M] /tmp/LiME-master/src/tcp.o
CC [M] /tmp/LiME-master/src/disk.o
CC [M] /tmp/LiME-master/src/main.o
LD [M] /tmp/LiME-master/src/lime.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/LiME-master/src/lime.mod.o
LD [M] /tmp/LiME-master/src/lime.ko
make[1]: Leaving directory
/media/rich/WD320/DGND3700_V1.0.0.17_1.0.17_src_full/DGND3700/kernel/linux'
mips-linux-strip --strip-unneeded lime.ko
mv lime.ko lime-3.16.0-29-generic.ko$ file lime-3.16.0-29-generic.ko
lime-3.16.0-29-generic.ko: ELF 32-bit MSB relocatable, MIPS, MIPS32
version 1 (SYSV), not stripped—
Reply to this email directly or view it on GitHub
#3.
from lime.
Also the path parameter should be a file name not a directory. So
path=/tmp/dump.dd
On Jan 18, 2015 5:41 AM, "richud" [email protected] wrote:
Hi,
I am cross compiling on MIPS, it built ok, but insmod says 'invalid
parameter' (busybox insmod)/tmp # insmod /tmp/lime-3.16.0-29-generic.ko "path=/tmp format=raw"
insmod: can't insert '/tmp/lime-3.16.0-29-generic.ko': invalid parameterThis was build (I didn't remove my current kernel var bit in Makefile
hence odd name)rich@PORTEGER830:/tmp/LiME-master/src$ make ARCH=mips
CROSS_COMPILE=mips-linux- CC=mips-linux-gcc
make -C
/media/rich/WD320/DGND3700_V1.0.0.17_1.0.17_src_full/DGND3700/kernel/linux
M=/tmp/LiME-master/src modules
make[1]: Entering directory
/media/rich/WD320/DGND3700_V1.0.0.17_1.0.17_src_full/DGND3700/kernel/linux'
CC [M] /tmp/LiME-master/src/tcp.o
CC [M] /tmp/LiME-master/src/disk.o
CC [M] /tmp/LiME-master/src/main.o
LD [M] /tmp/LiME-master/src/lime.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/LiME-master/src/lime.mod.o
LD [M] /tmp/LiME-master/src/lime.ko
make[1]: Leaving directory
/media/rich/WD320/DGND3700_V1.0.0.17_1.0.17_src_full/DGND3700/kernel/linux'
mips-linux-strip --strip-unneeded lime.ko
mv lime.ko lime-3.16.0-29-generic.ko$ file lime-3.16.0-29-generic.ko
lime-3.16.0-29-generic.ko: ELF 32-bit MSB relocatable, MIPS, MIPS32
version 1 (SYSV), not stripped—
Reply to this email directly or view it on GitHub
#3.
from lime.
Closing this since it appears to be user error.
from lime.
Yep you are right - thought I had tried with a file name, with and without quotes and everything in between, I obviously hadn't!
insmod /tmp/lime-3.16.0-29-generic.ko path=/media/Seagate500/dump.dd format=raw
Just to confirm the above worked for me with BB insmod, MIPS architecture, uClibc.
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
- make: *** [Makefile:35: default] Error 2
- Android RAMDUMP crashes after 82MB - TEE?
- insmod: ERROR: could not insert module ./lime-5.15.0-1061-azure.ko: Operation not permitted HOT 1
- insmod: ERROR: could not insert module ./lime-5.10.0-31-amd64.ko: File exists HOT 1
- 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.