virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
From: Jeremy Fitzhardinge <jeremy@goop.org>
To: James Morris <jmorris@redhat.com>
Cc: virtualization@lists.osdl.org
Subject: Re: [PATCH] fix boot crash when freeing initrd memory
Date: Wed, 01 Nov 2006 14:49:31 -0800	[thread overview]
Message-ID: <4549247B.2070403@goop.org> (raw)
In-Reply-To: <Pine.LNX.4.44.0611011729170.31570-100000@redline.boston.redhat.com>

James Morris wrote:
> I'm triggering this BUG_ON during boot, which happens while freeing initrd 
> memory:
>
>  EIP is at free_init_pages+0x37/0xac
>  [<c01143f1>] free_initrd_mem+0x11/0x13
>  [<c03ce259>] free_initrd+0x13/0x29
>  [<c03cf647>] populate_rootfs+0xdc/0xe2
>  [<c01003af>] init+0x42/0x253
>  [<c0103bbb>] kernel_thread_helper+0x7/0x10
>
>
> I'm not sure why this memory isn't aligned now.
>
> The patch below allows my system to boot.  Any clues about the correct fix
> appreciated.
>   

Is this booting native or under Xen?  I put the BUG_ON in there since if 
it isn't page-aligned, freeing the page would seem to be freeing 
something else unexpectedly...  I think ChrisW was triggering this 
BUG_ON at one point, but I don't think we've worked out what's going on 
here.

    J

  reply	other threads:[~2006-11-01 22:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-01 22:36 [PATCH] fix boot crash when freeing initrd memory James Morris
2006-11-01 22:49 ` Jeremy Fitzhardinge [this message]
2006-11-01 23:22   ` James Morris
2006-11-01 23:34     ` James Morris
2006-11-01 23:56       ` James Morris
2006-11-01 23:59       ` Zachary Amsden
2006-11-02  0:15         ` James Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4549247B.2070403@goop.org \
    --to=jeremy@goop.org \
    --cc=jmorris@redhat.com \
    --cc=virtualization@lists.osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).