Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758648Ab1FKPX3 (ORCPT ); Sat, 11 Jun 2011 11:23:29 -0400 Received: from higgs.elka.pw.edu.pl ([194.29.160.5]:37353 "EHLO higgs.elka.pw.edu.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758582Ab1FKPX1 (ORCPT ); Sat, 11 Jun 2011 11:23:27 -0400 X-Comment: RFC 2476 MSA function at elektron.elka.pw.edu.pl logged sender identity as: wzabolot Message-ID: <4DF3885B.2080900@ise.pw.edu.pl> Date: Sat, 11 Jun 2011 17:23:07 +0200 From: wzab User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110516 Icedove/3.1.10 MIME-Version: 1.0 To: linux-kernel@vger.kernel.org CC: wzab@ise.pw.edu.pl Subject: kmemcheck error and panic when booting 2.6.39.1 , however acpi=off allows to boot References: <4DEA8FDD.1060905@elektron.elka.pw.edu.pl> <4DEAA677.2010404@elektron.elka.pw.edu.pl> <4DEAAB42.8070704@elektron.elka.pw.edu.pl> <4DEB4EF2.5050102@elektron.elka.pw.edu.pl> <4DEBE579.1070508@ise.pw.edu.pl> In-Reply-To: <4DEBE579.1070508@ise.pw.edu.pl> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 14619 Lines: 278 Hi, Today I've tried to investigate more thoroughly why one of my machine doesn't boot with 2.6.39.1 I've performed four reboots with different parameters, recording serial console output to files: crash6.txt - booting with HT in BIOS on, parameters: kmemleak=on crash7.txt - booting with HT in BIOS on, parameters: slub_debug kmemleak=on crash8.txt - booting with HT in BIOS off, parameters: slub_debug kmemleak=on crash9.txt - booting with HT in BIOS on, parameters: slub_debug kmemleak=on acpi=off In all cases there was a problem detected in kmemcheck: crash6.txt: [ 69.689737] ------------[ cut here ]------------ [ 69.690605] WARNING: at arch/x86/mm/kmemcheck/kmemcheck.c:634 kmemcheck_fault+0xa5/0xc0() [ 69.690605] Hardware name: [ 69.690605] Modules linked in: [ 69.690605] Pid: 1, comm: swapper Not tainted 2.6.39.1 #3 [ 69.690605] Call Trace: [ 69.690605] [] warn_slowpath_common+0x6d/0xa0 [ 69.690605] [] ? kmemcheck_fault+0xa5/0xc0 [ 69.690605] [] ? kmemcheck_fault+0xa5/0xc0 [ 69.690605] [] warn_slowpath_null+0x1d/0x20 [ 69.690605] [] kmemcheck_fault+0xa5/0xc0 [ 69.690605] [] do_page_fault+0x270/0x440 [ 69.690605] [] ? kmemcheck_fault+0x6d/0xc0 [ 69.690605] [] ? kmemcheck_pte_lookup+0xe/0x40 [ 69.690605] [] ? vmalloc_sync_all+0x100/0x100 [ 69.690605] [] error_code+0x5f/0x64 [ 69.690605] [] ? io_apic_set_pci_routing+0x4b/0x60 [ 69.690605] [] ? vmalloc_sync_all+0x100/0x100 [ 69.690605] [] ? p4_pmu_handle_irq+0x7f/0x1b0 [ 69.690605] [] ? kmemcheck_pte_lookup+0xe/0x40 [ 69.690605] [] ? kmemcheck_save_addr+0x19/0x40 [ 69.690605] [] ? kmemcheck_show_addr+0xb/0x20 [ 69.690605] [] ? kmemcheck_show_all+0x2e/0x40 [ 69.690605] [] perf_event_nmi_handler+0x28/0xa0 [ 69.690605] [] notifier_call_chain+0x75/0xe0 [ 69.690605] [] __atomic_notifier_call_chain+0x60/0x90 [ 69.690605] [] ? register_reboot_notifier+0x20/0x20 [ 69.690605] [] atomic_notifier_call_chain+0x1a/0x20 [ 69.690605] [] notify_die+0x2d/0x30 [ 69.690605] [] default_do_nmi+0x32/0x280 [ 69.690605] [] do_nmi+0x7f/0x90 [ 69.690605] [] nmi_stack_correct+0x28/0x2d [ 69.690605] [] ? do_debug+0xc/0x190 [ 69.690605] [] debug_stack_correct+0x2e/0x34 [ 69.690605] [] ? prio_tree_insert+0xdf/0x190 [ 69.690605] [] create_object+0x140/0x230 [ 69.690605] [] kmemleak_alloc+0x27/0x50 [ 69.690605] [] kmem_cache_alloc+0xc9/0x110 [ 69.690605] [] dma_debug_init+0x96/0x140 [ 69.690605] [] ? start_kernel+0x322/0x322 [ 69.690605] [] ? start_kernel+0x322/0x322 [ 69.690605] [] pci_iommu_init+0x13/0x48 [ 69.690605] [] do_one_initcall+0x30/0x170 [ 69.690605] [] ? start_kernel+0x322/0x322 [ 69.690605] [] ? iommu_setup+0x1fd/0x1fd [ 69.690605] [] ? start_kernel+0x322/0x322 [ 69.690605] [] kernel_init+0x9b/0x12f [ 69.690605] [] kernel_thread_helper+0x6/0xd [ 69.690605] ---[ end trace 93d72a36b9146f22 ]--- crash7.txt: [ 69.687496] ------------[ cut here ]------------ [ 69.690015] WARNING: at arch/x86/mm/kmemcheck/kmemcheck.c:634 kmemcheck_fault+0xa5/0xc0() [ 69.690015] Hardware name: [ 69.690015] Modules linked in: [ 69.690015] Pid: 1, comm: swapper Not tainted 2.6.39.1 #3 [ 69.690015] Call Trace: [ 69.690015] [] warn_slowpath_common+0x6d/0xa0 [ 69.690015] [] ? kmemcheck_fault+0xa5/0xc0 [ 69.690015] [] ? kmemcheck_fault+0xa5/0xc0 [ 69.690015] [] warn_slowpath_null+0x1d/0x20 [ 69.690015] [] kmemcheck_fault+0xa5/0xc0 [ 69.690015] [] do_page_fault+0x270/0x440 [ 69.690015] [] ? kmemcheck_pte_lookup+0xe/0x40 [ 69.690015] [] ? kmemcheck_save_addr+0x19/0x40 [ 69.690015] [] ? kmemcheck_pte_lookup+0xe/0x40 [ 69.690015] [] ? kmemcheck_save_addr+0x19/0x40 [ 69.690015] [] ? kmemcheck_read_strict+0x33/0x80 [ 69.690015] [] ? vmalloc_sync_all+0x100/0x100 [ 69.690015] [] error_code+0x5f/0x64 [ 69.690015] [] ? vmalloc_sync_all+0x100/0x100 [ 69.690015] [] ? p4_pmu_handle_irq+0x7f/0x1b0 [ 69.690015] [] ? kmemcheck_pte_lookup+0xe/0x40 [ 69.690015] [] ? kmemcheck_pte_lookup+0xe/0x40 [ 69.690015] [] perf_event_nmi_handler+0x28/0xa0 [ 69.690015] [] notifier_call_chain+0x75/0xe0 [ 69.690015] [] __atomic_notifier_call_chain+0x60/0x90 [ 69.690015] [] ? register_reboot_notifier+0x20/0x20 [ 69.690015] [] atomic_notifier_call_chain+0x1a/0x20 [ 69.690015] [] notify_die+0x2d/0x30 [ 69.690015] [] default_do_nmi+0x32/0x280 [ 69.690015] [] do_nmi+0x7f/0x90 [ 69.690015] [] nmi_stack_correct+0x28/0x2d [ 69.690015] [] ? io_apic_set_pci_routing+0x4b/0x60 [ 69.690015] [] ? trace_hardirqs_off_caller+0xa6/0xf0 [ 69.690015] [] trace_hardirqs_off_thunk+0xc/0x18 [ 69.690015] [] ? ret_from_exception+0x6/0x6 [ 69.690015] [] ? unuse_pte+0xfb/0x120 [ 69.690015] [] ? create_object+0x52/0x230 [ 69.690015] [] kmemleak_alloc+0x27/0x50 [ 69.690015] [] kmem_cache_alloc+0xc9/0x110 [ 69.690015] [] dma_debug_init+0x96/0x140 [ 69.690015] [] ? start_kernel+0x322/0x322 [ 69.690015] [] ? start_kernel+0x322/0x322 [ 69.690015] [] pci_iommu_init+0x13/0x48 [ 69.690015] [] do_one_initcall+0x30/0x170 [ 69.690015] [] ? start_kernel+0x322/0x322 [ 69.690015] [] ? iommu_setup+0x1fd/0x1fd [ 69.690015] [] ? start_kernel+0x322/0x322 [ 69.690015] [] kernel_init+0x9b/0x12f [ 69.690015] [] kernel_thread_helper+0x6/0xd [ 69.690015] ---[ end trace 93d72a36b9146f22 ]--- crash8.txt: [ 69.663411] ------------[ cut here ]------------ [ 69.663411] WARNING: at arch/x86/mm/kmemcheck/kmemcheck.c:634 kmemcheck_fault+0xa5/0xc0() [ 69.663411] Hardware name: [ 69.663411] Modules linked in: [ 69.663411] Pid: 1, comm: swapper Not tainted 2.6.39.1 #3 [ 69.663411] Call Trace: [ 69.663411] [] warn_slowpath_common+0x6d/0xa0 [ 69.663411] [] ? kmemcheck_fault+0xa5/0xc0 [ 69.663411] [] ? kmemcheck_fault+0xa5/0xc0 [ 69.663411] [] warn_slowpath_null+0x1d/0x20 [ 69.663411] [] kmemcheck_fault+0xa5/0xc0 [ 69.663411] [] do_page_fault+0x270/0x440 [ 69.663411] [] ? kmemcheck_pte_lookup+0xe/0x40 [ 69.663411] [] ? native_sched_clock+0x26/0x90 [ 69.663411] [] ? sched_clock_local+0xd3/0x1c0 [ 69.663411] [] ? vmalloc_sync_all+0x100/0x100 [ 69.663411] [] error_code+0x5f/0x64 [ 69.663411] [] ? vmalloc_sync_all+0x100/0x100 [ 69.663411] [] ? p4_pmu_handle_irq+0x7f/0x1b0 [ 69.663411] [] ? kmemcheck_show_all+0x2e/0x40 [ 69.663411] [] ? kmemcheck_save_addr+0x19/0x40 [ 69.663411] [] ? kmemcheck_read_strict+0x33/0x80 [ 69.663411] [] perf_event_nmi_handler+0x28/0xa0 [ 69.663411] [] notifier_call_chain+0x75/0xe0 [ 69.663411] [] ? kmemcheck_show_all+0x2e/0x40 [ 69.663411] [] __atomic_notifier_call_chain+0x60/0x90 [ 69.663411] [] ? register_reboot_notifier+0x20/0x20 [ 69.663411] [] atomic_notifier_call_chain+0x1a/0x20 [ 69.663411] [] notify_die+0x2d/0x30 [ 69.663411] [] default_do_nmi+0x32/0x280 [ 69.663411] [] do_nmi+0x7f/0x90 [ 69.663411] [] nmi_stack_correct+0x28/0x2d [ 69.663411] [] ? spurious_interrupt_bug+0xc/0xc [ 69.663411] [] ? prio_tree_replace+0x4c/0x60 [ 69.663411] [] prio_tree_insert+0x129/0x190 [ 69.663411] [] create_object+0x140/0x230 [ 69.663411] [] kmemleak_alloc+0x27/0x50 [ 69.663411] [] kmem_cache_alloc+0xc9/0x110 [ 69.663411] [] dma_debug_init+0x96/0x140 [ 69.663411] [] ? start_kernel+0x322/0x322 [ 69.663411] [] ? start_kernel+0x322/0x322 [ 69.663411] [] pci_iommu_init+0x13/0x48 [ 69.663411] [] do_one_initcall+0x30/0x170 [ 69.663411] [] ? start_kernel+0x322/0x322 [ 69.663411] [] ? iommu_setup+0x1fd/0x1fd [ 69.663411] [] ? start_kernel+0x322/0x322 [ 69.663411] [] kernel_init+0x9b/0x12f [ 69.663411] [] kernel_thread_helper+0x6/0xd [ 69.663411] ---[ end trace 93d72a36b9146f22 ]--- crash9.txt: [ 61.373342] ------------[ cut here ]------------ [ 61.373348] WARNING: at arch/x86/mm/kmemcheck/kmemcheck.c:634 kmemcheck_fault+0xa5/0xc0() [ 61.373348] Hardware name: [ 61.373348] Modules linked in: [ 61.373348] Pid: 1, comm: swapper Not tainted 2.6.39.1 #3 [ 61.373348] Call Trace: [ 61.373348] [] warn_slowpath_common+0x6d/0xa0 [ 61.373348] [] ? kmemcheck_fault+0xa5/0xc0 [ 61.373348] [] ? kmemcheck_fault+0xa5/0xc0 [ 61.373348] [] warn_slowpath_null+0x1d/0x20 [ 61.373348] [] kmemcheck_fault+0xa5/0xc0 [ 61.373348] [] do_page_fault+0x270/0x440 [ 61.373348] [] ? kmemcheck_read_strict+0x33/0x80 [ 61.373348] [] ? kmemcheck_save_addr+0x19/0x40 [ 61.373348] [] ? kmemcheck_read_strict+0x33/0x80 [ 61.373348] [] ? kmemcheck_pte_lookup+0xe/0x40 [ 61.373348] [] ? vmalloc_sync_all+0x100/0x100 [ 61.373348] [] error_code+0x5f/0x64 [ 61.373348] [] ? vmalloc_sync_all+0x100/0x100 [ 61.373348] [] ? p4_pmu_handle_irq+0x7f/0x1b0 [ 61.373348] [] ? kmemcheck_read_strict+0x33/0x80 [ 61.373348] [] ? kmemcheck_pte_lookup+0xe/0x40 [ 61.373348] [] ? kmemcheck_pte_lookup+0xe/0x40 [ 61.373348] [] perf_event_nmi_handler+0x28/0xa0 [ 61.373348] [] notifier_call_chain+0x75/0xe0 [ 61.373348] [] __atomic_notifier_call_chain+0x60/0x90 [ 61.373348] [] ? register_reboot_notifier+0x20/0x20 [ 61.373348] [] atomic_notifier_call_chain+0x1a/0x20 [ 61.373348] [] notify_die+0x2d/0x30 [ 61.373348] [] default_do_nmi+0x32/0x280 [ 61.373348] [] ? kmemcheck_fault+0x6d/0xc0 [ 61.373348] [] do_nmi+0x7f/0x90 [ 61.373348] [] nmi_stack_correct+0x28/0x2d [ 61.373348] [] ? io_apic_set_pci_routing+0x4b/0x60 [ 61.373348] [] ? time_cpufreq_notifier+0x140/0x140 [ 61.373348] [] ? sched_clock_local+0xd3/0x1c0 [ 61.373348] [] ? kmemcheck_show_addr+0xb/0x20 [ 61.373348] [] ? kmemcheck_show_all+0x2e/0x40 [ 61.373348] [] ? kmemcheck_fault+0x6d/0xc0 [ 61.373348] [] sched_clock_cpu+0xf9/0x190 [ 61.373348] [] ? kmemcheck_pte_lookup+0xe/0x40 [ 61.373348] [] local_clock+0x19/0x60 [ 61.373348] [] lock_release_holdtime+0x2d/0x160 [ 61.373348] [] ? kmemcheck_trap+0x1a/0x30 [ 61.373348] [] lock_release_nested+0x8c/0x110 [ 61.373348] [] ? debug_object_deactivate+0x8a/0xf0 [ 61.373348] [] __lock_release+0x4b/0xe0 [ 61.373348] [] lock_release+0x49/0x70 [ 61.373348] [] ? debug_object_deactivate+0x8a/0xf0 [ 61.373348] [] _raw_spin_unlock_irqrestore+0x19/0x70 [ 61.373348] [] debug_object_deactivate+0x8a/0xf0 [ 61.373348] [] __run_hrtimer.clone.22+0x2d/0x120 [ 61.373348] [] ? _raw_spin_lock+0x66/0x70 [ 61.373348] [] hrtimer_interrupt+0x17d/0x260 [ 61.373348] [] ? kmemcheck_hide_addr+0xb/0x20 [ 61.373348] [] smp_apic_timer_interrupt+0x50/0x90 [ 61.373348] [] ? trace_hardirqs_off_thunk+0xc/0x18 [ 61.373348] [] apic_timer_interrupt+0x2f/0x34 [ 61.373348] [] ? radix_tree_callback+0x4b/0x60 [ 61.373348] [] ? sysfs_find_dirent+0x2a/0x50 [ 61.373348] [] __sysfs_add_one+0x27/0x90 [ 61.373348] [] sysfs_add_one+0x18/0xb0 [ 61.373348] [] sysfs_do_create_link+0xea/0x1f0 [ 61.373348] [] sysfs_create_link+0x12/0x20 [ 61.373348] [] device_add+0x154/0x350 [ 61.373348] [] device_register+0x12/0x20 [ 61.373348] [] device_create_vargs+0xa1/0xc0 [ 61.373348] [] device_create+0x28/0x30 [ 61.373348] [] tty_register_device+0x7f/0x100 [ 61.373348] [] ? radix_tree_callback+0x5/0x60 [ 61.373348] [] ? restore_all+0xf/0xf [ 61.373348] [] ? kobject_cleanup+0x100/0x110 [ 61.373348] [] tty_register_driver+0xf3/0x240 [ 61.373348] [] legacy_pty_init+0x159/0x188 [ 61.373348] [] ? start_kernel+0x322/0x322 [ 61.373348] [] pty_init+0x8/0x11 [ 61.373348] [] do_one_initcall+0x30/0x170 [ 61.373348] [] ? start_kernel+0x322/0x322 [ 61.373348] [] ? unix98_pty_init+0x224/0x224 [ 61.373348] [] ? start_kernel+0x322/0x322 [ 61.373348] [] kernel_init+0x9b/0x12f [ 61.373348] [] kernel_thread_helper+0x6/0xd [ 61.373348] ---[ end trace 93d72a36b9146f22 ]--- All above errors look very similar, however further operation of the kernel depends on boot parameters. Only with "acpi=off" the system started completely, and I was able to log in into gdm, and later switch it off in normal way (crash8.txt). With other parameters kernel panicked during the boot. I attach the crashes.tar.z2 file containing logs (crash?.txt) and configuration of my kernel (config). Hardware details of my machine were already provided in previous messages in this thread. -- Regards, Wojtek -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/