Re: looking for decent, current online discussion of user-space drivers

2015-11-17 Thread Robert P. J. Day
On Tue, 17 Nov 2015, Anupam Kapoor wrote: > > > [2015-11-17T15:43:52+0530]: "Robert P. J. Day" (rpjday): > ,[ rpjday ] > | > | in particular, are there any nice examples of this that > | can be downloaded, built and played with? thanks muchly. > ` > there is snabbswitch

Re: looking for decent, current online discussion of user-space drivers

2015-11-17 Thread Anupam Kapoor
> [2015-11-17T15:43:52+0530]: "Robert P. J. Day" (rpjday): ,[ rpjday ] | | in particular, are there any nice examples of this that | can be downloaded, built and played with? thanks muchly. ` there is snabbswitch (https://github.com/SnabbCo/snabbswitch) where folks have written

Re: hi, i want to use a script in kernel

2015-11-17 Thread Valdis . Kletnieks
On Tue, 17 Nov 2015 14:01:19 +0900, Naver said: > hi, > i want to use a script in kernel, but i can't use this. > in my terminal. > yoon@pc:~/project/aosp/kernel/linux/scripts$ ./checkpatch.pl sortextable.c > Must be run from the top-level dir. of a kernel tree $ cd ~/project/aosp/kernel/linux $

Re: hi, i want to use a script in kernel

2015-11-17 Thread Bogicevic Sasa
On 11/17, valdis.kletni...@vt.edu wrote: >On Tue, 17 Nov 2015 14:01:19 +0900, Naver said: >> hi, >> i want to use a script in kernel, but i can't use this. >> in my terminal. >> yoon@pc:~/project/aosp/kernel/linux/scripts$ ./checkpatch.pl sortextable.c >> Must be run from the top-level dir. of a

Re: depmod: ERROR: Found 2 modules in dependency cycles!

2015-11-17 Thread Jim Davis
On Tue, Nov 17, 2015 at 1:09 PM, Lucas Tanure wrote: > Hi, > > I'm trying to compile and run linux-next tree, but no matter what I do I got > : > > depmod: ERROR: Found 2 modules in dependency cycles! > depmod: ERROR: Cycle detected: lnet -> libcfs -> lnet > Makefile:1139:

looking for decent, current online discussion of user-space drivers

2015-11-17 Thread Robert P. J. Day
a colleague asks me about the implications of porting a pile of code from a non-linux embedded OS to linux, and simply rewriting most of it as user-space drivers, as opposed to a total rewrite to kernel code. i'm in no way an authority on user-space drivers, so i'm looking for any decent,

Re: i want to use the script in kernel script folder.

2015-11-17 Thread Daniel Baluta
On Tue, Nov 17, 2015 at 7:10 AM, 윤영석 wrote: > > hi, > i want to use a script in kernel, but i can't use this. > in my terminal. > yoon@pc:~/project/aosp/kernel/linux/scripts$ ./checkpatch.pl sortextable.c > Must be run from the top-level dir. of a kernel tree Hi, You can try

depmod: ERROR: Found 2 modules in dependency cycles!

2015-11-17 Thread Lucas Tanure
Hi, I'm trying to compile and run linux-next tree, but no matter what I do I got : depmod: ERROR: Found 2 modules in dependency cycles! depmod: ERROR: Cycle detected: lnet -> libcfs -> lnet Makefile:1139: recipe for target '_modinst_post' failed make: *** [_modinst_post] Error 1 Can anyone give

Re: Correctly locking a Block Device Request Handler

2015-11-17 Thread Pranay Srivastava
Hi On Mon, Nov 16, 2015 at 10:02 PM, Marcel Müller wrote: > Hello everyone, > > I'm currently writing a block device driver and got stuck at trying to > understand how to correctly handle the locking > in the reqfn one passes to `blk_init_queue`. > > My code looks like this: