From owner-freebsd-wireless@FreeBSD.ORG Mon May 12 00:05:12 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A850B853 for ; Mon, 12 May 2014 00:05:12 +0000 (UTC) Received: from mail-qc0-x236.google.com (mail-qc0-x236.google.com [IPv6:2607:f8b0:400d:c01::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6B5FF2274 for ; Mon, 12 May 2014 00:05:12 +0000 (UTC) Received: by mail-qc0-f182.google.com with SMTP id e16so6891428qcx.41 for ; Sun, 11 May 2014 17:05:11 -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:message-id:subject :from:to:cc:content-type; bh=+nJkWjtBzi7k34CJm9NsSYaAhBeWJBQAvUBjvg8bdvo=; b=gRlFa4QyfvKtiAnkNOLmhv11IsnhbXvPcTJg7yt6NM2/R+BaiDQFnwrXBsF5SUiJrv gvxdLPnAMZkFqWNpyUWuyVln9/EXfijudSrlwqOMVNhCnHrH+349fh2LsNXAkwmWZOaI gc05MRiDFXqGeOx0hTyP9N7Ze6AnCIsRfgE05Kb7wkIDOePztAc/nzfr7KG/you92lwc euRYGdNPx/kyiQx+oDygj9v7ceqqfqkey2SNxc04XbOLqIZOc3mJRSPBDSuoTWDfyV5N q7lK6TNUJzpDRxvNGZJ3BFvojVnp3u1V8NqM+GgTsiI2cgctuDpUS/sPycasvPOY05X5 jDrg== MIME-Version: 1.0 X-Received: by 10.224.125.74 with SMTP id x10mr6504200qar.99.1399853102106; Sun, 11 May 2014 17:05:02 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.191.201 with HTTP; Sun, 11 May 2014 17:05:02 -0700 (PDT) In-Reply-To: <20140511165739.45671291@zhabar.att.net> References: <20140511165739.45671291@zhabar.att.net> Date: Sun, 11 May 2014 17:05:02 -0700 X-Google-Sender-Auth: UHUc2yhN7y-i_BCNmiBuKhFhWkc Message-ID: Subject: Re: Machine check on suspend From: Adrian Chadd To: Justin Hibbits Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 May 2014 00:05:12 -0000 It's getting an interrupt what, after the slot is powered down? Why's cbb_func_intr passing up an interrupt? :p -a On 11 May 2014 16:57, Justin Hibbits wrote: > Obviously this is a different case than most. I'm working on > suspend/resume for PowerPC (PowerBooks, to be precise), and part of > that involves testing the cardbus. > > When suspending, it suspends children first (obviously), followed by > parents, etc. In this case, I have a ar5416 card in a cardbus slot. > The ath0 suspends, followed by cbb0, then a machine check: > > Suspending ath0, child of cardbus0 > Suspending cardbus0, child of cbb0 > pci1:1:0:0: Resource still owned, oops. (type=3, rid=16, addr=88000000) > pci1:1:0:0: Resource still owned, oops. (type=1, rid=0, addr=3a) > > fatal kernel trap: > > exception = 0x200 (machine check) > srr0 = 0x5d5530 > srr1 = 0x149030 > lr = 0xd20896f8 > curthread = 0x4c6e620 > pid = 12, comm = irq58: cbb0 ath0 > > [ thread pid 12 tid 100108 ] > Stopped at 0x5d5530: sync > db> bt > Tracing pid 12 tid 100108 td 0x4c6e620 > 0xe4770a20: at +0x226530(326cbc) > 0xe4770a50: at ar5416IsInterruptPending+0x3c(d20ca368) > 0xe4770a70: at ath_intr+0xf0(d2064ef4) > 0xe4770ab0: at cbb_func_intr+0x40(d1fd71b4) > 0xe4770ad0: at +0x2074d4(307c60) > 0xe4770b00: at +0x209034(3097c0) > 0xe4770b50: at +0x203e78(304604) > 0xe4770b80: at +0x4e4b70(5e52fc) > > I'm using the projects/pmac_pmu branch, for anyone who may want to test > (synced with head a couple weeks ago). > > Does anything need to be done before actually suspending the devices > (kill wpa_supplicant, or anything else)? > > - Justin > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org"