-
Notifications
You must be signed in to change notification settings - Fork 135
EresiKernelBuildProcess
Here is a quick documentation about building the kernel part of Eresi. This may solve problems you can have.
You need a configured kernel to build kernsh. To build the kernel part of eresi you need to have a minimal configuration.
The first error you may encounter is that the /lib/modules/`uname -r`/build link can be brokken or inexistent.
- Get the source for the kernel and decompress it
- Backup your build link in
/lib/modules/`uname -r`/buildin any. - Create a new one which is linked to the source directory you just downloaded.
The next problem you may have is that kernel is not configured and that include files raise compilation errors.
At the top of the error message, you can read this:
ERROR: Kernel configuration is invalid.
include/linux/autoconf.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it.
WARNING: Symbol version dump /home/src/linux-2.6.18.1/Module.symvers
is missing; modules will have no dependencies and modversions.
Run make oldconfig && make prepare. You may use yes " " | make oldconfig to skip question. As you don't have install the kernel, this may not have consequences.
WARNING: Symbol version dump /home/src/linux-2.6.18.1/Module.symvers
is missing; modules will have no dependencies and modversions.
Run make in the kernel source directory. You should be able to compile the kernel part of Eresi.
Now, kernel part of eresi should be compiled. Please report with a new detailed ticket (kernel version, uname -r) so we can update this documentation.
This documentation was written based on the following conifguration:
- Running kernel : linux-2.6.18.1provider_r6_final
- Downloaded kernel : linux-2.6.18.1
The System.map that the kernel part can use may be that accurate with your running kernel. This can result in kernel panic, kernel freeze and any unpleasant behavior resulting of kernel hacking.