Re: How to use spi device from another kernel module?

2016-12-06 Thread Greg KH
On Tue, Dec 06, 2016 at 09:12:24PM -0800, Joel Fernandes wrote: > On Tue, Dec 6, 2016 at 11:42 AM, Ran Shalit wrote: > > Hello, > > > > I have spi device which is registered using spi_register_board_info(), > > and I would like to get a pointer to this device in some other kernel > > module. > >

Re: How to use spi device from another kernel module?

2016-12-06 Thread Joel Fernandes
On Tue, Dec 6, 2016 at 11:42 AM, Ran Shalit wrote: > Hello, > > I have spi device which is registered using spi_register_board_info(), > and I would like to get a pointer to this device in some other kernel module. > > Is there a simple way to get a pointer to pointer to a device , so > that we ca

How to use spi device from another kernel module?

2016-12-06 Thread Ran Shalit
Hello, I have spi device which is registered using spi_register_board_info(), and I would like to get a pointer to this device in some other kernel module. Is there a simple way to get a pointer to pointer to a device , so that we can use it from other module ? (something like i2c_get_adapter for

Re: pls help in veth

2016-12-06 Thread Rami Rosen
Hi Er, First, the veth modules should be in your kernel, as it does exist in 3.14: http://lxr.free-electrons.com/source/drivers/net/veth.c?v=3.14 It could be that the iprotue1 package you have does not support veth. What does the version of iproute2 you have on your machine ? what is the output

Monitoring network system calls from outside VM

2016-12-06 Thread W. Michael Petullo
I am working on a system which will monitor the system calls serviced by an operating system running inside a VM. All of the software runs outside of the VM, and I wish to avoid modifying or installing software inside of the VM. Imagine an external monitor observing PID/syscall/syscall parameters a

Re: pls help in veth

2016-12-06 Thread Er Krishna
Hi Rami, Thanks, some how I am able to manage all the details you asked : root@krishna:~# lsmod | grep veth root@krishna:~# root@krishna:~# root@krishna:~# uname -a Linux 3.14.55- #1 SMP PREEMPT i686 GNU/Linux root@krishna:~# root@krishna:~# root@krishna:~# modprobe -r veth modprobe: FATAL: Mod

Re: pls help in veth

2016-12-06 Thread Rami Rosen
Hi Eri, The driver is the veth driver, but it should be loaded automatically when running this command. What do you get when running: modprobe veth And what do you have when running lsmod | grep veth ? Which kernel are you working with ? can you paste the output of "uname -a"? is it a kernel yo

Re: pls help in veth

2016-12-06 Thread Er Krishna
Thanks Rami for all the help. Yes lsmod shows that veth is not there. Perhaps the kernel has not been compiled with config_veth option enable in .config. Exact kernel version I will let you know tomorrow but most of the chances its 4.* kernel. Its customized kernel I got from different team, they h

pls help in veth

2016-12-06 Thread Er Krishna
Hi All, Can some one pls let me know for below command to run on linux which driver and which package I need to install ? I see I have iproute package installed on my box, but still I am facing below error. root@krishna:~# ip link add ep1 type veth peer name ep2 RTNETLINK answers: Operation not s