Conversation
Add: game "Rock, Paper, Scissors" and Makefile for the game build Signed-off-by: volnsav <savchenko.volod@gmail.com>
Add: home task 03-bash/make_soup Fix: 03-bash. Format scripts and replace [[ with [ in 02-bash, add target "all", xchange main.o and hello in target "hello", remove unnecessary hyphen before rm, remove main and a.out from target "clean" Signed-off-by: volnsav <savchenko.volod@gmail.com>
Add: source and make files for create simple kernel module, dmesg logfile with trace log while load and unload kernel module Signed-off-by: volnsav <savchenko.volod@gmail.com>
|
Add hometask 4 |
Signed-off-by: Andriy Khulap <andriy.khulap@globallogic.com>
Add: simple kernel module wich works with procfs and convert char in lower case to upper case, dmesg log file. Signed-off-by: volnsav <savchenko.volod@gmail.com>
Add: store and show convertor statistics in path /proc/myprocfs/stat, change convertor path to /proc/myprocfs/convertor. Signed-off-by: volnsav <savchenko.volod@gmail.com>
Add: simple lowercase converter based on sysfs classes, dmesg and shell log. Signed-off-by: volnsav <savchenko.volod@gmail.com>
Add: kernel module source file and log file Signed-off-by: volnsav <savchenko.volod@gmail.com>
|
Add homework #6 |
DevyatovAndrey
left a comment
There was a problem hiding this comment.
The minor changes are needed IMO
| [16121.523508] my_time: call my_timer_callback, delay: 5000 [ms] | ||
| [16126.639240] my_time: call my_timer_callback, delay: 5000 [ms] | ||
| [16131.754892] my_time: call my_timer_callback, delay: 5000 [ms] | ||
| [16134.670267] my_time: call my_store |
There was a problem hiding this comment.
call my_store
I'm wondering how this can help in debugging?
It reflects just a fact of callback call, but what parameters were pased into?
There was a problem hiding this comment.
value of delay (5000) is passed into.
| pr_info("my_time: call %s, can't read delay value!\n", __func__); | ||
| } | ||
|
|
||
| if (delta_in_ms < MIN_DELAY_IN_MS) { |
There was a problem hiding this comment.
if (delta_in_ms < MIN_DELAY_IN_MS) {
In this case the timer will be restarted with default value, correct?
So the previous delay period successfully set before would be dropped.
| static void my_timer_callback(unsigned long data) | ||
| { | ||
| pr_info("my_time: call %s, delay: %lu [ms]\n", __func__, delta_in_ms); | ||
| mod_my_timer(); |
There was a problem hiding this comment.
Looks like there is no way to stop this timer.
Fix: set timer off if 0 obtained, improve debug messages Signed-off-by: volnsav <savchenko.volod@gmail.com>
|
Fix lesson 06 homework |
Add: kernel module source file and log (dmesg and system) Signed-off-by: volnsav <savchenko.volod@gmail.com>
|
Add homework 7 task 01 - slab allocator |
|
@volnsav, |
| clean: | ||
| rm -rf $(KITCHEN) | ||
|
|
||
|
|
There was a problem hiding this comment.
Trailing empty lines in the end of file.
| # echo ">>>>>>>>>> dir >>>>>>>>>>> $1" | ||
| if ! [ -d $1 ]; then | ||
| mkdir -p $1 | ||
| fi |
There was a problem hiding this comment.
Empty line is absent in the end of file.
| INSTALL_DIR="/usr/local/bin" | ||
| INSTALL_FILE="task1.sh" | ||
|
|
||
| if [ -z "$1" ]; then |
There was a problem hiding this comment.
May be better to check the existing file using [ -f ... ]
Fix errors and merge commits