From owner-freebsd-wireless@FreeBSD.ORG Sun Aug 19 16:52:56 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 DCBE6106566C for ; Sun, 19 Aug 2012 16:52:56 +0000 (UTC) (envelope-from bschmidt@techwires.net) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5B4DB8FC08 for ; Sun, 19 Aug 2012 16:52:55 +0000 (UTC) Received: by bkcje9 with SMTP id je9so2053499bkc.13 for ; Sun, 19 Aug 2012 09:52:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:message-id:x-gm-message-state; bh=pgxze8zcQz/An+uYgS+pvnEQP5pZwS3RjEhWksuFDkk=; b=kLIQZPZaZfnn+PBy2IttqxcEQb+TSN+DxRpBD1hmXAeUFyaEtBUBDGLrJHGmLPE3QT Y9ERZQXNnoGaXwrx4MsD1ekbUIowzjVFk172rl61i1gOWN4OgGWGzzqzPNmzhjjH4Z8v hJIRJFU9Ofaj2+YXR0xMZ0gq1nyl3T5lt4sZz43EsSCr+ohXoFJZoy7NJ3PafnA1pUy/ mNfwMx9MhoxGxQUQZsHNHqc+Ac4ENJgavXZuSsX3cOtsiYIz+B1Ro6wbI+hXLRJYXHsD TJrsv91Eg+vc7HthjdVAsofCOH1QD7brkgHdLWfIsEnoq591FvIN+z6OekPTGbpLhtbJ Orwg== Received: by 10.205.119.208 with SMTP id fv16mr3782145bkc.100.1345395174949; Sun, 19 Aug 2012 09:52:54 -0700 (PDT) Received: from amy.lab.techwires.net (dslb-088-065-220-164.pools.arcor-ip.net. [88.65.220.164]) by mx.google.com with ESMTPS id hg13sm5142389bkc.7.2012.08.19.09.52.51 (version=SSLv3 cipher=OTHER); Sun, 19 Aug 2012 09:52:54 -0700 (PDT) From: Bernhard Schmidt To: Yuval Prag Date: Sun, 19 Aug 2012 18:53:24 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.1-PRERELEASE; KDE/4.7.4; amd64; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_FoRMQiuZfUEQNdC" Message-Id: <201208191853.25104.bschmidt@techwires.net> X-Gm-Message-State: ALoCoQkI4oHklF9paltIZQk9MKS59RoPmpIhVDnw0S/Tp8PwwTx6EWa5gZu96G9k8YLqfB9ETiKS Cc: freebsd-wireless@freebsd.org Subject: Re: Intel Pro/Wireless 2200BG crash on FreeBSD-8.3 i386 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 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, 19 Aug 2012 16:52:56 -0000 --Boundary-00=_FoRMQiuZfUEQNdC Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit On Friday 17 August 2012 07:00:26 Yuval Prag wrote: > Hi Im looking for help and some more info on the subject. > > the only post i found is from april 2008 the post suggests to add the > capability to the driver based on or copy from a different WiFi > NIC driver and it is not working still same error > > the NIC hangs in a way ifconfig show IP address the and status = > associated, a simple ping to the router works with intermittent failures > in the form of "sento: Network is down" and than it hangs usualy afte the > 15th packet send... a restart the NIC device with "/etc/rc.d/netif restart" > will cause the system to reboot! Attached patch should fix the panic, I should push this into tree finally.. The dmesg in PR170573 shows some confusing information, the driver is iwi(4) but the firmware load is for ipw(4), is this some left over from an older setup? I so, clean up your loader.conf please. Can you please pull a 9.1-beta memstick image or something and give this a quick shot? Just so we now that issue still exists on a more recent system. The relevant part from the dmesg is basically this line: iwi0: firmware error after that, the hardware is dead. We need to figure out why this is happening, please post more details about your setup and configuration. Preferably also a the full dmesg with wlandebug 0xffffffff enabled before above error line is printed. -- Bernhard --Boundary-00=_FoRMQiuZfUEQNdC Content-Type: text/x-patch; charset="UTF-8"; name="iwi_vs_sta1.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="iwi_vs_sta1.diff" Index: sys/dev/iwi/if_iwi.c =================================================================== --- sys/dev/iwi/if_iwi.c (revision 235132) +++ sys/dev/iwi/if_iwi.c (working copy) @@ -2811,7 +2811,7 @@ iwi_auth_and_assoc(struct iwi_softc *sc, struct ie { struct ieee80211com *ic = vap->iv_ic; struct ifnet *ifp = vap->iv_ifp; - struct ieee80211_node *ni = vap->iv_bss; + struct ieee80211_node *ni; struct iwi_configuration config; struct iwi_associate *assoc = &sc->assoc; struct iwi_rateset rs; @@ -2826,6 +2826,8 @@ iwi_auth_and_assoc(struct iwi_softc *sc, struct ie return (-1); } + ni = ieee80211_ref_node(vap->iv_bss); + IWI_STATE_BEGIN(sc, IWI_FW_ASSOCIATING); error = 0; mode = 0; @@ -2982,6 +2984,8 @@ done: if (error) IWI_STATE_END(sc, IWI_FW_ASSOCIATING); + ieee80211_free_node(ni); + return (error); } --Boundary-00=_FoRMQiuZfUEQNdC--