From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754791AbZBZRRt (ORCPT ); Thu, 26 Feb 2009 12:17:49 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750804AbZBZRRl (ORCPT ); Thu, 26 Feb 2009 12:17:41 -0500 Received: from mail-fx0-f176.google.com ([209.85.220.176]:54424 "EHLO mail-fx0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751407AbZBZRRk (ORCPT ); Thu, 26 Feb 2009 12:17:40 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=Ebj3Fy0eRfY9sOuDm+hlrR5GRNNrCI7eOfUn72GYztjbUT9VkY9LjHDEzljmrmp7Gp NiDU/NkId6HxPQMbIaSxz9ODPFZlk5CFL6dn3cO5xiPQ4e4YLkwv6/8jYjipdb5qrIP1 gYZKN6NP2e7j38K1iWwQJytKrJNiZlbI3mp4E= Date: Thu, 26 Feb 2009 18:17:26 +0100 From: Marcin Slusarz To: Jesper Krogh Cc: Linus Torvalds , linux-kernel@vger.kernel.org, Dave Olsen , Ryan Jackson , David.Woodhouse@intel.com, linux-mtd@lists.infradead.org Subject: MTD_CK804XROM warning (Was: Linux 2.6.29-rc6) Message-ID: <20090226171723.GA5941@joi> References: <49A679E8.1010301@krogh.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49A679E8.1010301@krogh.cc> User-Agent: Mutt/1.5.16 (2007-06-09) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 26, 2009 at 12:15:52PM +0100, Jesper Krogh wrote: > > Booting up 2.6.29-rc6 gave me this one in dmesg... > > [ 21.136149] ck804xrom ck804xrom_init_one(): Unable to register resource > 0x00000000ff000000-0x00000000ffffffff - kernel bug? > [ 21.136258] resource map sanity check conflict: 0xff000000 0xffffffff > 0xff700000 0xffffffff reserved > [ 21.136267] ------------[ cut here ]------------ > [ 21.136269] WARNING: at arch/x86/mm/ioremap.c:208 > __ioremap_caller+0x359/0x390() > [ 21.136271] Hardware name: Sun Fire X2200 M2 with Quad Core Processor > [ 21.136273] Info: mapping multiple BARs. Your kernel is fine.Modules > linked in: ck804xrom(+) mtd chipreg pcspkr(+) shpchp button pci_hotplug > i2c_nforce2 i2c_core map_funcs evdev ext3 jbd mbcache sg sd_mod usbhid hid > amd74xx sata_nv tg3 ata_generic libphy ehci_hcd libata ohci_hcd forcedeth > scsi_mod usbcore thermal processor fan thermal_sys fuse > [ 21.136289] Pid: 3843, comm: modprobe Not tainted 2.6.29-rc6 #2 > [ 21.136291] Call Trace: > [ 21.136298] [] warn_slowpath+0xf2/0x130 > [ 21.136301] [] __call_console_drivers+0x6a/0x90 > [ 21.136304] [] printk+0x4e/0x60 > [ 21.136306] [] printk+0x4e/0x60 > [ 21.136309] [] match_pci_dev_by_id+0x0/0x60 > [ 21.136313] [] iomem_map_sanity_check+0xbe/0xd0 > [ 21.136316] [] __ioremap_caller+0x359/0x390 > [ 21.136320] [] init_ck804xrom+0x1f6/0x62c [ck804xrom] > [ 21.136322] [] init_ck804xrom+0x1f6/0x62c [ck804xrom] > [ 21.136326] [] > tracepoint_update_probe_range+0x1c/0xb0 > [ 21.136329] [] init_ck804xrom+0x0/0x62c [ck804xrom] > [ 21.136332] [] _stext+0x3b/0x160 > [ 21.136335] [] __up_read+0x21/0xb0 > [ 21.136340] [] > __blocking_notifier_call_chain+0x65/0x90 > [ 21.136343] [] sys_init_module+0xb4/0x200 > [ 21.136346] [] system_call_fastpath+0x16/0x1b > [ 21.136348] ---[ end trace f807e12658961c2d ]--- > > > System is fully operational, but I didnt get it in 2.6.26.8 (most recent > kernel tried on this hardware). This message comes from this code in drivers/mtd/maps/ck804xrom.c: /* * Try to reserve the window mem region. If this fails then * it is likely due to a fragment of the window being * "reserved" by the BIOS. In the case that the * request_mem_region() fails then once the rom size is * discovered we will try to reserve the unreserved fragment. */ window->rsrc.name = MOD_NAME; window->rsrc.start = window->phys; window->rsrc.end = window->phys + window->size - 1; window->rsrc.flags = IORESOURCE_MEM | IORESOURCE_BUSY; if (request_resource(&iomem_resource, &window->rsrc)) { window->rsrc.parent = NULL; printk(KERN_ERR MOD_NAME " %s(): Unable to register resource" " 0x%.016llx-0x%.016llx - kernel bug?\n", __func__, (unsigned long long)window->rsrc.start, (unsigned long long)window->rsrc.end); } So it's probably harmless. Adding CC's. Marcin