https://github.com/patsaoglou/starter
My Kernel module starter files based on the starter module of the Linux Kernel Programming Book by Kaiwan N Billimoria
https://github.com/patsaoglou/starter
Last synced: about 19 hours ago
JSON representation
My Kernel module starter files based on the starter module of the Linux Kernel Programming Book by Kaiwan N Billimoria
- Host: GitHub
- URL: https://github.com/patsaoglou/starter
- Owner: patsaoglou
- License: mit
- Created: 2024-10-13T14:35:15.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-12-17T18:40:26.000Z (10 months ago)
- Last Synced: 2025-08-21T13:45:13.671Z (about 2 months ago)
- Language: C
- Size: 4.88 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Starter Kernel Module
My Kernel module starter files based on the starter module of the Linux Kernel Programming Book by Kaiwan N Billimoria# Build
- To build the module:
```
make all
```- To clean the module files generated by Makefile:
```
make clean
```# Inserting module into the kernel
- To insert the module:
```
sudo insmod starter.ko
```- To remove the module:
```
sudo rmmod starter.ko
```# Viewing the Kernel log:
- Kernel log dump should show the printK messages of the module:
```
dmesg | grep starter
```- You see the Klog of the module:
```
[ 207.576991] starter: Starter module init
[ 221.095238] starter: Starter module exit
```