NetBSD Problem Report #46625

From www@NetBSD.org  Sat Jun 23 12:00:00 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 7384B63B882
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 23 Jun 2012 12:00:00 +0000 (UTC)
Message-Id: <20120623115959.45DBE63B85F@www.NetBSD.org>
Date: Sat, 23 Jun 2012 11:59:59 +0000 (UTC)
From: cheusov@tut.by
Reply-To: cheusov@tut.by
To: gnats-bugs@NetBSD.org
Subject: 6.0_BETA2: Xorg is in drmwtq/0 state -> system freeze
X-Send-Pr-Version: www-1.0

>Number:         46625
>Category:       kern
>Synopsis:       6.0_BETA2: Xorg is in drmwtq/0 state -> system freeze
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    riastradh
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 23 12:00:01 +0000 2012
>Closed-Date:    Fri Sep 30 08:04:09 +0000 2016
>Last-Modified:  Fri Sep 30 08:04:09 +0000 2016
>Originator:     Aleksey Cheusov
>Release:        NetBSD 6.0_BETA2 i386
>Organization:
none
>Environment:
NetBSD work.imb.invention.com 6.0_BETA2 NetBSD 6.0_BETA2 (GENERIC) #11: Sat Jun 16 17:12:51 FET 2012  cheusov@work.imb.invention.com:/srv/obj-current/sys/arch/i386/compile/GENERIC i386
>Description:
See below
>How-To-Repeat:
netbsd-6 + difference between revisions 1.10 and 1.11
of sys/external/bsd/drm/dist/bsd-core/drm_bufs.c (See PR 46208 for details).

1) /etc/rc.d/xdm start
2) press Ctrl-Alt-F2 for switching to the console
3) press Ctrl-Alt-F5 for switching to xdm again.
After this xdm/Xorg hangs up.
That is, the system stays in graphical mode, xdm is not reappeared completely,
mouse and keyboard do not work, so,
I cannot login and Ctrl-Alt-Fn doesn't work too.
The system is usable, though, I'm able to ssh to it remotely and reboot.

'top' says that Xorg is in drmwtq/0 state. gdb's backtrace:

#0  0xbb8eee67 in ioctl () from /usr/lib/libc.so.12
#1  0xbbaa507b in drmIoctl () from /usr/X11R7/lib/libdrm.so.3
#2  0xbbaa7597 in drmCommandWrite () from /usr/X11R7/lib/libdrm.so.3
#3  0xbb47b748 in I830Sync () from /usr/X11R7/lib/modules/drivers/intel_drv.so
#4  0xbb449cc3 in ?? () from /usr/X11R7/lib/modules/drivers/intel_drv.so
#5  0xbb3360e8 in exaWaitSync () from /usr/X11R7/lib/modules/libexa.so
#6  0xbb336324 in ExaDoPrepareAccess () from /usr/X11R7/lib/modules/libexa.so
#7  0xbb33393b in ?? () from /usr/X11R7/lib/modules/libexa.so
#8  0xbb333b34 in exaCopyDirtyToFb () from /usr/X11R7/lib/modules/libexa.so
#9  0xbb333c8c in ?? () from /usr/X11R7/lib/modules/libexa.so
#10 0xbb3343d7 in exaDoMigration_classic () from
/usr/X11R7/lib/modules/libexa.so
#11 0xbb33614f in exaDoMigration () from /usr/X11R7/lib/modules/libexa.so
#12 0xbb32afc6 in ?? () from /usr/X11R7/lib/modules/libexa.so
#13 0xbb32b51a in exaCompositeRects () from /usr/X11R7/lib/modules/libexa.so
#14 0xbb32efb5 in exaGlyphs () from /usr/X11R7/lib/modules/libexa.so
#15 0x08149e74 in ?? ()
#16 0x08132924 in ?? ()
#17 0x080952a2 in Dispatch ()
#18 0x0806f1aa in main ()

>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: kern-bug-people->riastradh
Responsible-Changed-By: riastradh@NetBSD.org
Responsible-Changed-When: Sat, 04 Oct 2014 15:56:46 +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:46 +0000
State-Changed-Why:
Can you please try with a userland and DRMKMS kernel from current?


State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Fri, 30 Sep 2016 08:04:09 +0000
State-Changed-Why:
olddrm problem, either no longer valid or wontfix


>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-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.