Re: How to configure mutil IP address on same NIC?

2009-01-06 Thread Nikhil Talpallikar
Hi, Do you want to create a new interface ethX for another NIC card or do you want to create a new interface and do not have another NIC ??The later is not possible afaik. cheers, nikhil 2009/1/6 Carter Smithhart carter.smithh...@gmail.com 2009/1/5 shark huang shark...@gmail.com Hi:

Re: How to configure mutil IP address on same NIC?

2009-01-06 Thread shark huang
2009/1/6 Nikhil Talpallikar nikhil.talpalli...@gmail.com Hi, Do you want to create a new interface ethX for another NIC card or do you want to create a new interface and do not have another NIC ??The later is not possible afaik. I want that when OS start up , two ips can be attached on one

Copying Data Blocks

2009-01-06 Thread Rohit Sharma
I want to read data blocks from one inode and copy it to other inode. I mean to copy data from data blocks associated with one inode to the data blocks associated with other inode. Is that possible in kernel space.? -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies

Re: Copying Data Blocks

2009-01-06 Thread kanishk rastogi
there is one operation called send_file() (i dont know the corresponding sys call for it ...) i think its ment to do what u want to do ... thankx kanishk From: Rohit Sharma imreckl...@gmail.com To: ext4 linux-e...@vger.kernel.org; Kernelnewbies

RE: entry point to mount a file system

2009-01-06 Thread Bizhan Gholikhamseh (bgholikh)
Hi all, I am trying to debug why I am not able to mount a filesystem on my system, I am tyring to do that from kernel. I need to know what are the entry points in the kernel when the mount system call is called and where kernel looks for the filesystem types? Did you check the

Writing Vlan driver

2009-01-06 Thread Tekale Sharad-FHJN78
Hi all, My task is to write a Vlan driver. But I'm new to Linux device drivers. Although I have written skull driver, but not yet confident on writing device drivers. Can any point me to some tutorial that helps to quick start on device drivers, also gives some

Re: Copying Data Blocks

2009-01-06 Thread Manish Katiyar
On Tue, Jan 6, 2009 at 4:06 PM, Rohit Sharma imreckl...@gmail.com wrote: I want to read data blocks from one inode and copy it to other inode. I mean to copy data from data blocks associated with one inode to the data blocks associated with other inode. Copying 4K chunk of data itself is a

Re:

2009-01-06 Thread Mulyadi Santosa
Hi On Tue, Jan 6, 2009 at 2:14 PM, Anupama Poonkavanam anupam...@hcl.in wrote: Can u give a brief concept of how we implement a send file system call? implement? or use? regards, Mulyadi. -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to

Re: query regarding linux kernel

2009-01-06 Thread Mulyadi Santosa
Hi On Tue, Jan 6, 2009 at 2:26 PM, battipatisainagendra Bhavaniprasad sainagendrabhavanipra...@gmail.com wrote: Hi Mr.Mulyadi Santosh, Thank you your your reply.I could not understand point No.2.Can you give me some tutorial on what is CPL...e.t.c. Please reply. pls check

Re: Copying Data Blocks

2009-01-06 Thread rishi agrawal
yes i suppose the donor inode is known moreover the receiver inode's number is also known On Tue, Jan 6, 2009 at 6:54 PM, Manish Katiyar mkati...@gmail.com wrote: On Tue, Jan 6, 2009 at 4:06 PM, Rohit Sharma imreckl...@gmail.com wrote: I want to read data blocks from one inode and copy it

Re: filesystem inside a file using loop device.

2009-01-06 Thread Mulyadi Santosa
Hi... 2009/1/5 Paraneetharan Chandrasekaran paraneethar...@gmail.com: Hi Mulyadi, These are the sequence of commands i used.. dd if=/dev/zero of=./fsimage.img bs=1k count=1 /sbin/losetup /dev/loop0 ./fsimage.img /sbin/mke2fs /de/loop0 1 mkdir mntpoint mount /dev/loop0

Pre-emption and kernel/softlockup.c softlockup_tick()

2009-01-06 Thread Adrian Cornish
I am investigating why on 1 particular machine we get these soft lockup errors. When looking at following code in kernel/softlockup.c is it possible for the touch time stamps get swapped over due to pre-emption and the wrong touch_timestamp is compared against wrong current time, there by causing

Re: Pre-emption and kernel/softlockup.c softlockup_tick()

2009-01-06 Thread Mulyadi Santosa
Hi... On Tue, Jan 6, 2009 at 8:42 PM, Adrian Cornish adri...@cqg.com wrote: I am investigating why on 1 particular machine we get these soft lockup errors. When looking at following code in kernel/softlockup.c is it possible for the touch time stamps get swapped over due to pre-emption and

Re: Copying Data Blocks

2009-01-06 Thread Rohit Sharma
On Tue, Jan 6, 2009 at 7:42 PM, rishi agrawal postri...@gmail.com wrote: yes i suppose the donor inode is known moreover the receiver inode's number is also known On Tue, Jan 6, 2009 at 6:54 PM, Manish Katiyar mkati...@gmail.com wrote: On Tue, Jan 6, 2009 at 4:06 PM, Rohit Sharma

video4linux2

2009-01-06 Thread niamathullah sharief
Can anyone tell me the algorithm for any simple v4l2 programhow its register the buffer and how its store the picture etcplease kindly help me... Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/

Re: Copying Data Blocks

2009-01-06 Thread Manish Katiyar
On Tue, Jan 6, 2009 at 10:15 PM, Rohit Sharma imreckl...@gmail.com wrote: On Tue, Jan 6, 2009 at 7:42 PM, rishi agrawal postri...@gmail.com wrote: yes i suppose the donor inode is known moreover the receiver inode's number is also known On Tue, Jan 6, 2009 at 6:54 PM, Manish Katiyar

Re: Copying Data Blocks

2009-01-06 Thread Rohit Sharma
On Tue, Jan 6, 2009 at 10:43 PM, Manish Katiyar mkati...@gmail.com wrote: On Tue, Jan 6, 2009 at 10:15 PM, Rohit Sharma imreckl...@gmail.com wrote: On Tue, Jan 6, 2009 at 7:42 PM, rishi agrawal postri...@gmail.com wrote: yes i suppose the donor inode is known moreover the receiver inode's

Re: Copying Data Blocks

2009-01-06 Thread Rohit Sharma
We can find out no. of block currently being used by the donor inode, The data we read from donor inode has to be in some buffer or page, is there a way we can associate this buffer with the reciever inode or write the contents of the buffer to the new inode. On Tue, Jan 6, 2009 at 10:46 PM,

Re: Copying Data Blocks

2009-01-06 Thread Manish Katiyar
On Tue, Jan 6, 2009 at 10:55 PM, Rohit Sharma imreckl...@gmail.com wrote: We can find out no. of block currently being used by the donor inode, The data we read from donor inode has to be in some buffer or page, Since we know the blocknumber of donor inode, it should be possible to do a raw

Re: Copying Data Blocks

2009-01-06 Thread Rohit Sharma
On Tue, Jan 6, 2009 at 10:58 PM, Manish Katiyar mkati...@gmail.com wrote: On Tue, Jan 6, 2009 at 10:55 PM, Rohit Sharma imreckl...@gmail.com wrote: We can find out no. of block currently being used by the donor inode, The data we read from donor inode has to be in some buffer or page, Since

Re: Copying Data Blocks

2009-01-06 Thread Rohit Sharma
On Tue, Jan 6, 2009 at 11:09 PM, Manish Katiyar mkati...@gmail.com wrote: On Tue, Jan 6, 2009 at 11:06 PM, Rohit Sharma imreckl...@gmail.com wrote: On Tue, Jan 6, 2009 at 10:58 PM, Manish Katiyar mkati...@gmail.com wrote: On Tue, Jan 6, 2009 at 10:55 PM, Rohit Sharma imreckl...@gmail.com wrote:

Re: Copying Data Blocks

2009-01-06 Thread Greg Freemyer
On Tue, Jan 6, 2009 at 12:46 PM, Rohit Sharma imreckl...@gmail.com wrote: On Tue, Jan 6, 2009 at 11:09 PM, Manish Katiyar mkati...@gmail.com wrote: On Tue, Jan 6, 2009 at 11:06 PM, Rohit Sharma imreckl...@gmail.com wrote: On Tue, Jan 6, 2009 at 10:58 PM, Manish Katiyar mkati...@gmail.com wrote:

Re: Copying Data Blocks

2009-01-06 Thread Manish Katiyar
On Tue, Jan 6, 2009 at 10:58 PM, Manish Katiyar mkati...@gmail.com wrote: On Tue, Jan 6, 2009 at 10:55 PM, Rohit Sharma imreckl...@gmail.com wrote: We can find out no. of block currently being used by the donor inode, The data we read from donor inode has to be in some buffer or page, Since

Re: Writing Vlan driver

2009-01-06 Thread Erik Mouw
On Tue, 6 Jan 2009 21:20:07 +0800 Tekale Sharad-FHJN78 fhj...@motorola.com wrote: Hi all, My task is to write a Vlan driver. But I'm new to Linux device drivers. No need to write that, support for IEEE 802.1Q VLAN has been in the kernel for ages. Although I have written

Re: Copying Data Blocks

2009-01-06 Thread Erik Mouw
On Tue, 6 Jan 2009 23:16:14 +0530 Rohit Sharma imreckl...@gmail.com wrote: On Tue, Jan 6, 2009 at 11:09 PM, Manish Katiyar mkati...@gmail.com wrote: Apart from performance, is there anything else you are worried about ? Performance is only a bottleneck, this can be done in user land but

Re: Copying Data Blocks

2009-01-06 Thread Om
Erik Mouw wrote: On Tue, 6 Jan 2009 23:16:14 +0530 Rohit Sharma imreckl...@gmail.com wrote: On Tue, Jan 6, 2009 at 11:09 PM, Manish Katiyar mkati...@gmail.com wrote: Apart from performance, is there anything else you are worried about ? Performance is only a bottleneck, this can be done in

Re: filesystem inside a file using loop device.

2009-01-06 Thread Sergei Trofimovich
Hi Sergei, Thank you for ur explanation.. Please find my doubts inline... 2009/1/4 Sergei Trofimovich sly...@uvaga.by: On Sun, 4 Jan 2009 18:39:10 +0530 Paraneetharan Chandrasekaran paraneethar...@gmail.com wrote: Hi All, I created a file of 10 MB from /dev/zero using

Re: video4linux2

2009-01-06 Thread Peter Teoh
Googling returns many links.. http://ftp.icm.edu.pl/packages/linux-uk/alan/Kernel/Documents/video4linux.pdf http://v4l.videotechnology.com/dwg/v4l2.pdf http://free-electrons.com/doc/embedded_linux_multimedia.pdf but I am not an expert. On Wed, Jan 7, 2009 at 12:45 AM, niamathullah sharief

Re: Writing Vlan driver

2009-01-06 Thread Peter Teoh
comment on the paper and let us know if it is updated or not, or relevant to your project? http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/pdf/VideoLAN-HOWTO.pdf On Tue, Jan 6, 2009 at 9:20 PM, Tekale Sharad-FHJN78 fhj...@motorola.com wrote: Hi all, My task is to write a Vlan

RE: Writing Vlan driver

2009-01-06 Thread Tekale Sharad-FHJN78
Hi Peter, I'm looking for virtual lan driver for Marvell switch(88e6060). Do you have any information related to it? Any way thanks, Sharad. -Original Message- From: Peter Teoh [mailto:htmldevelo...@gmail.com] Sent: Tuesday, January 06, 2009 6:29 PM To:

Re: filter drivers in Linux

2009-01-06 Thread Ramya Desai
On Mon, Dec 29, 2008 at 7:17 PM, Ramya Desai ramya.de...@gmail.com wrote: On Mon, Dec 29, 2008 at 5:33 PM, Srinivas G. sriniv...@esntechnologies.co.in wrote: On Fri, Dec 26, 2008 at 04:01:02PM +0530, Srinivas G. wrote: Actually my requirement is a bit different. I wanted to develop my custom

Re: filter drivers in Linux

2009-01-06 Thread Greg KH
On Mon, Dec 29, 2008 at 05:33:57PM +0530, Srinivas G. wrote: Please ignore my previous post. The current USB storage system is not lacking of any thing. Great. My requirement is to develop a driver for my custom device which can queue the commands with the corresponding increase in the

Re: filter drivers in Linux

2009-01-06 Thread Greg KH
On Wed, Jan 07, 2009 at 11:33:06AM +0530, Ramya Desai wrote: Can anyone suggest the possibility of writing a UASP driver in Linux as mentioned ? or any such implementation is available in any of Linux flavours? As for as I know, UASP looks very new technology, for any references any one can

Re: filter drivers in Linux

2009-01-06 Thread Greg KH
On Mon, Dec 29, 2008 at 07:17:15PM +0530, Ramya Desai wrote: I am also having the similar requirement. My requirement is to develop a driver for UASP (USB Attached SCSI Protocol) driver, without effecting the existing USB sub system. Why not change anything in the existing USB code in the

Re: Copying Data Blocks

2009-01-06 Thread Sandeep K Sinha
Ok, Let me rephrase what rohit is exactly trying to question. There is an inode X which has say some N number of data blocks. Now, through his own kernel module and some changes to the file system, he wants to create a new inode Y in the FS and physically copy all the data from the old inode to

Re: filter drivers in Linux

2009-01-06 Thread Greg KH
On Wed, Jan 07, 2009 at 12:22:07PM +0530, Ramya Desai wrote: On Wed, Jan 7, 2009 at 12:03 PM, Greg KH g...@kroah.com wrote: On Wed, Jan 07, 2009 at 11:33:06AM +0530, Ramya Desai wrote: Can anyone suggest the possibility of writing a UASP driver in Linux as mentioned ? or any such