Creation Of New Partition in EMMC

2013-03-06 Thread Ranganath T.M
Hi All, I am trying to create new partition (p7) in emmc, presently I am having 6 partition in emmc(p1 to p6). I am not able to get some pointers can any one help me. And also I tried to give new partition in uboot_envparameters_android.cfg i,e by adding another size and offset in it. But it

Query on skb buffer

2013-03-06 Thread Kumar amit mehta
My current understanding is that the skb, while being passed along various layers in linux network stack, will be manipulated majorly, using the skb-{head|data|tail|end|len} fields. Suppose that my application (say 'ping') sends a ICMP echo request with a large packet size of 4k, i.e. $ ping -s

Re: Query on skb buffer

2013-03-06 Thread Valdis . Kletnieks
On Wed, 06 Mar 2013 10:39:13 -0800, Kumar amit mehta said: Now, if alloc_skb(4096, GFP_KERNEL) is the routine that gets called to allocate the kernel buffer then, how does the kernel manages such prospective memory allocation failures and how kernel manages large packet requests from the

Several unrelated beginner questions.

2013-03-06 Thread Konstantin Kowalski
Hello everyone, I am interested in Linux kernel programming (and OS kernels and general), and I am currently reading several books about Linux kernel. I have a few questions about it: 1.) Currently, I am reading 2 books about Linux kernel: Linux Device Drivers (3rd edition) and Linux Kernel

Re: Several unrelated beginner questions.

2013-03-06 Thread Gaurav Jain
Specifically regarding (3) and (4), please refer to this: http://unixtravails.blogspot.ch/2012/07/linux-versioning-system-and-development.html Best Regards Gaurav Jain On Thu, Mar 7, 2013 at 12:19 AM, Konstantin Kowalski kostya-...@mail.ruwrote: Hello everyone, I am interested in Linux

Re: Several unrelated beginner questions.

2013-03-06 Thread Valdis . Kletnieks
On Wed, 06 Mar 2013 18:19:09 -0500, Konstantin Kowalski said: 1.) Currently, I am reading 2 books about Linux kernel: Linux Device Drivers (3rd edition) and Linux Kernel Development (3rd edition). I like both books and I am learning a lot from them. I heard that both of this books are

zap_low_mappings

2013-03-06 Thread ishare
kernel halts because the page mapping has been modified by zap_low_mappings , why we should do zap_low_mappings in init procedure ? this will disorder the page mapping. thanks! ___ Kernelnewbies mailing list

Re: zap_low_mappings

2013-03-06 Thread Valdis . Kletnieks
On Thu, 07 Mar 2013 10:33:18 +0800, ishare said: kernel halts because the page mapping has been modified by zap_low_mappings why we should do zap_low_mappings in init procedure ? this will disorder the page mapping. You might want to get yourself an up to date kernel, as the code

Re: zap_low_mappings

2013-03-06 Thread ishare
sorry for my outof date kernel . In the zap_low_mappingd function.there is a selection for kernel,as below: #ifdef CONFIG_X86_PAE set_pgd(swapper_pg_dir+i, __pgd(1 + __pa(empty_zero_page))); #else set_pgd(swapper_pg_dir+i, __pgd(0)); #endif If I have not

Re: zap_low_mappings

2013-03-06 Thread Valdis . Kletnieks
On Thu, 07 Mar 2013 11:43:43 +0800, ishare said: set_pgd(swapper_pg_dir+i, __pgd(0)); If I have not define CONFIG_X86_PAE ,then the low mem will be invalided all . And what makes you think that call invalidates *all* the page mappings? pgpwj47K1DPrA.pgp Description: PGP

Re: zap_low_mappings

2013-03-06 Thread ishare
On Wed, Mar 06, 2013 at 11:00:36PM -0500, valdis.kletni...@vt.edu wrote: On Thu, 07 Mar 2013 11:43:43 +0800, ishare said: set_pgd(swapper_pg_dir+i, __pgd(0)); If I have not define CONFIG_X86_PAE ,then the low mem will be invalided all . And what makes you think that call

RE:Query on skb buffer (Kumar amit mehta)

2013-03-06 Thread Pranay Kumar Srivastava
-Original Message- From: kernelnewbies-boun...@kernelnewbies.org [mailto:kernelnewbies- boun...@kernelnewbies.org] On Behalf Of kernelnewbies- requ...@kernelnewbies.org Sent: Thursday, March 07, 2013 8:52 AM To: kernelnewbies@kernelnewbies.org Subject: Kernelnewbies Digest, Vol

Reading the framebuffer area.

2013-03-06 Thread manty kuma
Hi everyone, Request you to kindly go through the question posted here on SO: http://stackoverflow.com/questions/15264188/reading-the-protected-framebuffer-linux-android *Reason why i am asking here :* Because i think this has got to do with linux display drivers.. or some kernel changes..