Re: How to debug video in the Linux Kernel?

2018-06-11 Thread Ricardo Ribalda Delgado
Hi John On Thu, Jun 7, 2018 at 2:05 PM John Whitmore wrote: > > Maybe that problem is not in the kernel at all but vlc does display videos > correctly. I've also been through all the vlc settings and can't find anything > that makes a different. Have you tried using qv4l2 from Hans Vekuil:

Re: Why replacing running executable file is forbidden, but overwriting of memory mapped shared object is allowed ?

2017-11-10 Thread Ricardo Ribalda Delgado
I have a possible explanation from a distribution perspective. lets say that you have a binary bin.elf that uses a.so and b.so. A.so is packaged in a.deb and b is packaged in b.deb and bin.elf bin.deb. When you are installing/upgrading bin.deb, the package knows how to stop/start bin.elf, so you

Re: help in the MM Area of the Linux Kernel

2017-10-09 Thread Ricardo Ribalda Delgado
Take a look to this: https://www.youtube.com/watch?v=6S9DDTFyjrY I attended a presentation with the same name in the last Kernel Recipes and was very clarifying. Cheers! On Fri, Oct 6, 2017 at 8:29 PM, Damian Tometzki wrote: > Hello Valdis, > > thank you you for

Re: Eduyptula task 2 doubt.

2016-09-16 Thread Ricardo Ribalda Delgado
The first rule of Fight Club is: You do not talk about Fight Club. The second rule of Fight Club is: You do not talk about Fight Club. Same for Eudyptula On Fri, Sep 9, 2016 at 5:32 AM, Giedrius Statkevičius wrote: > On Thu, Sep 08, 2016 at 05:23:05PM -0700,

Re: Kernel Panic - not syncing: Attempted to kill init! exitcode=0x0000000b

2016-08-22 Thread Ricardo Ribalda Delgado
On Wed, Aug 17, 2016 at 7:05 AM, shobhit bhadani wrote: > >>Which version of kernel are you using? > > I am using kernel 3.8 Are you from the past? 3.8 was released more than 3 years ago!, Around the same day the metor exploted over Russia and the Pope resigned

Re: doubt on schedule_work() - work task getting scheduled lately

2016-07-29 Thread Ricardo Ribalda Delgado
you can use http://lttng.org/ for analyzing this Regards! On Fri, Jul 29, 2016 at 12:44 PM, Pranay Srivastava wrote: > On Fri, Jul 29, 2016 at 4:02 PM, Muni Sekhar wrote: >> Hi All, >> >> I have a doubt regarding the workqueue scheduling. >> >> I am

Re: pushing other commits upstream

2016-07-18 Thread Ricardo Ribalda Delgado
Hi You should take a look to https://www.kernel.org/doc/Documentation/SubmittingPatches , specifically at chapter 11) Sign your work Regards! On Mon, Jul 18, 2016 at 12:28 PM, Daniel Baluta wrote: > On Mon, Jul 18, 2016 at 1:49 AM, Alexander Couzens

Re: Are these books outdated?

2016-07-14 Thread Ricardo Ribalda Delgado
I love this one http://kernel.readthedocs.io/en/sphinx-samples/kernel-hacking.html On Thu, Jul 14, 2016 at 1:01 PM, Aleksander Alekseev wrote: > Hello > > I'm a full-time *nix C developer. I have a pretty good idea how > operating systems work. Still I would like learn more

Re: Bios , Mbr, Grub

2016-07-05 Thread Ricardo Ribalda Delgado
https://git-scm.com/book/en/v2 On 5 Jul 2016 08:16, "Gnoleba GNOGBO" <gnognol...@gmail.com> wrote: > Hi Ricardo ! > > Your link is wrong : not found > Gnoleba > Le 4 juil. 2016 12:10, "Ricardo Ribalda Delgado" < > ricardo.riba...@gmail.com> a

Re: IOMMU

2016-07-04 Thread Ricardo Ribalda Delgado
https://www.youtube.com/watch?v=n07zPcbdX_w On Mon, Jun 27, 2016 at 5:12 PM, Max Ruttenberg wrote: > What does code in drivers/iommu do? What is it responsible for and how would > it relate to a custom kernel module say for a PCI driver? > > -- > Max Ruttenberg, >

Re: Bios , Mbr, Grub

2016-07-04 Thread Ricardo Ribalda Delgado
git clone git://git.savannah.gnu.org/grub.git find grub/boot/i386/pc/ On Mon, Jul 4, 2016 at 11:00 AM, Gnoleba GNOGBO wrote: > Hi ! > > I had read a lot of book and link about initialization of the boot starting > of linux. > > I read that , after the post by the bios the

Question about cc:stable and git send-email

2016-04-25 Thread Ricardo Ribalda Delgado
Hello I was trying to do The right thing (TM) with a patch for a regression. I did my homework and found which commit introduced the error using git blame and also found out when that commit was introduced using git describe. I added the tags: Fixes: XXX () CC: sta...@vger.kernel.org #

Re: Backtrace of every the threads

2016-02-11 Thread Ricardo Ribalda Delgado
Hi Valdis On Wed, Feb 10, 2016 at 2:37 PM, wrote: > > See what happens when you do 'echo t > /proc/sysrq-trigger'. This is exactly what I was needing :) I owe you a beer. > > Note that you probably *don't* actually want a trace of *all* tasks (hint - > what happens on

Re: Backtrace of every the threads

2016-02-10 Thread Ricardo Ribalda Delgado
Hi Anupam On Wed, Feb 10, 2016 at 10:20 AM, Anupam Kapoor wrote: > > > In a multi-threaded program, gdb by default shows the backtrace only for > the current thread. To display the backtrace for several or all of the > threads, use the command thread apply (see thread

Re: Backtrace of every the threads

2016-02-10 Thread Ricardo Ribalda Delgado
at 11:32 AM, Anupam Kapoor <anupam.kap...@gmail.com> wrote: > >>>>>> [2016-02-10T15:06:30+0530]: "Ricardo Ribalda Delgado" (ricardo-delgado): > ,[ ricardo-delgado ] > | Unfortunately not :( But thanks for trying :) > ` > seems to work just fin

Backtrace of every the threads

2016-02-10 Thread Ricardo Ribalda Delgado
Hello I have been debugging a process that makes a syscall which never returned. The problem was the interaction between than process and other kernel threads, due to an error on the way the locks were designed (my bad). Luckily, the error is gone now :). but I was wondering if there is a way to

Re: Does the Community use Coverity ?

2016-01-07 Thread Ricardo Ribalda Delgado
I have been tried twice to join the Linux group on scan.coverity, with no result. Any hint? On Mon, Dec 21, 2015 at 7:22 PM, Jeff Haran wrote: >> -Original Message- >> From: pavi1729 [mailto:pavitra1...@gmail.com] >> Sent: Thursday, December 17, 2015 2:04 AM >> To:

Re: Writing a driver for the Corsair K90 keyboard

2015-08-10 Thread Ricardo Ribalda Delgado
Maybe http://vger.kernel.org/vger-lists.html#linux-input ? On Mon, Aug 10, 2015 at 11:00 AM, Clément Vuchener clement.vuche...@gmail.com wrote: It looks like no one had the answers to these questions. Is there a better place to ask them? Hello. I first sent this email to kernel-mentors, but

When to resend a patchset?

2015-07-18 Thread Ricardo Ribalda Delgado
Hello Usually I was taking the approach of pinging a patch after 21 days of inactivity. This has worked ok in the past, but the last time I have done it I was told that the merge window was open and that nothing could be done at that time. Is there a written guideline to know when to

Re: Userpace serial port

2015-06-11 Thread Ricardo Ribalda Delgado
Hello Greg On Thu, Jun 11, 2015 at 5:52 AM, Greg KH g...@kroah.com wrote: On Wed, Jun 10, 2015 at 02:39:35PM +0200, Ricardo Ribalda Delgado wrote: Nowadays there is a kernel land implementation of ethercat master, but it is not merged (and it is definately not an easy job). And a software

Re: Userpace serial port

2015-06-11 Thread Ricardo Ribalda Delgado
Hello Greg On Thu, Jun 11, 2015 at 4:31 PM, Greg KH g...@kroah.com wrote: real-time performance does not mean it has to be in the kernel at all. And almost no one needs real real-time performance, that's a horrible check-box that people love to claim is needed and yet, almost no one really

Userpace serial port

2015-06-10 Thread Ricardo Ribalda Delgado
Hello I have a serial port accesible via Ehtercat. http://www.beckhoff.dk/english.asp?ethercat/el6001.htm Ethercat is a fancy way of accessing i/o devices via ethernet. You can read/write registers with close to real-time restrictions. Nowadays there is a kernel land implementation of ethercat

Re: Trying to write/read value at PCI BAR address from Kernel Space

2015-04-28 Thread Ricardo Ribalda Delgado
Is this some kind of school/uni assignment? I got a mail from somebody Anil Joshi (without copy to the mailing list) that sent the exact same code snippet Regards ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org

Re: How to get kernel header from my kernel source tree?

2015-04-27 Thread Ricardo Ribalda Delgado
make help make headers_install On Mon, Apr 27, 2015 at 11:40 AM, tianlilai laitianli2...@outlook.com wrote: Hi,Everyone: I have updated the kernel from v2.6.32 to v2.6.36 using my kernel source tree(v2.6.36). so I must provide the new kernel header to the developers of the device driver.

Re: How to read write PCI BAR memory address

2015-04-24 Thread Ricardo Ribalda Delgado
Hello On Fri, Apr 24, 2015 at 8:02 AM, Anil Joshi aj27...@gmail.com wrote: I want to write a byte and read it back to BAR2 for a test simple . Is it possible to write a byte to BAR2 start address You could use /dev/mem mmap it with the required offset. Regards!

Re: User space API for reading register information

2015-04-20 Thread Ricardo Ribalda Delgado
Hello On 15-04-20 16:07:27, manty kuma wrote: In my application, I wish to see the stack pointer allocated to me and if possible the backtrace as well. Is it possible by any standard API? man 3 backtrace ___ Kernelnewbies mailing list

Re: Kernel thread scheduling

2015-04-16 Thread Ricardo Ribalda Delgado
On Thu, Apr 16, 2015 at 4:56 PM, Ruben Safir ru...@mrbrklyn.com wrote: I'm trying to find rb_node's structure and I can't find it with ctags or in the http://lxr.linux.no website. How do you search these things out? When everything else fails, I use grep

Re: Kernel thread scheduling

2015-04-16 Thread Ricardo Ribalda Delgado
On Thu, Apr 16, 2015 at 5:12 PM, Ruben Safir ru...@mrbrklyn.com wrote: On 04/16/2015 11:07 AM, Ricardo Ribalda Delgado wrote: When everything else fails, I use grep ricardo@neopili:~/curro/qtec/qt5022/kernel-cesium$ git grep rb_node { include/ include/linux/rbtree.h:struct rb_node

Mail client for android

2015-02-17 Thread Ricardo Ribalda Delgado
Hello: Since my first contribution I have used gmail as my mail provider. For sending patches I happily use git send-email and when I interact with a kverg list I use my gmail account via web (making sure that the mail is sent in text mode). But when I am travelling and I need to reply to a

Maintainer of .mailmap and CREDITS

2015-02-16 Thread Ricardo Ribalda Delgado
Hello I did send this two patches: [PATCH] CREDITS: Add Ricardo Ribalda Delgado https://lkml.org/lkml/2015/2/9/296 and [PATCH] .mailmap: Add Ricardo Ribalda https://lkml.org/lkml/2015/2/9/295 to the output of get_maintainers.pl Unfortunately, nobody has payed much attention

Re: Asus N53 USB WiFi Driver porting

2014-12-18 Thread Ricardo Ribalda Delgado
Hi Abhishek Thanks for your reply I do not want to backport driver and APIs to buggy old kernels. Fixing broken backward compatibility is all I need. Regards. On Thu, Dec 18, 2014 at 3:48 PM, Abhishek Sharma asharma...@gmail.com wrote: Hi Valdis, Thanks for your reply. I do not want to