Re: About guiding hello world module submission

2015-06-24 Thread Daniel Baluta
On Wed, Jun 24, 2015 at 7:49 AM, Mayur Patil linuxcra...@gmail.com wrote:
 Hi All,

I am conducting one workshop at FUDCon in which I am trying to teach how
 to write

 and send your first linux kernel device driver. Could please suggest me the
 place where I

 can guide the students to send the device driver?

Not sure what do you want to achieve with this. To show students
how to contribute to the Linux kernel you can find small coding style
issues in the drivers/staging/ directory and send them to Greg KH.

We are doing this every year and its a lot of fun.

You can start with this video:
https://www.youtube.com/watch?v=LLBrBBImJt4

thanks,
Daniel.

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: About guiding hello world module submission

2015-06-24 Thread Robert P. J. Day
On Wed, 24 Jun 2015, Mayur Patil wrote:

 Hi All,

    I am conducting one workshop at FUDCon in which I am trying to
 teach how to write and send your first linux kernel device driver.
 Could please suggest me the place where I can guide the students to
 send the device driver?

  once upon a time, i wrote an (admittedly-dated) online course on how
to get started with kernel programming (and, yes, it needs updating
:-P):

http://crashcourse.ca/introduction-linux-kernel-programming/introduction-linux-kernel-programming

ignore the $39 reference, the course has been publicly available for
free for a while.

  on the second point -- how to *send* that driver to the kernel --
don't you kind of need a rationale for why you're working on a driver
that isn't in the kernel already? i suspect that if you're already
competent enough to be writing a driver for something that isn't in
the kernel, you probably already know the protocol for submitting it,
no?

rday

-- 


Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Twitter:   http://twitter.com/rpjday
LinkedIn:   http://ca.linkedin.com/in/rpjday
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: About guiding hello world module submission

2015-06-24 Thread anish singh
On Wed, Jun 24, 2015 at 12:49 PM, Mayur Patil linuxcra...@gmail.com wrote:

 Hi All,

I am conducting one workshop at FUDCon in which I am trying to teach
 how to write


Great


 and send your first linux kernel device driver. Could please suggest me
 the place where I

 can guide the students to send the device driver?


./scripts/getmaintainer.pl should tell you that if you feed it with right
patch file or the file
which you are trying to modify.


 Thanks !!

 --
 Regards,
 Mayur S Patil,
 Looking for RD or Soft Engg positions,
 Pune, India.

 ___
 Kernelnewbies mailing list
 Kernelnewbies@kernelnewbies.org
 http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: How to avoid TCP 3way handshare

2015-06-24 Thread greg . freemyer


On June 22, 2015 11:56:24 PM MDT, Ramana Reddy gtvrre...@gmail.com wrote:
Hi all,

Assume that the client has already ESTABLISHED state with one server,
and I
want to use the
same state of the client with another server with out sending syn and
syn+ack packets with the second server.  I want  to make the second
server
by default ESTABLISHED state. What are the modifications needed in the
linux kernel code and the respective files.
I am not worried about security and attacks at this moment.

I don't know the answer, but given this would be very useful in a failover 
cluster I assume the code is already there or it is an extremely difficult 
thing to achieve.

As I think about the sliding window aspect of tcp implementing a transparent 
socket handoff from one server to another seems rather difficult.

Basically you would need to mirror not only the sockets connection status 
between the 2 mirrors, but also the in queue data and the sliding window 
metadata.  (Ie. Data that changes millisecond to millisecond.)

I haven't been a failover cluster expert in a decade or more, but I don't 
recall any functionality like that ever existing.

Greg

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: About guiding hello world module submission

2015-06-24 Thread Lukas Elsner
Hi,
If i do not completely misunderstand you, I think you need some kind of
mailbox where the students can submit their patches. Afterwards you can get
the Emails together and discuss their results. I suppose you do not intend
to send dummy-patches to a real maintainer for getting his feedback?

Cheers
Lukas

On Thu, 25 Jun 2015 at 03:28 Mayur Patil linuxcra...@gmail.com wrote:

 Hi Daniel,

I just want to make attendees confident enough that when they will go

 home ,they will continue without worrying about silly details like:

 - Attaching Plain Text attachment
 - Write Correct Makefile
 - Configure the Mail Clients to do so.

 That's only thing I want to achieve.

 On Wed, Jun 24, 2015 at 1:06 PM, Daniel Baluta daniel.bal...@gmail.com
 wrote:

 On Wed, Jun 24, 2015 at 7:49 AM, Mayur Patil linuxcra...@gmail.com
 wrote:
  Hi All,
 
 I am conducting one workshop at FUDCon in which I am trying to teach
 how
  to write
 
  and send your first linux kernel device driver. Could please suggest me
 the
  place where I
 
  can guide the students to send the device driver?

 Not sure what do you want to achieve with this. To show students
 how to contribute to the Linux kernel you can find small coding style
 issues in the drivers/staging/ directory and send them to Greg KH.

 We are doing this every year and its a lot of fun.

 You can start with this video:
 https://www.youtube.com/watch?v=LLBrBBImJt4

 thanks,
 Daniel

  ___
 Kernelnewbies mailing list
 Kernelnewbies@kernelnewbies.org
 http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: About guiding hello world module submission

2015-06-24 Thread Mayur Patil
Yes Lukas right I want to do the same.

Please help if you can.

Thanks !!


On Thu, Jun 25, 2015 at 4:36 AM, Lukas Elsner kernel-...@lukaselsner.de
wrote:

 Hi,
 If i do not completely misunderstand you, I think you need some kind of
 mailbox where the students can submit their patches. Afterwards you can get
 the Emails together and discuss their results. I suppose you do not intend
 to send dummy-patches to a real maintainer for getting his feedback?

 Cheers
 Lukas

 On Thu, 25 Jun 2015 at 03:28 Mayur Patil linuxcra...@gmail.com wrote:

 Hi Daniel,

I just want to make attendees confident enough that when they will go

 home ,they will continue without worrying about silly details like:

 - Attaching Plain Text attachment
 - Write Correct Makefile
 - Configure the Mail Clients to do so.

 That's only thing I want to achieve.

 On Wed, Jun 24, 2015 at 1:06 PM, Daniel Baluta daniel.bal...@gmail.com
 wrote:

 On Wed, Jun 24, 2015 at 7:49 AM, Mayur Patil linuxcra...@gmail.com
 wrote:
  Hi All,
 
 I am conducting one workshop at FUDCon in which I am trying to
 teach how
  to write
 
  and send your first linux kernel device driver. Could please suggest
 me the
  place where I
 
  can guide the students to send the device driver?

 Not sure what do you want to achieve with this. To show students
 how to contribute to the Linux kernel you can find small coding style
 issues in the drivers/staging/ directory and send them to Greg KH.

 We are doing this every year and its a lot of fun.

 You can start with this video:
 https://www.youtube.com/watch?v=LLBrBBImJt4

 thanks,
 Daniel


*-- *



*Regards,Mayur S Patil,Looking for RD or Soft Engg positions,Pune, India.*
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: About guiding hello world module submission

2015-06-24 Thread Mayur Patil
Hi Robert,

   I am only done with writing basic device drivers and kernel compilation.

I also know that we can send patches/drivers to

majord...@vger.kernel.org

But sending sample device drivers to that list will not be good etiquette.

That's why I am asking.

On Wed, Jun 24, 2015 at 2:08 PM, Robert P. J. Day rpj...@crashcourse.ca
wrote:

 On Wed, 24 Jun 2015, Mayur Patil wrote:

  Hi All,
 
 I am conducting one workshop at FUDCon in which I am trying to
  teach how to write and send your first linux kernel device driver.
  Could please suggest me the place where I can guide the students to
  send the device driver?

   once upon a time, i wrote an (admittedly-dated) online course on how
 to get started with kernel programming (and, yes, it needs updating
 :-P):


 http://crashcourse.ca/introduction-linux-kernel-programming/introduction-linux-kernel-programming

 ignore the $39 reference, the course has been publicly available for
 free for a while.

   on the second point -- how to *send* that driver to the kernel --
 don't you kind of need a rationale for why you're working on a driver
 that isn't in the kernel already? i suspect that if you're already
 competent enough to be writing a driver for something that isn't in
 the kernel, you probably already know the protocol for submitting it,
 no?

 rday

 --

 
 Robert P. J. Day Ottawa, Ontario, CANADA
 http://crashcourse.ca

 Twitter:   http://twitter.com/rpjday
 LinkedIn:   http://ca.linkedin.com/in/rpjday
 




-- 
Regards,
Mayur S Patil,
A research oriented program learner,
Pune, India.
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: About guiding hello world module submission

2015-06-24 Thread Mayur Patil
Hi Daniel,

   I just want to make attendees confident enough that when they will go

home ,they will continue without worrying about silly details like:

- Attaching Plain Text attachment
- Write Correct Makefile
- Configure the Mail Clients to do so.

That's only thing I want to achieve.

On Wed, Jun 24, 2015 at 1:06 PM, Daniel Baluta daniel.bal...@gmail.com
wrote:

 On Wed, Jun 24, 2015 at 7:49 AM, Mayur Patil linuxcra...@gmail.com
 wrote:
  Hi All,
 
 I am conducting one workshop at FUDCon in which I am trying to teach
 how
  to write
 
  and send your first linux kernel device driver. Could please suggest me
 the
  place where I
 
  can guide the students to send the device driver?

 Not sure what do you want to achieve with this. To show students
 how to contribute to the Linux kernel you can find small coding style
 issues in the drivers/staging/ directory and send them to Greg KH.

 We are doing this every year and its a lot of fun.

 You can start with this video:
 https://www.youtube.com/watch?v=LLBrBBImJt4

 thanks,
 Daniel
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies