Tracing memory address access in kernel

2018-12-04 Thread Pritam Bankar
ble which will track access to specific memory access? I would like to dump stack every time bv_page is accessed or modified Thanks and regards, Pritam Bankar ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.or

System call service routine and interrupt context

2018-04-30 Thread Pritam Bankar
happen in interrupt context until I get open file descriptor in user land? If not when does context change? Thanks and regards, Pritam Bankar ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo

Re: user space vs kernel space address space

2013-12-31 Thread Pritam Bankar
> But all physical memory/frames are eventually controlled by kernel , then >> how can there ever exist a frame which doesn't have mapping with kernel or >> kernel virtual address ? >> >> >> >> >>> Regards, >>> MH >>> >>> >

Re: user space vs kernel space address space

2013-12-30 Thread Pritam Bankar
remaps the frame to user space. > The frame does not have to have a valid kernel virtual address. > > But all physical memory/frames are eventually controlled by kernel , then how can there ever exist a frame which doesn't have mapping with kernel or kernel virtual address ? >

user space vs kernel space address space

2013-12-29 Thread Pritam Bankar
regards, Pritam Bankar ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: Query regarding physically discontiguous memory

2013-12-26 Thread Pritam Bankar
On Wed, Dec 25, 2013 at 9:07 PM, wrote: > On Wed, 25 Dec 2013 14:45:01 +0530, Pritam Bankar said: > > > This is what I don't understand what does it mean by > > > > containing large holes? > > > > physical discontiguous memory? > > > > Is i

Query regarding physically discontiguous memory

2013-12-25 Thread Pritam Bankar
Hi, I just started reading Memory Managment chapter from book Professional Linux Kernel Architecture. At very start of chapter I came across terms FLATMEM, DISCONTIGMEM and SPARSEMEM. Out of these DISCONTIGMEM and SPARSEMEM are available to NUMA systens only. Book also says UMA systems can also ch

Re: question on debug

2013-01-22 Thread Pritam Bankar
e_fault exception? > > > thanks! > > ___ > Kernelnewbies mailing list > Kernelnewbies@kernelnewbies.org > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies Thanks and regards, Pritam Bankar ___ Kernelne

Re: Fedora kernel rpmbuild query

2012-12-26 Thread Pritam Bankar
Hi Shraddha, Please find my comments below, On Wed, Dec 26, 2012 at 1:35 PM, Shraddha Kamat wrote: > Hi List, > > I do the following on Fedora kernel src rpm : > (1) rpm -ivh kernel-xxx.rpm > (2) Go to ~/rpmbuild/SPECS dir > (2) rpmbuild -bp kernel.specs --nodeps > > then in the ~/rpmbuild/BUILD

What is modpost ?

2012-12-03 Thread Pritam Bankar
Hi guys, I want to confirm my understanding regarding modpost and Module.Symvers files. >From my understanding a. modpost is used to add versioning information to module. b. modpost is also used to create mod.c and Module.Symvers files per module c

Re: Fwd: Memory split in 64-bit environment

2012-11-03 Thread Pritam Bankar
use less > bits are required to manage the effective address space than are > required > to address the complete virtual address space. The virtual address > space will contain holes that are not addressable in principle in such > cases. > > hopes this gives high level overview > >

Fwd: Memory split in 64-bit environment

2012-11-02 Thread Pritam Bankar
On Fri, Nov 2, 2012 at 4:26 PM, Mulyadi Santosa wrote: > Hi :) > > On Fri, Nov 2, 2012 at 5:46 PM, Pritam Bankar > wrote: >> But I have some questions, >> >> 1. How is memory split up on 64-bit architecture > > in this URL: > http://unix.stackexchange.c

[no subject]

2012-11-02 Thread Pritam Bankar
do that user or kernel? Thanks, Pritam Bankar ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: Missing __versions section on .ko

2012-09-26 Thread Pritam Bankar
On Mon, Sep 24, 2012 at 9:41 PM, Ramesh.P wrote: > Hi, > > Please see my comments inline. > > On Fri, Sep 21, 2012 at 2:39 PM, Pritam Bankar > wrote: >> Hi Ramesh thanks for great pdf. From whatever I understood after >> reading I fired command modinfo o

Re: Missing __versions section on .ko

2012-09-21 Thread Pritam Bankar
gic.o as part of build process. Please refer > http://lwn.net/images/pdf/LDD3/ch02.pdf, Version dependency section > for more details. > > Thanks, > Ramesh > > On Tue, Sep 18, 2012 at 7:10 AM, Pritam Bankar > wrote: >> On Tue, Sep 18, 2012 at 7:27 PM, Pritam Bankar >>

Re: Missing __versions section on .ko

2012-09-18 Thread Pritam Bankar
On Tue, Sep 18, 2012 at 7:27 PM, Pritam Bankar wrote: > Any idea what causes __versions section to get added in *.ko module. A > simple hello.ko on ubuntu 12.04 i386 machine gets loaded successfully. > Other module just doesn't get loaded giving error " Invalid module "

Missing __versions section on .ko

2012-09-18 Thread Pritam Bankar
ion was missing from second module and that can be the reason its not getting loaded. How can I add this section to other .ko ? What causes __versions to get added in ko ? Thanks, Pritam Bankar ___ Kernelnewbies mailing list Kernelnewbies@kerneln

How to know default gcc flags ?

2012-08-23 Thread Pritam Bankar
How to know default flags used in specific gcc version ? I am looking for difference between 3.4.3 and 4.1.1 These two have some difference regarding -nosse option but how can I find this ? -- Pritam Bankar ___ Kernelnewbies mailing list

How to know which programming model is used on may Linux machine

2012-07-25 Thread Pritam Bankar
) Thanks Pritam Bankar ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

What is difference between declaring long and long int

2012-07-24 Thread Pritam Bankar
Hi, long long x; long long int y; Anybody please tell me, is there any difference between declaring variable with long long and long long int ? Does both declaration mean same thing ? Thanks, Pritam Bankar ___ Kernelnewbies mailing list

no-op error in dmesg

2012-06-18 Thread Pritam Bankar
Hi, I have one structure called foo. Address of object of foo(say objfoo) is passed to ioctl call status = ioctl(fd, arg, &objfoo); But during manipulation I am not getting ioctl error 5 (input/output error). I am more confused about error in dmesg which is *foo: no-op * What does no-op indic

Include guard macro query

2012-04-19 Thread Pritam Bankar
HAS SPECIAL MEANING ??? Thanks -- Pritam Bankar ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: Unable to locate package kernel-headers-XXX

2012-04-02 Thread Pritam Bankar
inux-headers-$(uname -r) > > You can also use > > #apt-cache search linux | grep headers to see what all is available. > > ___ > Kernelnewbies mailing list > Kernelnewbies@kernelnewbies.org > http://lists.kernelnewbies.org/mailman/listinfo/ke

Re: i_block field

2012-04-02 Thread Pritam Bankar
e 127754 (Address of extent or data block)? > what is 8705 &1 ? > > > -- > Regards, > Ganesh Patil. > > > ___ > Kernelnewbies mailing list > Kernelnewbies@kernelnewbies.org > http://lists.kernelnewbies.org/mailman/lis

Re: What is use of apply_alternative function from alternative.c

2012-04-02 Thread Pritam Bankar
Jim , Is it a boot time process ? Can I switch to smp mode in running kernel? On Mon, Apr 2, 2012 at 2:27 PM, Pritam Bankar wrote: > Thanks Andrew , Jim > > > On Tue, Mar 20, 2012 at 8:40 PM, Andrew Case wrote: > >> The feature is called SMP alternatives. See if this articl

Re: What is use of apply_alternative function from alternative.c

2012-04-02 Thread Pritam Bankar
Thanks Andrew , Jim On Tue, Mar 20, 2012 at 8:40 PM, Andrew Case wrote: > The feature is called SMP alternatives. See if this articles helps > you: http://lwn.net/Articles/164121/ > > On Tue, Mar 20, 2012 at 8:54 AM, Pritam Bankar > wrote: > > Hi, > > Cal anyo

What is use of apply_alternative function from alternative.c

2012-03-20 Thread Pritam Bankar
Hi, Cal anyone help me in understanding alternative.c file from Linux source code. I want to learn function apply_alternative. AFAIK this code applies better replacement to instruction set used by processor. But I am not sure what exactly it is doing ? -- Pritam Bankar

Re: Re: Problem with OOM killer killing process even when there is plenty of RAM.

2011-12-09 Thread Pritam Bankar
> Mulyadi Santosa > Freelance Linux trainer and consultant > > blog: the-hydra.blogspot.com > training: mulyaditraining.blogspot.com > > ___ > Kernelnewbies mailing list > Kernelnewbies@kernelnewbies.org > http://lists.kernelnewbies.o

RE: What is RTNL lock?

2011-11-27 Thread Pritam Bankar
Hi, http://lists.openfabrics.org/pipermail/general/2008-July/052458.html This might help you. From: kernelnewbies-boun...@kernelnewbies.org [mailto:kernelnewbies-boun...@kernelnewbies.org] On Behalf Of rohan puri Sent: 28 November 2011 12:36 To: Vimal; kernelnewbies Subject:

RE: a few questions regarding acpi and kernel configuration

2011-11-22 Thread Pritam Bankar
Hi, To cut down drivers you should configure your .config file in your source. You will have to recompile kernel. For pata you have , CONFIG_PATA_AMD=y CONFIG_PATA_OLDPIIX=y CONFIG_PATA_SCH=y This can be set to "n" instead of "y" to remover support of pata. This can be done to other modules also

RE: building linux kernel 3.0.4

2011-11-08 Thread Pritam Bankar
o try using make oldconfig instead of make defconfig. From: Pritam Bankar [mailto:pritambankar1...@gmail.com] Sent: 08 November 2011 00:35 To: kernelnewbies@kernelnewbies.org Subject: Re: building linux kernel 3.0.4 On 07-11-2011 23:15, ashish anand wrote: Hi , I am using vmware on wi

Re: building linux kernel 3.0.4

2011-11-07 Thread Pritam Bankar
On 07-11-2011 23:15, ashish anand wrote: Hi , I am using vmware on windows 7 and try to built kernel version 3.0.4 . I am following this procedure make defconfig make make modules make modules_install make install Every step succeds except make install Its throwing me following message *sh /hom

Re: looking for 3.0 source

2011-09-21 Thread Pritam Bankar
_ > > Kernelnewbies mailing list > > Kernelnewbies@kernelnewbies.org > > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > > > > > _______ > Kernelnewbies mailing list > K