linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Fengguang Wu <fengguang.wu@intel.com>
To: Russell King - ARM Linux <linux@arm.linux.org.uk>
Cc: Dave Airlie <airlied@linux.ie>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	xen-devel@lists.xenproject.org,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Subject: Re: [xen] double fault: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC
Date: Fri, 11 Oct 2013 13:14:51 +0800	[thread overview]
Message-ID: <20131011051451.GA12193@localhost> (raw)
In-Reply-To: <20131010105324.GA5105@n2100.arm.linux.org.uk>

> I think something like the below may address the issue - I've only build
> tested this so far.
> 
> We have another case where DRM does the wrong thing here too - a similar
> thing goes on with connectors as well.  I've not yet looked into this,
> but I'll take a look later today.
> 
> Fengguang - could you give this some runs through your marvellous test
> system and see whether it fixes the problem you're seeing please?

Russell, I applied the patch (as commit 17e57131d4c2) on top of
v3.12-rc4 and here are the test results for the kernels with

        CONFIG_DRM=y
        CONFIG_DEBUG_KOBJECT_RELEASE=y

As you may see, it's pure improvements. :)

Tested-by: Fengguang Wu <fengguang.wu@intel.com>


i386-randconfig-c3-1009

+---------------------------------------------------------------+-----------+--------------+
|                                                               | v3.12-rc4 | 17e57131d4c2 |
+---------------------------------------------------------------+-----------+--------------+
| has_kernel_error_warning                                      | 63        |              |
| BUG:kernel_early_hang_without_any_printk_output               | 7         |              |
| WARNING:CPU:PID:at_fs/sysfs/dir.c:sysfs_add_one()             | 56        |              |
| WARNING:CPU:PID:at_lib/kobject.c:kobject_add_internal()       | 56        |              |
| WARNING:CPU:PID:at_drivers/base/driver.c:driver_unregister()  | 56        |              |
| WARNING:CPU:PID:at_lib/debugobjects.c:debug_print_object()    | 56        |              |
| INFO:trying_to_register_non-static_key                        | 56        |              |
| BUG:unable_to_handle_kernel_NULL_pointer_dereference_at(null) | 56        |              |
| Oops:PREEMPT_SMP                                              | 56        |              |
| Kernel_panic-not_syncing:Fatal_exception_in_interrupt         | 56        |              |
| BUG:kernel_boot_oops                                          | 56        |              |
| good_boots                                                    | 0         | 9            |
+---------------------------------------------------------------+-----------+--------------+

x86_64-randconfig-j5-1009

+------------+-----------+--------------+
|            | v3.12-rc4 | 17e57131d4c2 |
+------------+-----------+--------------+
| good_boots | 30        | 9            |
+------------+-----------+--------------+

x86_64-randconfig-j3-1009

+---------------------------------------------------------------+-----------+--------------+
|                                                               | v3.12-rc4 | 17e57131d4c2 |
+---------------------------------------------------------------+-----------+--------------+
| has_kernel_error_warning                                      | 60        |              |
| WARNING:CPU:PID:at_fs/sysfs/dir.c:sysfs_add_one()             | 60        |              |
| WARNING:CPU:PID:at_lib/kobject.c:kobject_add_internal()       | 60        |              |
| WARNING:CPU:PID:at_drivers/base/driver.c:driver_unregister()  | 60        |              |
| WARNING:CPU:PID:at_lib/debugobjects.c:debug_print_object()    | 60        |              |
| WARNING:CPU:PID:at_arch/x86/kernel/irq_64.c:handle_irq()      | 3         |              |
| BUG:unable_to_handle_kernel_NULL_pointer_dereference_at       | 59        |              |
| Oops:DEBUG_PAGEALLOC                                          | 28        |              |
| WARNING:CPU:PID:at_lib/list_debug.c:__list_del_entry()        | 28        |              |
| BUG:scheduling_while_atomic                                   | 30        |              |
| INFO:lockdep_is_turned_off                                    | 30        |              |
| BUG:unable_to_handle_kernel_paging_request_at                 | 55        |              |
| kernel_BUG_at_kernel/smpboot.c                                | 13        |              |
| invalid_opcode:DEBUG_PAGEALLOC                                | 13        |              |
| general_protection_fault:DEBUG_PAGEALLOC                      | 2         |              |
| Kernel_panic-not_syncing:Fatal_exception_in_interrupt         | 4         |              |
| BUG:kernel_boot_oops                                          | 60        |              |
| WARNING:CPU:PID:at_kernel/workqueue.c:work_fixup_activate()   | 24        |              |
| WARNING:CPU:PID:at_kernel/workqueue.c:__queue_work()          | 10        |              |
| BUG:unable_to_handle_kernel_NULL_pointer_dereference_at(null) | 2         |              |
| BUG:unable_to_handle_kernel                                   | 1         |              |
| BUG:unable_to_handle_kernel_NULL_point                        | 1         |              |
| BUG:unable_to_handle_kernel_NULL_pointer_dereference          | 4         |              |
| BUG:unable_to_handle_kernel_NULL_pointer_derefe               | 1         |              |
| BUG:unable_to_handle_kernel_NULL_pointer_de                   | 1         |              |
| BUG:un                                                        | 1         |              |
| good_boots                                                    | 0         | 9            |
+---------------------------------------------------------------+-----------+--------------+

x86_64-randconfig-j1-1009

+-------------------------------------------------+-----------+--------------+
|                                                 | v3.12-rc4 | 17e57131d4c2 |
+-------------------------------------------------+-----------+--------------+
| has_kernel_error_warning                        | 60        | 9            |
| BUG:kernel_early_hang_without_any_printk_output | 60        | 9            |
+-------------------------------------------------+-----------+--------------+

x86_64-randconfig-j0-1009

+--------------------------+-----------+--------------+
|                          | v3.12-rc4 | 17e57131d4c2 |
+--------------------------+-----------+--------------+
| good_boots               | 56        | 9            |
| has_kernel_error_warning | 4         |              |
| BUG:kernel_test_crashed  | 4         |              |
+--------------------------+-----------+--------------+

x86_64-randconfig-a2-1009

+------------+-----------+--------------+
|            | v3.12-rc4 | 17e57131d4c2 |
+------------+-----------+--------------+
| good_boots | 3         | 9            |
+------------+-----------+--------------+

x86_64-randconfig-c9-1009

+------------+-----------+--------------+
|            | v3.12-rc4 | 17e57131d4c2 |
+------------+-----------+--------------+
| good_boots | 33        | 9            |
+------------+-----------+--------------+

x86_64-randconfig-c3-1009

+-------------------------------------------------+-----------+--------------+
|                                                 | v3.12-rc4 | 17e57131d4c2 |
+-------------------------------------------------+-----------+--------------+
| good_boots                                      | 58        | 8            |
| has_kernel_error_warning                        | 5         | 1            |
| BUG:kernel_early_hang_without_any_printk_output | 5         | 1            |
+-------------------------------------------------+-----------+--------------+

i386-randconfig-r4-1009

+--------------------------------------------------------------+-----------+--------------+
|                                                              | v3.12-rc4 | 17e57131d4c2 |
+--------------------------------------------------------------+-----------+--------------+
| has_kernel_error_warning                                     | 63        |              |
| WARNING:CPU:PID:at_fs/sysfs/dir.c:sysfs_add_one()            | 63        |              |
| WARNING:CPU:PID:at_lib/kobject.c:kobject_add_internal()      | 63        |              |
| WARNING:CPU:PID:at_drivers/base/driver.c:driver_unregister() | 63        |              |
| WARNING:CPU:PID:at_lib/debugobjects.c:debug_print_object()   | 63        |              |
| INFO:trying_to_register_non-static_key                       | 63        |              |
| kernel_BUG_at_kernel/timer.c                                 | 63        |              |
| invalid_opcode:SMP                                           | 63        |              |
| Kernel_panic-not_syncing:Fatal_exception_in_interrupt        | 63        |              |
| BUG:kernel_boot_oops                                         | 63        |              |
| good_boots                                                   | 0         | 9            |
+--------------------------------------------------------------+-----------+--------------+

i386-randconfig-r3-1009

+------------+-----------+--------------+
|            | v3.12-rc4 | 17e57131d4c2 |
+------------+-----------+--------------+
| good_boots | 3         | 9            |
+------------+-----------+--------------+

i386-randconfig-r1-1009

+-------------------------------------------------+-----------+--------------+
|                                                 | v3.12-rc4 | 17e57131d4c2 |
+-------------------------------------------------+-----------+--------------+
| has_kernel_error_warning                        | 63        | 9            |
| BUG:kernel_early_hang_without_any_printk_output | 63        | 9            |
+-------------------------------------------------+-----------+--------------+

i386-randconfig-x2-1009

+------------+-----------+--------------+
|            | v3.12-rc4 | 17e57131d4c2 |
+------------+-----------+--------------+
| good_boots | 3         | 9            |
+------------+-----------+--------------+

i386-randconfig-i008-1008

+-------------------------------------------------+-----------+--------------+
|                                                 | v3.12-rc4 | 17e57131d4c2 |
+-------------------------------------------------+-----------+--------------+
| has_kernel_error_warning                        | 60        | 9            |
| BUG:kernel_early_hang_without_any_printk_output | 60        | 9            |
+-------------------------------------------------+-----------+--------------+

x86_64-randconfig-x1-1009

+---------------------------------------------------------------+-----------+--------------+
|                                                               | v3.12-rc4 | 17e57131d4c2 |
+---------------------------------------------------------------+-----------+--------------+
| has_kernel_error_warning                                      | 63        |              |
| WARNING:CPU:PID:at_fs/sysfs/dir.c:sysfs_add_one()             | 63        |              |
| WARNING:CPU:PID:at_lib/kobject.c:kobject_add_internal()       | 63        |              |
| WARNING:CPU:PID:at_drivers/base/driver.c:driver_unregister()  | 63        |              |
| BUG:unable_to_handle_kernel_NULL_pointer_dereference_at(null) | 63        |              |
| Oops                                                          | 63        |              |
| Kernel_panic-not_syncing:Fatal_exception_in_interrupt         | 63        |              |
| BUG:kernel_boot_oops                                          | 63        |              |
| INFO:trying_to_register_non-static_key                        | 2         |              |
| good_boots                                                    | 0         | 9            |
+---------------------------------------------------------------+-----------+--------------+

  parent reply	other threads:[~2013-10-11  5:14 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-06  8:23 [xen] double fault: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC Fengguang Wu
2013-10-06 17:26 ` Linus Torvalds
2013-10-07  2:11   ` Fengguang Wu
2013-10-07  5:10     ` Fengguang Wu
2013-10-07  8:12       ` Linus Torvalds
     [not found]         ` <20131007083505.GA22585@localhost>
2013-10-07 22:14           ` Linus Torvalds
2013-10-07 22:29             ` Russell King - ARM Linux
2013-10-07 23:33               ` Russell King - ARM Linux
2013-10-07 23:47             ` Linus Torvalds
2013-10-08  2:09               ` Fengguang Wu
2013-10-08  2:14                 ` Fengguang Wu
2013-10-08  2:36                   ` Fengguang Wu
2013-10-08  3:07                     ` Linus Torvalds
2013-10-08  2:51                   ` Linus Torvalds
2013-10-08  3:11                     ` Fengguang Wu
2013-10-08  3:29                       ` Linus Torvalds
2013-10-08  3:35                         ` Fengguang Wu
2013-10-08  4:35                           ` [DRM_CURRUS_QEMU/timer] WARNING: CPU: 0 PID: 1 at debug_print_object() Fengguang Wu
2013-10-08 12:17                       ` [xen] double fault: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC Fengguang Wu
2013-10-08 22:14                         ` Russell King - ARM Linux
2013-10-08 22:48                           ` Greg Kroah-Hartman
2013-10-09  0:45                             ` Linus Torvalds
2013-10-09  1:18                               ` Dave Jones
2013-10-09  1:26                                 ` [PATCH] kobject: show debug info on delayed kobject release Fengguang Wu
2013-10-09 14:47                                   ` Russell King - ARM Linux
2013-10-09 14:12                               ` [xen] double fault: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC Josh Boyer
2013-10-09  0:46                             ` Fengguang Wu
2013-10-08  8:06                   ` Russell King - ARM Linux
2013-10-10  2:23                     ` Dave Airlie
2013-10-10  2:38                       ` Linus Torvalds
2013-10-10  9:19                       ` Russell King - ARM Linux
2013-10-10 10:53                         ` Russell King - ARM Linux
2013-10-11  3:55                           ` Dave Airlie
2013-10-11  4:28                             ` Dave Airlie
2013-10-11  5:14                           ` Fengguang Wu [this message]
2013-10-23 11:20                             ` Xiong Zhou
2013-10-08  2:43                 ` Linus Torvalds
2013-10-08  7:58             ` Ingo Molnar
2013-10-08  8:20               ` Fengguang Wu
2013-10-08  8:26                 ` Ingo Molnar
2013-10-08  9:34                   ` Ingo Molnar
  -- strict thread matches above, loose matches on Subject: below --
2013-10-06 22:14 Boris Ostrovsky

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=20131011051451.GA12193@localhost \
    --to=fengguang.wu@intel.com \
    --cc=airlied@linux.ie \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=torvalds@linux-foundation.org \
    --cc=xen-devel@lists.xenproject.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;
as well as URLs for NNTP newsgroup(s).