> On Jan 9, 2017, at 6:49 AM, Mrigendra Chaubey <[email protected]> 
> wrote:
> 
> Hi all,
> 
> I am a newbie and following a number of forums to learn kernel programming 
> such as drivers, pin multilexing without using overlays or device tree 
> because I was comfortable with the previous kernel. Kernel version is 3.8.
> 
> Well the small problem I am having is
> 
> I am using extra folder of derek molly's exploringBB repo. I tried to compile 
> gpio_test.c file as a module in bbb kernel in drivers/gpio folder.
> 
> 1) If I insmod this driver from home such as 
> 
> root@beaglebone:~# insmod gpio_test.ko
> insmod: can't insert 'gpio_test.ko': No such file or directory
Why not use modprobe to install module:
modprobe gpio_test

To remove module:
modprobe -r gpio_test

Regards,
John
> 
> I get this error. So I have to go the particular directory
> cd /lib/modules/3.8.13-00770-g97d16ab-dirty/kernel/drivers/gpio and then do 
> the insmod.
> Why I can't load from home?
> 
> 2)I am not  getting log messages for this command
> tail -f kern.log
> ta
> tail: can't open 'kern.log': No such file or directory
> tail: no files
> why?
> 
> 
> 
> 
> -- 
> For more options, visit http://beagleboard.org/discuss 
> <http://beagleboard.org/discuss>
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/beagleboard/48fb025e-7f8c-4e0a-9616-a566fa253fc8%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/beagleboard/48fb025e-7f8c-4e0a-9616-a566fa253fc8%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/021C10CF-F728-450A-B5A6-3C3F40DADB5B%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to