Re: stdout to console

2012-04-26 Thread Sri Ram Vemulpali
Dude, It is more of implementation dependent. Where you want your output to display. pty is a method of sending data between two end points of communications but acts with concept of master and slave. It is written on tty driver. In case of ssh it is implementation dependent. I will leave it to

Re: Kernelnewbies Digest, Vol 17, Issue 44

2012-04-26 Thread Arun KS
>> >>   >> Content-Type: text/plain; charset="iso-8859-1" >> >> Thanks a lot, I will have a look at it and see if it helps. >> >> On Thu, Apr 26, 2012 at 6:12 PM, Daniel Baluta >> wrote: >> >> > On Thu, Apr 26, 2012 at 10:33 AM,

Re: Kernelnewbies Digest, Vol 17, Issue 44

2012-04-26 Thread Jeshwanth Kumar N K Jeshu
; > > I have a kernel module which has functions which take a lot of time in > > > execution. I am curious to know how can I profile it, and find out the > > > functions taking most of the time. > > > > > > I saw Oprofile, but it seems that I will have to build the whole &

Reg: 16 unknown bytes in ESp packet(IPSEC)

2012-04-26 Thread Mukesh Yadav
Hi, Not able to understand 16 byetes in ESP packet present after sequence no and before Original IP header while doing tunnel mode Ipsec with ESP. Details are as below. I am trying to achieve Ipsec functionality using fast-path application which will do encryption/decryption using some hardware(C

Netlabel

2012-04-26 Thread Christophe Hauser
Hi all, is anyone here familiar with Netlabel ? I am trying to label network packets using CIPSO tags from a LSM module. Rather than using the Netlink interface to configure Netlabel from userspace, I try to setup everything from kernelspace. The way I initialize netlabel is similar to what smack

freelance kernel work

2012-04-26 Thread Christopher Harvey
I'm not looking for work, nor do I have any work for others. I'm just curious if there is a central location where freelance kernel developers hang out. I've never seen any email on mailing lists like "I have some hardware and want somebody to write a kernel module for it". I thought that sort of r

Re: Linux Driver Project

2012-04-26 Thread Bjørn Mork
Bjørn Mork writes: > How about a fingerprint scanner? If you've got a modern laptop then > chances are good that you already own such a device. And it's > most likely unsupported. Some might say that's because it's useless :-) Sorry, please ignore this. I should have read http://www.linuxdri

Re: Profiling my Modules

2012-04-26 Thread Rishi Agrawal
Thanks a lot, I will have a look at it and see if it helps. On Thu, Apr 26, 2012 at 6:12 PM, Daniel Baluta wrote: > On Thu, Apr 26, 2012 at 10:33 AM, Rishi Agrawal > wrote: > > Hi All, > > > > I have a kernel module which has functions which take a lot of time in > > execution. I am curious to k

Re: Linux Driver Project

2012-04-26 Thread Bjørn Mork
Rabee Al-Maqabi writes: > Thank you for your reply. Linux Device Drivers is indeed a great book. I > have read it in addition to Understanding the Linux Kernel and I have > experimented with my Linux box. At this point, I would like to have a > real-world experience and write a driver for a piece

Re: Profiling my Modules

2012-04-26 Thread Daniel Baluta
On Thu, Apr 26, 2012 at 10:33 AM, Rishi Agrawal wrote: > Hi All, > > I have a kernel module which has functions which take a lot of time in > execution. I am curious to know how can I profile it, and find out the > functions taking most of the time. > > I saw Oprofile, but it seems that I will hav

Re: side effects of calling interruptible_sleep_on_timeout()

2012-04-26 Thread Arun KS
On Thu, Apr 26, 2012 at 3:48 PM, Shashidhara Shamaiah wrote: > Hi Arun, > > My question is how will the scheduler run, if interrupts are disabled on the > local CPU. As timer interrupt controls the CPU? scheduler is nothing but a piece of code( __schedule()) which is just like any other function

Re: [Celinux-dev] [Q] TinyLinux project status (resend)

2012-04-26 Thread Thomas Petazzoni
Le Thu, 26 Apr 2012 20:13:08 +1000, Greg Ungerer a écrit : > > I haven't posted it anywhere else because it's a hack to workaround a > > Qemu problem: the 5208 apparently has support for separate supervisor > > and userspace stack pointers (through two different registers), but > > Qemu doesn't e

Re: Open to work for any kernel module

2012-04-26 Thread Anuz Pratap Singh Tomar
On Thu, Apr 26, 2012 at 2:18 AM, Anil Varma Biruduraju < anilvarm...@gmail.com> wrote: > Hi Anuz, > >Thanks for the reply.. > >I looked at the Kernel janitors web link but dont know > where to start I see coding standards and wondering what to do... > >

Re: side effects of calling interruptible_sleep_on_timeout()

2012-04-26 Thread Srivatsa S. Bhat
On 04/26/2012 10:03 AM, Arun KS wrote: > Hi Srivatsa, > > On Wed, Apr 25, 2012 at 3:56 PM, Srivatsa S. Bhat > wrote: >> On 04/25/2012 03:36 AM, Philipp Ittershagen wrote: >> >>> Hi Devendra, >>> >>> On Tue, Apr 24, 2012 at 03:24:23PM +0530, devendra rawat wrote: Hi, A switch driv

Re: Linux Driver Project

2012-04-26 Thread Javier Martinez Canillas
On Thu, Apr 26, 2012 at 8:59 AM, Rabee Al-Maqabi wrote: > > > On Wed, Apr 25, 2012 at 8:26 PM, Javier Martinez Canillas > wrote: >> >> On Wed, Apr 25, 2012 at 11:19 AM, Rabee Al-Maqabi >> wrote: >> > Hi, >> > >> > I am looking for not yet supported piece of hardware to write a driver >> > for >>

Profiling my Modules

2012-04-26 Thread Rishi Agrawal
Hi All, I have a kernel module which has functions which take a lot of time in execution. I am curious to know how can I profile it, and find out the functions taking most of the time. I saw Oprofile, but it seems that I will have to build the whole kernel, and also that it will be difficult to p

Re: [Celinux-dev] [Q] TinyLinux project status (resend)

2012-04-26 Thread Thomas Petazzoni
Hello Greg, Le Thu, 26 Apr 2012 09:56:23 +1000, Greg Ungerer a écrit : > I couldn't see any kernel patches linked here. Did you need any, > or have you posted them somewhere else? The kernel patch is at http://lists.busybox.net/pipermail/buildroot/2012-April/052585.html, hidden inside a Buildro

Re: Linux Driver Project

2012-04-26 Thread Rabee Al-Maqabi
On Wed, Apr 25, 2012 at 8:26 PM, Javier Martinez Canillas < martinez.jav...@gmail.com> wrote: > On Wed, Apr 25, 2012 at 11:19 AM, Rabee Al-Maqabi > wrote: > > Hi, > > > > I am looking for not yet supported piece of hardware to write a driver > for > > it. anyone can help? > > > > Regards, > > Rab