From owner-freebsd-stable@FreeBSD.ORG Sun Jun 16 15:49:02 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A0A3B1D9 for ; Sun, 16 Jun 2013 15:49:02 +0000 (UTC) (envelope-from boland37@xs4all.nl) Received: from smtp-vbr2.xs4all.nl (smtp-vbr2.xs4all.nl [194.109.24.22]) by mx1.freebsd.org (Postfix) with ESMTP id 0153D1D0B for ; Sun, 16 Jun 2013 15:49:01 +0000 (UTC) Received: from charlemagne.boland.org (37-251-76-95.FTTH.ispfabriek.nl [37.251.76.95]) (authenticated bits=0) by smtp-vbr2.xs4all.nl (8.13.8/8.13.8) with ESMTP id r5GFmqMQ031371 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 16 Jun 2013 17:48:52 +0200 (CEST) (envelope-from boland37@xs4all.nl) Message-ID: <51BDDE64.2040801@xs4all.nl> Date: Sun, 16 Jun 2013 17:48:52 +0200 From: Michiel Boland User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130615 Thunderbird/17.0.6 MIME-Version: 1.0 To: Konstantin Belousov Subject: Re: system sporadically hangs on shutdown after switching to WITH_NEW_XORG References: <51BDD593.5000102@xs4all.nl> <20130616153710.GT91021@kib.kiev.ua> In-Reply-To: <20130616153710.GT91021@kib.kiev.ua> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by XS4ALL Virus Scanner Cc: FreeBSD Stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jun 2013 15:49:02 -0000 On 06/16/2013 17:37, Konstantin Belousov wrote: > On Sun, Jun 16, 2013 at 05:11:15PM +0200, Michiel Boland wrote: >> Hi. Recently I switched to WITH_NEW_XORG, primarily because the stock X server >> with Intel driver has some issues that make it unusable for me. >> >> The new X server and Intel driver works extremely well, so kudos to whoever made >> this possible. >> >> Unfortunately, I am now experiencing random hangs on shutdown. On shutdown the >> system randomly freezes after >> >> [...] syslogd: exiting on signal 15 >> >> I would then expect to see 'Waiting (max 60 seconds) for system process 'XXX' to >> stop messages, but these never arrive. >> >> I paniced the machine in ddb, so I have a crash dump if someone want to look at >> it. The crashinfo is at http://barrytown.boland.org/core.txt (I would have >> pasted it here but it is a bit verbose.) >> >> Machine has an Intel G41 chipset, with a SAMSUNG SSD 830 Series HD, running >> 9.1-STABLE r251803. Serial console. GENERIC kernel, expect for options DDB and >> ALT_BREAK_TO_DEBUGGER. >> >> Who knows what's going on here? > > I do not see anything related to i915 in the core.txt you provided. > > Next time the machine hangs, start with the output of ps command from > ddb and 'show allpcpu', together with 'alltrace'. > Ok. I appended 'thread apply all bt' from kgdb to the core.txt, maybe there is something interesting in there. I did notice the following Thread 17 (Thread 100007): #0 cpustop_handler () at /usr/src/sys/amd64/amd64/mp_machdep.c:1392 #1 0xffffffff80cbebbd in ipi_nmi_handler () at /usr/src/sys/amd64/amd64/mp_machdep.c:1374 #2 0xffffffff80ccc159 in trap (frame=0xffffffff81424890) at /usr/src/sys/amd64/amd64/trap.c:211 #3 0xffffffff80cb55af in nmi_calltrap () at /usr/src/sys/amd64/amd64/exception.S:501 #4 0xffffffff80d0c029 in vga_txtmouse (scp=0xfffffe0005586600, x=320, y=200, on=) at cpufunc.h:186 Previous frame inner to this frame (corrupt stack?) Maybe the hang is caused by the removal of the text mouse cursor? (Just guessing here.) Cheers Michiel