Re: Reserve physical page

2011-08-06 Thread Thayumanavar S
Hello everyone,    I am wondering whether it is possible to reserve a particular physical page in the kernel. The GFP pages can start from _any_ location, and i cannot find a way to specify a starting pfn. I need a few dozen pages to store a bitmap starting at a particular physical page

Re: Query about UIO

2011-07-07 Thread Thayumanavar S
); the offset need in page units, vm_pgoff is the offset in page. to map nth mem, you need to do (n-1)PAGE_SHIFT(n-1* page size specific to arch). in mmap call, ultimately in the kernel vm_pgoff = offset PAGE_SHIFT which is index into uio_mem array. thanks, thayumanavar s

Re: Seeing symbols of modules in kgdb setup

2011-05-10 Thread Thayumanavar S
/sections/.data cat /sys/module/mymod/sections/.bss Recent kernel versions contain kgdb as part of the mainline kernel and no need to apply any kernel patches if you use this kernel. Thanks, Thayumanavar S. ___ Kernelnewbies mailing list Kernelnewbies

Re: Debug Kernel Crash

2011-03-31 Thread Thayumanavar S
and you have set kdump level to dump everything. thx,thayumanavar s. ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies