Re: BUG() on apm resume in 2.6.18-rc2

Johannes Weiner
2006-07-27T07:39:33Z

Hi,

On Thu, Jul 27, 2006 at 12:08:56AM -0700, Andrew Morton wrote:
> (please always do reply-to-all)

Oh, sorry. Sometimes mutt doesn't recognize mails belonging to a list.

> That was an easy one - it crashed at
>
> EIP is at mcheck_init+0x4/0x80
>
> right at the start of mcheck_init(), so it had to be the access of
> mce_disabled.
>
> It accessed the address c0729c38:
>
> BUG: unable to handle kernel paging request at virtual address c0729c38
>
> and the code dump shows an access to that address.
>
> And the only way in which an access to a global variable of this nature can
> oops is if that variable has been unmapped from the kenrel address space.
> We unmap (and reuse) the __init memory, so it had to be a sectioning bug.

The fix was clear to me, though. After seeing it, I could imagine what
went wrong.

Hannes