public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: x86: Debug warning: early ioremap leak of 2 areas detected.
Date: Fri, 18 Jan 2008 10:28:13 +0100	[thread overview]
Message-ID: <20080118092812.GI24337@elte.hu> (raw)
In-Reply-To: <478FDC52.5010002@goop.org>


* Jeremy Fitzhardinge <jeremy@goop.org> wrote:

> I got this when doing a test boot of a current x86 kernel under kvm.

sidenote, is this failure normal:

> acpiphp_ibm: ibm_acpiphp_init: acpi_walk_namespace failed

?

the leaked ioremap seems to be:

> early_ioremap(2fff0a10, 00000040) [1] => Pid: 1, comm: swapper Not tainted 2.6.24-rc8 #1877
> [<c04e3913>] early_ioremap+0x49/0x157
> [<c0117057>] __acpi_map_table+0x2f/0x31
> [<c0279459>] acpi_os_map_memory+0x1a/0x1c
> [<c028b4fc>] acpi_tb_verify_table+0x20/0x4d
> [<c028acea>] acpi_get_table+0x4a/0x91
> [<c04ec303>] acpi_processor_init+0x35/0xcf
> [<c04d44b8>] kernel_init+0x14f/0x2a5
> [<c0107c12>] ? ret_from_fork+0x6/0x1c
> [<c04d4369>] ? kernel_init+0x0/0x2a5
> [<c04d4369>] ? kernel_init+0x0/0x2a5
> [<c01089f3>] kernel_thread_helper+0x7/0x10
> =======================
> 00000a10 + ffd40000

> Debug warning: early ioremap leak of 2 areas detected.
> please boot with early_ioremap_debug and report the dmesg.

hm, why does it say 2? I only see a single backtrace in the dmesg you 
sent. ( Could you boot with ignore_loglevel to make sure you get all 
printks to the log? )

Btw., did the bootup otherwise go fine? The typical nesting is at most 2 
levels, and i've kept the max nesting at 4 so the typical 1-2 leaks 
should have no functional/correctness aspect on the bootup, just that 
warning message. Once we hit the 5th leaked ioremap we start rejecting 
early_ioremap()s and that might result in boot failures.

	Ingo

  reply	other threads:[~2008-01-18  9:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-17 22:53 x86: Debug warning: early ioremap leak of 2 areas detected Jeremy Fitzhardinge
2008-01-18  9:28 ` Ingo Molnar [this message]
2008-01-18 16:05   ` Jeremy Fitzhardinge

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=20080118092812.GI24337@elte.hu \
    --to=mingo@elte.hu \
    --cc=jeremy@goop.org \
    --cc=linux-kernel@vger.kernel.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