From owner-freebsd-current@FreeBSD.ORG Mon Dec 18 19:11:33 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B125516A416 for ; Mon, 18 Dec 2006 19:11:33 +0000 (UTC) (envelope-from redchrom@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B10843CB3 for ; Mon, 18 Dec 2006 19:11:28 +0000 (GMT) (envelope-from redchrom@gmail.com) Received: by nf-out-0910.google.com with SMTP id x37so1911448nfc for ; Mon, 18 Dec 2006 11:11:20 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent:x-useless-header; b=OSLH+kjCmPUYIIzPo0IbKimp9fW77GrCZIs2pytCgRliXKa5uZds5+aJvc2PxHFT98uUZ6qJWKMyuyNACm54FkgSbnf5X65jwSh7yky3axxqoQr+qdai9O2dMln4sxQLDwHC5hY3fKulOdOXjMADJ/2azlPox2XkEBb/Tpf66y8= Received: by 10.49.20.5 with SMTP id x5mr5451810nfi.1166467579355; Mon, 18 Dec 2006 10:46:19 -0800 (PST) Received: from localhost ( [82.146.37.133]) by mx.google.com with ESMTP id v20sm28365512nfc.2006.12.18.10.46.16; Mon, 18 Dec 2006 10:46:18 -0800 (PST) Date: Tue, 19 Dec 2006 02:46:46 +0800 From: Stepan Zastupov To: Sam Leffler Message-ID: <20061218184646.GA7183@stepan.ispsystem.net> References: <20061214234849.GA1062@stepan.ispsystem.net> <4584708B.3020902@root.org> <20061217214408.GA902@stepan.ispsystem.net> <4585BAF3.1010504@root.org> <4585F7BB.9010704@errno.com> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <4585F7BB.9010704@errno.com> User-Agent: Mutt/1.4.2.2i X-Useless-Header: They killed Kenny! THOSE BASTARDS! X-Mailman-Approved-At: Mon, 18 Dec 2006 23:03:44 +0000 Cc: Stepan Zastupov , freebsd-current@freebsd.org, Nate Lawson Subject: Re: cbb hangs during suspend if ath card active X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Stepan Zastupov List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Dec 2006 19:11:33 -0000 On Sun, Dec 17, 2006 at 06:06:51PM -0800, Sam Leffler wrote: > Nate Lawson wrote: > > Stepan Zastupov wrote: > >> On Sat, Dec 16, 2006 at 02:17:47PM -0800, Nate Lawson wrote: > >>> Stepan Zastupov wrote: > >>>> Does anyone still work on this problem? > >>>> (http://lists.freebsd.org/pipermail/freebsd-current/2006-July/064550.html) > >>>> > >>>> I incure the same problems. If need testing I can help with it. > >>> Just comment out this line in ath_stop() in if_ath.c: > >>> // ath_hal_setpower(sc->sc_ah, HAL_PM_FULL_SLEEP); > > > >> It is already commented out in current and doesn't help. Card wont work > >> even if it inserted after suspend and resume. > >> > > > > That's something different then. I was talking about the suspend > > process hanging if the card is inserted and active. But ejecting it > > would allow the process to continue and after resume, re-inserting it > > worked fine. > > > > What Nate is referring to is that on many ath parts if you "power down" > the MAC then any pci references to registers outside the PCI clock > domain will hang the bus. Not putting the chip in "full sleep" is a > hack as it means it'll continue to draw full power after the interface > is marked down. Something is causing the driver to be entered and > registers accessed when not intended/expected. I haven't been able to > make this happen on any of my laptops (most have ACPI problems s.t. > suspend/resume doesn't work right) so haven't had a test case to > debug--and noone with the problem has been able to provide the needed info. Ok what info you need exactly? I can provide only the messages after some systls verbose tuned. -- Best regards, Stepan Zastupov aka RedChrom ISPSystem