Your editor/IDE settings for autocompletion and other easiness

2014-11-21 Thread Andrey Utkin
(I was asked to research this topic to help students. So please ignore this topic if all you want to say is that it is OK to code in editor without autocompletion and any other integration, and that there's LXR website. We all know that.) Dear kernel developers, if you have a minute, please share

Re: from WHERE platform driver's probe is called?

2014-11-21 Thread subin gangadharan
Hi Sunil, >>I am still not able to locate from WHERE this probe function is called and >>WHO calls it? I can try to give you a snapshot of the function call trace. But if you really want to get in depth detail, as Greg said look at the code driver/base. driver_register ->bus_add_driver->driver_

Re: VLAN tagged packets received by application are corrupted

2014-11-21 Thread Greg KH
On Fri, Nov 21, 2014 at 06:20:01PM +0530, Amit Agarwal wrote: > On 14-11-21 12:51:29, Anupam Kapoor wrote: > > most likely you offload enabled on your card, try disabling that to see if > > tcpdump does the right thing for you > ethtool -k - does not show anything for vlan. > > More information:

Re: Split RAID: Proposal for archival RAID using incremental batch checksum

2014-11-21 Thread Anshuman Aggarwal
N pass through but with their own filesystems. Concatenation is via some kind of union fs solution not at the block level. Data is not supposed to be striped (this is critical so as to prevent all drives to be required to be accessed for consecutive data) Idea is that each drive can work independe

RE: Userspace agent crash and kernel module

2014-11-21 Thread Jeff Haran
> -Original Message- > From: kernelnewbies-boun...@kernelnewbies.org [mailto:kernelnewbies- > boun...@kernelnewbies.org] On Behalf Of Kevin Wilson > Sent: Monday, November 17, 2014 11:50 PM > To: kernelnewbies@kernelnewbies.org > Subject: Userspace agent crash and kernel module > > Hi, > I

Re: Devres

2014-11-21 Thread Greg KH
On Fri, Nov 21, 2014 at 03:21:57PM -0200, Raphael Philipe wrote: > I have a device driver that requests a lot o memory regions with ioremap and > request_mem_region. > > Today I came across devres. I would like to known your oppinion regarding it? > > If you don't know it, take a look here. http:

Devres

2014-11-21 Thread Raphael Philipe
I have a device driver that requests a lot o memory regions with ioremap and request_mem_region. Today I came across devres. I would like to known your oppinion regarding it? If you don't know it, take a look here. http://haifux.org/lectures/323/haifux-devres.pdf It seems like a garbage collecto

Re: from WHERE platform driver's probe is called?

2014-11-21 Thread Greg KH
On Fri, Nov 21, 2014 at 01:16:21PM +, Sunil Shahu wrote: > Hello, > > I am looking into platform driver and devices and understood HOW platform > driver's probe is called from kernel doc and following forum. > http://comments.gmane.org/gmane.linux.kernel.kernelnewbies/37050 > > For further in

Re: from WHERE platform driver's probe is called?

2014-11-21 Thread Varka Bhadram
This link can answer your ques: http://stackoverflow.com/questions/22722520/who-calls-probe-function-in-driver-code Thanks. On Fri, Nov 21, 2014 at 6:46 PM, Sunil Shahu wrote: > Hello, > > I am looking into platform driver and devices and understood HOW platform > driver's probe is called from

Re: from WHERE platform driver's probe is called?

2014-11-21 Thread Daniel Baluta
On Fri, Nov 21, 2014 at 3:16 PM, Sunil Shahu wrote: > Hello, > > I am looking into platform driver and devices and understood HOW platform > driver's probe is called from kernel doc and following forum. > http://comments.gmane.org/gmane.linux.kernel.kernelnewbies/37050 > > For further information

Re: Userspace agent crash and kernel module

2014-11-21 Thread Greg KH
On Fri, Nov 21, 2014 at 12:55:46PM +0200, Kevin Wilson wrote: > The thing is that crash of the daemon sometimes occur, from this > reason or other. > The question is how the kernel module will be aware of such > userspace agent crash, in order to reset its state ? Sounds like a horrible design, an

Re: Userspace agent crash and kernel module

2014-11-21 Thread Kevin Wilson
But how can you be sure that this fault handler will be called when the agent crashes On Fri, Nov 21, 2014 at 2:07 PM, Pranay Srivastava wrote: > Hi Kevin, > > Request you not to top post :-) . > >> On Tue, Nov 18, 2014 at 10:15 AM, Pranay Srivastava >> wrote: >>> Hi Kevin >>> >>> >>> >>> >>>

Re: from WHERE platform driver's probe is called?

2014-11-21 Thread Sudip Mukherjee
On Fri, Nov 21, 2014 at 6:46 PM, Sunil Shahu wrote: > Hello, > > I am looking into platform driver and devices and understood HOW platform > driver's probe is called from kernel doc and following forum. > http://comments.gmane.org/gmane.linux.kernel.kernelnewbies/37050 > > For further information

from WHERE platform driver's probe is called?

2014-11-21 Thread Sunil Shahu
Hello, I am looking into platform driver and devices and understood HOW platform driver's probe is called from kernel doc and following forum.http://comments.gmane.org/gmane.linux.kernel.kernelnewbies/37050 For further information I went through code in platform_driver_register() and got lost.

Re: [Eudyptula] How long have you been waiting?

2014-11-21 Thread karthik nayak
On Fri, Nov 21, 2014, 6:24 PM Sudip Mukherjee wrote: On Fri, Nov 21, 2014 at 6:16 PM, Vinícius Tinti wrote: > On Fri, Nov 21, 2014 at 4:47 AM, Sudip Mukherjee > wrote: >> i sent my task result yesterday , but lets see if i also get the reply >> from little by replying to your mail. :) >> i gue

Re: [Eudyptula] How long have you been waiting?

2014-11-21 Thread Sudip Mukherjee
On Fri, Nov 21, 2014 at 6:16 PM, Vinícius Tinti wrote: > On Fri, Nov 21, 2014 at 4:47 AM, Sudip Mukherjee > wrote: >> i sent my task result yesterday , but lets see if i also get the reply >> from little by replying to your mail. :) >> i guess the time depends on the queue, and there has to be so

Re: VLAN tagged packets received by application are corrupted

2014-11-21 Thread Amit Agarwal
On 14-11-21 12:51:29, Anupam Kapoor wrote: > most likely you offload enabled on your card, try disabling that to see if > tcpdump does the right thing for you ethtool -k - does not show anything for vlan. More information: Kernel is 2.6.32 Driver being used in tg3. -- Thanks, -aka

Re: [Eudyptula] How long have you been waiting?

2014-11-21 Thread Vinícius Tinti
On Fri, Nov 21, 2014 at 4:47 AM, Sudip Mukherjee wrote: > i sent my task result yesterday , but lets see if i also get the reply > from little by replying to your mail. :) > i guess the time depends on the queue, and there has to be some human > intervention in the reply, it can not be all script.

Re: Userspace agent crash and kernel module

2014-11-21 Thread Pranay Srivastava
Hi Kevin, Request you not to top post :-) . > On Tue, Nov 18, 2014 at 10:15 AM, Pranay Srivastava wrote: >> Hi Kevin >> >> >> >> >> On Tue, Nov 18, 2014 at 1:19 PM, Kevin Wilson wrote: >>> Hi, >>> I want to write a kernel module which interacts with a userspace daemon. >>> There are cases when

Re: Split RAID: Proposal for archival RAID using incremental batch checksum

2014-11-21 Thread Greg Freemyer
On November 21, 2014 5:15:43 AM EST, Anshuman Aggarwal wrote: >I'd a appreciate any help/pointers in implementing the proposal below >including the right path to get this into the kernel itself. >-- >I'm outlining below a proposal for a RAID device mapper virtual

Re: Userspace agent crash and kernel module

2014-11-21 Thread Kevin Wilson
The thing is that crash of the daemon sometimes occur, from this reason or other. The question is how the kernel module will be aware of such userspace agent crash, in order to reset its state ? Regards, Kevin On Tue, Nov 18, 2014 at 10:15 AM, Pranay Srivastava wrote: > Hi Kevin > > > > > On Tu

Split RAID: Proposal for archival RAID using incremental batch checksum

2014-11-21 Thread Anshuman Aggarwal
I'd a appreciate any help/pointers in implementing the proposal below including the right path to get this into the kernel itself. -- I'm outlining below a proposal for a RAID device mapper virtual block device for the kernel which adds "split raid" functionality on