Issue while reading from tty driver

2014-09-18 Thread Raghavendra
Hello, I am trying to explore tty drivers. To start with, I am trying to implement a simple loop back device(testing with echo and cat). The code works fine as far as write is concerned. When the user process (echo) calls write() on the device, the driver's write_room() is called and then

Help with XfsTests

2014-09-18 Thread nick
I am trying to run xfs tests on a partion at /dev/sdc1 but the scripts state that the drive is not at $TEST_DIR and if ' it's on that directory they abort after fsck. Does anybody known how to fix this please. Thanks, Nick ___ Kernelnewbies mailing

if anyone wants to play with my kernel cleanup scripts ...

2014-09-18 Thread Robert P. J. Day
... i've been tidying them up a bit and rerunning them to get up-to-date output as examples: http://www.crashcourse.ca/wiki/index.php/Kernel_cleanup_scripts and as i know greg kh follows this list, i thought the following output from running the badref script on drivers/staging was interesting

Re: Help with XfsTests

2014-09-18 Thread Greg Freemyer
On September 18, 2014 6:39:01 AM EDT, nick xerofo...@gmail.com wrote: I am trying to run xfs tests on a partion at /dev/sdc1 but the scripts state that the drive is not at $TEST_DIR and if ' it's on that directory they abort after fsck. Does anybody known how to fix this please. Thanks, Nick I

Re: if anyone wants to play with my kernel cleanup scripts ...

2014-09-18 Thread Paul Bolle
tend to agree. There are two dozen hits for this: $ git grep -e -DCONFIG_ next-20140918 | wc -l 24 In total there are only a handful of Kconfig like macros defined like this. Some of them might be hard to change now. I've never tried. See also things like: #define CONFIG_FOO

Re: if anyone wants to play with my kernel cleanup scripts ...

2014-09-18 Thread Robert P. J. Day
dozen hits for this: $ git grep -e -DCONFIG_ next-20140918 | wc -l 24 In total there are only a handful of Kconfig like macros defined like this. Some of them might be hard to change now. I've never tried. See also things like: #define CONFIG_FOO and: enum foo

Re: if anyone wants to play with my kernel cleanup scripts ...

2014-09-18 Thread Paul Bolle
On Thu, 2014-09-18 at 07:57 -0400, Robert P. J. Day wrote: On Thu, 18 Sep 2014, Paul Bolle wrote: I try to holler when a new one of these enters linux-next. Very few people seems to share this pet peeve. i'm pretty sure i had this conversation once upon a time, possibly on LKML, and the

linux master cannot compile successfully

2014-09-18 Thread Kinka Huang
Hey, I just pull linux-master and checkout tag v3.17-rc5. I think linux-master should always compiles successfully, but it seems I am wrong? I got the error: In file included from drivers/gpu/drm/nouveau/core/core/client.c:29:0: drivers/gpu/drm/nouveau/core/include/nvif/unpack.h:1:1: error:

Re: Help with XfsTests

2014-09-18 Thread Valdis . Kletnieks
On Thu, 18 Sep 2014 06:39:01 -0400, nick said: I am trying to run xfs tests on a partion at /dev/sdc1 but the scripts state that the drive is not at $TEST_DIR and if ' it's on that directory they abort after fsck. Does anybody known how to fix this please. It can probably be fixed by

Re: linux master cannot compile successfully

2014-09-18 Thread Valdis . Kletnieks
On Thu, 18 Sep 2014 22:19:40 +0800, Kinka Huang said: In file included from drivers/gpu/drm/nouveau/core/core/client.c:29:0: drivers/gpu/drm/nouveau/core/include/nvif/unpack.h:1:1: error: expected identifier or ‘(’ before ‘.’ token ../../../nvif/unpack.h Your tree is somehow corrupted.

Ramping up on Linux code.

2014-09-18 Thread pranay sharma
Hi Folks, You might be getting this a lot. I am trying to ramp up on linux kernel and dive deep into network code. Any pointers on this will be really helpful. I am pretty new to this group and hence might have missed, earlier mails if any, on similar topic Thanks in advance!! Regards,

Re: Ramping up on Linux code.

2014-09-18 Thread Bruno Guedes Souto
pranay sharma pranaysharma08 at gmail.com writes: I am trying to ramp up on linux kernel and dive deep into network code. Any pointers on this will be really helpful. As a real newbie myself, what I've read on multiple sources is: Do the eudyptula challenge. And that's what I'm doing right

Re: linux master cannot compile successfully

2014-09-18 Thread Kinka Huang
@sudip, I used the same config file before this tag and no problem. The whole config file maybe too much, can you tell me which part to post? I will post the file later. @valdis, I am doing that on a laptop. I try to get back the file by deleting unpack.h and checkout, but the same content

Re: linux master cannot compile successfully

2014-09-18 Thread Valdis . Kletnieks
On Fri, 19 Sep 2014 09:28:03 +0800, Kinka Huang said: @valdis, I am doing that on a laptop. I try to get back the file by deleting unpack.h and checkout, but the same content remains. And `git That's weird indeed. status` or `git log` doesn't show any changes of file unpack.h . One