Return-path: Received: from mailgw02.dd24.net ([193.46.215.43]:39029 "EHLO mailgw02.dd24.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751051Ab1KNAMA (ORCPT ); Sun, 13 Nov 2011 19:12:00 -0500 Subject: Re: iwl4965: "MAC is in deep sleep!" freezes From: Christoph Anton Mitterer To: Stanislaw Gruszka Cc: Jonathan Nieder , linux-wireless@vger.kernel.org, "John W. Linville" , Greg Dietsche , linux-kernel@vger.kernel.org In-Reply-To: <20110908084913.GB2195@redhat.com> References: <20110902233806.GA22157@elie> <20110905091918.GC2221@redhat.com> <265f56a4dc9f5d3edeca3d101e445353@imap.dd24.net> <20110908084913.GB2195@redhat.com> Content-Type: multipart/signed; micalg="sha1"; protocol="application/x-pkcs7-signature"; boundary="=-HBLg9lit2NnK8ge86ZhI" Date: Mon, 14 Nov 2011 01:02:32 +0100 Message-ID: <1321228952.3362.15.camel@fermat.scientia.net> (sfid-20111114_011245_631725_13BFB9E1) Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: --=-HBLg9lit2NnK8ge86ZhI Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi. Sorry for completely forgetting about this... (for so long) I've tried your patch now against 3.1, and it seems to not help. Not sure whether trying with 2.6.38 helps. It "stopped" working within the very same kernel. The old mainboard got broken and was replaced by a new one (of the same type),... but perhaps the wifi controller is of a new revision or so?! Cheers, Chris. On Thu, 2011-09-08 at 10:49 +0200, Stanislaw Gruszka wrote: > On Mon, Sep 05, 2011 at 09:42:01AM +0000, Christoph Anton Mitterer wrote: > > On Mon, 5 Sep 2011 11:19:18 +0200, Stanislaw Gruszka > > wrote: > > > this look like firmware hang. This happen just after module load, tha= t's > > > good news, because it allow to log relative small amount debug messag= es > > > to see what possibly driver do wrong to crash firmware. > > Note, that the effects of - usually but not always - frozen system whil= e > > the errors are printed (sometimes keyboard input seems still be possibl= e > > during that) ... happen over and over again... say about every 10 minu= tes > > or so. > > Not just the first time the modules is loaded. > > Is the firmware loaded over and over again? > I think is not, but even if is, kernel should not crash. Can you grab > crash logs using photo camera, serial cable or netconsole, to allow to= =20 > see where exactly crash happen and fix it. >=20 > > > Please configure syslog to log kernel debug messages. > > Will mail it later. >=20 > Firmware hang seems to happen when REPLY_LEDS_CMD command is send. > No idea if attached patch could help or not, but is worth to try it. > It prevent to send LED command asynchronously, when possibly some > other commands are pending in firmware. >=20 > If it does not help, please provide the same way captured debug > messages from 2.6.38 kernel, where drivers works. I'll compare > it with broken driver logs to figure out what broken driver > do differently. >=20 > Thanks > Stanislaw --=-HBLg9lit2NnK8ge86ZhI Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Disposition: attachment; filename="smime.p7s" Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITMjCCBggw ggPwoAMCAQICAQEwDQYJKoZIhvcNAQEEBQAweTEQMA4GA1UEChMHUm9vdCBDQTEeMBwGA1UECxMV aHR0cDovL3d3dy5jYWNlcnQub3JnMSIwIAYDVQQDExlDQSBDZXJ0IFNpZ25pbmcgQXV0aG9yaXR5 MSEwHwYJKoZIhvcNAQkBFhJzdXBwb3J0QGNhY2VydC5vcmcwHhcNMDUxMDE0MDczNjU1WhcNMzMw MzI4MDczNjU1WjBUMRQwEgYDVQQKEwtDQWNlcnQgSW5jLjEeMBwGA1UECxMVaHR0cDovL3d3dy5D QWNlcnQub3JnMRwwGgYDVQQDExNDQWNlcnQgQ2xhc3MgMyBSb290MIICIjANBgkqhkiG9w0BAQEF AAOCAg8AMIICCgKCAgEAq0k1EUh80iZ+U5TPQ6ndKNdCKovzh3gZWHwPntqJfeH763KQDXShlmSr n6AkmXPa4lV2xxd79QSsRrjDvn9kjRBsJPNhnMDykPpR5vVpAWPDD1biSkLP4kSMJSioxXkJfUa5 ivPp8zQpCEXkHJ/LlAQcgagUs5hlxEPsToKNCdG9qluNktDs3pDFfw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