Re:

2015-09-17 Thread leo kirotawa
You need to install openssl-devel, so it'll fix this issue :) On Fri, Sep 18, 2015 at 1:49 AM, Shraddha Barke wrote: > I updated my local kernel repository with all recent commits using the > following commands- > git checkout staging-next > git pull > > After that when

Re: Help debugging linux-next.

2015-09-13 Thread leo kirotawa
git bisect would be a choice. Seems your issue is around i915, that is related to intel graphics, isolate commits in this area would be another way On Sun, Sep 13, 2015 at 2:09 PM, Lucas Tanure wrote: > Hi, > > I would like some tips about how debug a issue with linux-next. >

Re: module debugging

2015-08-21 Thread leo kirotawa
IMO, I believe if you module is using/hanging all processors it's impossible to kernel use any to print stuffs. What about try Sysrq [1] ? I used it once in a power system plus xmon, but I'll be honest not sure how it works on x86. https://www.kernel.org/doc/Documentation/sysrq.txt On Fri, Aug

Re: Safety in Kernel Development

2015-08-18 Thread leo kirotawa
For memory leaks kernel has a clever mechanism to verify it that you can enable in .config for use [1]. You can also uses Sparse in kernel for static analyze purpose. There are others out there such as coverity scan, coccinelle, etc. [1] https://www.kernel.org/doc/Documentation/kmemleak.txt

Re: how to delete kernels cleanly

2015-07-22 Thread leo kirotawa
I often delete files related to these kernels in /boot/, then grub2-mkconfig -o /boot/grub/grub.cf , but I'm quite sure lib/modules will still remain On Wed, Jul 22, 2015 at 11:41 AM, Ahmed Soliman ahmedsoliman0x...@gmail.com wrote: I have many kernels on my machine and I want to delete some of

Re: what is the use of #ifndefs

2015-07-20 Thread leo kirotawa
it means you don't want to redefine a .h file On Mon, Jul 20, 2015 at 7:03 AM, Ahmed Soliman ahmedsoliman0x...@gmail.com wrote: currently I started reading through the linux kernel and I started reading liunx/include/linux/list.h I understood some of the functions but still I dont know what

Re: 4.1-rc1 fails with O3 optimization

2015-04-28 Thread leo kirotawa
I could boot it using qemu. So what's the point? On Tue, Apr 28, 2015 at 2:41 AM, Andev debian...@gmail.com wrote: On Mon, Apr 27, 2015 at 9:00 PM, Bobby Powers bobbypow...@gmail.com wrote: Hello, Andev wrote: I usually compile my kernel with an unsupported O3 option(why not? :).

Re: 4.1-rc1 fails with O3 optimization

2015-04-28 Thread leo kirotawa
that .config you sent is for 4.0-rc2, is that right? here is the diff after a make oldconfig [1] [1] http://pastebin.com/4Lfs2it0 On Tue, Apr 28, 2015 at 12:35 PM, Andev debian...@gmail.com wrote: On Tue, Apr 28, 2015 at 9:03 AM, leo kirotawa kirot...@gmail.com wrote: I could boot it using

Re: 4.1-rc1 fails with O3 optimization

2015-04-28 Thread leo kirotawa
With this .config you sent kernel does not boot. On Tue, Apr 28, 2015 at 1:46 PM, leo kirotawa kirot...@gmail.com wrote: that .config you sent is for 4.0-rc2, is that right? here is the diff after a make oldconfig [1] [1] http://pastebin.com/4Lfs2it0 On Tue, Apr 28, 2015 at 12:35 PM

Re: 4.1-rc1 fails with O3 optimization

2015-04-28 Thread leo kirotawa
Yep, I can try. Do you know when this issue start ? On Tue, Apr 28, 2015 at 3:18 PM, Andev debian...@gmail.com wrote: On Tue, Apr 28, 2015 at 1:40 PM, leo kirotawa kirot...@gmail.com wrote: With this .config you sent kernel does not boot. Yup, could you try to bisect what commit is causing

scatterlist copy to buffer and copy back

2015-03-26 Thread leo kirotawa
Hi there, I'm facing with an issue that from a module the user sends a scatterlist which has sizes not power of two and because that I can not handle it properly in my module in other side. An example is: - scatterlist entries size 3 and data size 4096. - in other side module needs to build

Re: Skb Documentation?

2014-08-14 Thread leo kirotawa
git grep is your friend. :) http://www.linuxjournal.com/article/1312 On Thu, Aug 14, 2014 at 1:40 PM, Nick Krause xerofo...@gmail.com wrote: After searching around in the documentation directory, I need no information on skb data structure and other information relating to skb data type. If

Re: Eudyptula Challenge Submission and no response?

2014-06-05 Thread leo kirotawa
Sometimes they take a long time to answer, maybe they are stuck again, just be patient and resend :) On Thu, Jun 5, 2014 at 10:10 AM, Kristofer Hallin kristofer.hal...@gmail.com wrote: Guess the scripts are somewhat busy, give them a few more days. On Thu, Jun 5, 2014 at 3:05 PM, Fernando

Re: How to fix ubuntu 12.10 can't start with kernel 3.15?

2014-05-21 Thread leo kirotawa
Did you type make modules ? It's sounding as module issue. On Wed, May 21, 2014 at 10:16 AM, lx lxlenovos...@gmail.com wrote: hi all: I get the kernel in branch: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git And I config and make it by: make localmodconfig make make

Re: Eudyptula Challenge Task 02 Doubt

2014-05-16 Thread leo kirotawa
I sent the first lines from dmesg, it shows the info of system boot. On Sat, May 17, 2014 at 2:08 AM, me storage me.storage...@gmail.com wrote: Hai i successfully completed task 2 but i don't what files i have to send for proof. So can any one please tell me how to prove the custom kernel is

Re: Linux Device Driver

2014-05-05 Thread leo kirotawa
Book I would recommend: Linux Devices Drivers [1]. And to get familiar with kernel stuff [2] [1] https://lwn.net/Kernel/LDD3/ [2] http://eudyptula-challenge.org/ []'s On Mon, May 5, 2014 at 11:16 AM, Saurabh Jain saurabh4768j...@gmail.com wrote: Hello everyone! I am new to Linux Kernel . i

Re: Linux Device Driver

2014-05-05 Thread leo kirotawa
As they say, kernel code is the better and updated source/documentation. There is no an updated book. =) On Mon, May 5, 2014 at 11:37 AM, Lucas Tanure tan...@linux.com wrote: Yeah, but https://lwn.net/Kernel/LDD3/ it's a little bit old. -- --

Re: How can I send multiple patches?

2013-10-31 Thread leo kirotawa
I like to think that if they applies to different parts , all separate is better. On Thu, Oct 31, 2013 at 1:55 PM, Aldo Iljazi m...@aldo.io wrote: Hello everyone, I have a question. Let's say I have four patches, how can I send them? Should I send them one-by-one or can I send them all

Re: kexec

2013-10-04 Thread leo kirotawa
Sorry, silly question, but did you try as root? kexec load tries to put the knew kernel on memory and after that tries a syscall to kexec_load to finish with a kexec_reboot, since it handles with mem and syscalls maybe just as a root you will run it properly Also have that

Kexec sys call code

2013-04-10 Thread leo kirotawa
Hi, I'm working in a project and there I need use kexec code to do somethings. I read a lot of the kexec-tools code (user-land) and kexec-sys call (k-land) and I'd like to be sure about some arguments there. In kexec we have that kexec_image and into it that nr_segments and the segments itself.

Re: Will kernel in-place decompression overwrite uncompressed part ?

2013-03-08 Thread leo kirotawa
I don't know if it can help you, but let's try. [1] What I understand about that is. The compressed kernel is in fact a bzImage or some zImage kernel, and it is a file. As the link says in that compressed file we have this header that makes some early configurations. The kernel is uncompressed