Tag Archive: kernel

Oct 04

Embedding OpenCL Kernel Files in the Application on Windows

OpenCL kernel files are often a hindrance in writing generic code because they lead to the use of absolute paths in the application. One can overcome this issue on Linux by using relative paths. However on Windows, visual studio is not very friendly to the use of relative paths. One way to solve this problem …

Continue reading »

Dec 07

How to build a linux kernel (Ubuntu)

Create a .config file for your new kernel using the config file of your existing kernel. # cp /boot/<config-kernel_version_#> <kernel_dir>/.config If the .config file is modified using an editor like vim, etc, do # make oldconfig The kernel configuration can also be modified by # make menuconfig Make changes and then save and exit. To …

Continue reading »

Dec 07

Log kernel messages on a remote machine in Linux (Ubuntu).

Netconsole can be used to transmit the kernel messages on the sender to the receiver. Netconsole is a kernel module that logs kernel printk messages over UDP allowing debugging of problems where disk logging fails. Prerequisites – IP address of the receiver MAC address of the receiver A port on the receiver IP address of …

Continue reading »