From owner-freebsd-wireless@FreeBSD.ORG Sun May 11 23:57:43 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BB5C372A for ; Sun, 11 May 2014 23:57:43 +0000 (UTC) Received: from mail-yk0-x230.google.com (mail-yk0-x230.google.com [IPv6:2607:f8b0:4002:c07::230]) (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 8054521CF for ; Sun, 11 May 2014 23:57:43 +0000 (UTC) Received: by mail-yk0-f176.google.com with SMTP id q9so5337563ykb.7 for ; Sun, 11 May 2014 16:57:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mime-version:content-type :content-transfer-encoding; bh=AuAyZ3BPJNSbeiJ/iD66am7hnEDrBi86XMOe/33GEbs=; b=D5/TPsEg40CpFMg/v3EBzrYdTrB01gQtrP81DfIIK1C/zS8EOc+PZm+vrLZR2iE6ac lzzf6RJabTLNYqUMfUKB9H6f82QYg+hUoHmJGbSrYMh72BNUn2+vOw+TFcXYo/VOnblK PJ2f7+mrhjW/PrQAtpMQxuQNStuVV1ddFogA+haD/hWypc9deqkejBy33RlBT8k84Obg 7bRhwMU8VhJSEac5hJvRSdHYtl5LtFAKMLflsGpMJHPqLHqLP9wDuhOI72CkKZX4xd/P te2N/St/7r6M9zEXklaUvfBpjJ3eP4WYkUFr3sqg0ILoJhD5aqEMNkRzsVMudFmUh+r3 4A6w== X-Received: by 10.236.172.170 with SMTP id t30mr36474808yhl.136.1399852662554; Sun, 11 May 2014 16:57:42 -0700 (PDT) Received: from zhabar.att.net (107-222-186-3.lightspeed.sntcca.sbcglobal.net. [107.222.186.3]) by mx.google.com with ESMTPSA id r27sm5579525yhk.17.2014.05.11.16.57.42 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Sun, 11 May 2014 16:57:42 -0700 (PDT) Date: Sun, 11 May 2014 16:57:39 -0700 From: Justin Hibbits To: Subject: Machine check on suspend Message-ID: <20140511165739.45671291@zhabar.att.net> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; powerpc64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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: Sun, 11 May 2014 23:57:43 -0000 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