Re: Unable to generate vmcore file.

2014-02-20 Thread palik imre
From: Rishi Agrawal rishi.b.agra...@gmail.com I have been trying to debug a kernel crash in my module and need the vmcore file for it. ... Its a virtual machine so I do not get a lot of info on console. What kind of virtual machine?  Some of them don't support kdump. Imre

Re: [Help] How to Replace File Operations in File System?

2014-02-20 Thread freeman
2014-02-20 15:31, Rishi Agrawal : Hi, I went through your readme. Some questions. 1. How are you encrypting the files? Is it done by the encryptfs or you are doing it in your module. 2. How can the user selectively encrypt the files in the system. -- Regards, Rishi Agrawal Hi Rishi,

Re: [Help] How to Replace File Operations in File System?

2014-02-20 Thread SandeepKsinha
On Thu, Feb 20, 2014 at 2:27 PM, freeman freeman.zhang1...@gmail.comwrote: 2014-02-20 15:31, Rishi Agrawal : Hi, I went through your readme. Some questions. 1. How are you encrypting the files? Is it done by the encryptfs or you are doing it in your module. 2. How can the user

Re: [Help] How to Replace File Operations in File System?

2014-02-20 Thread freeman
2014-02-2017:10, SandeepKsinha : On Thu, Feb 20, 2014 at 2:27 PM, freeman freeman.zhang1...@gmail.com mailto:freeman.zhang1...@gmail.com wrote: 2014-02-20 15:31, Rishi Agrawal : Hi, I went through your readme. Some questions. 1. How are you encrypting the files? Is it

Re: [Help] How to Replace File Operations in File System?

2014-02-20 Thread SandeepKsinha
On Thu, Feb 20, 2014 at 3:18 PM, freeman freeman.zhang1...@gmail.comwrote: 2014-02-2017:10, SandeepKsinha : On Thu, Feb 20, 2014 at 2:27 PM, freeman freeman.zhang1...@gmail.comwrote: 2014-02-20 15:31, Rishi Agrawal : Hi, I went through your readme. Some questions. 1. How are

Re: Unable to generate vmcore file.

2014-02-20 Thread Rishi Agrawal
Its a VMWare 2.0 machine. One more thing I want to add ... the same machine was collecting the core in cases of crash in my modules, but it was then updated to the latest kernel and now it does not do it. On Thu, Feb 20, 2014 at 1:33 PM, palik imre imre_pa...@yahoo.co.uk wrote: From: Rishi

Re: Unable to generate vmcore file.

2014-02-20 Thread Rishi Agrawal
Adding kexec mailing list ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Side effects of open system call

2014-02-20 Thread Rahul Bedarkar
Hi, In ioctl man page, mentioned that Often the open(2) call has unwanted side effects, that can be avoided under Linux by giving it the O_NONBLOCK flag. I have seen open man page but can't find what are side effects of open. Does anybody know what are side effects of open in general ?

Re: [Help] How to Replace File Operations in File System?

2014-02-20 Thread Valdis . Kletnieks
On Thu, 20 Feb 2014 17:48:07 +0800, freeman said: However as I planed it, I don't want involve the user too much- just to keep simple. I plan to build a safe box, and people throw personal things into it. That's all. The first question is - what are you trying to protect against? The answer

Re: Side effects of open system call

2014-02-20 Thread Valdis . Kletnieks
On Thu, 20 Feb 2014 20:36:44 +0530, Rahul Bedarkar said: Often the open(2) call has unwanted side effects, that can be avoided under Linux by giving it the O_NONBLOCK flag. I have seen open man page but can't find what are side effects of open. Well, for starters, the open() call can

Re: Side effects of open system call

2014-02-20 Thread Rahul Bedarkar
On Thu, Feb 20, 2014 at 9:06 PM, valdis.kletni...@vt.edu wrote: On Thu, 20 Feb 2014 20:36:44 +0530, Rahul Bedarkar said: Often the open(2) call has unwanted side effects, that can be avoided under Linux by giving it the O_NONBLOCK flag. I have seen open man page but can't find what

Re: Side effects of open system call

2014-02-20 Thread parinay
O_NONBLOCK If possible, the file will be opened in nonblocking mode. Neither the open() call, nor any other operation will cause the process to block (sleep) on the I/O. This behaviour may be defined only for FIFOs. Sometimes, programmers do not want a call to read() to block when there is no

Interrupts : request_percpu_irq function

2014-02-20 Thread priyaranjan
I was reading about request_irq() function. We have another variant of this function known as request_percpu_irq(). Can any one explain me the usage of this function? and how it is different that the traditional request_irq(). I also couldn't find a single driver using this function though this