From owner-freebsd-bugs@freebsd.org Mon Jul 13 04:33:16 2015 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 606D299BFB7 for ; Mon, 13 Jul 2015 04:33:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 294611445 for ; Mon, 13 Jul 2015 04:33:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t6D4XGe7003898 for ; Mon, 13 Jul 2015 04:33:16 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 201517] Kernel hang on boot with KDTRACE_HOOKS enabled after r284998 Date: Mon, 13 Jul 2015 04:33:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: matthew@reztek.cz X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jul 2015 04:33:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201517 Bug ID: 201517 Summary: Kernel hang on boot with KDTRACE_HOOKS enabled after r284998 Product: Base System Version: 10.1-STABLE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: matthew@reztek.cz Updating world on a 10-STABLE machine to the point of 10.2-BETA in order to catch the last OpenSSL update resulted in a kernel that hangs on boot. The hang occurs approximately when USB buses should be probed. The floppy drive controller was probed and the drive is still spinning (stuck with light on), firewire ports are detected, and sometimes but not always the USB ports are detected, but never gets as far as detecting other disks. Kernel must be booted without any drm2 drivers loaded in order to see where it hangs. If KMS init has started the display outputs are still off (no signal, monitor in powersave) when the kernel hangs. Bisecting (manually) the commits between the versions and test booting a dozen or so kernels revealed the lockstat improvements MFHed from r284297 in r284998 are the culprit. The version before that commit is fine, but that exact revision and any after hang on boot as described. Current revision with that changeset reversed works ok. Current revision with all changesets works ok if KDTRACE_HOOKS is disabled, so the offending change must be in one of the sections that is #ifdef KDTRACE_HOOKS. -- You are receiving this mail because: You are the assignee for the bug.