Re: Do you know the bug of EXPORT_SYMBOL()

2015-07-24 Thread Abhishek bist
Hi, This is the place where modprobe comes into play .If you have dependent module the on your module then it is recommended to use modprobe . After compiling your module run : 1. depmod -a 2. modprobe mod1 3. modprobe mod2 And as far as i know CONFIG_MODVERSION is basically for the module

HID Quirks

2015-06-04 Thread Abhishek bist
What is quirks in HID and why they are used there. I tried it but didn't get a clear image of it and it's usage implementation. ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: Stop usbhid from claiming usb device on hotplug

2015-05-30 Thread Abhishek bist
I think it is a part of eudyptula challenge and if it is so, just make sure that is it asking for probing or just for dynamic loading. On 30 May 2015 at 13:09, Greg KH g...@kroah.com wrote: On Sat, May 30, 2015 at 01:43:20AM -0400, Armin Moradi wrote: I'm writing a kernel module, but

Semaphore and Spinlock

2015-04-27 Thread Abhishek Bist
[ Semaphores are a bit like spinlocks, except the holder of a semaphore is a process, not a CPU. ] This is a very first line that is bein written on the description of semaphore on kernel newbies.So what are the different parameter that could justify this statement or the way it could be

perf tool

2015-04-24 Thread Abhishek Bist
Hi, I am looking for a best tutorials or links to learn and exploit the features of a perf tool. I already googled it and try to use it at minimal level.But looking for a link so that i could use it as a benchmark for some testing on kernel level espicially on process management section.

Basic question about malloc

2015-04-22 Thread Abhishek Bist
On Thu, 23 Apr 2015 09:52:56 +0800, 慕冬亮 said : I'm looking for that whether the object allocated by malloc is the multiple of certain bytes! Or how does the malloc allocate dynamic memory ?? I does an experiment in my computer! #includestdio.h #includestdlib.h #define NUM 33

sched: RT throttling activated

2015-04-21 Thread Abhishek Bist
Hi, I am just running my module which is accessed by a simple application and has nothing to deal with RT process so why this message is popped up onto my dmesg buffer. Or why scheduler is not able to differentiate between a normal process and a RT process.