Re: Regarding Raid1

2010-12-23 Thread Greg Freemyer
On Thu, Dec 23, 2010 at 8:25 AM, Gaurav Mahajan gauravmahajan2...@gmail.com wrote: Hi Greg... Thanks for the valuable info... I tried to understand a few more concepts. I believe that md raid is a software raid,which makes it OS dependent whereas dmraid can be used to create a hardware

small ata driver enhancement project for someone

2011-01-03 Thread Greg Freemyer
All, I don't think the kernel is yet tracking SSD vs Rotational. It would be a nice patch if someone would do that. I don't maintain the subsystem, but I assume it would be accepted if well done. You could model your patch by looking at how the drive topology patches were done. Effectively

Re: small ata driver enhancement project for someone

2011-01-03 Thread Greg Freemyer
. :( Greg On Mon, Jan 3, 2011 at 2:21 PM, Greg Freemyer greg.freem...@gmail.com wrote: All, I don't think the kernel is yet tracking SSD vs Rotational. It would be a nice patch if someone would do that.  I don't maintain the subsystem, but I assume it would be accepted if well done.  You could

Re: LDD3 examples updated

2011-01-06 Thread Greg Freemyer
On Thu, Jan 6, 2011 at 12:08 PM, Shreyansh Jain shrey.li...@gmail.com wrote: Hi Javier, I will try to keep the code always in sync with linux-next but there will be tags to stable versions. Now there are tags that compile with kernel versions 2.6.32, 2.6.35 and 2.6.37. Do you need help in

Re: How does the kernel setup the file system

2011-01-07 Thread Greg Freemyer
On Fri, Jan 7, 2011 at 11:10 AM, Fu Kai kapenw...@gmail.com wrote: hi folks, I'm looking the source code about linux file system recently. I have scanned over ext2, and now I'm very curious about how does the kernel setup the ext2 up, but I couldn't locate the corresponding code. Could

Re: scrubbing in linux volume manager

2011-01-28 Thread Greg Freemyer
On Fri, Jan 28, 2011 at 3:48 AM, sanoj k.u.sa...@gmail.com wrote: On Fri, Jan 28, 2011 at 10:23 AM, SandeepKsinha sandeepksi...@gmail.com wrote: What's scrubbing? I think he meant regular disk scrubbing to zero out the contents. Disk Scrubbing typically refers to the verification

Re: How to verify block numbers of file ?

2011-02-20 Thread Greg Freemyer
On Sun, Feb 20, 2011 at 9:02 AM, Abhijit Hoskeri abhijithosk...@gmail.com wrote: On Sun, Feb 20, 2011 at 6:52 PM, kashish bhatia kooles...@gmail.com wrote: Is there any method/command/utility to know what are the block numbers which are allocated to a file in ext2 fs? The FIBMAP ioctl gives

Re: 答复: project ideas

2011-03-15 Thread Greg Freemyer
2011/3/15 LovelyLich lovelyl...@gmail.com: I have the same problem,but I want to know the to do projects list,which is not related with networking Where can I find that?thanks for any replies in advance There are a lot of subsystem maintainers and currently they each maintain a

Re: GSoC project idea: HFS Plus journal

2011-03-20 Thread Greg Freemyer
On Sun, Mar 20, 2011 at 1:07 PM, Naohiro Aota na...@elisp.net wrote: Greg KH g...@kroah.com writes: On Thu, Mar 17, 2011 at 06:57:27PM +0900, Naohiro Aota wrote: Hi, I see some of you are talking about GSoC participation. I'm also thinking of it. I have MacBookPro booting both MacOSX and

Re: kernel space logging

2011-03-25 Thread Greg Freemyer
On Fri, Mar 25, 2011 at 1:47 PM, Anand Arumugam anand.aru...@gmail.com wrote: On Wed, Mar 23, 2011 at 5:42 AM, sanjeev sharma sanjeevsharmae...@gmail.com wrote: HI, kernel daemon is responsible for kernel messages and can be found here. http://linux.die.net/man/8/klogd Thanks Sanjeev

Re: Broadcom Ethernet card not working with new kernels - intermittently being registered as two different devices

2011-04-01 Thread Greg Freemyer
On Fri, Apr 1, 2011 at 1:31 PM, julie Sullivan kernelmail@gmail.com wrote: Hi list, Celejar (see message copied below) has been having problems with his Broadcom BCM4401-B0 Ethernet card not working on very recent kernels - it seems to be sporadically registered either as the correct

Mentoring for GSoC

2011-04-05 Thread Greg Freemyer
All, I've seen a couple posts here from students looking for GSoC mentors. From the flip side, I just had someone ask me if they could be a GSoC mentor via kernelnewbies. (I'm a proposed mentor via opensuse. Still looking for a student/proposal.) Does anyone know the details of the GSoC /

Re: inode query

2011-04-05 Thread Greg Freemyer
On Tue, Apr 5, 2011 at 4:41 PM, mohit verma mohit89m...@gmail.com wrote: hi list, how can a utility like **find** command  can map an inode number to a filename?  i mean if we pass **find -inum inode_number  / **   , it will show us the  files associated with that inode_number. What is the

Re: Mentoring for GSoC

2011-04-07 Thread Greg Freemyer
Thanks On Thu, Apr 7, 2011 at 11:48 AM, Frederic Weisbecker fweis...@gmail.comwrote: On Tue, Apr 05, 2011 at 01:20:51PM -0400, Greg Freemyer wrote: All, I've seen a couple posts here from students looking for GSoC mentors. From the flip side, I just had someone ask me if they could

LTS kernel?

2011-04-25 Thread Greg Freemyer
All, I just read http://article.gmane.org/gmane.linux.kernel.stable/9103 It talks about the new longterm 2.6.34 kernel release. Does anyone know if longterm in this case just means its a post initial release update? Or does it mean 2.6.34 now has some special longterm designation? Greg

Re: LTS kernel?

2011-04-25 Thread Greg Freemyer
On Mon, Apr 25, 2011 at 5:42 PM, Greg KH g...@kroah.com wrote: On Mon, Apr 25, 2011 at 05:30:17PM -0400, Greg Freemyer wrote: All, I just read http://article.gmane.org/gmane.linux.kernel.stable/9103 It talks about the new longterm 2.6.34 kernel release. new?  It's been going

Re: Serial Port Monitoring Tool

2011-05-05 Thread Greg Freemyer
On Thu, May 5, 2011 at 11:16 AM, Madhavi Manchala madhavi.li...@gmail.com wrote: Dear All, We have gone through following link about the serial monitoring tool. http://tldp.org/HOWTO/Serial-HOWTO-11.html#serial_mon However, we know about the USBMON which is used to monitor the USB traffic

Re: Linux kernel test suites

2011-05-20 Thread Greg Freemyer
On Fri, May 20, 2011 at 7:33 PM, Abu Rasheda rcpilot2...@gmail.com wrote: Can someone pass me pointer to Linux kernel test suite ? I am specially interested in iptables (netfilter) and socket APIs. Thanks I can't help specifically. You may need to ask on the relevant list. Each area of the

Re: academia contribution to the kernel

2011-05-31 Thread Greg Freemyer
On Tue, May 31, 2011 at 5:56 PM, Greg KH g...@kroah.com wrote: On Tue, May 31, 2011 at 04:30:15PM +0200, Javier Martinez Canillas wrote: On Tue, May 31, 2011 at 2:58 PM, Greg KH g...@kroah.com wrote: On Tue, May 31, 2011 at 09:44:25PM +1200, Ronnie Collinson wrote: Quite generic, but over

Re: surviving in lkml

2011-06-02 Thread Greg Freemyer
2011/6/2 João Eduardo Luís jecl...@gmail.com: On Jun 2, 2011, at 7:57 AM, Greg KH wrote: On Thu, Jun 02, 2011 at 02:51:45AM +0100, João Eduardo Luís wrote: Quite nice presentation. Although I was hoping to see something stating the correct protocol to repost a question to the list, either

Re: Weird problem while compiling kernel

2011-06-06 Thread Greg Freemyer
On Mon, Jun 6, 2011 at 3:21 AM, Manish Katiyar mkati...@gmail.com wrote: /home/kernel make net  CHK     include/linux/version.h  CHK     include/generated/utsrelease.h  CALL    scripts/checksyscalls.sh  CC      net/netlink/genetlink.o mv: cannot move `net/netlink/.genetlink.o.tmp' to

Re: Is this a Bug?

2011-06-21 Thread Greg Freemyer
On Tue, Jun 21, 2011 at 5:57 PM, Christian Deussen chrisudeus...@googlemail.com wrote: Hi, I just compiled my first Kernel from linus' tree and saw a warning in sound/soc/codecs/wm8958-dsp2.c. I think a found a bug, but I am not sure. And I don`t want to waste the Kernel-dev's time on the

Re: interview question how does application connects to device

2011-07-05 Thread Greg Freemyer
On Tue, Jul 5, 2011 at 12:15 AM, Bond jamesbond.2...@gmail.com wrote: This is an interview question. I had written device driver for a char device so I know that code structure looks like this struct file_operations something {  .owner=my_device_open;  .read=my_device_read;  

Re: interview question how does application connects to device

2011-07-05 Thread Greg Freemyer
On Tue, Jul 5, 2011 at 9:43 AM, Mandeep Sandhu mandeepsandhu@gmail.com wrote: Let me simplify the question. I'll attempt to answer your questions...for my own edification! :) 1) What are the FIVE classic system calls for interfacing with a character device.  (ie. If it did not exist in

Re: interview question how does application connects to device

2011-07-11 Thread Greg Freemyer
On Mon, Jul 11, 2011 at 1:43 PM, StephanT stman937-linew...@yahoo.com wrote: Hi all, - Original Message - From: Greg Freemyer greg.freem...@gmail.com Correct, ioctl is no longer preferred, but it is definitely still used.  And the ext4 team is still adding new ioctl commands

Re: File System concept

2011-07-13 Thread Greg Freemyer
On Tue, Jul 12, 2011 at 9:44 AM, Ajay kumar a2008...@gmail.com wrote: Where can I read about different file system features ?? snapshots, journaling etc.. Regards, Onkar I find wikipedia surprisingly good as a starting point for questions like that. eg.

Re: interview question how does application connects to device

2011-07-17 Thread Greg Freemyer
On Sun, Jul 17, 2011 at 1:34 PM, Bond jamesbond.2...@gmail.com wrote: On Sun, Jul 17, 2011 at 9:36 PM, Mulyadi Santosa mulyadi.sant...@gmail.com wrote: On Sun, Jul 17, 2011 at 22:52, Bond jamesbond.2...@gmail.com wrote: Let me know what do you understand from this. And Greg already kindly

Re: mount FS without filesystem type

2011-07-21 Thread Greg Freemyer
On Thu, Jul 21, 2011 at 7:37 AM, Javier Martinez Canillas martinez.jav...@gmail.com wrote: On Thu, Jul 21, 2011 at 10:20 AM, piyush moghe pmker...@gmail.com wrote: I have a question regarding mounting filesystem without giving filesystem type as argument to mount command: Now my question is

Thunderbolt and Mac Book Pro

2011-08-16 Thread Greg Freemyer
Can anyone tell me the status of the linux kernel getting Thunderbolt support for the latest Mac Book Pro? I like to carry a boot CD with me that can boot PCs including Macs. I haven't had much issue in the paxt, but apparently the latest Mac Book Pro's are using new technology that is not yet

Re: What does drop_caches do?

2011-08-24 Thread Greg Freemyer
On Thu, Jul 28, 2011 at 2:58 AM, Prateek Sharma prate...@cse.iitb.ac.in wrote: Hello everyone,        I've been trying to understand the role of the pagecache, starting with drop_caches and observing what it does.        From my understanding of the code (fs/drop_caches.c) , it walks over

Re: How to make the kernel support NTFS?

2011-08-24 Thread Greg Freemyer
On Wed, Aug 24, 2011 at 9:09 AM, Parmenides mobile.parmeni...@gmail.com wrote: NFS != NTFS Yes, I have checked my spelling. You are trying to mount the root file system using Network File System (NFS) - remote mounting. NFS option is in File system Network File System NFS The

Re: project on linux kernel

2011-09-06 Thread Greg Freemyer
On Tue, Sep 6, 2011 at 3:08 PM, Mulyadi Santosa mulyadi.sant...@gmail.com wrote: On Tue, Sep 6, 2011 at 17:08, sugnan prabhu sugnan.pra...@gmail.com wrote: i am very much interested work on networking sub system, can you please give me a project... I am not really into networking stuffs these

Re: Code Generator

2011-09-13 Thread Greg Freemyer
On Mon, Sep 12, 2011 at 5:04 PM, mosta mosta...@googlemail.com wrote: Hey All, does somebody know of projects that use code generators to generate kernel modules? I'm thinking about using a strongly typed language like haskell with a code generator to  generate kernel C-Code. I want to

Re: Contributing for the first time

2011-11-07 Thread Greg Freemyer
Alexandru Juncu alex.ju...@rosedu.org wrote: Hello! I have been a linux user for many years, and mostly on the networking side. And I would like to start contributing somehow to the linux community (in some other way than just promoting it). I guess that I should start small with something like

Re: GPL-only symbol Error

2011-11-22 Thread Greg Freemyer
On Tue, Nov 22, 2011 at 8:21 PM, Jeff Haran jha...@bytemobile.com wrote: Graeme, Perhaps, but that's not what I asked about. It seems to me the essence of GPL is that it grants people the right to modify GPL sources like the Linux kernel in any way they want so long as they make those

Re:

2011-12-15 Thread Greg Freemyer
On Thu, Dec 15, 2011 at 9:18 PM, Swapnil Gaikwad swapnilgai...@gmail.com wrote: Hi ,     Tell me procedure or system call for-     How to copy metadata of all files in a ext4 filesystem. --    Regards, Swapnil Gaikwad. Not sure what you're asking. But there is a userspace tool for

Re: Taking snapshot in ext4 filesystem

2011-12-17 Thread Greg Freemyer
On Sat, Dec 17, 2011 at 9:05 PM, Swapnil Gaikwad swapnilgai...@gmail.com wrote: Hey,       Anybody help me for theproject on taking snapshot of ext4 filesystem and related stuff... If I understand your question, the ext3 snapshot support is found at: http://sourceforge.net/projects/next3/

Re: Metadata snapshot issues

2011-12-23 Thread Greg Freemyer
Swapnil Gaikwad swapnilgai...@gmail.com wrote: If we gives new inodes to each file during metadata snapshot. Then is there any conflicting issue happens? What are the techniques help us in this? Is some-one have source code of it? Swapnil, There are at least 3 different solutions to filesystem

Re: What is Big Kernel Lock?

2011-12-29 Thread Greg Freemyer
On Thu, Dec 29, 2011 at 10:51 AM, Matt Schulte ma...@commtech-fastcom.com wrote: On Thu, Dec 29, 2011 at 3:03 AM, sandeep kumar coolsandyfor...@gmail.com wrote: Hi All, Can any one tell me the significance of BKL? -- With regards, Sandeep Kumar Anantapalli, In a very small nutshell, the

Re: Regarding Copy on Write in ext4

2012-01-04 Thread Greg Freemyer
On Wed, Jan 4, 2012 at 4:45 AM, Swapnil Gaikwad swapnilgai...@gmail.com wrote: How Copy on Write ( COW )is implemented in ext4? Help me in understanding design issues in it. Is anybody have source code of it with proper documentation. --     Regards, Swapnil Gaikwad. Do you read the

Re: Internal Data structure of ext4

2012-01-04 Thread Greg Freemyer
On Wed, Jan 4, 2012 at 4:52 AM, Swapnil Gaikwad swapnilgai...@gmail.com wrote: Give me details with source code of ext4 filesystem and explain with various features in details like multiblock allocation, journeling etc. I get the strong impression you need to read generic stuff, not ext4

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

Re: Snapshot in ext4

2012-01-05 Thread Greg Freemyer
On Wed, Jan 4, 2012 at 4:55 AM, Swapnil Gaikwad swapnilgai...@gmail.com wrote: If we store snapshot on other partition and assign new inode to each file's snapshot. Then datablocks of that partition where we store snapshot is wasted ? If not how? That's effectively what a device mapper

Re: Snapshot in ext4

2012-01-05 Thread Greg Freemyer
On Wed, Jan 4, 2012 at 4:56 AM, Swapnil Gaikwad swapnilgai...@gmail.com wrote: Is it is possible to point to other partition's datablocks? Assuming you're willing to write new code, of course you can do that. Examples: Device mapper does it. See the last email I just sent with DM pseudo code

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: 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: 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: 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: 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: 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: 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: 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: 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: [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: 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

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: 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

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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: /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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: [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

  1   2   >