From owner-freebsd-wireless@FreeBSD.ORG Thu Jan 22 05:54:02 2015 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9B531DE3 for ; Thu, 22 Jan 2015 05:54:02 +0000 (UTC) Received: from mail-wi0-x22b.google.com (mail-wi0-x22b.google.com [IPv6:2a00:1450:400c:c05::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 28BA9C3E for ; Thu, 22 Jan 2015 05:54:02 +0000 (UTC) Received: by mail-wi0-f171.google.com with SMTP id l15so31108274wiw.4 for ; Wed, 21 Jan 2015 21:53:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=7lplyi4Nwj3HO1F7JMBTY61d3rMOHiB8IiobUq3qThU=; b=dPaGwn7o8xLp4TN00NV1eI97OxkoB1HVKYjrGHSt+I5iLMyIqkGHnowxjWEdtF1iVM GS6qoiX6RUI1HpyMclQdcIHI4uZekvAe4RrwlRwO4O/n9kkaYN+3oeXfAWXS0+NMwzMC GHLvvLaoAhZYuPfh4+WIMtm8FFxYGiewPIAsw4e1l21iIOydLfZciTIJi6fPTgjOqRG1 Q0vNy++zUuKXajUyKvoTkjyuEk9+i5pFxtlRMaa5DyHT08uU3ZzxHkRIQpW97R8ZROt8 vzVcVKNzCxyv7ljdOuo6cjTDTJ+RkIJAEeID3s3sgSwivZlRKdIYq/xJBm6nv3i5G5dL HjTg== X-Received: by 10.180.207.211 with SMTP id ly19mr64147003wic.73.1421906039640; Wed, 21 Jan 2015 21:53:59 -0800 (PST) Received: from laptop.minsk.domain (minsk.nivalnetwork.com. [86.57.144.74]) by mx.google.com with ESMTPSA id jr4sm2497104wjc.20.2015.01.21.21.53.58 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Jan 2015 21:53:58 -0800 (PST) Date: Thu, 22 Jan 2015 08:53:53 +0300 From: "Sergey V. Dyatko" To: freebsd-wireless@freebsd.org Subject: Re: Problem with iwn: iwn0: iwn_intr: fatal firmware error Message-ID: <20150122085353.4868eb85@laptop.minsk.domain> In-Reply-To: <2407021421847170@web18j.yandex.ru> References: <2407021421847170@web18j.yandex.ru> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; amd64-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-1 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: Thu, 22 Jan 2015 05:54:02 -0000 On Wed, 21 Jan 2015 16:32:50 +0300 Ilya A. Arkhipov wrote: > Hi All, > > Yesterday, I update my laptop to (HEAD: 373e66e(master) or r277372), and got > problem with iwn like: iwn0: iwn_read_firmware: ucode rev=0x12a80601 > iwn0: iwn_intr: fatal firmware error > firmware error log: > error type = "UNKNOWN" (0x00001038) > program counter = 0x000256B0 > source line = 0x00001014 > error data = 0x0000000000001014 > branch link = 0x000255CC000255CC > interrupt link = 0x0000D6BE00000000 > time = 10659578 > driver status: > tx ring 0: qid=0 cur=0 queued=0 > tx ring 1: qid=1 cur=0 queued=0 > tx ring 2: qid=2 cur=0 queued=0 > tx ring 3: qid=3 cur=0 queued=0 > tx ring 4: qid=4 cur=0 queued=0 > tx ring 5: qid=5 cur=0 queued=0 > tx ring 6: qid=6 cur=0 queued=0 > tx ring 7: qid=7 cur=0 queued=0 > tx ring 8: qid=8 cur=0 queued=0 > tx ring 9: qid=9 cur=22 queued=0 > tx ring 10: qid=10 cur=0 queued=0 > tx ring 11: qid=11 cur=0 queued=0 > tx ring 12: qid=12 cur=0 queued=0 > tx ring 13: qid=13 cur=0 queued=0 > tx ring 14: qid=14 cur=0 queued=0 > tx ring 15: qid=15 cur=0 queued=0 > tx ring 16: qid=16 cur=0 queued=0 > tx ring 17: qid=17 cur=0 queued=0 > tx ring 18: qid=18 cur=0 queued=0 > tx ring 19: qid=19 cur=0 queued=0 > rx ring: cur=20 > iwn0: iwn_panicked: controller panicked, iv_state = 1; resetting... > iwn0: iwn_read_firmware: ucode rev=0x12a80601 > > After that I've destroy wlan0 and start /etc/netstart, after that wlan0 get > status: associated but ip was 0.0.0.0 ;( I've again destroy wlan0 and > get: ....#8 0xffffffff80d3d602 in calltrap () > at /usr/src_git/sys/amd64/amd64/exception.S:235 #9 0xffffffff805900b8 in > iwn_tx_done (sc=, desc=, > ackfailcnt=, status=0 '\0') at ieee80211_ratectl.h:99 > #10 0xffffffff80589a9e in iwn_notif_intr (sc=0xfffffe0000f62000) > at /usr/src_git/sys/dev/iwn/if_iwn.c:3794 > #11 0xffffffff80588320 in iwn_intr (arg=0xfffffe0000f62000) > at /usr/src_git/sys/dev/iwn/if_iwn.c:4093 > #12 0xffffffff8092bd41 in intr_event_execute_handlers ( > p=, ie=0xfffff800031dd900) > at /usr/src_git/sys/kern/kern_intr.c:1241 > #13 0xffffffff8092c6fc in ithread_loop (arg=0xfffff80003230ce0) > at /usr/src_git/sys/kern/kern_intr.c:1254 > .... > file was attached. > > Have someone the same issue? > > hi, from my dmesg: wlan0: link state changed to DOWN wlan0: link state changed to UP iwn0: iwn_intr: fatal firmware error firmware error log: error type = "UNKNOWN" (0x00001038) program counter = 0x0002A698 source line = 0x00001014 error data = 0x0000000000001014 branch link = 0x0002A5B40002A5B4 interrupt link = 0x0000EC7A00000000 time = 1518592964 driver status: tx ring 0: qid=0 cur=3 queued=0 tx ring 1: qid=1 cur=0 queued=0 tx ring 2: qid=2 cur=0 queued=0 tx ring 3: qid=3 cur=6 queued=1 tx ring 4: qid=4 cur=0 queued=0 tx ring 5: qid=5 cur=0 queued=0 tx ring 6: qid=6 cur=0 queued=0 tx ring 7: qid=7 cur=0 queued=0 tx ring 8: qid=8 cur=0 queued=0 tx ring 9: qid=9 cur=248 queued=0 tx ring 10: qid=10 cur=0 queued=0 tx ring 11: qid=11 cur=0 queued=0 tx ring 12: qid=12 cur=0 queued=0 tx ring 13: qid=13 cur=0 queued=0 tx ring 14: qid=14 cur=0 queued=0 tx ring 15: qid=15 cur=0 queued=0 tx ring 16: qid=16 cur=0 queued=0 tx ring 17: qid=17 cur=0 queued=0 tx ring 18: qid=18 cur=0 queued=0 tx ring 19: qid=19 cur=0 queued=0 rx ring: cur=33 iwn0: iwn_panicked: controller panicked, iv_state = 5; resetting... iwn0: iwn_read_firmware: ucode rev=0x12a80601 it is r277355 amd64, GENERIC-NODEBUG kernel iwn0@pci0:2:0:0: class=0x028000 card=0x42628086 chip=0x08888086 rev=0xc4 hdr=0x00 vendor = 'Intel Corporation' device = 'Centrino Wireless-N 2230' class = network sometimes network begins to work after few minutes (skype became online:) ), sometimes (when I-need-network-right-now) I do /etc/rc.d/netif restart -- wbr, tiger