Re: Kernelnewbies Digest, Vol 26, Issue 1

2013-01-03 Thread Ganesh B
I am trying to build the Kernel 3.7 and there are some files which have to be overwritten when uncompressing. One of the same files, ipt_ECN.c, gives an error stopping the build process. Any suggestions? net/ipv4/netfilter/ipt_ECN.c:20:42: fatal error: linux/netfilter_ipv4/ipt_ECN.h: No such

Re: Kernelnewbies Digest, Vol 26, Issue 1

2013-01-03 Thread Dave Hylands
Hi Ganesh, On Wed, Jan 2, 2013 at 11:55 PM, Ganesh B ganeshsu...@yahoo.com wrote: I am trying to build the Kernel 3.7 and there are some files which have to be overwritten when uncompressing. One of the same files, ipt_ECN.c, gives an error stopping the build process. Any suggestions?

Re: internel implemention of file operation

2013-01-03 Thread horseriver
On Thu, Jan 03, 2013 at 01:16:06PM +0530, Rajat Sharma wrote: will it be maped with vm_area struct ? Yes if it is accessed via mmap system call. you know that , in the struct vm_area_struct,there is a struct vm_operations_struct * vm_ops; in this vm_operations_struct , there are open/close

Re: compile linux kernel 2.6.0 failed

2013-01-03 Thread richard -rw- weinberger
On Thu, Jan 3, 2013 at 5:43 AM, horseriver horseriv...@gmail.com wrote: hi: I am compiling 2.6.0 kernel with gcc 4.4.5 and link with ld 2.20 version. 2.6.0, SRSLY?! my host os is 2.6.32 kernel . when linking .so , output this error : /usr/bin/ld:

Re: internel implemention of file operation

2013-01-03 Thread Rajat Sharma
in this vm_operations_struct , there are open/close functions , are there necessary relations between file operations and this struct ? well not really for open/close of vm_ops are of interest to filesystems, but page fault handler and making page writable is where filesystem come into picture.

Re: Kernelnewbies Digest, Vol 26, Issue 1

2013-01-03 Thread Ganesh B
Hello Dave, So I have to do the kernelversion.xz extraction in linux OS and then build, right? I am extracting this in another OS, got the problem. Thank you very much.   Why would I get the following errors, though they would not stop the build process? Any help? 1 Where do I change the

keyboard driver question

2013-01-03 Thread Racz Zoli
Hi. I`m sorry if this isn`t the right place to post my question, but first I tried posting it on forum.kernelnewbies.org and nobody answered. Here`s my question: I have a Gembird kb-9140l keyboard with some multimedia keys which are not working on linux. I thought about writing my own driver

Detect list corruption at early stage to avoid BUG hitting?

2013-01-03 Thread Ritesh Harjani
Hi Everyone, Many times we see the following warning, which causes some kernel Bug to hit. I googled for any solution to detect list corruption so as to avoid the bug hit, but couldnt find any. Do you guys have any info ?? Does kernel provide any generic solution to do this? *Warning: list_del

what does this error mean?

2013-01-03 Thread John Smith
/usr/bin/ld: arch/i386/kernel/vsyscall-int80.so: Not enough room for program headers, try linking with -N ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: What is asmlinkage ?

2013-01-03 Thread Rahul Bedarkar
Thanks. So with asmlinkage we request compiler to put args on stack. What is advantage of this to start_kernel or in general to other functions ? Regards, Rahul On Thu, Jan 3, 2013 at 9:34 PM, Mulyadi Santosa mulyadi.sant...@gmail.comwrote: On Thu, Jan 3, 2013 at 7:40 PM, Rahul Bedarkar

Re: What is asmlinkage ?

2013-01-03 Thread Rajat Sharma
So with asmlinkage we request compiler to put args on stack. What is advantage of this to start_kernel or in general to other functions ? See its about implementation ease and little of performance too. Assuming the default model of keeping arguments in registers is used. lets say arguments are