Mentors and Archives?

2017-11-04 Thread Greg Freemyer
On Oct 31, 2017 12:57 PM, "leam hall" wrote: Newly back to the list. Is there a way to see if the idea of Kernel-Mentors has been talked about recently besides pulling the zip files and grep'ing? There's a search box at the top of:

Re: Don't know where to start linux kernel programming

2017-08-23 Thread Greg Freemyer
>> What we do not do, normally, is allow a >> non-describer to post to a list, I believe you're wrong, but I'm not sure I've ever tried. But on the XFS list as a primary example I believe I've seen a lot of non-subscribers posting and asking to be kept in copy of replies. Greg -- G

Re: Don't know where to start linux kernel programming

2017-08-23 Thread Greg Freemyer
On Wed, Aug 23, 2017 at 5:34 AM, Ruben Safir <ru...@mrbrklyn.com> wrote: > On 08/22/2017 07:26 PM, Greg Freemyer wrote: >> just send an email to the right address and all the >> participants in the thread will do a reply-all so you can see the >> responses without sub

Re: scatter-gather doubt?

2016-09-24 Thread Greg Freemyer
On Sat, Sep 24, 2016 at 9:33 AM, Muni Sekhar wrote: > Hi All, > > I am working on a xilinx PCIe endpoint with DMA reference block. > > The DMA reference block design has 2 Scatter-Gather engines, one for > each DMA channel. > > Channel 0 is for HostMemory -> DMA_REF FIFO

Re: SMP on different cores.

2016-09-24 Thread Greg Freemyer
On Fri, Sep 23, 2016 at 7:00 AM, Madhu K wrote: > Hi Greg k-h, > > Thanks a lot for your response. > > I want to understand how SMP works and what should be the requirements to > enable SMP, This is to understand, whether is it possible to enable SMP on > different cores.

Re: How to search topics in The Kernelnewbies Archives?

2016-09-21 Thread Greg Freemyer
On Wed, Sep 21, 2016 at 2:58 AM, wrote: > On Wed, 21 Sep 2016 14:27:03 +0800, Chi Wang said: > >> https://lists.kernelnewbies.org/pipermail/kernelnewbies/ >> >> Is there a general way to do searching in this archive? >> Or I have to download all the packages? > > Google

Re: Planning to write a patch

2015-08-26 Thread Greg Freemyer
On Wed, Aug 26, 2015 at 2:16 PM, Umair Khan omerj...@gmail.com wrote: On Wed, Aug 26, 2015 at 11:21 PM, Kenneth Adam Miller kennethadammil...@gmail.com wrote: Well, it's probably worth doing for the sake of your learning. However, if you are going to get into the source, I think it's highly

Re: [Off-topic] SCM using git

2015-08-18 Thread Greg Freemyer
On August 18, 2015 5:46:38 AM EDT, amit mehta gmate.a...@gmail.com wrote: Hello All, This query is not about Linux kernel, but is rather generic query on development framework with git. Since, Linux Kernel project is significantly large, with astonishing number of people involved and large number

Re: Kernel development using linux containers (LXC ) ?

2015-07-29 Thread Greg Freemyer
On Wed, Jul 29, 2015 at 4:23 PM, Manish Katiyar mkati...@gmail.com wrote: On Wed, Jul 29, 2015 at 1:07 PM, Jeff Haran jeff.ha...@citrix.com wrote: -Original Message- From: kernelnewbies-boun...@kernelnewbies.org [mailto:kernelnewbies- boun...@kernelnewbies.org] On Behalf Of Manish Katiyar

Re: Please do not generate patches purely based on checkpatch.

2015-07-25 Thread greg . freemyer
On July 25, 2015 3:50:30 PM EDT, Ahmed Soliman ahmedsoliman0x...@gmail.com wrote: I have sent a patch for cleaning about 40 error and 50 warning generated checkpatch to the maintainer and all what I got in responce is Nack. Please do not generate patches purely based on checkpatch. so what did

Re: what is the use of #ifndefs

2015-07-20 Thread Greg Freemyer
. For all subsequent times you want it ignored by the compiler. And that is exactly what #ifndef _LINUX_LIST_H #define _LINUX_LIST_H causes to happen. Greg -- Greg Freemyer www.IntelligentAvatar.net On Mon, Jul 20, 2015 at 6:03 AM, Ahmed Soliman ahmedsoliman0x...@gmail.com wrote: currently I

Re: HELP All USEFULL LINK

2015-07-02 Thread Greg Freemyer
On Thu, Jul 2, 2015 at 3:36 PM, Gnoleba GNOGBO gnognol...@gmail.com wrote: Ok ! I don't know what the othet GUY think about your proposition. At this moment I'll do so. About the 5 create site web it is easy. Here we have not enough competence to write some web applications which can run on

Re: HELP All USEFULL LINK

2015-07-02 Thread Greg Freemyer
. If by chance you want to go with openSUSE, they have a set of books available at: https://activedoc.opensuse.org/ As an example here is the section on openSUSE services: https://activedoc.opensuse.org/book/opensuse-reference/part-iv-services Greg -- Greg Freemyer www.IntelligentAvatar.net

Re: HELP All USEFULL LINK

2015-07-02 Thread Greg Freemyer
On Thu, Jul 2, 2015 at 5:40 PM, Gnoleba GNOGBO gnognol...@gmail.com wrote: Thanks Greg ! Ok, I understand your point of view. Now, can you provide me somes links for the docs in order of those objectives ? I have somes notions in programming but not in c or java. I want to know very well

Re: How to avoid TCP 3way handshare

2015-06-24 Thread greg . freemyer
On June 22, 2015 11:56:24 PM MDT, Ramana Reddy gtvrre...@gmail.com wrote: Hi all, Assume that the client has already ESTABLISHED state with one server, and I want to use the same state of the client with another server with out sending syn and syn+ack packets with the second server. I want to

Re: What happens when an interrupt comes while in middle of printk?

2015-02-24 Thread greg . freemyer
On February 24, 2015 10:07:59 PM EST, manty kuma mantyk...@gmail.com wrote: Dear All, What happens if an interrupt comes while in middle of printk execution and the interrupt handler has a printk in it? There is a chance that the log_buf could be corrupted. isn't it? Best Regards, Manty

Re: stability ?

2014-12-04 Thread Greg Freemyer
On December 4, 2014 2:27:13 AM EST, libin li...@sgepri.sgcc.com.cn wrote: I need is what test should do before a new kernel will be released 。 Maybe I will modify some kernel codes for some reason , not only the drivers , but I don't know whether it is Stable or not , So I

Help! - fuse and loopback - not working together

2014-12-03 Thread Greg Freemyer
appreciated. Thanks Greg -- Greg Freemyer ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[RESOLVED] Help! - fuse and loopback - not working together

2014-12-03 Thread Greg Freemyer
in /etc/fuse.conf to allow none-owners of a filesystem to use the filesystem. I suspect when I did this in the past I was running as root, so I never noticed the problem. Sorry for the noise, Greg -- Greg Freemyer On Wed, Dec 3, 2014 at 7:12 PM, Greg Freemyer greg.freem...@gmail.com wrote: All

Re: Split RAID: Proposal for archival RAID using incremental batch checksum

2014-11-29 Thread Greg Freemyer
On Thu, Nov 27, 2014 at 12:50 PM, Anshuman Aggarwal anshuman.aggar...@gmail.com wrote: On 25 November 2014 at 10:26, Greg Freemyer greg.freem...@gmail.com wrote: On November 24, 2014 12:28:08 PM EST, Anshuman Aggarwal anshuman.aggar...@gmail.com wrote: On 24 November 2014 at 18:49, Greg

Re: Split RAID: Proposal for archival RAID using incremental batch checksum

2014-11-24 Thread Greg Freemyer
On November 24, 2014 12:28:08 PM EST, Anshuman Aggarwal anshuman.aggar...@gmail.com wrote: On 24 November 2014 at 18:49, Greg Freemyer greg.freem...@gmail.com wrote: On November 24, 2014 1:48:48 AM EST, Anshuman Aggarwal anshuman.aggar...@gmail.com wrote: Sandeep, This isn't exactly RAID4

Re: Split RAID: Proposal for archival RAID using incremental batch checksum

2014-11-22 Thread Greg Freemyer
Top posting is strongly discouraged on all kernel related mailing lists including this one. I've moved your reply to the bottom and then replied after that. In future I will ignore replies that are top posted. On 21 November 2014 17:11, Greg Freemyer greg.freem...@gmail.com wrote

Re: Split RAID: Proposal for archival RAID using incremental batch checksum

2014-11-22 Thread Greg Freemyer
-created from the other drives? Greg -- Greg Freemyer ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: Split RAID: Proposal for archival RAID using incremental batch checksum

2014-11-22 Thread Greg Freemyer
On November 22, 2014 9:43:23 AM EST, Anshuman Aggarwal anshuman.aggar...@gmail.com wrote: On 22 November 2014 at 19:33, Greg Freemyer greg.freem...@gmail.com wrote: On Sat, Nov 22, 2014 at 8:22 AM, Anshuman Aggarwal anshuman.aggar...@gmail.com wrote: By not using stripes, we restrict writes

Re: Split RAID: Proposal for archival RAID using incremental batch checksum

2014-11-21 Thread Greg Freemyer
On November 21, 2014 5:15:43 AM EST, Anshuman Aggarwal anshuman.aggar...@gmail.com wrote: I'd a appreciate any help/pointers in implementing the proposal below including the right path to get this into the kernel itself. -- I'm outlining below a proposal for a

Re: [PATCH] staging: rtl8723au: Fix brace coding style issues reported by checkpatch

2014-10-28 Thread Greg Freemyer
because the violate the kernel coding standard and there is no overriding reason to allow the violation. Lots of violations checkpatch finds are intentionally left in place because correcting them makes the code less readable, not more readable. Greg -- Greg Freemyer

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: A quick guide to why stand-alone checkpatch patches suck...

2014-09-17 Thread Greg Freemyer
On September 17, 2014 7:20:42 AM EDT, Robert P. J. Day rpj...@crashcourse.ca wrote: snip and, as we've all seen, nick's other flaw is that, quite simply, he's selfish and greedy. his entire obsession is with the output of checkpatch, which means he wants to grab all the trivial cleanup (the

Re: A quick guide to why stand-alone checkpatch patches suck...

2014-09-17 Thread Greg Freemyer
On September 17, 2014 7:53:24 AM EDT, nick xerofo...@gmail.com wrote: On 14-09-17 07:51 AM, Sudip Mukherjee wrote: On Wed, Sep 17, 2014 at 5:08 PM, nick xerofo...@gmail.com wrote: On 14-09-17 07:20 AM, Robert P. J. Day wrote: snip anyway, it's time for coffee. rday Rday and others,

Re: A quick guide to why stand-alone checkpatch patches suck...

2014-09-17 Thread Greg Freemyer
On September 17, 2014 8:09:36 AM EDT, nick xerofo...@gmail.com wrote: On 14-09-17 08:05 AM, Greg Freemyer wrote: On September 17, 2014 7:53:24 AM EDT, nick xerofo...@gmail.com wrote: On 14-09-17 07:51 AM, Sudip Mukherjee wrote: On Wed, Sep 17, 2014 at 5:08 PM, nick xerofo...@gmail.com

Re: Improve my Rep

2014-09-15 Thread Greg Freemyer
On Mon, Sep 15, 2014 at 10:38 AM, Nick Krause xerofo...@gmail.com wrote: After issues with the community I am wondering how to improve my rep and help out more. I will start out with check patch but if there is other work please let me known :). Sorry, check.patch is a great tool but sending

Re: Trial Patch

2014-09-09 Thread Greg Freemyer
On September 8, 2014 11:08:46 PM EDT, nick xerofo...@gmail.com 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

Re: Endianness Questions

2014-09-01 Thread Greg Freemyer
On September 1, 2014 1:09:25 AM EDT, nick xerofo...@gmail.com wrote: Hey Guys, I have a question about ordering of bits with the types for signed and unsigned in the kernel tree. I am wondering if my list below is a good list of major areas of the kernel that need variable ordering based to a

Re: Curious about corner case in btrfs code

2014-08-26 Thread Greg Freemyer
On August 26, 2014 8:13:10 PM EDT, Nick xerofo...@gmail.com wrote: On 08/26/2014 08:05 PM, Tobias Boege wrote: On Tue, 26 Aug 2014, Nick wrote: On 08/26/2014 06:58 PM, Mandeep Sandhu wrote: If it's a corner case, it won't be hit often enough right? And if it was hit often enough, it

Re: fd type from number

2014-08-19 Thread Greg Freemyer
On August 18, 2014 8:46:16 PM EDT, Loris Degioanni lo...@draios.com wrote: I'm looking for an efficient way to determine the type of an fd (file, socket...) given its number, from a kernel module. The closest thing I found by looking at the kernel sources is sockfd_lookup(), which works but is

Re: one thing at a time

2014-08-19 Thread Greg Freemyer
On August 18, 2014 10:59:05 PM EDT, Nick Krause xerofo...@gmail.com wrote: On Mon, Aug 18, 2014 at 10:55 PM, Nick Krause xerofo...@gmail.com wrote: On Mon, Aug 18, 2014 at 10:06 PM, Rik van Riel r...@surriel.com wrote: On 08/18/2014 01:13 PM, Nick Krause wrote: Valdis, I was interested in

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

2014-08-14 Thread Greg Freemyer
On Thu, Aug 14, 2014 at 7:46 PM, Nick Krause xerofo...@gmail.com wrote: On Thu, Aug 14, 2014 at 6:12 PM, Nick Krause xerofo...@gmail.com wrote: On Thu, Aug 14, 2014 at 5:38 PM, valdis.kletni...@vt.edu wrote: On Thu, 14 Aug 2014 17:13:28 -0400, Nick Krause said: I am learned C. Perhaps I am a

Re: Help with git

2014-08-08 Thread Greg Freemyer
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

Re: Bad Patches and Issues with other devolopers

2014-08-06 Thread Greg Freemyer
on the subsystems I find of interest. Even those tend to get much more email traffic than I can read thoroughly. Greg -- Greg Freemyer ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: Bad Patches and Issues with other devolopers

2014-08-05 Thread Greg Freemyer
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

Re: USB forceful removal

2014-07-08 Thread Greg Freemyer
On Tue, Jul 8, 2014 at 2:55 PM, Greg KH g...@kroah.com wrote: On Wed, Jul 09, 2014 at 12:13:28AM +0530, AYAN KUMAR HALDER wrote: Hi All, When a usb mass-storage is attached for the first time, it gets a device (/dev/sda). When it is mounted and the device is manually removed and then when

Re: Eudyptula Challenge

2014-05-23 Thread Greg Freemyer
On Fri, May 23, 2014 at 9:43 AM, Greg Donald gdon...@gmail.com wrote: Anyone know what's happening with the Eudyptula Challenge? I sent in my Task 03 solution a few days ago and have got no response. I resent it, and still nothing. Apologies in advance if this is the wrong place to ask

Re: LKML: Dropped mail fanout?

2014-05-07 Thread Greg Freemyer
On Wed, May 7, 2014 at 4:23 PM, David Matlack matlackda...@gmail.com wrote: On Wed, May 7, 2014 at 12:47 AM, Jack Wang xjtu...@gmail.com wrote: On 05/07/2014 09:28 AM, Srivatsa Bhat wrote: Actually, it does seem to have something to do with gmail. I have subscribed to LKML from 2 different

Re: [Eudyptula Challenge] Not receiving tasks.

2014-05-03 Thread Greg Freemyer
Eudyptula apparently has at least one human in the loop. He/she may have taken a couple days off. On May 3, 2014 6:10:14 AM EDT, Lucas Tanure tan...@linux.com wrote: Hi, I sent my task two over two days ago and didn't receive the task 03. I already sent 6 times the task 02 answer, but I got

Re: Kernel Projects

2014-04-22 Thread Greg Freemyer
On Tue, Apr 22, 2014 at 1:22 PM, Julio Faracco jcfara...@gmail.com wrote: Hi, Does anybody know if there is a program to offer small (or big) kernel projects to students or someone who are interested in? I'm looking for programs like Google Summer of Code or

Re: checkpatch.pl comment style warnings

2014-04-13 Thread Greg Freemyer
On Sun, Apr 13, 2014 at 4:49 PM, Greg Donald gdon...@gmail.com wrote: When I run checkpatch.pl -f, it complains about comment blocks like In general use checkpatch.pl on code you are submitting or around code you are already patching. Sending in standalone coding style patches 9 times in 10

Re: checkpatch.pl comment style warnings

2014-04-13 Thread Greg Freemyer
On April 13, 2014 8:04:57 PM EDT, Greg Donald gdon...@gmail.com wrote: On Sun, Apr 13, 2014 at 4:46 PM, Greg Freemyer greg.freem...@gmail.com wrote: In general use checkpatch.pl on code you are submitting or around code you are already patching. But I see patches that do more than one thing

Re: Selecting a Linux Kernel Bug

2014-03-25 Thread Greg Freemyer
On March 24, 2014 9:23:01 AM EDT, valdis.kletni...@vt.edu wrote: On Mon, 24 Mar 2014 12:22:58 +0530, sanjeev sharma said: Thanks and Let me subscribe so that I can start working on Bugs. Subscribing to lkml almost guarantees you won't have enough time to actually work on bugs. Note that

Re: Is demand paging enabled in linux kernels of Android?

2014-03-19 Thread Greg Freemyer
pages. I think it just reserves space for them if they are needed. Greg -- Greg Freemyer On Wed, Mar 19, 2014 at 12:06 PM, manty kuma mantyk...@gmail.com wrote: Thanks david. So my next question was that is it enabled in linux kernel that android uses. How do i confirm it? On Thursday

Re: Where to find USB VID and PID?

2014-02-04 Thread Greg Freemyer
On Tue, Feb 4, 2014 at 2:54 PM, Eric Fowler eric.fow...@gmail.com wrote: I have an Emcraft SmartFusion2 board with a USB interface, running ucLinux. When I plug the board to a Windows machine, said Win machine sees an 'unknown device', which usually (always) means VID_ and PID_. This

Re: text segment corruption - probable suspects?

2014-01-24 Thread Greg Freemyer
nayo...@nayobix.org nayo...@nayobix.org wrote: On 01/23/2014 02:04 PM, Mulyadi Santosa wrote: On Tue, Jan 7, 2014 at 10:09 PM, Boyan Vladinov nayo...@nayobix.org wrote: Hey guys, recently I experience .text segment corruption in Kernel space. Could someone give some hints which can be the

Re: Linux-wireless: why use macro to call functions

2013-12-24 Thread Greg Freemyer
Fred Chou fred.chou...@gmail.com wrote: Hi, On Mon, Dec 23, 2013 at 8:03 PM, Bernd Petrovitsch be...@petrovitsch.priv.at wrote: [...] And the macro just avoids to copy-paste identical lines/logic. Thank you all for the explanation. Originally I was wondering if there could be some other

Re: test read and write speed in file

2013-10-22 Thread Greg Freemyer
于运超 wuyaa...@gmail.com wrote: hi all, how can i test read and wirte speed in a file in linux OS. the command dd provided how to test the speed of harddisk, i think dd can not accurate test the speed of file.what should i do ? which tool or software can do this . A lot of kernel hackers

Re: Changing location of disk/filesystem cache

2013-10-10 Thread Greg Freemyer
Mandeep Sandhu mandeepsandhu@gmail.com wrote: On Thu, Oct 10, 2013 at 5:00 PM, Ulka Vaze ulka.v...@l2it.com wrote: Hi, disk cache is same as filesystem cache. Also called buffer cache. This is implemneted below fs layer. It is basically a cache of disk blocks mainatined in RAM. (In

Re: Any interesting linux projects?

2013-10-09 Thread Greg Freemyer
manty kuma mantyk...@gmail.com wrote: Hi Greg Freemyer, Yes. Any interesting User space projects you know, please let me know. Regards, Sandeep Well, there are a million userspace projects I'm sure. My interest is in filesystems and my day job is computer forensics. For me the most interesting

Re: unable to send mail to Linux-Fsdevel

2013-10-08 Thread Greg Freemyer
On Tue, Oct 8, 2013 at 10:47 PM, Saket Sinha saket.sinh...@gmail.com wrote: I remember I had issues with some mailing lists if e-mail is not encoded in plain text. So what is the solution. If it is neccessary to encode the e-mail in plain-text, how do I do that? Regards, Saket Sinha

Re: 802.11 b/g/n device data sheet

2013-09-12 Thread Greg Freemyer
Prabhunath G gprabhun...@gmail.com wrote: Dear All, I need to analyse the driver for any 802.11 b/g/n device. Motivation is to contribute in some form in the near future. Request you to get me the datasheet that is availalbe. Tried googling for a few datasheets but couldn't find.

Re: stop build of kernel when there is a compilation error when using make -j

2013-09-11 Thread Greg Freemyer
Kevin Wilson wkev...@gmail.com wrote: Hi, What is expect script ? is it in bash? is there a good link for it ? rgs Kevin On Mon, Sep 9, 2013 at 4:15 AM, valdis.kletni...@vt.edu wrote: On Sun, 08 Sep 2013 13:33:06 +0300, Kevin Wilson said: However, when I use make -j 4 and there an error, it

RE: Introducing Myself, Looking to Learn

2013-09-04 Thread Greg Freemyer
Varad, I have external sata to usb3 adapter that is not supported by the kernel. I'm willing to buy one for someone willing to get the kernel support done. This is my second offer. No takers the first time. Fyi: I expect no true code is needed, just updating a pid / vid table somewhere. I

Re: /dev/sda to ata_host

2013-08-20 Thread Greg Freemyer
valdis.kletni...@vt.edu wrote: (Hint - I'm not convinced that all devices named /dev/sd* have an ata_host structure. Libata is a self admitted kludge. /dev/sdx = scsi disk Libata has stuck itself under the scsi disk driver, so you are right that not all scsi disks have a ata_host kludge,

Re: File System Implementation

2013-05-29 Thread Greg Freemyer
Historically filesystem designers knew what legal values of the various parameters were and they simply looked for legal values. If they found any illegal values, they reset them to a legal value. In many cases, that missed bit-rot situations they wanted to find, so with many modern filesystems,

Re: File system implementation

2013-05-26 Thread Greg Freemyer
Dibyayan Chakraborty dib.cool...@gmail.com wrote: Hi, I want to implement a file system and integrate with my system. Now first i have to implement the code for disk-formatting(like populating the super_block , root inode etc). I want to see the source code for the ext3 file system for this

Re: Documentation on device-mapper and friends

2013-05-08 Thread Greg Freemyer
...@gmail.com wrote: Hi On Mon, Apr 29, 2013 at 9:51 AM, amit mehta gmate.a...@gmail.com wrote: On Sun, Apr 28, 2013 at 5:24 PM, Greg Freemyer greg.freem...@gmail.com wrote: A nice diagram of the overall storage subsystem is at http://www.thomas-krenn.com/en/oss/linux-io-stack-diagram.html Dm

Re: Documentation on device-mapper and friends

2013-05-08 Thread Greg Freemyer
You should take this to the device mapper list, but I'll try here. For lurkers, this drawing may be helpful: http://www.thomas-krenn.com/en/oss/linux-io-stack-diagram/linux-io-stack-diagram_v1.0.pdf On Wed, May 8, 2013 at 11:15 AM, neha naik nehanai...@gmail.com wrote: Hi Greg, Thanks for

Re: Documentation on device-mapper and friends

2013-04-28 Thread Greg Freemyer
Kumar Amit Mehta gmate.a...@gmail.com wrote: I'm looking for information on device-mapper, the kernel space utility for Logical Volume Management (LVM2). It seems that the relevant code resides under drivers/md and a lot of other information is under Documentation/device-mapper/ That's fine,

Re: Do we use ARM's system mode in linux kernel

2013-04-26 Thread Greg Freemyer
Dhiraj Kumar dhl...@gmail.com wrote: Hi All, ARM is running in Supervisor(SVC) Mode in kernel. ARM also has another mode called System(SYS) Mode. I just needed info if linux kernel uses system mode of ARM processor. Please share information if anyone knows. Thanks in advance ! I

Re: Can small writes generate a lot of faults?

2013-04-22 Thread Greg Freemyer
Mulyadi Santosa mulyadi.sant...@gmail.com wrote: Hi :) On Sat, Apr 20, 2013 at 4:42 AM, Daniel Hilst Selli danielhi...@gmail.com wrote: AFAIK, major page faults are generated when data that is not yet present on RAM is loaded from disk, but in this case data is being write do disk, I can't

Re: SNORT/SURICATA LEARNing

2013-04-16 Thread Greg Freemyer
Robert Clove cloverob...@gmail.com wrote: Dear All, I want to learn the snort and suricata whats the best way to learn it. I have read the architecture. Now i want to go into the code Whats the best way plz tell Thanks The first thing i would do is find a relevant mailing list. This isn't

Re: YAFFS2 not part of Linux Kernel

2013-04-16 Thread Greg Freemyer
Pietro Paolini pulsarpie...@aol.com wrote: Hello all, reading docs and browsing internet I read that YAFFS2 is not merged in the Linux Kernel and that we should add it as a patch, the date is not write on that documents and I just tried to search YAFFS2 on the latest linux kernel source

Re: How will Linux community support the coming Intel new chip Bay Trail?

2013-04-11 Thread Greg Freemyer
On Thu, Apr 11, 2013 at 11:25 AM, valdis.kletni...@vt.edu wrote: On Thu, 11 Apr 2013 23:08:21 +0800, Peter Xu said: Hi, all, It seems that Intel will publish a nice chip called Bay Trail (or plus, I don't quick sure, which is for smartphones/tablets, also some lower ends of laptops in the

Re: Forum for asking questions related to block device drivers

2013-04-11 Thread Greg Freemyer
On Thu, Apr 11, 2013 at 2:50 PM, neha naik nehanai...@gmail.com wrote: Yes. Interestingly my direct write i/o performance is better than my direct read i/o performance for my passthrough device... And that doesn't make any kind of sense to me. pdev0 = pass through device on top of lvm

Re: Online migration of arbitrary filesystems, possible?

2013-03-29 Thread Greg Freemyer
On Fri, Mar 29, 2013 at 4:09 PM, Daniel Hilst danielhi...@gmail.com wrote: Suppose that I have two big filesystems, dest fs and source fs.. I want to copy whole source fs to dest fs, but I need to keep source filesystem online I can't mount source fs read only and copy.. The idea is, mount

Re: Design Patterns in Linux Kernel: Fancy Tricks With Linked Lists

2013-03-20 Thread Greg Freemyer
Robert P. J. Day rpj...@crashcourse.ca wrote: Quoting Arlie Stephens ar...@worldash.org: Interestingly, part of the debate yesterday probably resulted from one engineer having Love's 2nd edition, and me having his 3rd edition. Apparently RPDay pointed out some problems to Love which

Re: Why would some process swap in place of reclaiming free(cached) memory

2013-02-21 Thread Greg Freemyer
On Thu, Feb 21, 2013 at 12:19 AM, Soham Chakraborty sohamwonderpik...@gmail.com wrote: On Thu, Feb 21, 2013 at 10:45 AM, Mandeep Sandhu mandeepsandhu@gmail.com wrote: I know the pages are kept on disk initially and then swapped in as needed/referenced. Thus if there are code pages

Re: Why would some process swap in place of reclaiming free(cached) memory

2013-02-20 Thread Greg Freemyer
Soham Chakraborty sohamwonderpik...@gmail.com wrote: Hi all, I posted this question in linux-mm list as well but it didn't spawn much interest. So, I am putting the same question here also. Would love if someone can put some traction. The question is salivating and simple. When we have free

Re: hd controller

2013-02-07 Thread Greg Freemyer
On Thu, Feb 7, 2013 at 1:13 PM, valdis.kletni...@vt.edu wrote: On Thu, 07 Feb 2013 16:19:33 +0800, horseriver said: hi:) I am curious about how hd controller work . When user am reaing/writing hd ,it was implemented by sending command to hd controller's special port.Then ,how

Re: hard disk dirver

2013-02-06 Thread Greg Freemyer
On Wed, Feb 6, 2013 at 12:50 PM, valdis.kletni...@vt.edu wrote: On Wed, 06 Feb 2013 13:21:17 +0800, horseriver said: At booting stage,kernel need to detect the hard device before mount it, does this work need pci's surport? That depends. Is the controller for the hard drive a

Re: Linux Kernel Networking document (free, 178 pages doc)

2013-02-04 Thread Greg Freemyer
(Why is this a top-posted message thread? Please stop creating these.) Only the first link says that the ext2 driver can mount a ext4 filesystem (if the journal is clean). I'm confident that is wrong. Ext4 has several on-disk features that are not backward compatible. There is a binary set

Re: open image file

2013-02-04 Thread Greg Freemyer
Zoltan Gyarmati mr.zoltan.gyarm...@gmail.com wrote: Hi, in case of image with multiple partitions, easier to use kpartx, then get the offsets with parted: http://ppadala.net/blog/2010/09/kpartx-to-mount-vm-disk-images/ of course with image with one partition, it doesn't matter I think you

Re: Linux Kernel Networking document (free, 178 pages doc)

2013-02-04 Thread Greg Freemyer
, 2013 at 8:49 AM, Greg Freemyer greg.freem...@gmail.com wrote: (Why is this a top-posted message thread? Please stop creating these.) Only the first link says that the ext2 driver can mount a ext4 filesystem (if the journal is clean). I'm confident that is wrong. Ext4 has several on-disk

Re: Support for kingwin USI-2535U3 (Sata to USB3 adapter)?

2013-02-02 Thread Greg Freemyer
On Sat, Feb 2, 2013 at 12:06 AM, Greg Freemyer greg.freem...@gmail.com wrote: All, This might be a project for someone to add kernel support for a low cost piece of equipment ($20 at my local store). == I just bought a kingwin USI-2535U3 (USB3 to Sata adapter) and it is not showing up

Re: Support for kingwin USI-2535U3 (Sata to USB3 adapter)?

2013-02-02 Thread Greg Freemyer
On 3 Feb 2013 00:01, Greg Freemyer greg.freem...@gmail.com wrote: On Sat, Feb 2, 2013 at 12:06 AM, Greg Freemyer greg.freem...@gmail.com wrote: All, This might be a project for someone to add kernel support for a low cost piece of equipment ($20 at my local store). == I just

Support for kingwin USI-2535U3 (Sata to USB3 adapter)?

2013-02-01 Thread Greg Freemyer
All, This might be a project for someone to add kernel support for a low cost piece of equipment ($20 at my local store). == I just bought a kingwin USI-2535U3 (USB3 to Sata adapter) and it is not showing up on my opensuse 12.2 system at all. I've got a 3.4.11 kernel on it. This is the

Re: Managing linux-next tree for submitting patches

2012-11-21 Thread Greg Freemyer
Kumar amit mehta gmate.a...@gmail.com wrote: On Wed, Nov 21, 2012 at 02:47:15AM -0500, devendra.aaru wrote: that maintainer's tree is next tree so that next can pickup. once the next pics up your changes gets merged there in next. always its good to work against' maintainers trees, if its

Re: driver questions

2012-11-21 Thread Greg Freemyer
On Wed, Nov 21, 2012 at 1:11 PM, Christopher Biessener christophe...@voomtech.com wrote: I have searched using google for information regarding linux driver development and have found a lot, but not the answers to these questions: * Can 2 different kernel drivers access the same device at the

Re: [OT] Can a commercial company use software with GPLv2 for free?

2012-11-16 Thread Greg Freemyer
Mohammed Gamal m.gamal...@gmail.com wrote: Hi, It also depends on what you mean by 'use'. If it is 'using' the GPLv2 code in your commercial software projects then you can not do that unless your code is also GPL. That is not very clear. You can write and sell a proprietary program that lives

Re: Finding help

2012-11-16 Thread Greg Freemyer
On Fri, Nov 16, 2012 at 7:52 AM, María meccoma...@gmail.com wrote: Thanks! So I'll take a look at all the things you guys told me about and give a try to fixing bugs whenever I feel ready. In the meantime, I guess you'll be hearing from me. Cheers! María. When you're trying to familiarize

Re: Etiquette of submitting patches for fixing coding style.

2012-10-26 Thread Greg Freemyer
On Thu, Oct 25, 2012 at 4:27 PM, Eugene Voronkov eugene.voron...@gmail.com wrote: I watched Kroah-Hartman's video[1] on submitting patches where he walks through the process of fixing coding style. I feel like this would be a good way for me to jump into the process but I need more

Re: New member queries..

2012-10-22 Thread Greg Freemyer
On Mon, Oct 22, 2012 at 2:59 PM, Sarah Sharp sarah.a.sh...@linux.intel.com wrote: On Fri, Oct 05, 2012 at 01:16:43PM +0530, shampavman.cg wrote: Hi Guys, I'm new to linux kernel development (only a few hrs old i may say). I've been working with the solaris kernel from the past year and now

Re: if flush_scheduled_work() is allegedly overkill, why do drivers use it?

2012-10-19 Thread Greg Freemyer
On Fri, Oct 19, 2012 at 10:12 AM, Robert P. J. Day rpj...@crashcourse.ca wrote: working my way through work queues and read this in workqueue.h: /** * flush_scheduled_work - ensure that any scheduled work has run to completion. * * Forces execution of the kernel-global workqueue and

Re: Query on CodingStyle: indentation

2012-10-19 Thread Greg Freemyer
On Fri, Oct 19, 2012 at 5:00 AM, Kumar amit mehta gmate.a...@gmail.com wrote: On Fri, Oct 19, 2012 at 03:03:28PM +0800, Adam Lee wrote: On Thu, Oct 18, 2012 at 10:31:29PM -0700, Kumar amit mehta wrote: Hi, I've a query regarding the coding style for Linux Kernel code. I'm reading the

Re: scsi adapter module over block device - need help

2012-10-17 Thread Greg Freemyer
Sorry, dropped kernelnewbies somehow. Please keep them in cc. Your message and my reply below. On Wed, Oct 17, 2012 at 6:46 PM, Greg Freemyer greg.freem...@gmail.com wrote: On Wed, Oct 17, 2012 at 12:06 PM, Dmitry Filippov filippov...@gmail.com wrote: Greg, thank you for reply! Yeah

Re: map bss to addr zero

2012-08-26 Thread Greg Freemyer
Srinivas Ramanan srinivas.rama...@gmail.com wrote: Hi all, This is an interview question. What is the implication of mapping BSS to the Virtual Memory Segment 0? I was not able to find the answer from web. So posting here. thanks, srinivas ___

Re: Why can't the IPv4 networking be built as a module?

2012-03-26 Thread Greg Freemyer
On Sun, Mar 25, 2012 at 11:59 PM, Mulyadi Santosa mulyadi.sant...@gmail.com wrote: Hi... On Mon, Mar 26, 2012 at 07:02, Graeme Russ graeme.r...@gmail.com wrote: Hi All, Naive question of the day: I'm trying to cut down the size of a 3.3 kernel and one thing I have noticed is the TCP/IP v6

Re: how to create file without using extent allocation

2012-03-22 Thread Greg Freemyer
On 3/22/12, Vlad Dogaru ddv...@rosedu.org wrote: On Thu, Mar 22, 2012 at 3:31 PM, Akshay Nehe akshaynehe...@gmail.com wrote: Hello, Can we create file on ext4 file system which dose not uses extent allocation? Man page of mkfs.ext4 suggests using -O ^feature to disable an ext4 feature.  

Re: how to create file without using extent allocation

2012-03-22 Thread Greg Freemyer
On Thu, Mar 22, 2012 at 11:10 AM, Akshay Nehe akshaynehe...@gmail.com wrote: On 3/22/12, Greg Freemyer greg.freem...@gmail.com wrote: snip 2) I assume you see it is a mkfs option that controls this.  So you can't control it on a file by file basis as far as I know.  I don't think you can even

Re: Tool for automatic style of coding guidelines

2012-01-27 Thread Greg Freemyer
On Fri, Jan 27, 2012 at 9:18 AM, Philipp Ittershagen p.ittersha...@googlemail.com wrote: Hi Prajosh, On Fri, Jan 27, 2012 at 1:20 PM, Prajosh Premdas premdas.praj...@gmail.com wrote: Hi I have developed some kernel drivers and would like to send the patches for review. But i find that I

Re: Does Linux process exist information leakage?

2012-01-16 Thread Greg Freemyer
On Thu, Jan 12, 2012 at 12:00 PM, Jonathan Neuschäfer j.neuschae...@gmx.net wrote: On Wed, Jan 11, 2012 at 12:52:33PM -0500, Scott Lovenberg wrote: Real world example in C; I fixed a security bug in Samba that dealt with this exact problem.  Credential files were read to memory as the root user

Re: Snapshot in ext4

2012-01-05 Thread Greg Freemyer
I missed this series of questions before: On Wed, Jan 4, 2012 at 4:43 AM, Swapnil Gaikwad swapnilgai...@gmail.com wrote: 1. Where to place snapshot files in filesystem level snapshot? What does that even mean. 2. Is there any issues regarding it? 3. It is helpful to allocate new inode for a

Re: Snapshot in ext4

2012-01-05 Thread Greg Freemyer
On Wed, Jan 4, 2012 at 4:53 AM, Swapnil Gaikwad swapnilgai...@gmail.com wrote: Is it is helpful to make some new datastructure that store the metadata of file in snapshot? I would say you primarily want new instances of existing data structures. That is if need to track 10 different versions

  1   2   >