public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Sanjoy Mahajan <sanjoy@MIT.EDU>
To: linux-kernel@vger.kernel.org
Subject: e1000e fails after several S3 resumes (2.6.26 Debian, TP T60)
Date: Wed, 22 Oct 2008 09:28:58 -0400	[thread overview]
Message-ID: <E1Ksdli-0005Os-MP@approx.mit.edu> (raw)

Once in a while after resuming from S3 sleep, the Ethernet driver
gets confused, whereupon dhcp'ing for an IP address fails, e.g.

  /* doing the dhcp: */
  Listening on LPF/eth0/00:16:41:52:50:de
  Sending on   LPF/eth0/00:16:41:52:50:de
  Sending on   Socket/fallback
  DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
  /* and so on with various intervals */

I workaround it with

  modprobe -rv e1000e ; modprobe -v e1000e
(the '-v' options to make sure the module does vanish and return)

and then try again to get an address, which works.  A similar failure
mode happens with the iwl3945 driver (and a similar workaround usually
succeeds).

How can I debug this issue the next time that it happens (it's about
once every two weeks)?  Using 'ethtool' or 'lspci -vvvv'?

  $ uname -a
  Linux approx 2.6.26-1-686 #1 SMP Thu Oct 9 15:18:09 UTC 2008 i686 GNU/Linux

It's Debian unstable's kernel 2.6.26 based on 2.6.26.4.  The laptop is a
Thinkpad T60 whose network controllers are given by lspci as

  02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller
  03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)

Could it be caused by the kernel (and modules) getting upgraded
underneath a running system?  In which case I'll just 'not do that
again' as the simplest fix, and reboot after a kernel upgrade.  My
installed kernel is based on 2.6.26.6, but the running kernel is based
on 2.6.26.4 [where based on means 'with Debian's patches'].

Please CC me on any responses.

-Sanjoy

`Until lions have their historians, tales of the hunt shall always
 glorify the hunters.'  --African Proverb

             reply	other threads:[~2008-10-22 13:29 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-22 13:28 Sanjoy Mahajan [this message]
2008-10-22 16:29 ` e1000e fails after several S3 resumes (2.6.26 Debian, TP T60) Jesse Brandeburg
2008-10-22 19:21   ` Sanjoy Mahajan
2008-10-22 21:15     ` Yves-Alexis Perez
2008-10-23 13:26   ` Sanjoy Mahajan
2008-10-23 22:42     ` Brandeburg, Jesse
2008-10-24 14:24       ` Sanjoy Mahajan
2008-10-24 16:22         ` Brandeburg, Jesse
2008-10-24 19:54           ` Sanjoy Mahajan
2008-10-28 20:18           ` Sanjoy Mahajan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1Ksdli-0005Os-MP@approx.mit.edu \
    --to=sanjoy@mit.edu \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox