From owner-freebsd-wireless@FreeBSD.ORG Wed Oct 24 03:37:32 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 35BA4388 for ; Wed, 24 Oct 2012 03:37:32 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0446E8FC0C for ; Wed, 24 Oct 2012 03:37:30 +0000 (UTC) Received: by mail-pb0-f54.google.com with SMTP id rp8so977489pbb.13 for ; Tue, 23 Oct 2012 20:37:30 -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; bh=Lbd1bWdmt9UvzSG80Yc3LaqwOsjIeNt9a0p/0FFbW7w=; b=SLtoo3qe/ax3tPQv05SRUvEp1CkvENoj8FWo1Fi6txJV4WvCpFKYaV4byu/3BZDQX/ 0B0Hzi2YzhXSn+KFWSdAYlmi6g6VztrSMkdFIb4XMoVgS2pATnpw0BM+uoNZM2xa3FuW BNw3bfXjZ9HjPCKdV2smEJScNqUH80NqYkd/dpUAQA/6eMdc1ALTO5O731VqtiVlMGQd XEos0Dv+KImkyByo3zvgLMu0EE2yeTIcEO2lABqXwyKGi/N3PndD9cbinqizocZVtTp7 2aBe4Mrxy0RWVDOWK6/1Gag82lKJj2AuYAGOmm7QwNs+vux3CZJ/KyC98c3qvu2jA8WI GXZA== MIME-Version: 1.0 Received: by 10.66.79.166 with SMTP id k6mr40769371pax.25.1351049850632; Tue, 23 Oct 2012 20:37:30 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.146.233 with HTTP; Tue, 23 Oct 2012 20:37:30 -0700 (PDT) In-Reply-To: <20121023230652.206fb4ea@narn.knownspace> References: <20121023230652.206fb4ea@narn.knownspace> Date: Tue, 23 Oct 2012 20:37:30 -0700 X-Google-Sender-Auth: WwJ8mBICvRJWr4YBx0Sk0TBq7mY Message-ID: Subject: Re: data storage interrupt with if_ath(4) on PowerPC From: Adrian Chadd To: Justin Hibbits Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 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: Wed, 24 Oct 2012 03:37:32 -0000 On 23 October 2012 20:06, Justin Hibbits wrote: > With an Atheros 5416 card from Adrian Chadd in my PowerBook G4, I get a > Data Storage Interrupt after a few minutes. It's pretty reproducible: > > * load if_ath/if_ath_pci > * ifconfig wlan0 create wlandev ath0 > * ifconfig wlan0 up > * ifconfig wlan0 bgscan (fails with "Operation not supported") > * ifconfig wlan0 list scan > ... wait ... > * ifconfig wland0 list scan (another just for good measure) > ... wait ... > > After a few minutes it kernel panics. Ew! > I've attached the dcons ddb session output. Quick synopsis: It > crashes in memcpy() crossing a page boundary. Backtrace: Is that actually a bad thing? What's a "data storage interrupt" ? Adrian > fatal kernel trap: > > exception = 0x300 (data storage interrupt) > virtual address = 0xd1b72000 > srr0 = 0x5d44b4 > srr1 = 0x9032 > lr = 0xd1ab0fa4 > curthread = 0x189fbc0 > pid = 0, comm = ath0 net80211 taskq > > Tracing pid 0 tid 100075 td 0x189fbc0 > 0xe21139f4: at m_pkthdr_init+0x5c > 0xe2113a14: at ieee80211_send_probereq+0x14c > 0xe2113a74: at ieee80211_probe_curchan+0x11c > 0xe2113aa4: at scan_curchan+0x7c > 0xe2113ac4: at scan_task+0x29c > 0xe2113b14: at taskqueue_run_locked+0xd4 > 0xe2113b44: at taskqueue_thread_loop+0x6c > 0xe2113b64: at fork_exit+0x88 > 0xe2113b84: at fork_trampoline+0xc > > The m_pkthdr_init in the backtrace is misleading, I think. > > I can provide any more data that's needed. > > > - 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" >