9 More Discussions You Might Find Interesting
1. Linux
Hi everyone,
I am trying to prevent the ehci_hcd kernel module to load at boot time.
Here's what I've tried so far:
1) Add the following line to /etc/modprobe.d/blacklist.conf (as suggested here):
2) Blacklisted the module by adding the following string to
3) Tried to blacklist the module... (0 Replies)
Discussion started by: gacanepa
0 Replies
2. UNIX for Dummies Questions & Answers
I have installed ubuntu 11.04 on my system.
After this when I used to give uname -r it showed me kernel version as 2.6.38.
Now I had downloaded kernel 2.6.34.12 from kernel.org and installed it using the following steps:
make
make modules
make modules_install
make install
This created... (2 Replies)
Discussion started by: rupeshkp728
2 Replies
3. Linux
I have complied the kernel with a default settings... now if I load this kernel , it'll load perfectly but the INTERNET is not workink... I think in the default settings The network modules are not included.. Can anybody help me out with the selection of the network module when i give "make... (1 Reply)
Discussion started by: naresh046
1 Replies
4. Solaris
Hi gurus
Could anybody tell me which file is read by kernel to set its default system kernal parameters values in solaris. Here I am not taking about /etc/system file which is used to load kernal modules or to change any default system kernal parameter value
Is it /dev/kmem file or something... (1 Reply)
Discussion started by: girish.batra
1 Replies
5. Linux
supermicro(dual core) server getting rebooted after "decompressing the kernel;booting the kernel" message comes.
I tried giving acpi=off to the kernel command line but same problem.It shows everything ok and no problem with memory and processors and power supplies.Wt could be the reason?
It has... (1 Reply)
Discussion started by: pankajd
1 Replies
6. UNIX for Advanced & Expert Users
I have one big module 2.6.18 kernel mod.c
I want to divide this to several files.
The problem is to write right Makefile
lib1.h
lib1.c
mod.c
mod.c works fine normally but when I divide into several files
and try to compile with this makefile
obj-m := mod.o
mod-objs := lib1.o
... (3 Replies)
Discussion started by: marcintom
3 Replies
7. Red Hat
Hi,
While trying to build the linux kernel - 2.6.24.2,
i get the following error message during initial phase(make menuconfig) :
scripts/kconfig/lxdialog/dialog.h:32:20: error: curses.h: No such file or directory <===
In file included from scripts/kconfig/lxdialog/checklist.c:24:
It seems... (1 Reply)
Discussion started by: amit4g
1 Replies
8. SuSE
Hi All,
Is there a max number of slabs that can be used per kernel module? I'm having a tough time finding out that kind of information, but the array 'node_zonelists' (mmzone.h) has a size of 5. I just want to avoid buffer overruns and other bad stuff.
Cheers,
Brendan (4 Replies)
Discussion started by: Brendan Kennedy
4 Replies
9. UNIX for Dummies Questions & Answers
I have re-compiled kernel source code available in /usr/src/linux.2.4.20 with "make" command. The compilation is succesful.
Now the problem is create the image for this. The documentation in the same folder says that now you have compile "make image". There is no option for image in Makefile. ... (3 Replies)
Discussion started by: mankrish
3 Replies
RAGG2-CC(1) BSD General Commands Manual RAGG2-CC(1)
NAME
ragg2-cc -- CC frontend for compiling shellcodes
SYNOPSIS
ragg2-cc [-a arch] [-b bits] [-k kernel] [-o file] [-dscxvh]
DESCRIPTION
ragg2-cc is a frontend of CC. It is used to creates tiny binaries (1KB) or shellcodes in binary or hexpairs from a C source.
The compiler used is the one configured by the CC environment. This has been tested with gcc, llvm-gcc and clang.
Uses sflib (shellforge4) includes to get the syscall definitions.
Only linux/darwin x86-32/64 is supported at the moment. Planned support for more architectures.
OPTIONS
-a arch set architecture x86, arm
-b bits 32 or 64
-k kernel windows, linux or osx
-o file output file to write result of compilation
-h show help message
-v show version
-d show assembler code
-s generate assembly file
-c generate compiled shellcode
-x show hexpair bytes
EXAMPLE
$ cat hi.c
int main() {
write (1, "Hello World
", 12);
exit (0);
}
$ ragg2-cc hi.c
hi.c.bin
# Linked into a tiny binary. This is 294 bytes
$ wc -c < hi.c.bin
294
$ ./hi.c.bin
Hello World
# The compiled shellcode has zeroes
$ ragg2-cc -x hi.c
e90000000083ec0ce800000000588d882a000000b804000000606a0651
6a0150cd8083c41061b8010000006a0050cd8083c40883c40cc368656c
6c6f0a00
# Use a xor encoder with key 32 to bypass
$ ragg2 -e xor -c key=32 -B `ragg2-cc -x hi.c`
6a3e596a205be8ffffffffc15e4883c60d301e48ffc6e2f9c920202020
a3cc2cc82020202078ada80a2020209824202020404a26714a2170eda0
a3e4304198212020204a2070eda0a3e428a3e42ce348454c4c4f2a20
SEE ALSO
radare2(1), rahash2(1), rafind2(1), rabin2(1), rafind2(1), ranal2(1), radiff2(1), rasm2(1), ragg2cc(1),
AUTHORS
pancake <pancake@nopcode.org>
BSD
Dec 5, 2011 BSD