NetBSD Problem Report #46714

From www@NetBSD.org  Tue Jul 17 15:54:52 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id AD28263B882
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 17 Jul 2012 15:54:51 +0000 (UTC)
Message-Id: <20120717155450.C7F9C63B85F@www.NetBSD.org>
Date: Tue, 17 Jul 2012 15:54:50 +0000 (UTC)
From: swiftgriggs@gmail.com
Reply-To: swiftgriggs@gmail.com
To: gnats-bugs@NetBSD.org
Subject: Multiple X11 restarts cause kernel panic with i915 + drm
X-Send-Pr-Version: www-1.0

>Number:         46714
>Category:       kern
>Synopsis:       Multiple X11 restarts cause kernel panic with i915 + drm
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    riastradh
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 17 15:55:00 +0000 2012
>Closed-Date:    Mon May 30 00:08:22 +0000 2016
>Last-Modified:  Mon May 30 02:25:00 +0000 2016
>Originator:     Swift Griggs
>Release:        6.0_BETA2
>Organization:
>Environment:
NetBSD daemon.corp.trizetto.com 6.0_BETA2 NetBSD 6.0_BETA2 (GENERIC) i386
>Description:
After getting in and out of X11 several times (ie.. multiple invocations of "startx" or "xinit" running). The kernel will panic and the machine dumps core and reboots.
>How-To-Repeat:

1. Start X11 on a core2 box with integrated i915 graphics
2. Use ctrl-alt-bksp or ctrl-alt-F1 (followed by a ctrl-c to abort X11) to kill xinit.
3. Wait until Xorg is dead
4. Re-run "startx" 
5. Rinse-repeat, until the kernel panics and the box crashes.
>Fix:

Workaround is to never restart X11 on i915 Xorg. Just start it once when the machine boots and never cycle Xorg/xinit. 

>Release-Note:

>Audit-Trail:
From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/46714: Multiple X11 restarts cause kernel panic with i915 +
 drm
Date: Tue, 17 Jul 2012 16:25:04 +0000

 On Tue, Jul 17, 2012 at 03:55:01PM +0000, swiftgriggs@gmail.com wrote:
  > >How-To-Repeat:
  > 
  > 1. Start X11 on a core2 box with integrated i915 graphics
  > 2. Use ctrl-alt-bksp or ctrl-alt-F1 (followed by a ctrl-c to abort X11) to kill xinit.
  > 3. Wait until Xorg is dead
  > 4. Re-run "startx" 
  > 5. Rinse-repeat, until the kernel panics and the box crashes.
  > >Fix:

 What's the panic?

 -- 
 David A. Holland
 dholland@netbsd.org

Responsible-Changed-From-To: kern-bug-people->riastradh
Responsible-Changed-By: riastradh@NetBSD.org
Responsible-Changed-When: Sat, 04 Oct 2014 15:56:11 +0000
Responsible-Changed-Why:
mine


State-Changed-From-To: open->feedback
State-Changed-By: riastradh@NetBSD.org
State-Changed-When: Sat, 04 Oct 2014 15:56:11 +0000
State-Changed-Why:
Can you please try with a DRMKMS kernel and userland from current?


State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 30 May 2016 00:08:22 +0000
State-Changed-Why:
1.5-year feedback timeout.


From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/46714 (Multiple X11 restarts cause kernel panic with i915 +
 drm)
Date: Mon, 30 May 2016 02:24:40 +0000

 On Mon, May 30, 2016 at 12:08:22AM +0000, dholland@NetBSD.org wrote:
  > 1.5-year feedback timeout.

 note that it looks likely that this was/is another instance of the drm
 map manager code having corruption issues, as seen in e.g. 50349.

 -- 
 David A. Holland
 dholland@netbsd.org

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.