Re: [PATCH] staging: Fix spacing between function name and parentheses
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 sudipm.mukher...@gmail.com wrote: I agree. But in my opinion checkpatch is here to help us fix style problems , but we should not blindly act on checkpatch warnings. thanks sudip On Sat, Oct 11, 2014 at 1:57 PM, Peter Senna Tschudin peter.se...@gmail.com wrote: I think that, in this case, checkpatch.pl contributed: $ ./scripts/checkpatch.pl -f drivers/staging/octeon-usb/octeon-hcd.c WARNING: space prohibited between function name and open parenthesis '(' #415: FILE: drivers/staging/octeon-usb/octeon-hcd.c:415: + if (c.s.field op (value)) { \ On Sat, Oct 11, 2014 at 8:11 AM, Dave Tian dave.jing.t...@gmail.com wrote: Agreed - that is why I mentioned the patch is neither right nor useful:) -daveti On Oct 11, 2014, at 2:08 PM, Sudip Mukherjee sudipm.mukher...@gmail.com wrote: Hi Dave, It will work. But my point of saying that was c.s.field ==(value) is again not according to the style. thanks sudip On Sat, Oct 11, 2014 at 10:53 AM, Dave Tian dave.jing.t...@gmail.com wrote: It also works as value is surrounded by (), though I do not think the patch itself is right or useful. Dave Tian dave.jing.t...@gmail.com On Oct 11, 2014, at 12:58 PM, Sudip Mukherjee sudipm.mukher...@gmail.com wrote: On Fri, Oct 10, 2014 at 09:55:48PM -0400, Nicholas Krause wrote: Fixes checkpatch coding style warning about unneeded space between function name an parentheses. Signed-off-by: Nicholas Krause xerofo...@gmail.com --- Untested drivers/staging/octeon-usb/octeon-hcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/octeon-usb/octeon-hcd.c b/drivers/staging/octeon-usb/octeon-hcd.c index 5f9db4c..bbeb0cc 100644 --- a/drivers/staging/octeon-usb/octeon-hcd.c +++ b/drivers/staging/octeon-usb/octeon-hcd.c @@ -412,7 +412,7 @@ struct octeon_hcd { type c; \ while (1) { \ c.u32 = __cvmx_usb_read_csr32(usb, address); \ -if (c.s.field op (value)) { \ +if (c.s.field op(value)) { \ have you read the code before modifying it? this is not a function. have you seen how CVMX_WAIT_FOR_FIELD32 is being called? on every call of CVMX_WAIT_FOR_FIELD32 op is the operator == so when called the macro will be c.s.field == (value). if your patch is applied then it will become c.s.field ==(value) .. will that be correct ? thanks sudip result = 0; \ break; \ } else if (cvmx_get_cycle() done) { \ -- 1.9.1 ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Peter ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: [PATCH] staging: Fix spacing between function name and parentheses
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: Checkpatch Patches
I wouldn't touch those with a ten foot pole. On 16 Sep 2014 14:46, nick xerofo...@gmail.com 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 ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: Makefile for a single source file
Is this part of the Eudyptula Challenge? On 13 Sep 2014 16:35, Kevin Wilson wkev...@gmail.com 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/modules/$(shell uname -r)/build M=$(PWD) modules clean: make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean Is it ok ? or should the obj-m parameter be *different* than the the source file (without the *.o suffix) (something like obj-m += hello.o ?) Regards, Kevin ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: Trial Patch
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 xerofo...@gmail.com 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. Fixed it. I need to really check my patches first :(. How many times have you done that now? In addition, I want you to forget about and not reply to any patches you known I haven't build tested. No, it doesn't work like that. Each broken post counts against you. +if (skb == NULL) { +skb_queue_purge(priv-rtllib-skb_waitQ[TXCMD_QUEUE]); +break; +} Like this one - it's *still* wrong. Because From: Nicholas Krause xerofo...@gmail.com Date: Tue, 9 Sep 2014 21:12:56 -0400 You reposted the same broken patch again. Please do the Linux kernel community a favor and seek gainful employment in the food service industry or similar, where your skills will be more appreciated. Here is the correct patch. Nick ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re:?
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 nrnravi...@gmail.com 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 you guys for help, i googled too, i also got hundreds of boards with lot of board support packages,every board support package varies from the development board, so just as simple as it i just want a recommendation from you guys a good development board where i can port linux from scratch!! Cheers, Ravi. On Fri, Aug 29, 2014 at 5:34 PM, valdis.kletni...@vt.edu wrote: On Fri, 29 Aug 2014 16:58:26 +0200, Ravi Raj said: Thank you for the response ,So the project is a communication between fpga and a imx6 Arm A9 processor using SPI protocol and we are making a custom board for this, so first step is to find an imx6 Arm a9 board and port linux to it and then establish SPI. Heck, these guys already have ANdroid Kitkat up and running: http://www.wandboard.org/ ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: Board and OS suggestion
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 cloverob...@gmail.com 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 or beagle board. Can you suggest me which board is good and any secure OS that you have try'ed? Any board having wi fi connectivity will be an advantage. Regards ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: quick help - linux Industrial IO Hardware Triggers
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 sricharan.chalas...@gmail.com wrote: Hi all, I have a query on Linux Industrial IO Subsystem. I am particularly interested in understanding how to use Hardware Triggers. Like to use Counter overflow interrupt as a Trigger for conversion from Analog to digital in my case. Somehow I failed to find-out the proper mailing list to post my query. I know that I need to post my query to Industrial IO mailing list. Could someone suggest me which is the correct mailing list in this regard. Thanks in advance, Sricharan. On Thu, Aug 21, 2014 at 12:35 AM, Greg KH g...@kroah.com wrote: On Wed, Aug 20, 2014 at 11:33:26PM +0530, Sricharan Chalasani wrote: Hi List, Thanks in advance. In the existing IIO drivers (linux-3.16), my understanding is that Hardware Triggers are just used to copy sampled data from the ADC to the Kernel buffer. I think none of the hardware triggers are really configuring ADC to Start the analog to digital conversion. snip Why not ask this on the iio driver mailing list? The developers there should be able to help answer your questions better than anyone else. thanks, greg k-h ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: [PATCH] usb: Fix switch statement in ohci-tmio.c
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 xerofo...@gmail.com wrote: On Thu, Aug 14, 2014 at 2:05 PM, Nicholas Krause xerofo...@gmail.com wrote: I am fixing the bug on at the link, https://bugzilla.kernel.org/show_bug.cgi?id=79931. This bug report states that in the function, tmio_hc_stop the switch has no needed breaks. Further more this patch fixes this bug by adding the needed breaks. Signed-off-by: Nicholas Krause xerofo...@gmail.com --- drivers/usb/host/ohci-tmio.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/usb/host/ohci-tmio.c b/drivers/usb/host/ohci-tmio.c index bb40958..d2b5382 100644 --- a/drivers/usb/host/ohci-tmio.c +++ b/drivers/usb/host/ohci-tmio.c @@ -100,12 +100,16 @@ static void tmio_stop_hc(struct platform_device *dev) switch (ohci-num_ports) { default: dev_err(dev-dev, Unsupported amount of ports: %d\n, ohci-num_ports); + break; case 3: pm |= CCR_PM_USBPW3; + break; case 2: pm |= CCR_PM_USBPW2; + break; case 1: pm |= CCR_PM_USBPW1; + break; } tmio_iowrite8(0, tmio-ccr + CCR_INTC); tmio_iowrite8(0, tmio-ccr + CCR_ILME); -- 1.9.1 If someone wants to send out this patch for me,that would be great :). Nick ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: Where is the source code of udev?
What about the first hit on Google? http://cgit.freedesktop.org/systemd/ On 11 Aug 2014 10:32, Saket Sinha saket.sinh...@gmail.com 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:29 PM, Saket Sinha saket.sinh...@gmail.com 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 4, 2014 at 9:33 PM, Greg Kroah-Hartman g...@kroah.com wrote: On Mon, Aug 04, 2014 at 11:30:52AM -0300, Julio Faracco wrote: Hi everybody. Where can I find the updated source code of udev? I'm cloning the source from here: http://git.kernel.org/cgit/linux/hotplug/ udev.git/ Is it right? Nope, look in the systemd source repo at: git://anongit.freedesktop.org/systemd/systemd It was merged with systemd many years ago. good luck, greg k-h ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: Usb module loading
You are not supposed to make the solutions for Eudyptula challenge available to others. On Aug 8, 2014 8:12 AM, selva selvab...@gmail.com 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 hello.ko 3) hot plug the keyboard when the keyboard is hot plugged my kernel module gets loaded and in syslog the messages regarding the detection of the keyboard are present. My problem is i have to always remove usbhid, if i donot that then usbhid module is always linked with the keyboard. How to make make sure that my module usb_kbd.ko gets linked to the keyboard with out removing usbhid ? My code is present in the following link https://github.com/selvagit/little_penguin/blob/master/task_05/hello.c The syslog is present in the following path https://github.com/selvagit/little_penguin/blob/master/task_05/syslog I had looked at udev rules, but what i have understood is we can set attributes for the modules but we can not determine which kernel module should be loaded for any device. Thanks, Selvaraj ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: Help with git
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. This list is now discussing Nick's problems all the time and nothing else. On 8 Aug 2014 20:08, Greg Freemyer greg.freem...@gmail.com wrote: On Fri, Aug 8, 2014 at 1:37 PM, Nick Krause xerofo...@gmail.com wrote: Thanks Numo, Would you mind asking Greg if he wants some help with staging clean up as he is very upset with me after me not listening and I own it to him to help help him out. Cheers Nick Greg KH monitors kernelnewbies. Keep participating here and prove yourself. Also, staging clean-ups that are just beautification are not really needed in staging. Greg KH has automated scripts he could run to clean it all up in one whack. I assume he chooses not to let newbies have the practice. That means every time he accepts a beautification patch he is doing extra work for the benefit of the submitter, not for the benefit of staging. So at this point, don't think about beautification work. If you want someone to submit a patch for you, it needs to be a patch that actually fixes a bug. Greg -- Greg Freemyer ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: Help with git
Thinking about the same thing. This list is not interesting any more. On 8 Aug 2014 20:28, Robert P. J. Day rpj...@crashcourse.ca wrote: On Fri, 8 Aug 2014, Kristofer Hallin wrote: This list is now discussing Nick's problems all the time and nothing else. more specifically, the list is now teaching nick how to use git. so, on that note, i'm unsubscribing until this idiocy goes away. catch you on the flip side, as they say. rday -- Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: Help with git
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 xerofo...@gmail.com wrote: I can't seem to apply one of my created patches after trying for the last hour. This is what is popping up, if anybody can tell me is wrong that would be great. sed: can't read /home/nick/linux-next/.git/rebase-apply/info: No such file or directory sed: can't read /home/nick/linux-next/.git/rebase-apply/info: No such file or directory sed: can't read /home/nick/linux-next/.git/rebase-apply/info: No such file or directory Patch does not have a valid e-mail address. Nick ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: Bad Patches and Issues with other devolopers
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 xerofo...@gmail.com wrote: On Wed, Aug 6, 2014 at 8:47 AM, Nick Krause xerofo...@gmail.com wrote: On Wed, Aug 6, 2014 at 6:30 AM, Anuz Pratap Singh Tomar chambilketha...@gmail.com wrote: On Wed, Aug 6, 2014 at 11:02 AM, Pramod Gurav pramod.gurav@gmail.com wrote: Now Nick can go and Troll these guys in there, Thanks to Anuz! :) Happy to help :D On Wed, Aug 6, 2014 at 3:18 PM, Anuz Pratap Singh Tomar chambilketha...@gmail.com wrote: oh man you have gained prominence in vger? They have banned you from vger. Sarah Sharp, Greg-KH, Ted Tso etc are talking about you, quite some fame lol. https://plus.google.com/116960357493251979546/posts/N1roxd2k1f7 https://lkml.org/lkml/2014/8/4/206 On Wed, Aug 6, 2014 at 12:43 AM, Nick Krause xerofo...@gmail.com wrote: On Tue, Aug 5, 2014 at 6:49 PM, Greg Freemyer greg.freem...@gmail.com wrote: On Tue, Aug 5, 2014 at 5:35 PM, Nick Krause xerofo...@gmail.com wrote: Is there any way to fix this or am I just unemployable. Cheers Nick Get married and take your wife's name! Being more realistic, get good at a specific subsystem and earn a good reputation in that subsystem. If you're lucky someone will get to know your reputation and get you a shot regardless that you got off on the wrong foot. More importantly, except for kernel trainers like Robert, most companies hire linux kernel subsystem developers, not linux kernel developers. Thus you need to find a part of the kernel you want to delve into and get really good at just it. You can also research who the companies are that employ kernel developers and see which subsystems they are working in. As an example Redhat employs a couple of the XFS developers. SUSE employs one of the mdraid developers, etc. Greg -- Greg Freemyer I was really worried , that I would have to give up on this goal, but thanks for the advice. I am interested in working in schedulers, file systems and networking. If you guys want to help me , just tell me how to get started and again to all the maintainers, I feel terrible about wasting your time. Sorry and thanks A lot, Nick ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Thank you Warm Regards Anuz ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Thanks and Regards Pramod -- Thank you Warm Regards Anuz I am banned from vger or not? Nick Seems I am banned from the list is there any way around this or not? Regards Nick ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: Bad Patches and Issues with other devolopers
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 xerofo...@gmail.com wrote: On Wed, Aug 6, 2014 at 10:07 AM, Nick Krause xerofo...@gmail.com wrote: On Wed, Aug 6, 2014 at 9:59 AM, Andev debian...@gmail.com wrote: On Wed, Aug 6, 2014 at 9:56 AM, Nick Krause xerofo...@gmail.com wrote: I have read the books you suggested, seems I was not doing the work in the correct way. I seem to be helping out with some traces for now. Regards Nick Nick, Are you suffering from autism? This is a genuine question as your behavior is really making lots of people think so. Please let us know so that we can act accordingly. -- Andev I do have aspergers. Nick In addition, sometimes I don't listen to advice even through it's good advice(testing patches) due to ego and that's not a good thing on the list. Cheers Nick ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: Bad Patches and Issues with other devolopers
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 xerofo...@gmail.com wrote: On Wed, Aug 6, 2014 at 2:42 PM, Lidza Louina lidza.lou...@gmail.com wrote: I still highly recommend that you talk to someone. Lidza On Aug 6, 2014 2:33 PM, Nick Krause xerofo...@gmail.com wrote: On Wed, Aug 6, 2014 at 2:30 PM, Lidza Louina lidza.lou...@gmail.com wrote: Nick, stop sending patches and emails. Go talk to someone in real life, have them to look at the emails and talk to them about it. Talk to someone that understands your communication style and can explain these things to you in a way that you can understand it. You are making things worse by trying to contact people that you have annoyed. Step away from the computer and talk to someone in real life because none of the emails and suggestions people have given seem to be helping you. Lidza On Aug 6, 2014 2:13 PM, Nick Krause xerofo...@gmail.com wrote: On Wed, Aug 6, 2014 at 1:24 PM, Robert P. J. Day rpj...@crashcourse.ca wrote: On Wed, 6 Aug 2014, valdis.kletni...@vt.edu wrote: On Wed, 06 Aug 2014 10:48:14 +0100, Anuz Pratap Singh Tomar said: oh man you have gained prominence in vger? They have banned you from vger. Wow. I've been around for a dozen years or so, and can't remember *that* ever happening before. That takes some *major* doing, and could take literally years to straighten out. How to approach that? *sigh* ... the fact that nick has, *single-handedly*, pissed off and wasted the time of numerous subsystem maintainers to the point where he has been banned from LKML and has, in addition, *single-handedly* turned the kernel newbies mailing list into his personal self-help playground means that he needs to be shown the door. i don't want to sound unsympathetic, but it doesn't *matter* if this is nick's fault or not -- he is, quite simply, a disruptive influence and is, at the moment, turning this mailing list into chaos. people are asking, can he be salvaged? to which the proper answer is, who cares? there are a *lot* of kernel newbies out there who would desperately like to get to the point where *they* can start submitting patches, and most of *those* people are willing to read and listen and follow the advice of the veterans to the point where they become useful contributors. nick is not. it's massively ironic that countless people have told nick what he should be doing, to which his inveitable response is, ok, but what should i be doing? if you want to help nick, knock yourself out but take it offline. nick has already wasted far too much bandwidth that could have been invested in helping newbies that are willing to *listen*. rday -- Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday Robert, I am trying to listen now and this was my fault. Regards Nick ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies Lidza, I am fine here. I didn't listen and that is the key issue if people don't want to give me a second change that's fine. Cheers Nick Talk about what ? The issue is my listening. Cheers Nick ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: Bad Patches and Issues with other devolopers
Hmm. What about stop sending patches? On Aug 5, 2014 7:43 PM, Nick Krause xerofo...@gmail.com 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 continue my work here that would be great. Nick ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: apt-get is not working properly
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 newbie...@gmail.com wrote: Actually it is not only my distro problem. I am trying to compile kernel in Ubuntu. I am getting the following error and i am unable to rectify it. *mamse@mamse-ThinkCentre-M80:~/linux-3.15.8$ make menuconfig *** Unable to find the ncurses libraries or the *** required header files. *** 'make menuconfig' requires the ncurses libraries. *** *** Install ncurses (ncurses-devel) and try again. *** make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1make: *** [menuconfig] Error 2mamse@mamse-ThinkCentre-M80:~/linux-3.15.8$* On Fri, Aug 1, 2014 at 11:19 AM, David kiarie davidkiar...@gmail.com wrote: In future, ask this distro related questions on the ubuntu forums, or even try google :-) Looking at your problem it seems that ncurses-devel is not the package name for what you are looking for. You could try, apt-cache search ncurses, from the list, get the name of the package you are looking for. On Fri, Aug 1, 2014 at 8:44 AM, Niamathullah sharief newbie...@gmail.com wrote: Dear Friends I am trying to install my ncurses package in my Ubuntu Distro. I am getting the following error. But i dont know what is the problem. Can anyone help me Code: mamse@mamse-ThinkCentre-M80:~/linux-3.15.8$ sudo apt-get install ncurses-develReading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package ncurses-devel mamse@mamse-ThinkCentre-M80:~/linux-3.15.8$ ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: Work
Take a look at drivers/staging/. You will find something there to work on. On Jul 24, 2014 6:38 PM, Nick Krause xerofo...@gmail.com wrote: Is there any work for a kernel newbie that you guys known of? Cheers Nick ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: printk or pr_level?
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, Raphael Silva raphaelcampos...@gmail.com wrote: Hello guys, 1) If I use printk(KERN_LEVEL...) the checkpatch warns me: WARNING: Prefer [subsystem eg: netdev]_dbg([subsystem]dev, ... then dev_dbg(dev, ... then pr_debug(... to printk(KERN_DEBUG ... So, pr_devel() is the correct way to print a debug level msg? 2) if pr_level is the correct way, what about KERN_DEFAULT ? If I don't put the kern_level (printk(Hello);) WARNING: printk() should include KERN_ facility level if I put KERN_DEFAULT: WARNING: Prefer [subsystem eg: netdev]_default([subsystem]dev, ... then dev_default(dev, ... then pr_default(... to printk(KERN_DEFAULT ... But for KERN_DEFAULT, there isn't a macro pr_level like pr_devel(). Can anyone show me the correct way? tks ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: Help with flame wars
Appeared on LKML two days ago. https://lkml.org/lkml/2014/7/22/737 On 24 Jul 2014 07:04, David kiarie davidkiar...@gmail.com wrote: Could we have a look at this patches?somewhere? On Thu, Jul 24, 2014 at 7:37 AM, Nick Krause xerofo...@gmail.com 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 I known it. I would like to see if we can stop these flame wars as there really wanting me to quit. Nick ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: Help with flame wars
Seems like you got some great guidance too. https://lkml.org/lkml/2014/7/23/443 On 24 Jul 2014 06:38, Nick Krause xerofo...@gmail.com 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 I known it. I would like to see if we can stop these flame wars as there really wanting me to quit. Nick ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: Re: Linux Kernel Module program to obtain domain name from IP
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 kris...@sigsegv.be wrote: On 2014-07-08 20:19:09 (+0800), shhuiw shh...@163.com wrote: DNS loopkup should use UDP packet, and you have to construct UDP request based on your captured IP addresses in your module. DNS can actually use both TCP and UDP. And you have to use DNS server fallback lists and time-out control if some DNS server cannot work well. Yeah. Doing DNS lookups (forward or reverse) is complicated. There's a dns_query function in the kernel (net/dns_resolver), which apparently upcalls into user space, but I'd avoid dealing with DNS in the kernel at all. Just pass the IP address to user space and let it deal with it. There are plenty of DNS libraries available. Odds are you need to pass the resulting information to user space anyway, so you're not really losing anything. What are you trying to accomplish anyway? Regards, Kristof ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: Delay in Printk Messages.
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 arunkr.li...@gmail.com 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 this. I used a simple kernel module with only init and exit functions, and after loading the module i cannot see the message printed by the module_init function in the output given by dmesg -c I can see them only after i unload the module. i wait for around 15-20 seconds for the init message but it only shows up on removing the module. ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: Eudyptula Challenge
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 2014 06:27, Narendra Joshi quote.naren...@gmail.com wrote: I am taking the Eudyptula Challenge. I submitted the solution for Task 01. What should I do as I wait for the next task to arrive in my inbox? Is there any book or website or any resource that you would recommend? Thanks! Narendra Joshi ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: Eudyptula Challenge
Your boot loader (grub?) can't handle multiple kernels? On Jun 25, 2014 10:32 PM, Javier quaere1ve...@gmail.com 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 computer. Thank you. -- Javier Pajuelo ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: Eudyptula Challenge
Good. Build yourself another kernel for development and stick with the working one for work then. On Jun 25, 2014 10:40 PM, Javier quaere1ve...@gmail.com wrote: On Wed, Jun 25, 2014 at 4:37 PM, Kristofer Hallin kristofer.hal...@gmail.com wrote: Your boot loader (grub?) can't handle multiple kernels? It can. -- Javier Pajuelo ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: Eudyptula Challenge Task 01
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 Tue, Jun 17, 2014 at 6:20 AM, sanjeev sharma sanjeevsharmae...@gmail.com wrote: I have sent exercise attachment in zip file and may be i.e root cause of the problem .BTW i did select Plain text mode option but it didn't work and i get complain from Little Penguin. Regars Sanjeev Sharma On Mon, Jun 16, 2014 at 9:55 PM, Manish Katiyar mkati...@gmail.com wrote: I just use the attached script from command line to send mails via gmail. Its much more convenient than configuring a new client. You'll need to change your mail and eudyptula id. Thanks - Manish On Mon, Jun 16, 2014 at 8:44 AM, Oussama Jabbari oussama.jabb...@gmail.com wrote: On Mon, Jun 16, 2014 at 5:31 PM, Chen Weixiang weixiangc...@gmail.com wrote: On Mon, Jun 16, 2014 at 05:07:05PM +0530, sanjeev sharma wrote: is Really we need to use Email Client ? Don't we have another option using GMAIL ? I don't know why but I never had any problem sending my first exercises attachments (I'm now at 8) with gmail webmail. I just select Plain text mode and it's ok... I met the same problem when I sent first mail to Eudyptula Challenge. I thinke below two links are helpful for configuring mutt mail client: http://nongeekshandbook.blogspot.fi/2009/02/mutt-email-client-that-sucks-less.html http://nongeekshandbook.blogspot.fi/2009/03/mutt-color-configuration.html Regards Sanjeev Sharma On Sun, Jun 15, 2014 at 2:57 PM, Abhishek Sharma asharma...@gmail.com wrote: On 13-06-2014 AM 04:10, Nada Saif wrote: Hi, Which email client is best to submit tasks . I use gmail , and I get a problem with attachment base64!? What you suggest me to use! Regards, N.G Thunderbird Regards, Abhishek Sharma On Tue, Apr 29, 2014 at 6:34 PM, Pranay Srivastava pran...@gmail.com wrote: On Tue, Apr 29, 2014 at 8:40 PM, me storage me.storage...@gmail.com wrote: Hi i every one i am new to linux kernel programming .I am participating in Eudyptula Challenge .Recently i submitted my solutions to Task 01 but i gives me reply like the below Please read the requirements for the Makefile and allow the module to be built against any kernel source tree on the filesystem, not just those kernels that happened to be installed in /lib/ at some point in time. And my make file is like this ifneq ($(KERNELRELEASE),) obj-m += helloworld.o else default I hope you understand the -C switch : make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules clean: make -C /lib/modules/$(shell uname -r)/bulid M=$(PWD) clean end If not then find it out and see what you need to change. So can any please tell me how to allow the module to be built against any kernel source tree on the filesystem? or can any one pleae tell me what does it mean? Thank you ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- ---P.K.S ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Best regards, Chen Weixiang (Alex) ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: Eudyptula Challenge Task 01
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 sudipm.mukher...@gmail.com wrote: On Mon, Jun 16, 2014 at 5:07 PM, sanjeev sharma sanjeevsharmae...@gmail.com wrote: is Really we need to use Email Client ? Don't we have another option using GMAIL ? I have tried to send in plain text mode using gmail , but it was rejected by Little Penguin ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: Invoking a system using syscall()
Invoking a syscall won't necessarily print anything to the kernel log. On 7 Jun 2014 07:50, Dipanjan Das mail.dipanjan@gmail.com 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 sys/types.h int main() { pid_tret = syscall(20); return 0; } ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: Adding new board support
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 var...@cdac.in wrote: Hi, I am having a board which is customized for our requirement and it is based on cortex-a8 arm architecture. I want to add the board support for this in linux kernel. From where can i start to get it work...? Any tutorial for this to be done...? Thanks and Regards, Varka Bhadram --- [ C-DAC is on Social-Media too. Kindly follow us at: Facebook: https://www.facebook.com/CDACINDIA Twitter: @cdacindia ] This e-mail is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies and the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email is strictly prohibited and appropriate legal action will be taken. --- ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: Eudyptula Challenge Submission and no response?
Guess the scripts are somewhat busy, give them a few more days. On Thu, Jun 5, 2014 at 3:05 PM, Fernando ApesteguĆa fernando.apesteg...@gmail.com wrote: El 05/06/2014 14:59, George E. Moore g...@x-ctr-l.com escribiĆ³: Is there a POC (email contact for Eudyptula Challenge)? Submitted response to Eudyptula Challenge, task 01 (05/23/14) and have yet to receive response. Patience. A lot of people are taking the challenge. Cheers. -- ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: Can i change address of Master Boot Record
For what reason do you want to change it? On Wed, May 28, 2014 at 9:58 AM, Saurabh Jain saurabh4768j...@gmail.com 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 change the location (Starting address ) of Master Boot Record or not . Can we do this for Linux and Windows both. ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: Kernel backup
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 nada.sa...@gmail.com wrote: Hi, I'm working on a project and might do multiple making - I'm afraid if things go wrong. How to keep a backup of the current kernel? Thanks ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: Eudyptula Challenge Task 02 Doubt
What about sending the outputs from 'uname' and 'dmesg'? On 17 May 2014 07:09, 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 booting? thanks ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: What is the benefit of running CONFIG_SMP on single core device?
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 mj.e...@gmail.com wrote: -- -mj ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies