Date: Mon, 10 May 2004 18:32:12 +0200 From: Fabien THOMAS <fabien.thomas@netasq.com> To: freebsd-net@freebsd.org Subject: em driver problem (system lock) Message-ID: <409FAE8C.1030706@netasq.com>
next in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format. --------------ms020803050609020101010107 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi, We use a lot of intel gigabit card and since the first time we use it we experience some strange hard lock of the system (4.9|FreeBSD-stable). We have tried several driver version (it is not related to a version). We use the card in polling mode but it seems that the problem can be fired even in interrupt mode. What i found during the debugging on a fiber card: 1) original driver did not lock but when the other end is rebooted i've around 10 linkup/linkdown 2) removing linkup/linkdown printf: driver lock each time the other end system is rebooted! 3) removing the E1000_IMC_RXSEQ in disable_intr correct the lock but i do not understand why: a) E1000_IMC_RXSEQ need to be left when disabling intr? b) the system completly lock (even under debugger) for just an interrupt source enabled? static void em_disable_intr(struct adapter *adapter) { E1000_WRITE_REG(&adapter->hw, IMC, (0xffffffff));/* & ~E1000_IMC_RXSEQ));*/ return; } What do you think of that ? fabien --------------ms020803050609020101010107 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIII5DCC BG4wggNWoAMCAQICAgCAMA0GCSqGSIb3DQEBBQUAMIGRMQswCQYDVQQGEwJGUjENMAsGA1UE CBMETm9yZDEaMBgGA1UEBxMRVmlsbGVuZXV2ZSBkJ0FzY3ExLjAsBgNVBAoTJU5FVEFTUSAt IFNlY3VyZSBJbnRlcm5ldCBDb25uZWN0aXZpdHkxJzAlBgNVBAsTHk5FVEFTUSBDZXJ0aWZp Y2F0aW9uIEF1dGhvcml0eTAeFw0wMzA2MDQxMjQ4MDdaFw0wNDA2MDMxMjQ4MDdaMIHSMQsw CQYDVQQ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G9w0DAgIBQDAHBgUrDgMCBzANBggqhkiG9w0DAgIBKDCBqQYJKwYBBAGCNxAE MYGbMIGYMIGRMQswCQYDVQQGEwJGUjENMAsGA1UECBMETm9yZDEaMBgGA1UEBxMRVmlsbGVu ZXV2ZSBkJ0FzY3ExLjAsBgNVBAoTJU5FVEFTUSAtIFNlY3VyZSBJbnRlcm5ldCBDb25uZWN0 aXZpdHkxJzAlBgNVBAsTHk5FVEFTUSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eQICAIAwgasG CyqGSIb3DQEJEAILMYGboIGYMIGRMQswCQYDVQQGEwJGUjENMAsGA1UECBMETm9yZDEaMBgG A1UEBxMRVmlsbGVuZXV2ZSBkJ0FzY3ExLjAsBgNVBAoTJU5FVEFTUSAtIFNlY3VyZSBJbnRl cm5ldCBDb25uZWN0aXZpdHkxJzAlBgNVBAsTHk5FVEFTUSBDZXJ0aWZpY2F0aW9uIEF1dGhv cml0eQICAIAwDQYJKoZIhvcNAQEBBQAEgYBWb2gNPOmuYVdqyX8TKEN+4YQ/CIB4/0zsM+r1 pTYIjA7XZ0W3AeIPVsQ/y84GMN9igMibraEzpgwO48KQhjZQ2I86DPr+7EVkP6CwSFbs5/tE T3JzPnY9cwPHOXmd/GB4hbVm4AJJ19j1lLwiB6qQ2rkQw5GoxPbAfZBlnVi35AAAAAAAAA== --------------ms020803050609020101010107--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?409FAE8C.1030706>