How to choice the Open source project about kernel?

2012-12-19 Thread lx
hi: How to choice the Open source project about kernel? I'm a new one, and I want to practice the technology about kernel. Please list some simple projects, thank you ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org

misc device question

2012-12-19 Thread Kevin Wilson
Hello,kernelnewbies I am trying to develop a misc driver in 3.7.0 kernel. As a basis I copy and paste this code, *without any change*, http://virtlog.com/2008/03/25/linux-miscdevice-sample/ And build it. after insmod I have : [root@n miscDevice]\ls -al /dev/mymisc crw--- 1 root root 10, 59

Re: misc device question

2012-12-19 Thread Daniel Baluta
On Wed, Dec 19, 2012 at 10:36 AM, Kevin Wilson wkev...@gmail.com wrote: Hello,kernelnewbies I am trying to develop a misc driver in 3.7.0 kernel. As a basis I copy and paste this code, *without any change*, http://virtlog.com/2008/03/25/linux-miscdevice-sample/ And build it. after

Question regarding patches

2012-12-19 Thread Shraddha Kamat
Sorry if this is not relevant to kernel. But since I am patching the kernel - Please consider this as a uber beginner question to ask on this mailing list - forgive me for that. Now my question is - What @@ -321,7 +321,8 @@ mean in this snippet from the patch - diff --git a/exec.h b/exec.h

Re: misc device question

2012-12-19 Thread Kevin Wilson
Hi, Thanks. Isn't this supposed to be called /dev/mymisc ? Well, your are right ! and with /dev/mymisc it worked! sorry for the noise. BTW, it worked also without implementing the open() method rgs K. On Wed, Dec 19, 2012 at 10:51 AM, Daniel Baluta daniel.bal...@gmail.com wrote: On Wed,

Re: Question regarding patches

2012-12-19 Thread Avinash Patil
I think those are git commit IDs. -Avinash On Wed, Dec 19, 2012 at 3:43 PM, Shraddha Kamat sh200...@gmail.com wrote: On Wed, 2012-12-19 at 13:58 +0400, Lijo Antony wrote: On 12/19/2012 12:47 PM, Shraddha Kamat wrote: Sorry if this is not relevant to kernel. But since I am patching the

Re: Question regarding patches

2012-12-19 Thread Tobias Boege
On Wed, 19 Dec 2012, Shraddha Kamat wrote: On Wed, 2012-12-19 at 13:58 +0400, Lijo Antony wrote: On 12/19/2012 12:47 PM, Shraddha Kamat wrote: Sorry if this is not relevant to kernel. But since I am patching the kernel - Please consider this as a uber beginner question to ask on this

gcc 2.95.3 compile failure

2012-12-19 Thread horse_rivers
hi:   I am trying to  compile gcc2.95.3 ,after I patch  source code , and configure , make    fail with this :gcc-2.95.3/libio/streambuf.h:37: parse error before `}'   I find this line is     35  extern C {                                36    #include libio.h                               37

Re: gcc 2.95.3 compile failure

2012-12-19 Thread Anuz Pratap Singh Tomar
On Wed, Dec 19, 2012 at 2:10 PM, horse_rivers horse_riv...@126.com wrote: hi: I am trying to compile gcc2.95.3 ,after I patch source code , and configure , make fail with this :gcc-2.95.3/libio/streambuf.h:37: parse error before `}' I find this line is 35 extern C {

Re: gcc 2.95.3 compile failure

2012-12-19 Thread Thomas Petazzoni
Dear horse_rivers, On Wed, 19 Dec 2012 22:10:07 +0800 (CST), horse_rivers wrote:   I am trying to  compile gcc2.95.3 ,after I patch  source code , and configure , make  Do you know we are in 2012 ? Some people are even saying that the end of the world will be in two days. So what do you

Re: gcc 2.95.3 compile failure

2012-12-19 Thread Yann Droneaud
Le mercredi 19 décembre 2012 à 15:54 +0100, Thomas Petazzoni a écrit : Dear horse_rivers, On Wed, 19 Dec 2012 22:10:07 +0800 (CST), horse_rivers wrote: I am trying to compile gcc2.95.3 ,after I patch source code , and configure , make Do you know we are in 2012 ? Some people

Re: Question regarding patches

2012-12-19 Thread Anand Arumugam
On Wed, Dec 19, 2012 at 2:13 AM, Shraddha Kamat sh200...@gmail.com wrote: On Wed, 2012-12-19 at 13:58 +0400, Lijo Antony wrote: On 12/19/2012 12:47 PM, Shraddha Kamat wrote: Sorry if this is not relevant to kernel. But since I am patching the kernel - Please consider this as a uber

Re: sysfs: pass function pointers to kernel (not just a value through attribute)

2012-12-19 Thread Jonathan Neuschäfer
On Mon, Dec 17, 2012 at 10:11:46AM -0500, Terry Hsu wrote: Hello everyone, I am looking for some mechanism for userspace tasks to pass certain functions to kernel and let the kernel execute these functions on behalf of userspace tasks. I know that sysfs can be used with kobject embedded into

Re: How to choice the Open source project about kernel?

2012-12-19 Thread Jonathan Neuschäfer
On Wed, Dec 19, 2012 at 04:05:57PM +0800, lx wrote: hi: How to choice the Open source project about kernel? I'm a new one, and I want to practice the technology about kernel. Please list some simple projects, thank you Read, understand. Test, find a bug, and try to fix it. There's also

Re: How to choice the Open source project about kernel?

2012-12-19 Thread Zhouping Liu
2012/12/19 lx lxlenovos...@gmail.com hi: How to choice the Open source project about kernel? I'm a new one, and I want to practice the technology about kernel. Please list some simple projects, thank you Linux Test Project: http://ltp.sourceforge.net/ git repo:

Re:Re: gcc 2.95.3 compile failure

2012-12-19 Thread horse_rivers
At 2012-12-19 22:54:30,Thomas Petazzoni thomas.petazz...@free-electrons.com wrote: Dear horse_rivers, On Wed, 19 Dec 2012 22:10:07 +0800 (CST), horse_rivers wrote:    I am trying to  compile gcc2.95.3 ,after I patch  source code , and configure , make  Do you know we are in 2012 ? Some people