Difference between atomic context and interrupt context.

2018-04-02 Thread Madhu K
Hi All, what is the difference between atomic context and interrupt context. are they both same? regards, Madhu ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: How Kernel command line parameters passed to kernel.

2017-06-01 Thread Madhu K
ernel command line" arguments. Thanks Madhu On Thu, Jun 1, 2017 at 11:45 AM, Madhu K wrote: > > > On Thu, Jun 1, 2017 at 11:27 AM, Amit Kumar > wrote: > >> >> On Thu, Jun 1, 2017 at 11:07 AM Madhu K wrote: >> >>> Hi All, >>> >>> I

Re: How Kernel command line parameters passed to kernel.

2017-05-31 Thread Madhu K
On Thu, Jun 1, 2017 at 11:27 AM, Amit Kumar wrote: > > On Thu, Jun 1, 2017 at 11:07 AM Madhu K wrote: > >> Hi All, >> >> I have a doubt, how kernel command line parameters are passed to kernel >> space. Before device tree, we used to pass command line parameters

How Kernel command line parameters passed to kernel.

2017-05-31 Thread Madhu K
Hi All, I have a doubt, how kernel command line parameters are passed to kernel space. Before device tree, we used to pass command line parameters using ATAGS. But after device tree we are not using ATAGS. How we are passing command line parameters to kernel space? Thanks & regards, Madhu ___

Re: understanding of sysfs.

2017-05-28 Thread Madhu K
On Tue, May 23, 2017 at 2:53 PM, Greg KH wrote: > On Tue, May 23, 2017 at 12:58:07PM +0530, Madhu K wrote: > > Hi Greg, > > > > Thanks for your response. > > > > > > On Tue, May 23, 2017 at 12:04 PM, Greg KH wrote: > > > > On T

Re: understanding of sysfs.

2017-05-23 Thread Madhu K
Hi Greg, Thanks for your response. On Tue, May 23, 2017 at 12:04 PM, Greg KH wrote: > On Tue, May 23, 2017 at 11:58:31AM +0530, Madhu K wrote: > > Hi All, > > > > why there is no character device entry present in /sys/class? where as > block > > and net device

understanding of sysfs.

2017-05-22 Thread Madhu K
Hi All, why there is no character device entry present in /sys/class? where as block and net device entries are present. Not only in /sys/class, for that matter why there is no character device entries present in /sys file system. please help me to understand for what purpose char devices are ke

Importance of kobject

2017-05-17 Thread Madhu K
Hi All, I am kernel newbie, I want to know the importance of kobject, can anybody explain the importance of kobject with an example. Thanks in advance. Madhu ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/

Re: insmod error

2017-02-11 Thread Madhu K
Hi Aruna, Thank you so much for your information, Thanks, Madhu On Sat, Feb 11, 2017 at 9:15 PM, Aruna Hewapathirane < aruna.hewapathir...@gmail.com> wrote: > > >> Please help me out to understand below message mean. > > >> ubuntu@ubuntu-armhf:/home/Madhu/i2c$ dmesg > >> [ 704.283100] i2c_cli

Re: insmod error

2017-02-11 Thread Madhu K
Alexander Kapshuk < alexander.kaps...@gmail.com> wrote: > On Sat, Feb 11, 2017 at 3:28 PM, Madhu K wrote: > > Hi All, > > > > I have built a kernel module against a 4.9.2 for arm board. while > inserting > > this kernel module I am getting below message which is hig

insmod error

2017-02-11 Thread Madhu K
Hi All, I have built a kernel module against a 4.9.2 for arm board. while inserting this kernel module I am getting below message which is high lighted in red color what exactly mean loading out-of-tree module. what could be the possible reason to get this message? Please help me out to understan

IDE for Kernel code browsing

2016-12-14 Thread Madhu K
Hi All, Anybody is using Kscope for kernel source code browsing?, if yes please share the information to enable fields present in "Query" tab. Thanks & regards, Madhu ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnew

Understanding Platform devices and platform drivers.

2016-11-06 Thread Madhu K
Hi All, I am trying to understand the concept of platform device and platform driver, my very basic question is that, the devices and data which is present in device tree represents platform devices and platform data? Regards, Madhu ___ Kernelnewbies ma

Re: Device Tree

2016-10-25 Thread Madhu K
Hi Valdis, You mean In non embedded system( laptop, desktop and server ) DT is not at all required? Regards, Madhu On Tue, Oct 25, 2016 at 1:09 PM, wrote: > On Tue, 25 Oct 2016 11:51:38 +0530, Madhu K said: > > > If in case Device tree is not there, where and how to pass

Device Tree

2016-10-24 Thread Madhu K
Hi All, This is to understand how Device tree works in linux kernel. If in case Device tree is not there, where and how to pass the hardware information to the linux kernel. Does all embedded systems contains Device tree? Regards, Madhu ___ Kernelnewb

Re: Virtual Address Space

2016-10-02 Thread Madhu K
Hi All, Thank you so much for all your answers. Regards, Madhu On Sun, Oct 2, 2016 at 8:22 AM, Arshad Hussain wrote: > > On 30-Sep-2016, at 10:10 pm, Román Martínez wrote: > > > Hi, > > > > I compile main.s and it generates main.o. With objdump I can see: > > > > <_start>: >

Re: insmod failing to insert a simple module

2016-09-29 Thread Madhu K
ringfireball.net/2007/07/on_top > > On Thu, Sep 29, 2016 at 05:31:52PM +0530, Madhu K wrote: > > No it is not the requirement, when I downloaded the source "4.0.5-rc7+" > was > > latest. Is there any problem with 4.0.5-rc7+? > > I do not understand these two sen

Re: insmod failing to insert a simple module

2016-09-29 Thread Madhu K
Hi, uname -a output : Linux BLR-PCUB-01141 4.5.0-rc7 #2 SMP Wed Mar 23 15:51:13 IST 2016 x86_64 x86_64 x86_64 GNU/Linux And my modinfo of my module is : icense:Dual BSD/GPL srcversion: 1D16256F51E63BC3632B65B depends: vermagic: 4.5.0-rc7+ SMP mod_unload modversions 686 So bo

Re: insmod failing to insert a simple module

2016-09-29 Thread Madhu K
No it is not the requirement, when I downloaded the source "4.0.5-rc7+" was latest. Is there any problem with 4.0.5-rc7+? Thanks, Madhu On Thu, Sep 29, 2016 at 4:54 PM, Greg KH wrote: > On Thu, Sep 29, 2016 at 03:26:49PM +0530, Madhu K wrote: > > Hi All, > > > >

Re: insmod failing to insert a simple module

2016-09-29 Thread Madhu K
> > On Thu, Sep 29, 2016 at 5:56 AM, Madhu K wrote: > >> Hi All, >> >> While inserting a kernel module, insmod is failing with following error. >> >> insmod: error inserting 'page_walk.ko': Invalid module format. >> >> I verified the modin

insmod failing to insert a simple module

2016-09-29 Thread Madhu K
Hi All, While inserting a kernel module, insmod is failing with following error. insmod: error inserting 'page_walk.ko': Invalid module format. I verified the modinfo of "page_walk.ko" it is showing version magic as : 4.0.5_rc7+ SMP mod_unload modversions 686 what does "mod_unload" mean here?

Re: Virtual Address Space

2016-09-28 Thread Madhu K
Hi, Even I read somewhere, during compilation, compiler will take the linker script as input and it will generate the virtual addresses. Thanks, Madhu On Wed, Sep 28, 2016 at 2:44 PM, Augusto Mecking Caringi < augustocari...@gmail.com> wrote: > On Wed, Sep 28, 2016 at 6:06 AM, Madhu

Re: Virtual Address Space

2016-09-28 Thread Madhu K
whom? Thanks On Wed, Sep 28, 2016 at 11:35 AM, Arun Sudhilal wrote: > Hello Madhu, > > On Wed, Sep 28, 2016 at 10:36 AM, Madhu K wrote: > > Hi All, > > > > This is to understand the Virtual address space.Basically who generates > the > > virtual address

Re: Virtual Address Space

2016-09-28 Thread Madhu K
Hi Greg, As I understand CPU's work is Fetch, Decode and Execute. How can CPU generate virtual address.please correct me if my understanding is wrong. Thanks Madhu On Wed, Sep 28, 2016 at 11:39 AM, Greg KH wrote: > On Wed, Sep 28, 2016 at 10:36:59AM +0530, Madhu K wrote: &g

Virtual Address Space

2016-09-27 Thread Madhu K
Hi All, This is to understand the Virtual address space.Basically who generates the virtual addresses CPU or GNU compiler? Thanks Madhu ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kerne

Re: SMP on different cores.

2016-09-23 Thread Madhu K
ep 22, 2016 at 5:47 PM, Greg KH wrote: > On Thu, Sep 22, 2016 at 04:46:12PM +0530, Madhu K wrote: > > Hi All, > > > > If i want to enable SMP, cores should be of same version( ex: both > > core should ARM 7 ) or we could enable SMP on different version. > > D

SMP on different cores.

2016-09-22 Thread Madhu K
Hi All, If i want to enable SMP, cores should be of same version( ex: both core should ARM 7 ) or we could enable SMP on different version. Thanks Madhu ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailm

Re: Difference between config, menuconfig and defconfig

2016-09-19 Thread Madhu K
all, is my understanding correct?, if not please correct me. Thanks Madhu On Mon, Sep 19, 2016 at 12:23 PM, Andrea D'Amore wrote: > On 19 September 2016 at 07:43, Madhu K wrote: > > I am Kernel newbie, I want to know the difference between config, > menuconfig > > and defconf

Difference between config, menuconfig and defconfig

2016-09-18 Thread Madhu K
Hi All, I am Kernel newbie, I want to know the difference between config, menuconfig and defconfig. Thanks, Madhu ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

initrd in embedded systems

2016-09-07 Thread Madhu K
Hi All, I have one doubt, does all embedded system with Linux as operating system have initrd? Thanks & regards, Madhu ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Documentation/DocBook build error.

2016-08-11 Thread Madhu K
Hi All, I was trying to build Documentation/DocBook, but build is failing with below error. what could be the reason for below error?. I am using Ubntu 14.04 LTS, and my kernel version is 4.5.0-rc7 dsp@BLR-PCUB-01141:/usr/src/linux-stable$ sudo make pdfdocs PDF Documentation/DocBook/devic

one more new Bie

2016-08-08 Thread Madhu K
Hi Saket Sinha, I am also kernel newbie, I started Eucalyptula challenge challenge 4 months back, till now I have completed 4 tasks and submitted result for 5th task two months back, till now I have not received any response from little. So during this time I wanted occupy with other kernel stuff

Re: Udev rule for USB keyboard

2016-08-05 Thread Madhu K
Just to understand how Udev rules works. On Fri, Aug 5, 2016 at 3:19 PM, Greg KH wrote: > On Fri, Aug 05, 2016 at 02:07:34PM +0530, Madhu K wrote: > > Hi All, > > > > Can anybody share the procedure to write an Udev rule to detect the USB > > keyboard during hot plu

Udev rule for USB keyboard

2016-08-05 Thread Madhu K
Hi All, Can anybody share the procedure to write an Udev rule to detect the USB keyboard during hot plug. Thanks®ards, Madhu ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies