Re: hi Questiion about Eudyptula Challenge Task 05

2014-09-09 Thread lx
hi: sorry. I will build a new account and start all over again. 2014-09-10 13:26 GMT+08:00 Sudip Mukherjee : > hi, > please dont take me wrong . i dont have anything personal against you. > I would have gladly helped you if this was not part of the challenge > task. > And since little has rem

Re: Loosing stdin/stdout over serial consoleafter bootup

2014-09-09 Thread Sudip Mukherjee
On Tue, Sep 9, 2014 at 10:17 PM, Mandeep Sandhu wrote: >> >> are you really seriously expecting an answer within 2 hours of posting >> your question, and that too a question not related to any kernel >> problem ? > > And how are you so sure about that? It could very well be an incorrect > kernel c

Re: hi Questiion about Eudyptula Challenge Task 05

2014-09-09 Thread Sudip Mukherjee
hi, please dont take me wrong . i dont have anything personal against you. I would have gladly helped you if this was not part of the challenge task. And since little has removed your account , that means asking privately is also not allowed. sudip On Wed, Sep 10, 2014 at 9:16 AM, lxgeek wrote:

Re: Trial Patch

2014-09-09 Thread Valdis . Kletnieks
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. Ea

Re: Trial Patch

2014-09-09 Thread nick
On 14-09-09 11:11 PM, nick wrote: > > > On 14-09-09 11:07 PM, valdis.kletni...@vt.edu wrote: >> On Tue, 09 Sep 2014 22:56:10 -0400, nick said: >> OK. It's official. I see *zero* possibility that you'll ever manage to write an acceptable patch. This is *still* wrong. >>> Care to

Re: hi Questiion about Eudyptula Challenge Task 05

2014-09-09 Thread lxgeek
hi Sudip: I don't think ask privately is wrong. I have read the Little Penguin Email of "Eudyptula Challenge Status report, August 2014". # Welcome to the semi-irregular update from the Eudyptula Challenge. tl;dr - If

Re: hi Questiion about Eudyptula Challenge Task 05

2014-09-09 Thread Jeshwanth Kumar N K
It's fine Sudip, learning for everyone. Sent from my Android phone with Gmail. Please excuse my brevity. On 10-Sep-2014 8:10 am, "Sudip Mukherjee" wrote: > > On Sep 10, 2014 7:56 AM, "Jeshwanth Kumar N K" > wrote: > > > > Expected, may be learning for all who working on eudyptula challenge. >

Re: Trial Patch

2014-09-09 Thread nick
On 14-09-09 11:07 PM, valdis.kletni...@vt.edu wrote: > On Tue, 09 Sep 2014 22:56:10 -0400, nick said: > >>> OK. It's official. I see *zero* possibility that you'll ever manage to >>> write an acceptable patch. This is *still* wrong. >>> >> Care to explain. > > No. Please go figure it out for

Re: EPROBE_DEFER and how it is supposed to work

2014-09-09 Thread Real Name
On Tue, Sep 09, 2014 at 06:26:27PM +, Rajat Jain wrote: > Hi, > > I'm not a newbie, but I am trying to understand the semantics of deferred > probing. > > My question is generic, but for an example: > > Let's say I have a platform driver "A" for a device "a", that requires device > "b" (co

Re: Trial Patch

2014-09-09 Thread Valdis . Kletnieks
On Tue, 09 Sep 2014 22:56:10 -0400, nick said: > > OK. It's official. I see *zero* possibility that you'll ever manage to > > write an acceptable patch. This is *still* wrong. > > > Care to explain. No. Please go figure it out for yourself. pgpIluHFvWDJG.pgp Description: PGP signature __

Re: Trial Patch

2014-09-09 Thread nick
On 14-09-09 10:52 PM, valdis.kletni...@vt.edu wrote: > On Tue, 09 Sep 2014 21:21:18 -0400, nick said: >> Not going to execute, I wasn't sure if that statement needs to be executed. > > skb = dev_alloc_skb(frag_length + 4); > + if (skb == NULL) { > +

Re: Trial Patch

2014-09-09 Thread Valdis . Kletnieks
On Tue, 09 Sep 2014 21:21:18 -0400, nick said: > Not going to execute, I wasn't sure if that statement needs to be executed. skb = dev_alloc_skb(frag_length + 4); + if (skb == NULL) { + skb_queue_purge(&priv->rtllib->skbwaitQ[TXCMD_QUEUE]; +

Re: hi Questiion about Eudyptula Challenge Task 05

2014-09-09 Thread Sudip Mukherjee
On Sep 10, 2014 7:56 AM, "Jeshwanth Kumar N K" wrote: > > Expected, may be learning for all who working on eudyptula challenge. If you have any doubt please ask Little directly. He will definitely clear your doubts. > thanks jeshwanth. i started feeling guilty after getting the last mail from lx

Re: hi Questiion about Eudyptula Challenge Task 05

2014-09-09 Thread Sudip Mukherjee
On Sep 10, 2014 7:07 AM, "lxgeek" wrote: > > Hi Sudip: > >I just askyou for help privately, and you CC my mail tokernelnewb...@kernelnewbies.org. > So my account have removed hi i am really sorry if i have done something wrong.

Re: hi Questiion about Eudyptula Challenge Task 05

2014-09-09 Thread Jeshwanth Kumar N K
Expected, may be learning for all who working on eudyptula challenge. If you have any doubt please ask Little directly. He will definitely clear your doubts. Thanks Sent from my Android phone with Gmail. Please excuse my brevity. On 10-Sep-2014 7:07 am, "lxgeek" wrote: > Hi Sudip: > >

Re: hi Questiion about Eudyptula Challenge Task 05

2014-09-09 Thread lxgeek
Hi Sudip: I just askyou for help privately, and you CC my mail tokernelnewb...@kernelnewbies.org. So my account have removed 在 2014/9/9 23:36, Jeshwanth Kumar N K 写道: > Aww, Sorry Sudip ;). > > On Tue, Sep 9, 2014 at 8:56 PM,

Re: Trial Patch

2014-09-09 Thread nick
On 14-09-09 06:03 PM, valdis.kletni...@vt.edu wrote: > On Tue, 09 Sep 2014 17:16:19 -0400, nick said: > >> I am sending this in again fixed and working. > > Typos are still there, and zero explanation of how you verified > "fixed and working", which given your track record of failing to > even

Re: Trial Patch

2014-09-09 Thread Valdis . Kletnieks
On Tue, 09 Sep 2014 17:16:19 -0400, nick said: > I am sending this in again fixed and working. Typos are still there, and zero explanation of how you verified "fixed and working", which given your track record of failing to even compile test your code is a *big* show-stopper. If you don't care a

Re: Trial Patch

2014-09-09 Thread Hugo Mills
On Tue, Sep 09, 2014 at 05:16:19PM -0400, nick wrote: > > > On 14-09-09 12:40 PM, valdis.kletni...@vt.edu wrote: > > On Tue, 09 Sep 2014 11:52:20 -0400, Nick Krause said: > > > >> I understand that , sorry Guys. I am going to fix this later including > >> my spell checks. > > > > Don't bother.

Re: Trial Patch

2014-09-09 Thread nick
On 14-09-09 12:40 PM, valdis.kletni...@vt.edu wrote: > On Tue, 09 Sep 2014 11:52:20 -0400, Nick Krause said: > >> I understand that , sorry Guys. I am going to fix this later including >> my spell checks. > > Don't bother. > Valdis, I am sending this in again fixed and working. I also looked a

Re: wakeup source - power management

2014-09-09 Thread Ran Shalit
On Tue, Sep 9, 2014 at 8:48 PM, AYAN KUMAR HALDER wrote: >> Is the wakeup source relevant only for suspend/resume , or also for >> runtime PM ? for example, is the keybaord example , which you linked, >> relevant for runtime PM too ? > Refer to my reply in the other thread. > >> If yes - is the ke

EPROBE_DEFER and how it is supposed to work

2014-09-09 Thread Rajat Jain
Hi, I'm not a newbie, but I am trying to understand the semantics of deferred probing. My question is generic, but for an example: Let's say I have a platform driver "A" for a device "a", that requires device "b" (controlled by driver "B") to be operational first. Both A &B can be built as pa

Re: External devices

2014-09-09 Thread Ran Shalit
On Tue, Sep 9, 2014 at 8:44 PM, AYAN KUMAR HALDER wrote: >> Now, the thing I don't yet understand is what the wakeup source means >> in this configuration. Wakeup only for a specific device driver ? > Wakeup source has its relevance mostly for system suspend/resume where in > a device (eg keyboard

RE: x86_64_defconfig and i386_defconfig: What is the difference?

2014-09-09 Thread Rajat Jain
Hi, > -Original Message- > From: valdis.kletni...@vt.edu [mailto:valdis.kletni...@vt.edu] > Sent: Tuesday, September 09, 2014 7:28 AM > To: Matthias Brugger > Cc: Rajat Jain; linux-new...@vger.kernel.org; kernelnewbies > Subject: Re: x86_64_defconfig and i386_defconfig: What is the differe

Re: wakeup source - power management

2014-09-09 Thread AYAN KUMAR HALDER
> Is the wakeup source relevant only for suspend/resume , or also for > runtime PM ? for example, is the keybaord example , which you linked, > relevant for runtime PM too ? Refer to my reply in the other thread. > If yes - is the keybaord interrupt wakeup only the keyboard driver, > and nothing e

Fwd: External devices

2014-09-09 Thread AYAN KUMAR HALDER
> Now, the thing I don't yet understand is what the wakeup source means > in this configuration. Wakeup only for a specific device driver ? Wakeup source has its relevance mostly for system suspend/resume where in a device (eg keyboard) can pull the system out of suspend mode. In Runtime-pm, the d

RE: Page fault in kernel code

2014-09-09 Thread Jeff Haran
From: kernelnewbies-bounces+jharan=bytemobile@kernelnewbies.org [mailto:kernelnewbies-bounces+jharan=bytemobile@kernelnewbies.org] On Behalf Of Manavendra Nath Manav Sent: Tuesday, September 09, 2014 6:24 AM To: kernelnewbies@kernelnewbies.org; feedb...@elinuxdd.com Subject: Page fault

Re: Loosing stdin/stdout over serial consoleafter bootup

2014-09-09 Thread Mandeep Sandhu
> > are you really seriously expecting an answer within 2 hours of posting > your question, and that too a question not related to any kernel > problem ? And how are you so sure about that? It could very well be an incorrect kernel command line or a missing config in the kernel. So don't jump to c

Re: Trial Patch

2014-09-09 Thread Valdis . Kletnieks
On Tue, 09 Sep 2014 11:52:20 -0400, Nick Krause said: > I understand that , sorry Guys. I am going to fix this later including > my spell checks. Don't bother. pgpcXduwFWoHJ.pgp Description: PGP signature ___ Kernelnewbies mailing list Kernelnewbies@k

Re: Trial Patch

2014-09-09 Thread Nick Krause
On Tue, Sep 9, 2014 at 9:54 AM, Peter Senna Tschudin wrote: > On Tue, Sep 9, 2014 at 3:45 PM, Greg Freemyer wrote: >> >> >> On September 8, 2014 11:08:46 PM EDT, nick wrote: >>>I am attaching a trial patch again , please let me known if there are >>>any issues for me to fix. >>>Nick >> >> Nick,

Re: Page fault in kernel code

2014-09-09 Thread Valdis . Kletnieks
On Tue, 09 Sep 2014 18:53:55 +0530, Manavendra Nath Manav said: > Why is it so? Why can't kernel mode code handle the page fault and reload > the page from swap? Also, can page fault occur when kernel is executing in > process context and/or interrupt context? There's no inherent chiseled-in-ston

Re: hi Questiion about Eudyptula Challenge Task 05

2014-09-09 Thread Jeshwanth Kumar N K
Aww, Sorry Sudip ;). On Tue, Sep 9, 2014 at 8:56 PM, wrote: > On Tue, 09 Sep 2014 20:14:48 +0530, Jeshwanth Kumar N K said: > > > If you have any doubt please ask little only, he will reply for sure. > > Better not to ask questions in public mailing list. > > Which is why I gave a cryptic answer

RE: x86_64_defconfig and i386_defconfig: What is the difference?

2014-09-09 Thread Rajat Jain
Hi, Thank you all for your responses. I got the answer I was looking for: > Hello Rajat, > > Indeed, the i386 is for 32bits kernels, and x86_64 for 64 bits ones. If you > generate the configurations using "make ARCH=x86 defconfig" and "make > ARCH=i386 defconfig", you can easily compare the resu

Re: hi Questiion about Eudyptula Challenge Task 05

2014-09-09 Thread Valdis . Kletnieks
On Tue, 09 Sep 2014 20:14:48 +0530, Jeshwanth Kumar N K said: > If you have any doubt please ask little only, he will reply for sure. > Better not to ask questions in public mailing list. Which is why I gave a cryptic answer that's totally correct, and yet makes no sense unless you already unders

Re: hi Questiion about Eudyptula Challenge Task 05

2014-09-09 Thread Jeshwanth Kumar N K
Hi Sudip, If you have any doubt please ask little only, he will reply for sure. Better not to ask questions in public mailing list. Thanks On Tue, Sep 9, 2014 at 5:46 PM, Sudip Mukherjee wrote: > hi, > sorry i cant help you with this. the rules of the challenge says "you > really should be doi

Re: x86_64_defconfig and i386_defconfig: What is the difference?

2014-09-09 Thread Valdis . Kletnieks
On Tue, 09 Sep 2014 16:06:07 +0200, Matthias Brugger said: > > Can someone tell me if the i386 one is to be used when we want to build for > > a 32bit machine and the x86_64 is to be used for 64 bit machine? > > You can build the kernel with any architecture for any architecture. > This is called

Re: Page fault in kernel code

2014-09-09 Thread Greg KH
On Tue, Sep 09, 2014 at 06:53:55PM +0530, Manavendra Nath Manav wrote: > While reading the book Essential Linux device drivers it says "user mode code > is allowed to page fault, however, whereas kernel mode code isn't". > > Why is it so? Why can't kernel mode code handle the page fault and reload

Re: x86_64_defconfig and i386_defconfig: What is the difference?

2014-09-09 Thread Valdis . Kletnieks
On Tue, 09 Sep 2014 16:19:54 +0200, Paul Bolle said: > (I remember seeing tutorials that show you how to generate a .config > from scratch. I wonder whether anyone actually does that. Distros did that originally. Now they just keep delta'ing their known-working config. The pain involved was par

Re: x86_64_defconfig and i386_defconfig: What is the difference?

2014-09-09 Thread Paul Bolle
On Tue, 2014-09-09 at 09:21 -0400, valdis.kletni...@vt.edu wrote: > On Tue, 09 Sep 2014 07:58:49 -, Rajat Jain said: > > Can someone tell me if the i386 one is to be used when we want to build for > > a > > 32bit machine and the x86_64 is to be used for 64 bit machine? > > I wouldn't run eith

Re: x86_64_defconfig and i386_defconfig: What is the difference?

2014-09-09 Thread Matthias Brugger
On 09/09/14 09:58, Rajat Jain wrote: > Hi, > > Can someone tell me if the i386 one is to be used when we want to build for a > 32bit machine and the x86_64 is to be used for 64 bit machine? You can build the kernel with any architecture for any architecture. This is called cross-compiling. The

Re: Trial Patch

2014-09-09 Thread Peter Senna Tschudin
On Tue, Sep 9, 2014 at 3:45 PM, Greg Freemyer wrote: > > > On September 8, 2014 11:08:46 PM EDT, nick wrote: >>I am attaching a trial patch again , please let me known if there are >>any issues for me to fix. >>Nick > > Nick, I guess you know this list is a training ground for the main lists. As

Re: Trial Patch

2014-09-09 Thread Greg Freemyer
On September 8, 2014 11:08:46 PM EDT, nick wrote: >I am attaching a trial patch again , please let me known if there are >any issues for me to fix. >Nick Nick, I guess you know this list is a training ground for the main lists. As such the same rules are enforced when it comes to formatting.

Re: Trial Patch

2014-09-09 Thread Sudip Mukherjee
On Tue, Sep 9, 2014 at 6:54 PM, nick wrote: > > > On 14-09-09 08:42 AM, Sudip Mukherjee wrote: >> On Tue, Sep 09, 2014 at 08:22:59AM -0400, nick wrote: >>> >>> >>> On 14-09-08 11:08 PM, nick wrote: I am attaching a trial patch again , please let me known if there are any issues for me t

Re: Trial Patch

2014-09-09 Thread Valdis . Kletnieks
On Tue, 09 Sep 2014 08:22:59 -0400, nick said: > This patch is wrong, checkpatch errors. I am attaching another fixed version. *yawn* You still didn't even fix the typos in comments. Not Worth The Effort To Review. pgpOHhaJ8TGxQ.pgp Description: PGP signature _

Re: Trial Patch

2014-09-09 Thread nick
On 14-09-09 08:42 AM, Sudip Mukherjee wrote: > On Tue, Sep 09, 2014 at 08:22:59AM -0400, nick wrote: >> >> >> On 14-09-08 11:08 PM, nick wrote: >>> I am attaching a trial patch again , please let me known if there are any >>> issues for me to fix. >>> Nick >>> >> This patch is wrong, checkpatch

Page fault in kernel code

2014-09-09 Thread Manavendra Nath Manav
While reading the book Essential Linux device drivers it says "user mode code is allowed to page fault, however, whereas kernel mode code isn't". Why is it so? Why can't kernel mode code handle the page fault and reload the page from swap? Also, can page fault occur when kernel is executing in pro

Re: x86_64_defconfig and i386_defconfig: What is the difference?

2014-09-09 Thread Valdis . Kletnieks
On Tue, 09 Sep 2014 07:58:49 -, Rajat Jain said: > Can someone tell me if the i386 one is to be used when we want to build for a > 32bit machine and the x86_64 is to be used for 64 bit machine? I wouldn't run either one on an actual machine. Defconfigs are *example* configs, only useful as a

Re: Trial Patch

2014-09-09 Thread Sudip Mukherjee
On Tue, Sep 09, 2014 at 08:22:59AM -0400, nick wrote: > > > On 14-09-08 11:08 PM, nick wrote: > > I am attaching a trial patch again , please let me known if there are any > > issues for me to fix. > > Nick > > > This patch is wrong, checkpatch errors. I am attaching another fixed version. > S

Re: Trial Patch

2014-09-09 Thread nick
On 14-09-08 11:08 PM, nick wrote: > I am attaching a trial patch again , please let me known if there are any > issues for me to fix. > Nick > This patch is wrong, checkpatch errors. I am attaching another fixed version. Sorry Nick >From 1d6378589ab97cc646e2a3717413077453e4e80b Mon Sep 17 00:

Re: hi Questiion about Eudyptula Challenge Task 05

2014-09-09 Thread Valdis . Kletnieks
On Tue, 09 Sep 2014 17:46:33 +0530, Sudip Mukherjee said: > > No new udev rule is needed. If you truly understood the point of task 5, this is all the clue you need to fix it. And that's all the hint I'm giving on this one. :) pgpBCBf2npxdK.pgp Description: PGP signature ___

Re: Package Installation Error

2014-09-09 Thread Valdis . Kletnieks
On Tue, 09 Sep 2014 06:51:28 -0500, Greg Donald said: > You need to find the actual package name for your system: > > apt-cache search curses | grep dev It's possible he's missing entries in his /etc/apt/sources.list and/or /etc/apt/sources.d/* or wherever his distro puts such things. Of course,

Re: hi Questiion about Eudyptula Challenge Task 05

2014-09-09 Thread Sudip Mukherjee
hi, sorry i cant help you with this. the rules of the challenge says "you really should be doing your own work" . i can only say you that I have taken almost one month for this one . I am currently at task 18 and i still think this one was the toughest of all the tasks til now. but after finishing

Re: Package Installation Error

2014-09-09 Thread Greg Donald
On Mon, Sep 8, 2014 at 11:22 PM, Niamathullah sharief wrote: > when try to install "libncurses5-devel" i am getting these messages > > Reading package lists... Done > Building dependency tree > Reading state information... Done > E: Unable to locate package libncurses5-dev You need to find the ac

Re: wakeup source - power management

2014-09-09 Thread Ran Shalit
On Mon, Sep 8, 2014 at 9:43 PM, AYAN KUMAR HALDER wrote: >> >> How should a wakeup source for a device be configured in code. >> I could not find it documented anywhere. >> > Check out drivers/input/keyboard/samsung-keypad.c. It is configured as > a wakeup source:- > 1. device_init_wakeup() - conf

x86_64_defconfig and i386_defconfig: What is the difference?

2014-09-09 Thread Rajat Jain
Hi, Can someone tell me if the i386 one is to be used when we want to build for a 32bit machine and the x86_64 is to be used for 64 bit machine? Thanks, Rajat ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.o