Re: [PATCH] staging: Fix spacing between function name and parentheses

2014-10-11 Thread Kristofer Hallin
Don't. Haven't you learnt anything from your previous attempts? ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: [PATCH] staging: Fix spacing between function name and parentheses

2014-10-11 Thread Kristofer Hallin
Even if you use checkpath you _should_ understand what you are changing. The output of checkpatch merely there to help. In this case you can see that this is a macro just a few lines up in the code. On 11 Oct 2014 11:46, "Sudip Mukherjee" wrote: > I agree. But in my opinion checkpatch is here to

Re: Checkpatch Patches

2014-09-16 Thread Kristofer Hallin
On Tue, Sep 16, 2014 at 8:29 PM, Nick Krause wrote: > On Tue, Sep 16, 2014 at 1:39 PM, wrote: >> On Tue, 16 Sep 2014 13:28:06 -0400, Rik van Riel said: >>> -BEGIN PGP SIGNED MESSAGE- >> >>> On 09/16/2014 01:12 PM, Nick Krause wrote: >>> >>> > I am going to resend my patch and see if it's

Re: Checkpatch Patches

2014-09-16 Thread Kristofer Hallin
I wouldn't touch those with a ten foot pole. On 16 Sep 2014 14:46, "nick" wrote: > I am attaching two check patch patches I wrote in the last few days as I > am unable to get a reply > from the maintainers. Would someone please send them off for me. > Thanks, > Nick > > __

Re: Makefile for a single source file

2014-09-13 Thread Kristofer Hallin
Is this part of the Eudyptula Challenge? On 13 Sep 2014 16:35, "Kevin Wilson" wrote: > Hi, > I have a single source file which I wrote, implementing a kernel > module: helloworld.c > > In order to built it, I prepared the following Makefile: > > obj-m += helloworld.o > > all: > make -C /lib/

Re: Trial Patch

2014-09-10 Thread Kristofer Hallin
This is exactly the same patch as you sent last time. And it's still wrong. Nick, just out of curiosity: How old are you? On Wed, Sep 10, 2014 at 1:26 PM, nick wrote: > > > On 14-09-10 12:49 AM, valdis.kletni...@vt.edu wrote: >> On Tue, 09 Sep 2014 23:53:50 -0400, nick said: >>> Build Error. Fix

Re:?

2014-08-29 Thread Kristofer Hallin
But _why_ would you port it? What is the reason behind that? That's just a lot of work for no reason. On 29 Aug 2014 17:53, "Ravi Raj" wrote: > Hii Valdis, > Thank you for the response.We dont want to buy a board > with pre-configured linux, that is the first point why i asked y

Re: Board and OS suggestion

2014-08-27 Thread Kristofer Hallin
What do you mean with a secure OS? What do you need it to do? (Also, is this related to the kernel?) On 28 Aug 2014 07:04, "Robert Clove" wrote: > Hi All, > > > As much of you will be doing experiments i need your advice. > I want to run some secure OS on an embedded platform like raspberry pi o

Re: quick help - linux Industrial IO Hardware Triggers

2014-08-20 Thread Kristofer Hallin
Try search for linux-iio using Google and click on the first link [1]. Also, take a look on vgers list index [2]. [1] http://wiki.analog.com/software/linux/docs/iio/iio [2] http://vger.kernel.org/vger-lists.html On 21 Aug 2014 05:40, "Sricharan Chalasani" wrote: > Hi all, > > I have a query on L

Re: [PATCH] usb: Fix switch statement in ohci-tmio.c

2014-08-14 Thread Kristofer Hallin
Please Nick, stop spamming the list with your patches. I _really_ doubt that anyone ever will try to get your patches merged since you've managed to get banned from vger and got a somewhat flawed reputation. On Thu, Aug 14, 2014 at 8:06 PM, Nick Krause wrote: > On Thu, Aug 14, 2014 at 2:05 PM, Ni

Re: Where is the source code of udev?

2014-08-11 Thread Kristofer Hallin
What about the first hit on Google? http://cgit.freedesktop.org/systemd/ On 11 Aug 2014 10:32, "Saket Sinha" wrote: > Hi Greg, > > The link does not exist anymore. Let me know if you have the link of > the > git repo of systemd. > > Regards, > Saket Sinha > > > On Mon, Aug 11, 2014 at 12:

Re: Help with git

2014-08-08 Thread Kristofer Hallin
Thinking about the same thing. This list is not interesting any more. On 8 Aug 2014 20:28, "Robert P. J. Day" wrote: > On Fri, 8 Aug 2014, Kristofer Hallin wrote: > > > This list is now discussing Nick's problems all the time and nothing > > else. > &g

Re: Help with git

2014-08-08 Thread Kristofer Hallin
But still, the best thing for Nick to do is to stay away from patches, bugs, staging and whatnot for a long time. Try to learn before even considering sending patches. You are on the same track as before, you are trying to figure out how to send patches even if a lot of people have told you not to

Re: Usb module loading

2014-08-07 Thread Kristofer Hallin
You are not supposed to make the solutions for Eudyptula challenge available to others. On Aug 8, 2014 8:12 AM, "selva" wrote: > Hi All > > I have written a usb module which will be linked if any keyboard > is hot plug. > > I follow the step below to make it work > > 1) rmmod usbhid > > 2) insmod

Re: Help with git

2014-08-07 Thread Kristofer Hallin
Seems like something is messed up. Try 'git rebase --abort' and see if that helps you. And don't try to get that patch merged upstream. On Fri, Aug 8, 2014 at 3:48 AM, Nick Krause wrote: > I can't seem to apply one of my created patches after trying for the last > hour. > This is what is poppin

Re: Bad Patches and Issues with other devolopers

2014-08-06 Thread Kristofer Hallin
People. Can we continue the technical discussions on this list? I have no interest anymore in Nicks problems. Take the discussions with Nick off list. On Aug 6, 2014 8:46 PM, "Nick Krause" wrote: > On Wed, Aug 6, 2014 at 2:42 PM, Lidza Louina > wrote: > > I still highly recommend that you talk

Re: Bad Patches and Issues with other devolopers

2014-08-06 Thread Kristofer Hallin
But aren't broken patches doing more damage to your ego than testing the code before trying to get it merged? On Aug 6, 2014 4:22 PM, "Nick Krause" wrote: > On Wed, Aug 6, 2014 at 10:07 AM, Nick Krause wrote: > > On Wed, Aug 6, 2014 at 9:59 AM, Andev wrote: > >> On Wed, Aug 6, 2014 at 9:56 AM,

Re: Bad Patches and Issues with other devolopers

2014-08-06 Thread Kristofer Hallin
Being banned from the list means that you're not welcome anymore, so don't try to get around it. On Aug 6, 2014 3:25 PM, "Nick Krause" wrote: > On Wed, Aug 6, 2014 at 8:47 AM, Nick Krause wrote: > > On Wed, Aug 6, 2014 at 6:30 AM, Anuz Pratap Singh Tomar > > wrote: > >> > >> > >> > >> On Wed, A

Re: Bad Patches and Issues with other devolopers

2014-08-05 Thread Kristofer Hallin
Hmm. What about stop sending patches? On Aug 5, 2014 7:43 PM, "Nick Krause" wrote: > I have sent out just ten bad patches and the developers seem very > annoyed with me and > think I am trolling. If someone on this list can find a way for me to > improve my relationship > with them and let me con

Re: apt-get is not working properly

2014-07-31 Thread Kristofer Hallin
IIRC the package name is libncurses5-dev. It will be quite hard for you to do any kernel development if you can't solve this by yourself. On 1 Aug 2014 08:01, "Niamathullah sharief" wrote: > Actually it is not only my distro problem. > > I am trying to compile kernel in Ubuntu. > > I am getting

Re: Work

2014-07-24 Thread Kristofer Hallin
Take a look at drivers/staging/. You will find something there to work on. On Jul 24, 2014 6:38 PM, "Nick Krause" wrote: > Is there any work for a kernel newbie that you guys known of? > Cheers Nick > > ___ > Kernelnewbies mailing list > Kernelnewbies@k

Re: Help with flame wars

2014-07-23 Thread Kristofer Hallin
Seems like you got some great guidance too. https://lkml.org/lkml/2014/7/23/443 On 24 Jul 2014 06:38, "Nick Krause" wrote: > As a new kernel developer I seem to have sent out some bad patches and > the other developers > are stating I should stop working on the kernel and learn C , even > though

Re: Help with flame wars

2014-07-23 Thread Kristofer Hallin
Appeared on LKML two days ago. https://lkml.org/lkml/2014/7/22/737 On 24 Jul 2014 07:04, "David kiarie" wrote: > Could we have a look at this patches?somewhere? > > On Thu, Jul 24, 2014 at 7:37 AM, Nick Krause wrote: > > As a new kernel developer I seem to have sent out some bad patches and > >

Re: printk or pr_?

2014-07-23 Thread Kristofer Hallin
Yes. https://www.kernel.org/doc/local/pr_debug.txt On Wed, Jul 23, 2014 at 8:39 PM, Fernando Apesteguía wrote: > > > > On Wed, Jul 23, 2014 at 8:34 PM, Kristofer Hallin > wrote: >> >> 1. No. Depending on what subsystem your are printing logs from you >> s

Re: printk or pr_?

2014-07-23 Thread Kristofer Hallin
1. No. Depending on what subsystem your are printing logs from you should use different functions for logging. In the networking subsystem netdev_dbg is suitable and so on. Otherwise pr_debug will always work and is always preferred over printk. 2. Use pr_debug. On Wed, Jul 23, 2014 at 8:16 PM, R

Re: Re: Linux Kernel Module program to obtain domain name from IP

2014-07-08 Thread Kristofer Hallin
There's a research project called Name Based Sockets where this have been done. Take a look at: https://www.sics.se/projects/name-based-sockets If you search for name based sockets on Google you will find a kernel module and user space code doing this. On 8 Jul 2014 15:07, "Kristof Provost" wrot

Re: Delay in Printk Messages.

2014-06-28 Thread Kristofer Hallin
Try 'sysctl kernel.printk=7' where 7 is one of the levels defined in "include/linux/kern_levels.h". On Sat, Jun 28, 2014 at 7:33 PM, Arun Kumar wrote: > I am able to read my printk messages in the kernel buffer only after > unloading the module.. > Is there some reason or configuration behind thi

Re: Eudyptula Challenge

2014-06-26 Thread Kristofer Hallin
I would recommend you to read the book Linux Device Drivers, 3rd edition. It's licensed under a creative commons licence (thanks Greg!). More than that, you have some documentation in the Documentation/ folder. Reading the archive for this mailing list might be useful too. Good luck! On 27 Jun

Re: Eudyptula Challenge

2014-06-25 Thread Kristofer Hallin
Good. Build yourself another kernel for development and stick with the working one for work then. On Jun 25, 2014 10:40 PM, "Javier" wrote: > On Wed, Jun 25, 2014 at 4:37 PM, Kristofer Hallin < > kristofer.hal...@gmail.com> wrote: > >> Your boot loader (grub?

Re: Eudyptula Challenge

2014-06-25 Thread Kristofer Hallin
Your boot loader (grub?) can't handle multiple kernels? On Jun 25, 2014 10:32 PM, "Javier" wrote: > Hello all, > > Is it convenient to work on our main kernel on this projects? > Or, would you suggest using a different partition kernel to practice this? > > I am afraid of messing up my work comp

Re: Eudyptula Challenge Task 01

2014-06-16 Thread Kristofer Hallin
Attached a ZIP file? If you _read_ the instructions for the challenge, it states that 'but for all tasks you can't send base64 attachments, as I don't know what to do with them. Just a "normal" attachment, in text form, is fine, and preferred.' Just insert patches as plain text, nothing else. On T

Re: Eudyptula Challenge Task 01

2014-06-16 Thread Kristofer Hallin
You should not use Gmail since it will BASE64-encode your attachments (patches should be sent as plain text). Use a sane client like Alpine or Mutt instead. On Mon, Jun 16, 2014 at 1:47 PM, Sudip Mukherjee wrote: > On Mon, Jun 16, 2014 at 5:07 PM, sanjeev sharma > wrote: >> is Really we need to

Re: Invoking a system using syscall()

2014-06-06 Thread Kristofer Hallin
Invoking a syscall won't necessarily print anything to the kernel log. On 7 Jun 2014 07:50, "Dipanjan Das" wrote: > > Hi, > > I want to invoke getpid() system call using syscall. Here's the code > snippet below. But, I can't find anything in dmesg|tail output. > > #include > > int main() > { >

Re: Adding new board support

2014-06-06 Thread Kristofer Hallin
Might be a good thing to start with something easier. If you can't navigate the source tree well enough to find the relevant code you will have a hard time rewriting stuff for different hardware. On Fri, Jun 6, 2014 at 11:40 AM, Varka Bhadram wrote: > Hi, > > I am having a board which is customiz

Re: Eudyptula Challenge Submission and no response?

2014-06-05 Thread Kristofer Hallin
Guess the scripts are somewhat busy, give them a few more days. On Thu, Jun 5, 2014 at 3:05 PM, Fernando Apesteguía wrote: > > El 05/06/2014 14:59, "George E. Moore" escribió: > > >> >> Is there a POC (email contact for Eudyptula Challenge)? Submitted >> response to Eudyptula Challenge, task 01

Re: Linux kernel Booting

2014-06-03 Thread Kristofer Hallin
You might be able to do this with GDB and QEMU. Take a look at this presentation that someone else on this list posted: http://files.meetup.com/1590495/debugging-with-qemu.pdf On Wed, Jun 4, 2014 at 8:29 AM, Saurabh Jain wrote: > Hello every one ! > > Can anybody tell me the best way to trace Li

Re: Can i change address of Master Boot Record

2014-05-28 Thread Kristofer Hallin
For what reason do you want to change it? On Wed, May 28, 2014 at 9:58 AM, Saurabh Jain wrote: > Hello every one ! > > I was reading the booting process of Linux kernel. I got to know that > generally the location of MBR is first sector of the bootable device. I want > to know that whether we can

Re: Kernel backup

2014-05-26 Thread Kristofer Hallin
Before even trying to do any development, I think that you need to learn about GRUB (or what bootloader you are using) and how to be able to chose from multiple kernels when booting. On Tue, May 27, 2014 at 7:56 AM, Nada Saif wrote: > Hi, > > I'm working on a project and might do multiple making

Re: Eudyptula Challenge Task 02 Doubt

2014-05-16 Thread Kristofer Hallin
What about sending the outputs from 'uname' and 'dmesg'? On 17 May 2014 07:09, "me storage" 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 booting? > thanks > > ___

Re: What is the benefit of running CONFIG_SMP on single core device?

2014-04-09 Thread Kristofer Hallin
Using SMP would let your system take advantage of HyperThreading. If you have a fairly decent CPU there is a good chance that your single core have support for HyperThreading which will improve parallelization. On Wed, Apr 9, 2014 at 1:05 PM, Mj Embd wrote: > -- > -mj > >

RE: about the kernelnewbies email signature

2014-04-08 Thread Kristofer Hallin
As far as I can see it's included in the mails you send to the list. On 9 Apr 2014 06:19, "Chan Kim" wrote: > > Yeah, that's what I expected. But everytime I write an email, I don't see > that attached for mine. > Where should I set it up? I tried kernelnewbies email setup page but > couldn't fi

Re: Code Style issue

2014-04-05 Thread Kristofer Hallin
Short answer: Use pr_debug instead of printk. On 5 Apr 2014 07:06, "HABI S RAVI" wrote: > Hi, > I am trying to fix a coding issue . I get the following warning when my > module is checked with checkpatch.pl. > How can i remove the warning. I see a lot of drivers using printk() > function. > > $ p