Re: /proc/modules not showing any output

2018-12-19 Thread Praveen Kumar
On Wed, Dec 19, 2018 at 10:05 PM Aruna Hewapathirane wrote: > > > > On Wed, Dec 19, 2018 at 11:18 AM Praveen Kumar > wrote: >> >> On Wed, Dec 19, 2018 at 9:28 PM Aruna Hewapathirane >> wrote: >> > >> > >> >> >> >> I th

Re: /proc/modules not showing any output

2018-12-19 Thread Praveen Kumar
On Wed, Dec 19, 2018 at 9:28 PM Aruna Hewapathirane wrote: > > >> >> I think, on my test machine, by default, there are many modules which >> get added during boot up, which with vanilla kernel is not happening. >> Thanks for your input. >> >> Regards, >> >> ~Praveen. >> > > What does lsmod show

Re: /proc/modules not showing any output

2018-12-19 Thread Praveen Kumar
On Wed, Dec 19, 2018 at 8:36 PM Greg KH wrote: > > On Wed, Dec 19, 2018 at 06:52:39PM +0530, Praveen Kumar wrote: > > Hi All, > > > > Compiled the vanila kernel 4.20.0-rc6 build, and was trying to get > > module information, but /proc/modules is not showing any

/proc/modules not showing any output

2018-12-19 Thread Praveen Kumar
Hi All, Compiled the vanila kernel 4.20.0-rc6 build, and was trying to get module information, but /proc/modules is not showing any output ( both on arm64 and x86_64 ) root@ubuntu:~# uname -a Linux ubuntu 4.20.0-rc6-00082-g65e08c5e8631 #7 SMP PREEMPT Fri Dec 14 15:54:30 IST 2018 aarch64 aarch64 a

Re: Free Linux/Ubuntu VMs for Kernal Development?

2017-03-15 Thread Praveen Kumar
Hello, A bit confused with "free Linux/Ubuntu VMs". Do you mean you looking for VM image ( to directly run your tests ) or an emulator to create VMs locally and play around. For the first, I have not tried with. Probably vmware images can be found at : http://www.osboxes.org/vmware-images/ But,

Bio flags

2016-07-06 Thread Praveen Kumar
Hi, I am porting some of file system related code from 3.0.101 kernel to 4.4.13 kernel and found that the number of bio flags have been reduced from 13 to 8 and some of the which been removed are : BIO_UPTODATE BIO_RW_BLOCK BIO_EOF BIO_EOPNOTSUPP ... I was unable to find much in the documentati

What is negative lookup in linux filesystem

2015-10-05 Thread Praveen Kumar
Hi, I am trying to understand the path-lookup in linux filesystem and was going through https://www.kernel.org/doc/Documentation/filesystems/path-lookup.txt Under 'Rename' heading, I came across the negative lookup terminology, snapshot below 'Between deleting the dentry from the old hash list,

Re: Xserver on framebuffer (/dev/fbX)

2014-07-08 Thread Praveen Kumar Pendyala
. Current > problems are the result of current thinking ยป > -- Praveen Kumar Pendyala, Senior Undergraduate, Department of Electrical Engineering, IIT Bombay. http://home.iitb.ac.in/~praveendath92/ ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Xserver on framebuffer (/dev/fbX)

2014-07-08 Thread Praveen Kumar Pendyala
Hello, I have a kernel framebuffer driver which creates a new framebuffer device at /dev/fbX (X = 1 or 2 generally). Now I want to run a Xserver on this framebuffer. Can someone please give some pointers on how to do this? My code is available at https://github.com/praveendath92/udlfb (a fork of d

Alternative for API system() in multi-threaded app

2013-04-22 Thread Praveen kumar
I was trying to replace system() API in my multi-threaded app as it is suggested not to any calls in multi-threaded app which uses fork(). When I was going through the man pages of fork()..in the Notes section I found * "Since version 2.3.3, rather than invoking the kernel's fork() system

Some Links for Easy Understanding of Linux of Kernel Source code

2013-03-05 Thread praveen kumar
Hello all I am a collage student and i need some link so to under stand kernel source code easily and also how to do IPC programming thank you ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/k

Migrating from SA_INTERRUPT to IRQF_DISABLED...

2012-04-11 Thread Praveen kumar
Hi, There is an old bug come up while migrating from 2.6.18 to 2.6.33The interrupts were generating correctly in 2.6.18 where the interrupt was registered using SA_INTERRUPT then while migrating to 2.6.33 this has been changed to IRQF_DISABLED this is the only change in migration... after doing

Re: USB controller status

2012-01-17 Thread Praveen kumar
code (like lsusb.c etc ).. Thanks , Praveen On Mon, Jan 16, 2012 at 11:07 PM, Greg KH wrote: > On Mon, Jan 16, 2012 at 04:15:09PM +0530, Praveen kumar wrote: > > Hi All, > > As part of diagnostics I have to make sure the USB controller is > > configured correctl

USB controller status

2012-01-16 Thread Praveen kumar
Hi All, As part of diagnostics I have to make sure the USB controller is configured correctly. Can I get this information from any entry in /sys or /proc ?? If yes where ?? If no I plan to add a exclusive entry in the driver to do my diagnostics. Is that feasible by reading some of the reg

Re: Getting Information from Multiple nodes

2011-11-17 Thread Praveen kumar
wrote: > On Wed, 2011-11-16 at 18:00 +0530, Praveen kumar wrote: > > Hi All, > > I have a I2C chip driver,and there are two identical chips on > > two different i2c bus. > > I have registered the driver and initialized it and created two > > nodes /dev/chip_0 and

Getting Information from Multiple nodes

2011-11-16 Thread Praveen kumar
Hi All, I have a I2C chip driver,and there are two identical chips on two different i2c bus. I have registered the driver and initialized it and created two nodes /dev/chip_0 and /dev/chip_1 If I open the node from user how will I make driver identify which device to access .ie in the ioct

Re: Locking IOCTL

2011-11-15 Thread Praveen kumar
. Thanks Praveen On Tue, Nov 15, 2011 at 1:28 PM, Dave Hylands wrote: > Hi Praveen, > > On Mon, Nov 14, 2011 at 11:22 PM, Praveen kumar > wrote: > > > > Hi All, > > I have a situation where I have to lock the ioctl provided in my driver. > I > > have a uni

Locking IOCTL

2011-11-14 Thread Praveen kumar
Hi All, I have a situation where I have to lock the ioctl provided in my driver. I have a uni processor (ARM) system. I am using Mutex as the lock for my ioctl. DEFINE_MUTEX(&lock_ioctl); MyIoctl() { Mutex_lock(&lock_ioctl); Switch(){ ... } Mutex_unlock(&lock_ioctl); return 0; } I just wan

RE:Limiting the Input Ethernet Throughput

2011-03-16 Thread Praveen kumar
Hi All, I want to limit my system input Ethernet through put to < 10MBps ,i e if i get the through put > 10mbps my system should not process it.I there any way to do it in the user space . I hope that we can achieve this by dig in in to driver .Is there any simpler way to do it?? Thanks and Regard

Debugging memset crashes

2011-02-23 Thread Praveen kumar
Hi, I have an embedded system on which i get crash (Caused by memset ) at long run( Reproducible 2/10 times ), I wanted to know efficient ways (materials) to handle memset crashes . *Program terminated with signal 11, Segmentation fault. * #0 memset (dstpp=0xd2, c=, len=3374) at ../../../src

Adding Module to kernel

2011-01-04 Thread Praveen kumar
Dear All, I have a kernel module which i want to add to kernel permanently(I was doing it dynamically) . How can we achieve this ? Regards, Praveen ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/lis