From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754688AbZAVVYQ (ORCPT ); Thu, 22 Jan 2009 16:24:16 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752039AbZAVVYA (ORCPT ); Thu, 22 Jan 2009 16:24:00 -0500 Received: from mx1.suse.de ([195.135.220.2]:40732 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751975AbZAVVX7 (ORCPT ); Thu, 22 Jan 2009 16:23:59 -0500 Message-ID: <4978E3D6.1090903@suse.com> Date: Thu, 22 Jan 2009 16:23:34 -0500 From: Jeff Mahoney Organization: SUSE Labs, Novell, Inc User-Agent: Thunderbird 2.0.0.19 (X11/20081227) MIME-Version: 1.0 To: Ingo Molnar Cc: Suresh Siddha , Linux Kernel Mailing List , Venkatesh Pallipadi , "H. Peter Anvin" , Thomas Gleixner Subject: Re: [BUG] Page table corruption from commit 9542ada803198e6eba29d3289abb39ea82047b92. References: <49780D3D.5030406@suse.com> <20090122083149.GB7438@elte.hu> In-Reply-To: <20090122083149.GB7438@elte.hu> X-Enigmail-Version: 0.95.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ingo Molnar wrote: > * Jeff Mahoney wrote: > >> Hi Suresh - >> >> I'm running into the following dump on one of my development nodes. I've >> bisected it down to commit 9542ada803198e6eba29d3289abb39ea82047b92. The >> SUSE hwinfo tool can reproduce this readily, at least on my system. I'd >> be happy to try any test fixes. >> >> Here's from the bisection run, 2.6.27-rc6. > > Could you try the current -tip tree please? > > http://people.redhat.com/mingo/tip.git/README > > There's a number of fixes in there that i think will fix your crash. In > particular: > > 9597134: x86: fix PTE corruption issue while mapping RAM using /dev/mem Yep. That change fixed the corruption, but I still get the other warning. It originates with mainline commit 5899329b19100c0b82dc78e9b21ed8b920c9ffb3. I get another warning at the bisect site, but it seems secondary. It doesn't occur in tip, though. - -Jeff In tip: - ------------[ cut here ]------------ WARNING: at arch/x86/mm/pat.c:637 reserve_pfn_range+0x5b/0x26d() Hardware name: To Be Filled By O.E.M. Modules linked in: ipv6 af_packet fuse loop dm_mod tg3 shpchp sg ppdev i2c_amd756 i2c_amd8111 rtc_cmos rtc_core parport_pc amd_rng serio_raw pcspkr button pci_hotplug rtc_lib parport sr_mod k8temp i2c_core cdrom floppy ohci_hcd sd_mod crc_t10dif usbcore edd ext3 mbcache jbd fan ata_generic pata_amd sata_sil libata scsi_mod thermal processor thermal_sys hwmon Pid: 5841, comm: hwinfo Not tainted 2.6.29-rc2-tip-vanilla #19 Call Trace: [] warn_slowpath+0xb1/0xed [] ? vm_unmap_aliases+0x175/0x185 [] ? change_page_attr_set_clr+0x13e/0x33a [] ? _spin_lock+0x17/0x1a [] ? __purge_vmap_area_lazy+0x173/0x183 [] reserve_pfn_range+0x5b/0x26d [] track_pfn_vma_new+0x4b/0xb8 [] remap_pfn_range+0xb5/0x50e [] ? ioremap_change_attr+0x26/0x28 [] ? phys_mem_access_prot_allowed+0x100/0x1a9 [] ? __dentry_open+0x174/0x265 [] mmap_mem+0x75/0x9d [] mmap_region+0x2a3/0x52a [] do_mmap_pgoff+0x30d/0x370 [] ? __down_write_nested+0x45/0xe1 [] sys_mmap+0x92/0xce [] system_call_fastpath+0x16/0x1b - ---[ end trace e793dff9eb62b2bd ]--- At the bisect site: - ------------[ cut here ]------------ WARNING: at arch/x86/mm/pat.c:619 reserve_pfn_range+0x4c/0x231() Modules linked in: ipv6 af_packet fuse loop dm_mod ppdev sg tg3 i2c_amd8111 parport_pc sr_mod i2c_amd756 rtc_cmos shpchp amd_rng button rtc_core parport floppy i2c_core serio_raw cdrom pcspkr rtc_lib k8temp pci_hotplug ohci_hcd sd_mod crc_t10dif usbcore edd ext3 mbcache jbd fan ata_generic pata_amd sata_sil libata scsi_mod thermal processor thermal_sys hwmon Pid: 5642, comm: hwinfo Not tainted 2.6.28-rc8-vanilla #44 Call Trace: [] warn_on_slowpath+0x58/0x7d [] ? change_page_attr_set_clr+0x136/0x32e [] ? _spin_lock+0x17/0x1a [] ? __purge_vmap_area_lazy+0x171/0x181 [] ? pagerange_is_ram+0x31/0x5c [] reserve_pfn_range+0x4c/0x231 [] track_pfn_vma_new+0x49/0xb3 [] remap_pfn_range+0xa4/0x4dc [] ? _set_memory_wb+0x22/0x24 [] ? ioremap_change_attr+0x26/0x28 [] ? phys_mem_access_prot_allowed+0x100/0x1a9 [] mmap_mem+0x75/0x9d [] mmap_region+0x297/0x506 [] do_mmap_pgoff+0x30d/0x370 [] ? __down_write_nested+0x45/0xdc [] sys_mmap+0x92/0xce [] system_call_fastpath+0x16/0x1b - ---[ end trace a2d1666c2f766ad5 ]--- - ------------[ cut here ]------------ WARNING: at arch/x86/mm/pageattr.c:560 __change_page_attr_set_clr+0x10b/0xc0c() CPA: called for zero pte. vaddr = ffff8800f7ff0000 cpa->vaddr = ffff8800f7ff0000 Modules linked in: ipv6 af_packet fuse loop dm_mod ppdev sg tg3 i2c_amd8111 parport_pc sr_mod i2c_amd756 rtc_cmos shpchp amd_rng button rtc_core parport floppy i2c_core serio_raw cdrom pcspkr rtc_lib k8temp pci_hotplug ohci_hcd sd_mod crc_t10dif usbcore edd ext3 mbcache jbd fan ata_generic pata_amd sata_sil libata scsi_mod thermal processor thermal_sys hwmon Pid: 5645, comm: acpidump Tainted: G W 2.6.28-rc8-vanilla #44 Call Trace: [] warn_slowpath+0x8c/0xb3 [] ? zone_statistics+0x62/0x67 [] ? lookup_address+0x1dd/0x209 [] ? zone_statistics+0x62/0x67 [] ? get_page_from_freelist+0x4e4/0x69e [] ? zone_statistics+0x62/0x67 [] ? get_page_from_freelist+0x4e4/0x69e [] __change_page_attr_set_clr+0x10b/0xc0c [] ? find_lock_page+0x1e/0x5c [] ? lookup_address+0x1dd/0x209 [] ? filemap_fault+0x1c4/0x31b [] ? unlock_page+0x22/0x26 [] ? __do_fault+0x46e/0x4b4 [] ? _spin_lock+0x17/0x1a [] ? __purge_vmap_area_lazy+0x171/0x181 [] ? vm_unmap_aliases+0x172/0x182 [] change_page_attr_set_clr+0x136/0x32e [] ? pagerange_is_ram+0x31/0x5c [] _set_memory_uc+0x22/0x24 [] ioremap_change_attr+0x18/0x28 [] reserve_pfn_range+0x19f/0x231 [] track_pfn_vma_new+0x49/0xb3 [] remap_pfn_range+0xa4/0x4dc [] ? _spin_lock+0x17/0x1a [] ? reserve_memtype+0x3e1/0x501 [] ? phys_mem_access_prot_allowed+0xb5/0x1a9 [] mmap_mem+0x75/0x9d [] mmap_region+0x297/0x506 [] do_mmap_pgoff+0x30d/0x370 [] ? __down_write_nested+0x45/0xdc [] sys_mmap+0x92/0xce [] system_call_fastpath+0x16/0x1b - ---[ end trace a2d1666c2f766ad5 ]--- acpidump:5645 reserve_pfn_range ioremap_change_attr failed uncached-minus for f7ff0000-f7ff1000 - -- Jeff Mahoney SUSE Labs -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkl449YACgkQLPWxlyuTD7JZcwCeL9b6Rqvz5otheyDjLvFi/lPf E78An20tdqum1+G80ZzTqs7baRDbyhTL =J7ag -----END PGP SIGNATURE-----