Re: Is this a Bug?

2011-06-21 Thread Greg Freemyer
On Tue, Jun 21, 2011 at 5:57 PM, Christian Deussen 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 lkml. > In function wm8

Is this a Bug?

2011-06-21 Thread Christian Deussen
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 lkml. In function wm8958_dsp2_fw(), at line 64, there is an uninitialized variable used.

Re: checking atags for boot parameters

2011-06-21 Thread Christopher Harvey
On Wed, 22 Jun 2011 00:14:50 +0700, Mulyadi Santosa wrote: > Hi Christ... :) It's Chris. > > On Tue, Jun 21, 2011 at 21:20, Christopher Harvey > wrote: >>  I'm suspicious that the bootloader I'm using isn't passing atags to >> the >>  kernel properly. > > which bootloader? uboot > >>  I'm g

Re: inittab is not executing after my Linux box boots up

2011-06-21 Thread dinesh bhaskar
Hi Prajosh, On Sun, Jun 19, 2011 at 11:24 AM, Prajosh Premdas wrote: > Hi > > Please find the entire boot sequence here > > *RomBOOT* > * > * > > *Machine: Atmel AT91SAM9G20-EK* > *Memory policy: ECC disabled, Data cache writeback* > *Clocks: CPU 396 MHz, master 132 MHz, main 18.432 MHz* > *Buil

Re: checking atags for boot parameters

2011-06-21 Thread Mulyadi Santosa
Hi Christ... :) On Tue, Jun 21, 2011 at 21:20, Christopher Harvey wrote: >  I'm suspicious that the bootloader I'm using isn't passing atags to the >  kernel properly. which bootloader? >  I'm getting a prefetch exception right after the "uncompressing >  linuxdone" message, does it make se

Re: Question about page count

2011-06-21 Thread Mulyadi Santosa
Hi Dave :) On Tue, Jun 21, 2011 at 20:23, Dave Hylands wrote: > On the ARM, you can setup the MMU to map 1Mb regions or 4Kb regions. A > 1 Mb region only goes through the top level of the MMU, whereas a 4K > page has to go through 2 levesl, so accessing pages through the 1 Mb > mapping is faster.

checking atags for boot parameters

2011-06-21 Thread Christopher Harvey
I'm suspicious that the bootloader I'm using isn't passing atags to the kernel properly. I'm getting a prefetch exception right after the "uncompressing linuxdone" message, does it make sense that this could happen because mem=128M isn't getting passed properly? Basically what I want

Re: Question about page count

2011-06-21 Thread Jui-Hao Chiang
Hi, Mulyadi: My kernel module actually does something similar to the following struct page *page = mem_map; for (i = 0; i < 262144; i++, page++) printk("[%d] flags %x, count %x, mapcount %x, private %x, mapping %x, " "index %x, lrunext %x, lruprev %x\n", i, page->

Re: Question about page count

2011-06-21 Thread Dave Hylands
Hey Mulyadi, On Mon, Jun 20, 2011 at 10:15 PM, Mulyadi Santosa wrote: ...snip... > looking at how page_count implemented, it checks whether the related > page is gonna be reclaimed or a compound page (not sure what it is). > If so, returns the first page of that "page". On the ARM, you can setup

Re: inittab is not executing after my Linux box boots up

2011-06-21 Thread Bernd Petrovitsch
Hi! First, don't top-post. On Die, 2011-06-21 at 14:20 +0530, Prajosh Premdas wrote: [...] > I have copied the generated rsa key and placed it in my nfs root > filesystem. I find the problem still persists > Please see the last leg of the logs below > eth0: link up (100/Full) > VFS: Mounted r

Re: inittab is not executing after my Linux box boots up

2011-06-21 Thread Prajosh Premdas
Hi I have copied the generated rsa key and placed it in my nfs root filesystem. I find the problem still persists Please see the last leg of the logs below *eth0: link up (100/Full)* *VFS: Mounted root (nfs filesystem) on device 0:12.* *Freeing init memory: 128K* *Starting network...* *ip: RTNET