Go to advanced search

by vix
Thu Oct 24, 2013 7:27 am
Forum: Linux Kernel
Topic: SOLVED: Module driver - crash kernel by rmmod
Replies: 2
Views: 5421

Re: Module driver - crash kernel by rmmod

Problem solved: i recompile kernel as descripted here: http://elinux.org/RPi_Kernel_Compilation
Very unfortunate that kernel built is not the same compiler that is included in the Raspbian.
I thank everyone for their help in solving the problem! ;)
by vix
Wed Oct 23, 2013 10:59 am
Forum: Linux Kernel
Topic: SOLVED: Module driver - crash kernel by rmmod
Replies: 2
Views: 5421

SOLVED: Module driver - crash kernel by rmmod

Hi! This simple module source: #include <linux/init.h> #include <linux/module.h> #include <linux/kernel.h> #include <linux/fs.h> MODULE_LICENSE("Dual BSD/GPL"); MODULE_AUTHOR("author"); MODULE_DESCRIPTION("module description"); MODULE_VERSION("0.0"); unsigned char foo[8]; static dev_t dev; //-------...
by vix
Sun Oct 20, 2013 7:24 pm
Forum: Linux Kernel
Topic: cannot found linux-header for 3.2.27
Replies: 23
Views: 75359

Re: cannot found linux-header for 3.2.27

Hi! I'm trying to make trivial driver module, like this: #include <linux/init.h> #include <linux/module.h> #include <linux/kernel.h> //#include <linux/fs.h> MODULE_LICENSE("Dual BSD/GPL"); MODULE_AUTHOR("iiiiiiii"); MODULE_DESCRIPTION("ghjkhsgdkfhgksdjg"); MODULE_VERSION("0.1"); unsigned char ss[8];...

Go to advanced search