Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754015Ab3I0QFL (ORCPT ); Fri, 27 Sep 2013 12:05:11 -0400 Received: from mail-ie0-f175.google.com ([209.85.223.175]:33408 "EHLO mail-ie0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753045Ab3I0QFF (ORCPT ); Fri, 27 Sep 2013 12:05:05 -0400 MIME-Version: 1.0 In-Reply-To: <5245845F.5090100@redhat.com> References: <524572BF.5060407@redhat.com> <5245845F.5090100@redhat.com> From: Bjorn Helgaas Date: Fri, 27 Sep 2013 10:04:44 -0600 Message-ID: Subject: Re: Crash of 3.12-rc2 BUG: unable to handle kernel NULL pointer dereference To: Zdenek Kabelac Cc: LKML , Thomas Gleixner , Russell King Content-Type: multipart/mixed; boundary=089e0111d9b855989804e75fa6ba Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 6403 Lines: 120 --089e0111d9b855989804e75fa6ba Content-Type: text/plain; charset=ISO-8859-1 [+cc Thomas, Russell] On Fri, Sep 27, 2013 at 7:13 AM, Zdenek Kabelac wrote: > Dne 27.9.2013 13:57, Zdenek Kabelac napsal(a): > >> Hi >> >> >> I'm trying to use -rc2 kernel however I'm getting quite often regular >> kernel >> panic: >> >> Here is a BUG trace from kvm running this kernel: >> (I'm building kernel with some kernel debug checks) >> (Kernel is used in 64bit qemu and running 32bit Debian environment) >> linux-vanilla git: 4b97280675f45c1650ee4e388bd711ecbb18c4b4 >> (on top of that there are few minor unrelated patches) >> >> >> [ 235.631952] loop: module loaded >> [ 235.971853] bio: create slab at 1 >> [ 237.355014] bio: create slab at 2 >> [ 237.671371] BUG: unable to handle kernel NULL pointer dereference at >> 0000000000000018 >> [ 237.674537] IP: [] >> get_next_timer_interrupt+0x168/0x250 >> [ 237.674537] PGD 16939067 PUD 14257067 PMD 0 >> [ 237.674537] Oops: 0000 [#1] PREEMPT SMP >> [ 237.674537] Modules linked in: loop dm_thin_pool dm_persistent_data > > > > Here is the same trace from my native HW Lenovo T61: > > I'm suspecting new debug option: > CONFIG_DEBUG_KOBJECT_RELEASE which I've recently enabled) > > I've also noticed there are much older reports for this problem: > i.e. https://lkml.org/lkml/2013/3/9/3 > > I can trigger this bug very easily (makes 3.12-rc2 unusable for my desktop) Yep, I see this crash 100% of the time with v3.12-rc2 and CONFIG_DEBUG_KOBJECT_RELEASE=y with this qemu invocation and attached q35-chipset.cfg: /usr/local/bin/qemu-system-x86_64 -M q35 -readconfig ./q35-chipset.cfg -enable-kvm -m 512 -drive file=ubuntu.img,if=none,id=mydisk -device ide-drive,drive=mydisk,bus=ide.0 -nographic -monitor telnet:localhost:7001,server,nowait,nodelay -kernel ~/linux/arch/x86/boot/bzImage -append "console=ttyS0,115200n8 root=/dev/sda1 ignore_loglevel printk.time=n" --089e0111d9b855989804e75fa6ba Content-Type: application/octet-stream; name="q35-chipset.cfg" Content-Disposition: attachment; filename="q35-chipset.cfg" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hm3log5j0 IyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMj IyMjIyMjIwojCiMgcWVtdSAtTSBxMzUgY3JlYXRlcyBhIGJhcmUgbWFjaGluZSB3aXRoIGp1c3Qg dGhlIHZlcnkgZXNzZW50aWFsCiMgY2hpcHNldCBkZXZpY2VzIGJlaW5nIHByZXNlbnQ6CiMKIyAg ICAgMDAuMCAtIEhvc3QgYnJpZGdlCiMgICAgIDFmLjAgLSBJU0EgYnJpZGdlIC8gTFBDCiMgICAg IDFmLjIgLSBTQVRBIChBSENJKSBjb250cm9sbGVyCiMgICAgIDFmLjMgLSBTTUJ1cyBjb250cm9s bGVyCiMKIyBUaGlzIGNvbmZpZyBmaWxlIGRvY3VtZW50cyB0aGUgb3RoZXIgZGV2aWNlcyBhbmQg aG93IHRoZXkgYXJlCiMgY3JlYXRlZC4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ZGRyID0gIjFlLjAiCgpbZGV2aWNlICJ4aGNpIl0KICBkcml2ZXIg PSAibmVjLXVzYi14aGNpIgogIGJ1cyA9ICJpY2g5LXBjaWUtcG9ydC0yIgogIGFkZHIgPSAiMC4w Igo= --089e0111d9b855989804e75fa6ba-- -- 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/