From owner-freebsd-current@FreeBSD.ORG Wed Jul 18 16:53:06 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61AEB106566B for ; Wed, 18 Jul 2012 16:53:06 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id D3DED8FC0C for ; Wed, 18 Jul 2012 16:53:05 +0000 (UTC) Received: by lbon10 with SMTP id n10so2982624lbo.13 for ; Wed, 18 Jul 2012 09:53:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=CqCnCUwMbrQ43ulcXKH1Ur38/i5XBB6slWh4Nkftj/E=; b=hXhAMLsoZ+KcoRUwL/cXQaqEj9MFeI/xHLnEzcQN0dcogaOiYHCCyyWzQUoDjrBgwM 76uIu3PiXsT7F7JTeD20y04plJZv3bNZRwdQFiKivDXJEstqy6U0TYrZU0ikvyw7GncO 9nLaO4hGZBrQU4e/xelREvnOzvtFxCM+1AGxDSbtmaPj+g7FQxW1BfC2LXsaaQagaJNc nziI+WBqTIQ/ih4NBC7liKBVXVe8aMt9SOebdhjfLfl7xurMFF5I0coq1XP04ScawBSx 0EuJ3sHviAshLsqbsmM7NL3599JNcN1cRZz+mvpykEnX27nTJZi2gWuiDshzbwiRRYNH srlw== MIME-Version: 1.0 Received: by 10.112.104.100 with SMTP id gd4mr2200576lbb.24.1342630384819; Wed, 18 Jul 2012 09:53:04 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.112.20.197 with HTTP; Wed, 18 Jul 2012 09:53:04 -0700 (PDT) In-Reply-To: <50068894.5030707@yandex.ru> References: <4FDEE855.2040602@yandex.ru> <20120618120248.6212e15f@nonamehost> <4FDEF097.50409@yandex.ru> <50068894.5030707@yandex.ru> Date: Wed, 18 Jul 2012 09:53:04 -0700 X-Google-Sender-Auth: 6KfCBBXR8Kkpu2HQxsmPGmPBzT4 Message-ID: From: Adrian Chadd To: Ruslan Mahmatkhanov Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Cc: Ivan Klymenko , 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 16:53:06 -0000 Hm, find the revision where I committed the PCIe powersave fixes to ath_hal/ar9002/ar9285_attach.c and undo them? See if that has any effect? adrian On 18 July 2012 02:57, Ruslan Mahmatkhanov wrote: > Ruslan Mahmatkhanov wrote on 18.06.2012 13:10: >> >> Ivan Klymenko wrote on 18.06.2012 13:02: >>> >>> =F7 Mon, 18 Jun 2012 12:35:33 +0400 >>> Ruslan Mahmatkhanov =D0=C9=DB=C5=D4: >>> >>>> 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=3Drevision&revision=3D236317 >>> >>> 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 fi= ne. > When using wireless (ath) - it hanging forever. > > So it seems like ath deadlock or something (cc:ing Adrian). Would you ple= ase > 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=3D0x028000 card=3D0x1461103c chip=3D0x002b1= 68c > rev=3D0x01 hdr=3D0x00 > vendor =3D 'Atheros Communications Inc.' > device =3D 'AR9285 Wireless Network Adapter (PCI-Express)' > class =3D network > > My -current is from Sat Jul 14 12:15:20 2012 (svn #238449). > > -- > Regards, > Ruslan > > Tinderboxing kills... the drives. > >