From owner-freebsd-current@FreeBSD.ORG Fri Jul 12 09:02:21 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9EDD2E64 for ; Fri, 12 Jul 2013 09:02:21 +0000 (UTC) (envelope-from johannes@brilliantservice.co.jp) Received: from mail-ie0-f174.google.com (mail-ie0-f174.google.com [209.85.223.174]) by mx1.freebsd.org (Postfix) with ESMTP id 7227517D2 for ; Fri, 12 Jul 2013 09:02:21 +0000 (UTC) Received: by mail-ie0-f174.google.com with SMTP id 9so20093248iec.33 for ; Fri, 12 Jul 2013 02:02:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=e+7/ETrnsOQ0d7cWp/fT3isRm3Fg3kLY6PXu0Bz2De0=; b=a2Asam36Fh05JmkZpiKuQUuJMM4u1Vx66dM0wao8OUNqYONaStGZZRoWh3/fISsIbd jjq39Obq3J1oFYhn72L1jFPMprsxSskE4hxLfl/yCU3ZXy5A7np1fckdR9e4llWAsiDP TJfTAE1AG2dfX+eLZd/KK+WnO8NpHApaSL8leTNaPuJC/ntiS0uqAlaEGU4sPXJLk5jK U1s0QHRO+Ox9FPh0Ppl/BzFGlvP4VhHl+71ezwIOctQoI1mvXl0EoEl2qybb5dR4FalS 6USf+y5agb3EGELH3yN0xu7hws+cfIbnhQ6xNoi+VI/E1a423644qq1I5JrPHDap0IpD cvVw== X-Received: by 10.42.52.6 with SMTP id h6mr12388570icg.5.1373619734935; Fri, 12 Jul 2013 02:02:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.50.228.161 with HTTP; Fri, 12 Jul 2013 02:01:59 -0700 (PDT) In-Reply-To: References: <1601171.hWXcdG7J9D@notebook.alkar.net> From: "Lundberg, Johannes" Date: Fri, 12 Jul 2013 18:01:59 +0900 Message-ID: Subject: Re: FreeBSD-head hang when shutdown by ACPI with Intel GPU and new Xorg and SandyBridge To: Kevin Oberman X-Gm-Message-State: ALoCoQl+gFJRx/0eKO84jsURuml9Ki3OP0IOVuOqF1qzlLGkWucMzafFZl746wNhIiAM/fwpS+7u Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Artyom Mirgorodskiy , "freebsd-x11@freebsd.org" , FreeBSD Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jul 2013 09:02:21 -0000 > As the KMS code does not switch the display mode back, once X with KMS starts, you can't get a console back. Is there any solution for this in the works? Johannes Lundberg BRILLIANTSERVICE CO., LTD. On Wed, May 22, 2013 at 5:44 AM, Kevin Oberman wrote: > On Tue, May 21, 2013 at 12:50 PM, Artyom Mirgorodskiy < > artyom.mirgorodsky@gmail.com> wrote: > > > Hi > > More than a month I can not shutdown FreeBSD on my laptop correctly when > > running Xorg with Intel GPU. However reboot work correctly. Shutdown work > > fine if I choose Vesa driver in xorg.conf. So I can run with intel, then > > edit xorg.conf, kill Xorg server and shutdown correctly. If I shut down > > immediately after loading Xorg - everything is fine too. > > Without the text console is difficult to provide any information :( Why > > would still not recover mode when kill Xorg? > > > > PS > > I try to disable RC6 states -without any changes. > > FreeBSD shutdown correctly before January. > > > > I am seeing similar issues on my Sandybridge running Xorg with KMS, but I > see it on 9-Stable. > > The main difference between shutdown and reboot is that shutdown goes > through the rc.d files and issues a 'stop' for each. reboot simply kills > running processes, first by sending SIGTERM and then sending SIGKILL to > those that still live. So something is failing to die and that "something" > is probably X. The system still responds to ICMP ECHOREQUEST (i.e. ping), > but I can't fire up an ssh session. > > As the KMS code does not switch the display mode back, once X with KMS > starts, you can't get a console back. > > Since the system is deadlocked in this state, I suspect something bad is > happening in the KMS code that leaves the system hung. > > I may try to run a firewire console. Never tried it, but it should work. > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >