[PATCH 4/5] arm: Fix init_atags_procfs() to check tag->hdr.size

Tony Lindgren tony at atomide.com
Sat Dec 19 13:44:18 EST 2009


* Tony Lindgren <tony at atomide.com> [091219 09:43]:
> * Russell King - ARM Linux <linux at arm.linux.org.uk> [091219 01:02]:
> > On Fri, Dec 18, 2009 at 07:46:30PM -0800, Tony Lindgren wrote:
> > > The tag->hdr.size cannot be larger than XXX.
> > > Otherwise we can getsomething similar during boot:
> > > 
> > > Unable to handle kernel paging request at virtual address 61a05020
> > > ...
> > 
> > NAK.
> > 
> > Why can't people get the simple ATAG setup right?  Fix the boot loader.
> 
> In this case why can't the kernel get ATAG setup right?
> 
> This only happens when kexec rebooting multiple times in a row.
> 
> Sounds like something is not memset/kzalloc'd somewhere?

Heh. I can't reproduce this any longer. I bet it was caused by
the bug in my earlier reboot script that kept appending another
root= to the cmdline every reboot :)

Tony




More information about the linux-arm-kernel mailing list