Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933061AbbHJVtx (ORCPT ); Mon, 10 Aug 2015 17:49:53 -0400 Received: from mail-oi0-f42.google.com ([209.85.218.42]:34018 "EHLO mail-oi0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932834AbbHJVtw (ORCPT ); Mon, 10 Aug 2015 17:49:52 -0400 To: Peter Zijlstra , Paolo Bonzini , LKML From: Larry Finger Subject: Kernel crashes in VirtualBox module after commit 2ecd9d29abb1 Message-ID: <55C91C7D.2020506@lwfinger.net> Date: Mon, 10 Aug 2015 16:49:49 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 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: 1056 Lines: 26 A problem with the VirtualBox kernel module vboxdrv.ko has been bisected to commit 2ecd9d29abb1 "sched, preempt_notifier: separate notifier registration from static_key inc/dec". The affected kernels crash is various ways. The most instructive includes a warning issued at kernel/sched/core.c:2342 in prempt_notifier_register() for "registering prempt_notifier while notifiers disabled" The call from vboxdrv is as follows: /* * Register the callback. */ preempt_disable(); pThis->fEnabled = true; preempt_notifier_register(&pThis->LnxPreemptNotifier); preempt_enable(); As I have no reason to suspect the kernel after this patch, I would like some suggestions regarding the best method to patch/fix the VirtualBox code. Thanks, Larry -- 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/