Linux can bus driver - linux

I am going through a can base network driver for MCP-2515
https://github.com/raspberrypi/linux/blob/rpi-3.6.y/drivers/net/can/mcp251x.c
Please suggest where i can find the description of the function, :--
alloc_candev
open_candev
alloc_can_skb
can_dropped_invalid_skb
alloc_can_err_skb
etc .....
Is there some read-me file or some tutorial ?
Please suggest.

For kernel functions I have found
lxr
very useful. But I am not that this is what you are asking for, perhaps you could be a little more specific in your question.

This is the first place to look for info about SocketCAN drivers: https://www.kernel.org/doc/Documentation/networking/can.txt
Networking stuff can be found in the same folder: https://www.kernel.org/doc/Documentation/networking/
Here a description of network buffering in Linux: http://vger.kernel.org/~davem/skb.html and http://www.tldp.org/LDP/khg/HyperNews/get/net/net-intro.html

Related

lock preferences in firefox 45.5 on RHEL

I am required to make a custom FireFox profile on a RHEL based system.
most of the configuration are changed inside the FireFox inside the about:config menu.
When I try and lock parameter values using the "mozilla.cfg" file and the "lockPref("", )" function the browser doesn't seem to read those files, I place the file both in: "~/.mozilla/firefox/" and "/usr/lib64/firefox/". I used the http://kb.mozillazine.org/Lock_Prefs guide and some more and still I have no one answer about where those function should be written and how do I check that those functions were loaded.
I would like some clear instructions or a definitive guide that I just couldn't manage to find.
Thanks!
This came up fairly high in a Google search when I was asking the same question, but did not have an answer at the time.
I found the following reference:
https://developer.mozilla.org/en-US/Firefox/Enterprise_deployment
On RHEL7, the files needed to be added to the following locations:
/usr/lib64/firefox/defaults/preferences/autoconfig.js (root:root, 644)
/usr/lib64/firefox/mozilla.cfg (root:root, 644)

Is it a must to boot using TXT if we want to use the additional loaclities defined in TPM v1.2?

I'm confused reading the TPM specs. It says DRTM is what the new localities intended to work with. But is DRTM (TXT on intel platforms) definately required to use the localities 1 and above?
You can read about the "dependencies" at https://books.google.com/books?id=HbAAAQAAQBAJ&dq "Intel TXT for Servers". It's searchable online.

syscall_table_32.S not found

Downloaded linux-3.7.8 source. Trying to add system call to it.
Surprisingly I couldn't find arch/x86/kernel/syscall_table_32.S. After some googling I found this. He says syscall_table_32.S is REMOVED, because now syscall table is generated by the script arch/x86/syscalls/syscalltbl.sh, based on arch/x86/syscalls/syscall_{32,64}.tbl.
Now, How do I add my own system call ??
Okay, After googling for a while I got a nice tutorial here, explains How to add a System Call to Kernel 3.3.8

I wanted to know more about dma_map and dma_unmap

can somebody point me out to a simple doc on why dma_unmap is required. Please, be free to explain even the dma_map. I new to device drivers.
Thanks
I think that the following links can be useful:
http://www.kernel.org/doc/Documentation/DMA-API.txt
http://en.wikipedia.org/wiki/Direct_memory_access

TaskMemoryManager is disabled

i am trying to execute tasktracker on Cygwin but following error occur's as:-
mapred.TaskTracker: Process Tree implementation is missing on this system. TaskMemoryManager is disabled.
Rest all (i.e. Namenode,Secondarynamenode,Jobtracker and Datanode) working properly through cygwin but the issue is with the Tasktracker.I am hadoop version:hadoop-19.0.1
So,How I get rid of it.If anybody knows please help!.
Your Help will be appreciated!
I didn't encountered this specific problem but ...
Make sure that you are using the same hadoop version that it is in use on the cluster.
Update Hadoop to more recent version if possible.
The following patches may address (or maybe not) your problem:
https://issues.apache.org/jira/browse/HADOOP-6230
https://issues.apache.org/jira/browse/MAPREDUCE-834

Resources