Re: How much control does a block driver have over the buffer cache?

2011-07-12 Thread Mulyadi Santosa
On Wed, Jul 13, 2011 at 07:30, Neil Baylis wrote: > For example, would it be possible to create a block driver that does not use > the buffer cache? I think the answer must be 'no' because the caching > happens before the block driver gets any requests to move data. something like dd iflag=direc

RE: Kernel panic - not syncing: Attempted to kill init!

2011-07-12 Thread 研六 福州
boot option: root=/dev/mtdblock1 rootfstype=ext3 rw console=ttyS0,115200 mtdparts=phys_mapped_flash:1024k(bootloader)ro,256k(product_info),256k(system_para),128k(exception_info),128k(bootloader_env),-(reserve);gen_nand.0:128M(root),-(usr) boot logs: Using octmgmt0 device TFTP from server 10.10.10

Re: File System concept

2011-07-12 Thread Vladimir Murzin
On Tue, Jul 12, 2011 at 5:44 PM, Ajay kumar wrote: > Where can I read about different file system features ?? > snapshots, journaling etc.. > > Regards, > Onkar > > ___ > Kernelnewbies mailing list > Kernelnewbies@kernelnewbies.org > http://lists.kerneln

Re: Kernel panic - not syncing: Attempted to kill init!

2011-07-12 Thread Vladimir Murzin
2011/7/13 史星星(研六 福州) : > Hi, > > I got a problem when trying to boot linux 2.6.32.13 on my Octeon > CN5650 board. > > Booting logs below: > > ...omit…. > > EXT3-fs warning: maximal mount count reached, running e2fsck is recommended > > kjournald starting.  Commit interval 5 seconds > > EXT

Kernel panic - not syncing: Attempted to kill init!

2011-07-12 Thread 研六 福州
Hi, I got a problem when trying to boot linux 2.6.32.13 on my Octeon CN5650 board. Booting logs below: ...omit…. EXT3-fs warning: maximal mount count reached, running e2fsck is recommended kjournald starting. Commit interval 5 seconds EXT3 FS on mtdblock1, internal journal EXT3-fs: recov

How much control does a block driver have over the buffer cache?

2011-07-12 Thread Neil Baylis
I'm trying to clarify my picture of how the buffer cache works. I notice that if I do the following: dd if=/dev/sda7 of=/dev/null bs=10k count=100 The first time will be slow, and the second and subsequent times will be very fast because the data are now in the buffer cache. However, this is onl

Re: Need basics of booting process

2011-07-12 Thread Pavan Kandepet
Check this one out: http://milindchoudhary.wordpress.com/2009/03/30/linux-boot-process/ Another one: http://duartes.org/gustavo/blog/post/kernel-boot-process Hope this helps, Pavan On Tue, Jul 12, 2011 at 11:07 AM, Mulyadi Santosa wrote: > On Tue, Jul 12, 2011 at 21:04, Niamathullah sharief

Re: Need basics of booting process

2011-07-12 Thread Mulyadi Santosa
On Tue, Jul 12, 2011 at 21:04, Niamathullah sharief wrote: > Its getting confusion for me..I am telling what i understood > > BIOS--->POST->MBR--->Bootloader-->Kernel. Roughly, yeah something like thatmind you, POST is a procedure that is part of BIOS initializatio

Re: question about staging tree branches

2011-07-12 Thread Daniel Baluta
On Tue, Jul 12, 2011 at 7:01 PM, Greg KH wrote: > On Tue, Jul 12, 2011 at 12:15:17PM +0530, Prashant Shah wrote: >> Hi, >> >> There are 4 branches in the staging tree >> >>   remotes/staging/master >>   remotes/staging/ralink >>   remotes/staging/staging-linus >>   remotes/staging/staging-next >>

Re: question about staging tree branches

2011-07-12 Thread Greg KH
On Tue, Jul 12, 2011 at 12:15:17PM +0530, Prashant Shah wrote: > Hi, > > There are 4 branches in the staging tree > > remotes/staging/master > remotes/staging/ralink > remotes/staging/staging-linus > remotes/staging/staging-next > > Is the staging-linus is what Linus merges and staging-n

Re: data transfer from kernel to user space

2011-07-12 Thread Greg KH
On Tue, Jul 12, 2011 at 12:26:35PM +0530, Amit Nagal wrote: > After all even for stream-oriented device (as in my case ) , we need > to copy data from kernel buffer to user-space buffer , > and if copy can be avoided via any mechanism , it will be much faster . Have you really measured your data

Re: Need basics of booting process

2011-07-12 Thread Niamathullah sharief
Its getting confusion for me..I am telling what i understood BIOS--->POST->MBR--->Bootloader-->Kernel. I thinks the above hierarchy is correct? On Mon, Jul 11, 2011 at 2:02 PM, amit mehta wrote: > I find these two articles on this topic by the same guy extremely he

File System concept

2011-07-12 Thread Ajay kumar
Where can I read about different file system features ?? snapshots, journaling etc.. Regards, Onkar ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: data transfer from kernel to user space

2011-07-12 Thread Daniel Baluta
On Tue, Jul 12, 2011 at 9:56 AM, Amit Nagal wrote: > On Tue, Jul 12, 2011 at 11:51 AM, Tirtha Ghosh wrote: >> Use a shared memory between user space and kernel space. >> The same physical memory can be translated as user-space virtual address as >> well as kernel space. >> See more about mmap, io