From mboxrd@z Thu Jan 1 00:00:00 1970 From: chris@basementcode.com (Christopher Harvey) Date: Tue, 21 Jun 2011 13:24:10 -0500 Subject: checking atags for boot parameters In-Reply-To: References: <168051d7805b6717014ba340feec0ffa@basementcode.com> Message-ID: <1a6c14aa701560fd0dcda32478cebe5b@basementcode.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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 getting a prefetch exception right after the "uncompressing >> ?linux....done" message, does it make sense that this could happen >> ?because mem=128M isn't getting passed properly? > > uhm, fairly unlikely for me.... must be something else... could you > tell us which arch it is and which kernel version (along with patches > from certain tree, if any) that yield that error message? It's not an error message, but with difficulty I was able to trace some of the code and it ends up in a prefetch exception handler. I am not able to find out from where however, and the line stepping is a bit sketchy. No major patches to the kernel, and it runs in QEMU without error. Adding uboot to QEMU then booting the same kernel yields the problems. It would be nice to find out what physical address the kernel is uncompressed to as well, I'm as of yet unable to properly trace after decompression. -C