From: Rene Mayrhofer Subject: Re: Kernel oops on setting sky2 interfaces down Date: Thu, 20 Aug 2009 22:37:43 +0200 Message-ID: <200908202237.43776.rene.mayrhofer@gibraltar.at> References: <4A65EC3F.4050400@gibraltar.at> <392fb48f0908191505v47f99d1cvef18d40bcf4c08d1@mail.gmail.com> <20090819174629.649f837f@nehalam> Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_XQbjK5SHD0OvPeI" Cc: Mike McCormack , netdev@vger.kernel.org, Richard Leitner To: Stephen Hemminger Return-path: Received: from jupiter1.gibraltar.at ([80.120.3.98]:52054 "EHLO mail1.gibraltar.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750904AbZHTUhv (ORCPT ); Thu, 20 Aug 2009 16:37:51 -0400 In-Reply-To: <20090819174629.649f837f@nehalam> Sender: netdev-owner@vger.kernel.org List-ID: --Boundary-00=_XQbjK5SHD0OvPeI Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi Stephen, Am Donnerstag, 20. August 2009 02:46:29 schrieb Stephen Hemminger: > On Thu, 20 Aug 2009 07:05:03 +0900 > > Mike McCormack wrote: > > 2009/8/20 Rene Mayrhofer : > > > Pulling the latest sky2.c and sky2.h from net-next-2.6 and applying the > > > patch rids me of the oops - it is unreproducible right now. However, a > > > networking restart (i.e. all interfaces attached to sky2) leaves the > > > devices in a state where they no longer receive any network packets (at > > > least nothing visible in tcpdump). In this state, rmmod sky2 / modprobe > > > sky2 gives: > > > > After you've got it into that state, does "rmmod sky2; modprobe sky2" > > change anything? Nope, tried it multiple times. I've also tried the net-next-2.6 version of sky2.[ch] as of yesterday without Mike's "bandaid" patches. With that version (the last one in branch gibraltar-3.0 at https://www.gibraltar.at/git/linux-2.6-gibraltar.git), I managed to successfully do a networking restart (with "light" traffic on one interface), leaving the interfaces functional after the restart. This worked even twice in a row, so mabye we are onto something here. This is certainly an improvement over the version with Mike's last patch (from yesterday) applied, which left the interfaces broken after a restart (and with the quoted errors on a rmmod/modprobe sky2). However, after doing a ping -f on one of the (GBit) interfaces to another host on the same switch for a few seconds and then executing networking restart, the result was an immediate reboot of the box without any oops being printed to the (serial) console beforehand. The same thing happened without particularly heavy traffic after executing networking restart twice and then just letting the box sit idle (with some traffic on the interfaces) for a few minutes. > Please send (I forget) the hardware info (lspci) and the register values > from ethtool -d ethX. Attached (lspci -v). > Some part of the power control doesn't work on Rene's system, so > device falls off the bus. Probably no auxilary +5 supplied, the register > values will tell whether driver is at fault (turning on aux when not > available), or hardware is lying about vaux. Is it possible to disable (kernel-level) power control for particular PCI devices to check if this is indeed the issue? Or do you suspect hardware-level power-off when the chip state goes down? best regards, Rene -- ------------------------------------------------- Gibraltar firewall http://www.gibraltar.at/ --Boundary-00=_XQbjK5SHD0OvPeI Content-Type: application/x-gzip; name="lspci.out.gz" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="lspci.out.gz" H4sICA2yjUoCA2xzcGNpLm91dADtWu1v2jgY/1z+Ckv3pdXKcJyEhup2p5ZRigY3Btv6oUKVSRyw FpLISdjYX3+PE8IgBBqydTe6q1ReEvux83t57MctxpcYv8To1gtCNBbcmrBL1HFD5qCmJ3xP0JB7 LjJIQ9HbtX6t/bHW7tb63VpDwe0u6rGZJxbQ1A2F5zhMoNtojE4FmyPMzionw2gcLIKQzb47aOXk xqGT4BKNowDNKMQU58iGd2SxecCcc+TQkLnmAuHKSZP6dMwdHnIGPe4ZHqGPzLU8gYY+M7nNTZiO 7YlZMpE///6rcvKGCRcmaAk+hxG5i6IAoKATf0JFWOVy9qtGM8+KHBk6vlyFRpUKBiQJIPmxfYVM b+ZD6LHD4GP6FHsgAACSR5ctJnCPWagtqD/lZrCOQwosOvWFN6lyG2GM7pMR00ajgrAXHPMA3M9R Z/AOKUrlZMkghUZYx/IHnaqkOubhOXI9t+oLZrPQnFJA6AzdB/wre6Ur5M2octKpvUUw1TCQvZkm ny++bYzWw5oYZ8LmhSR6vTfKzMYoNhvoK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USGUbLwHq8g6+2UJtPgNvw W6AscEpjE7jhInjjwTbKDNFrNudgfE3V8MGH28TYXP2SEhGd1rVHVr/61tl245tciS71ej9PNnzx xpgmi/TgbU+2TQ880b3FAxnXGqWBiZGzsGrGQdtNPd5thrDX7AsgTWIE6s7dcOrmATvwF6sduLJz B87WCoEum1DAuuVavgcZc2cZEG+Pr6w5dU0YvCWEJ9Ag3tVyd7Jv8xt8WpCcHa+8WsHk2LXZ2NSm Ul6b9CBtKv9r86m1qf6i2tzQY7x8ZBIkeVyEW7LZ1uM4V18FpEmehzSrv7A0tSNPmyreVKxaPm2a B6VN9f+0+dTa1C+x/h3ahFL2cVWqpVW5v6xSyXJZz/w/hUbMYgcu2/q0DtKn9l/pcxfRskzfJjo+ ZACi60dPNM4SjUsTrRxENDkqoi+Onmg1S7RWmmhyENHaURFtHD3RJEu0UZpo9SCi60dD9L8hmuPG gSoAAA== --Boundary-00=_XQbjK5SHD0OvPeI Content-Type: application/x-gzip; name="ethtool.out.gz" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="ethtool.out.gz" H4sICDiyjUoCA2V0aHRvb2wub3V0AMVYWXPiOBB+jn5FPyYPU5HkA3vezJVhl0xYQmZ2Hh0jgitg sz5y/Ptp+QABMnh2NzUuV8pIn1rd6q8PhUx6IwjiaBE+kU/bh1D6GfxHYAxsDqYBtAPUBEaBUmCu /CtfDtSpvylhuAZB+MPgMKfbieJlEByMFGu4XEPPv6YjdTHxwyDGwRrTaVj2KLct9zG3axa0GnUo +OU3A6swZiHkOC+NNIgl1xhgBRVaNWbv2wKBAEPuY8s1ARhUDpXytm+ABjDNGXQq3cxWJ1GuIb04 ypJ4BVPxFKaZSFLFe7UT6znwgkCkKUziJAP1oW8oajzoQyXt+j7zszwFOEB5NjWYbXpkFKG4JN9k cB/nSSAAjrC0ehTsrZ8+A2iwvQLJ+gr2i5/MX/1EwCBJ4mS7jVbuAbbehr7xAaXG0Bgq2Pq8Wukb z0XiZ2Ec7amuYLc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