Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755290AbYKUKvH (ORCPT ); Fri, 21 Nov 2008 05:51:07 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753237AbYKUKuv (ORCPT ); Fri, 21 Nov 2008 05:50:51 -0500 Received: from yx-out-2324.google.com ([74.125.44.30]:40374 "EHLO yx-out-2324.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753003AbYKUKut (ORCPT ); Fri, 21 Nov 2008 05:50:49 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=JCZGt3Z95ir2+EF2K4TCkvn/5ayusD8zztwfLVb7C5beOr6WqEGUPAb6i3DKnCCjJV K/KsWEDSdOqrEAdEhVXoDa1Lv7UY1WaIPORybD7VESvUMnLwJASH0b3yyp5pgX0HRlsB PUHNwANkyJf+ZKk11WDjgty5Ep24rxcaUTRsM= Message-ID: Date: Fri, 21 Nov 2008 13:50:47 +0300 From: "Alexander Beregalov" To: "Thomas Gleixner" Subject: Re: next-20081119: general protection fault: get_next_timer_interrupt() Cc: LKML , linux-next@vger.kernel.org, mingo@elte.hu, linux-scsi@vger.kernel.org, James.Bottomley@hansenpartnership.com In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 8582 Lines: 193 2008/11/20 Thomas Gleixner : > Alexander, > > On Wed, 19 Nov 2008, Alexander Beregalov wrote: >> >> It is 4way X86_64 >> The kernel does not boot. > >> RIP: 0010:[] [] >> get_next_timer_interrupt+0x11b/0x1f0 > > Can you please enable: > > CONFIG_DEBUG_OBJECTS=y > CONFIG_DEBUG_OBJECTS_FREE=y > CONFIG_DEBUG_OBJECTS_TIMERS=Y > > and add "debug_objects" to the kernel command line ? I added these options: hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0 hpet0: 3 comparators, 64-bit 14.318180 MHz counter ODEBUG: object is on stack, but not annotated ------------[ cut here ]------------ WARNING: at lib/debugobjects.c:251 __debug_object_init+0x2bf/0x36d() Modules linked in: Pid: 1, comm: swapper Not tainted 2.6.28-rc5-next-20081119 #9 Call Trace: [] warn_on_slowpath+0x58/0x7d [] ? printk+0x67/0x6b [] ? __debug_object_init+0x191/0x36d [] __debug_object_init+0x2bf/0x36d [] ? compound_order+0x15/0x26 [] debug_object_init+0x14/0x17 [] init_timer+0x18/0x5b [] hpet_cpuhp_notify+0x93/0x105 [] ? hpet_work+0x0/0x206 [] ? hpet_alloc+0x333/0x38f [] ? trace_hardirqs_on_caller+0x128/0x153 [] ? trace_hardirqs_on+0xd/0xf [] ? hpet_late_init+0x0/0x19e [] ? hpet_late_init+0x0/0x19e [] hpet_late_init+0x16a/0x19e [] ? print_all_ICs+0x0/0x540 [] _stext+0x58/0x138 [] ? _spin_unlock+0x4a/0x57 [] ? proc_register+0x17f/0x193 [] ? create_proc_entry+0x7e/0x94 [] ? register_irq_proc+0xb0/0xcc [] ? do_usbdevfs_bulk+0xf8/0xfe [] kernel_init+0x125/0x179 [] ? trace_hardirqs_on_thunk+0x3a/0x3f [] child_rip+0xa/0x11 [] ? restore_args+0x0/0x30 [] ? kernel_init+0x0/0x179 [] ? child_rip+0x0/0x11 ---[ end trace 4eaa2a86a8e2da22 ]--- <...> scsi0 : LSI SAS based MegaRAID driver Driver 'sd' needs updating - please use bus_type methods scsi 0:0:0:0: Direct-Access ATA SAMSUNG HE160HJ 0-24 PQ: 0 ANSI: 5 ------------[ cut here ]------------ WARNING: at lib/debugobjects.c:215 debug_print_object+0x4f/0x57() ODEBUG: free active object type: timer_list Modules linked in: Pid: 580, comm: scsi_scan_0 Tainted: G W 2.6.28-rc5-next-20081119 #9 Call Trace: [] warn_slowpath+0xae/0xd5 [] ? debug_check_no_obj_freed+0x75/0x1c8 [] debug_print_object+0x4f/0x57 [] debug_check_no_obj_freed+0x9c/0x1c8 [] kmem_cache_free+0x64/0xc0 [] ? blk_release_queue+0x61/0x66 [] blk_release_queue+0x61/0x66 [] kobject_release+0x52/0x68 [] ? kobject_release+0x0/0x68 [] kref_put+0x43/0x4f [] kobject_put+0x47/0x4b [] blk_cleanup_queue+0x57/0x5c [] scsi_free_queue+0x9/0xb [] scsi_device_dev_release_usercontext+0xdc/0x127 [] ? scsi_device_dev_release_usercontext+0x0/0x127 [] execute_in_process_context+0x2a/0x70 [] scsi_device_dev_release+0x17/0x19 [] device_release+0x43/0x68 [] kobject_release+0x52/0x68 [] ? kobject_release+0x0/0x68 [] kref_put+0x43/0x4f [] kobject_put+0x47/0x4b [] put_device+0x15/0x17 [] scsi_destroy_sdev+0x48/0x4c [] scsi_probe_and_add_lun+0xb5d/0xb81 [] ? scsi_alloc_target+0x22b/0x267 [] __scsi_scan_target+0x9d/0x598 [] ? trace_hardirqs_on_caller+0x1f/0x153 [] ? __mutex_lock_common+0x371/0x3be [] ? scsi_scan_host_selected+0xb6/0x133 [] ? trace_hardirqs_on_caller+0x1f/0x153 [] ? scsi_scan_host_selected+0xb6/0x133 [] scsi_scan_channel+0x52/0x78 [] scsi_scan_host_selected+0xf1/0x133 [] ? do_scan_async+0x0/0x127 [] do_scsi_scan_host+0x6b/0x70 [] ? do_scan_async+0x0/0x127 [] do_scan_async+0x17/0x127 [] ? do_scan_async+0x0/0x127 [] kthread+0x49/0x76 [] child_rip+0xa/0x11 [] ? restore_args+0x0/0x30 [] ? kthread+0x0/0x76 [] ? child_rip+0x0/0x11 ---[ end trace 4eaa2a86a8e2da22 ]--- <...> ata2: port disabled. ignoring. scsi: waiting for bus probes to complete ... WARNING: at lib/debugobjects.c:215 debug_print_object+0x4f/0x57() ODEBUG: free active object type: timer_list Modules linked in: Pid: 580, comm: scsi_scan_0 Tainted: G W 2.6.28-rc5-next-20081119 #9 Call Trace: [] warn_slowpath+0xae/0xd5 [] ? write_vga+0x18/0x4e [] ? debug_check_no_obj_freed+0x75/0x1c8 [] debug_print_object+0x4f/0x57 [] debug_check_no_obj_freed+0x9c/0x1c8 [] kmem_cache_free+0x64/0xc0 [] ? blk_release_queue+0x61/0x66 [] blk_release_queue+0x61/0x66 [] kobject_release+0x52/0x68 [] ? kobject_release+0x0/0x68 [] kref_put+0x43/0x4f [] kobject_put+0x47/0x4b [] blk_cleanup_queue+0x57/0x5c [] scsi_free_queue+0x9/0xb [] scsi_device_dev_release_usercontext+0xdc/0x127 [] ? scsi_device_dev_release_usercontext+0x0/0x127 [] execute_in_process_context+0x2a/0x70 [] scsi_device_dev_release+0x17/0x19 [] device_release+0x43/0x68 [] kobject_release+0x52/0x68 [] ? kobject_release+0x0/0x68 [] kref_put+0x43/0x4f [] kobject_put+0x47/0x4b [] put_device+0x15/0x17 [] scsi_destroy_sdev+0x48/0x4c [] scsi_probe_and_add_lun+0xb5d/0xb81 [] ? scsi_alloc_target+0x22b/0x267 [] __scsi_scan_target+0x9d/0x598 [] ? trace_hardirqs_on_caller+0x1f/0x153 [] ? __mutex_lock_common+0x371/0x3be [] ? scsi_scan_host_selected+0xb6/0x133 [] ? trace_hardirqs_on_caller+0x1f/0x153 [] ? scsi_scan_host_selected+0xb6/0x133 [] scsi_scan_channel+0x52/0x78 [] scsi_scan_host_selected+0xf1/0x133 [] ? do_scan_async+0x0/0x127 [] do_scsi_scan_host+0x6b/0x70 [] ? do_scan_async+0x0/0x127 [] do_scan_async+0x17/0x127 [] ? do_scan_async+0x0/0x127 [] kthread+0x49/0x76 [] child_rip+0xa/0x11 [] ? restore_args+0x0/0x30 [] ? kthread+0x0/0x76 [] ? child_rip+0x0/0x11 ---[ end trace 4eaa2a86a8e2da22 ]--- <...> BUG: using smp_processor_id() in preemptible [00000000] code: init-early.sh/741 caller is sock_prot_inuse_add+0x24/0x42 Pid: 741, comm: init-early.sh Tainted: G W 2.6.28-rc5-next-20081119 #9 Call Trace: [] debug_smp_processor_id+0xca/0xe0 [] sock_prot_inuse_add+0x24/0x42 [] unix_create1+0x161/0x176 [] unix_create+0x5d/0x68 [] __sock_create+0x114/0x17e [] sock_create+0x2d/0x2f [] sys_socket+0x29/0x5c [] system_call_fastpath+0x16/0x1b BUG: using smp_processor_id() in preemptible [00000000] code: init-early.sh/741 caller is sock_prot_inuse_add+0x24/0x42 Pid: 741, comm: init-early.sh Tainted: G W 2.6.28-rc5-next-20081119 #9 Call Trace: -- 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/