Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Aug 2012 18:53:24 +0200
From:      Bernhard Schmidt <bschmidt@techwires.net>
To:        Yuval Prag <pugibebsd@gmail.com>
Cc:        freebsd-wireless@freebsd.org
Subject:   Re: Intel Pro/Wireless 2200BG crash on FreeBSD-8.3 i386
Message-ID:  <201208191853.25104.bschmidt@techwires.net>
In-Reply-To: <CAF2PUcJdzvZzoawEHTEvrD8rv5vgzxgp6sS32HCLMsJwoaHsnA@mail.gmail.com>
References:  <CAF2PUcKUfkXh8PN_TEs8pUTxhhWhXPMNNTcwoLHZN4S2nD%2B7Yw@mail.gmail.com> <CAF2PUcJdzvZzoawEHTEvrD8rv5vgzxgp6sS32HCLMsJwoaHsnA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208191853.25104.bschmidt>