From owner-freebsd-current@FreeBSD.ORG Wed Jul 18 09:59:56 2012 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 63C3F106566B; Wed, 18 Jul 2012 09:59:56 +0000 (UTC) (envelope-from cvs-src@yandex.ru) Received: from forward3h.mail.yandex.net (forward3h.mail.yandex.net [84.201.187.148]) by mx1.freebsd.org (Postfix) with ESMTP id C91E38FC15; Wed, 18 Jul 2012 09:59:55 +0000 (UTC) Received: from smtp1h.mail.yandex.net (smtp1h.mail.yandex.net [84.201.187.144]) by forward3h.mail.yandex.net (Yandex) with ESMTP id 0DBF81360FE6; Wed, 18 Jul 2012 13:59:18 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1342605559; bh=2z/qMVLva3U+PyRxvXWIW9OlM8Lf2794wtO/fTNq2RE=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=Qta0wNCZG6EA0E1czEeotrPqEl/sttyN+tIKU5los4w2r52K0dL0S7ZN2hqGIxudT XBQtw09eOuO3cAyosfBaI49s9fbtrNFmkYPXBnXwHzrzFh/qtuqNosUwRF0PT/8wVi MY7X6ZzYpdhVt0rHJsDq34OxVX2s2mEDKSjOwJKI= Received: from smtp1h.mail.yandex.net (localhost [127.0.0.1]) by smtp1h.mail.yandex.net (Yandex) with ESMTP id B3E3213403CD; Wed, 18 Jul 2012 13:59:18 +0400 (MSK) Received: from unknown (unknown [213.27.65.65]) by smtp1h.mail.yandex.net (nwsmtp/Yandex) with ESMTP id xHRmw3Fg-xIRCWZgS; Wed, 18 Jul 2012 13:59:18 +0400 X-Yandex-Rcpt-Suid: fidaj@ukr.net X-Yandex-Rcpt-Suid: adrian@freebsd.org X-Yandex-Rcpt-Suid: current@FreeBSD.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1342605558; bh=2z/qMVLva3U+PyRxvXWIW9OlM8Lf2794wtO/fTNq2RE=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=t6m3F8GUpTZWlOBHT7atp28zU80RdhLGRUNgyDkPMBk2Npyr53ldEbqXmsMAu7f0d oHnIgOr+xFvdd5HriTELAwg68dbBud5udA6/nik2JzZUwga0rEZDPjpTHuUaN3KEk2 sQ8gKNdl/YJ/x3F5L6mSYjSclXIJfvloh0TtMrYM= Message-ID: <50068894.5030707@yandex.ru> Date: Wed, 18 Jul 2012 13:57:40 +0400 From: Ruslan Mahmatkhanov User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120619 Thunderbird/13.0.1 MIME-Version: 1.0 To: Ivan Klymenko References: <4FDEE855.2040602@yandex.ru> <20120618120248.6212e15f@nonamehost> <4FDEF097.50409@yandex.ru> In-Reply-To: <4FDEF097.50409@yandex.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: Adrian Chadd , current@FreeBSD.org Subject: Re: system hangs on shutdown while on wireless (ath) (Was: drm2 and the kernel messages on shutdown) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 18 Jul 2012 09:59:56 -0000 Ruslan Mahmatkhanov wrote on 18.06.2012 13:10: > Ivan Klymenko wrote on 18.06.2012 13:02: >> В Mon, 18 Jun 2012 12:35:33 +0400 >> Ruslan Mahmatkhanov пишет: >> >>> Good day, >>> >>> since switching to new drm code (starting at April if I recall >>> correctly) I'm experiencing sporadic laptop hangs when choose the >>> shutdown command in UI (gnome) environment. The hdd led isn't >>> blinking but the laptop is still up. In such cases I forced to >>> shutdown it by pressing power off button, but at the next system >>> start it running filesystem checks (yes, with journal but some time >>> only full fsck is able to fix that). What I'm asking for is - when >>> there some sysctl or boot loader option will be available to turn on >>> kernel messages on shutdown? I really want to know on what it hanging >>> on. I didn't bothered with this while it was available as third-party >>> patch, but since it is now in -current and enabled by default, I >>> think this feature should be available. Thanks. >>> >>> PS. I'm now subscribed to current@. So do not need to approve my >>> previous message, that's waiting for moderator approval. >>> >> >> Dear Ruslan. >> Your problems hang your laptop is not associated with the transition to >> drm2. >> And you can see this - when the downgrade to the SVN revision r236313 >> >> Your problems are now committing to this >> http://svnweb.freebsd.org/base?view=revision&revision=236317 >> >> You can check it and make sure my right. >> >> Good luck > > Thanks Ivan, I'll check it out. But the request in subject line is > still valid for me, because the current state make me feels like.. > uhmm.. a blind kitten :) Hi, I still didn't tried to revert this change to check if it the reason. But I realized that I only got this issue when I'm on wireless. And I can 100% reproduce this. When using ethernet (re) - system shuts down just fine. When using wireless (ath) - it hanging forever. So it seems like ath deadlock or something (cc:ing Adrian). Would you please provide me with instructions on how to debug this, or what info should I provide to you to realize this. Thanks. ath0@pci0:37:0:0: class=0x028000 card=0x1461103c chip=0x002b168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' device = 'AR9285 Wireless Network Adapter (PCI-Express)' class = network My -current is from Sat Jul 14 12:15:20 2012 (svn #238449). -- Regards, Ruslan Tinderboxing kills... the drives.