mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: jerry_734@verizon.net
Cc: linux-kernel@vger.kernel.org,
	Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>,
	Kernel Testers List <kernel-testers@vger.kernel.org>,
	Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>,
	Auke Kok <auke-jan.h.kok@intel.com>
Subject: Re: [Bug #13371] s2disk hangs with kernel 2.6.29 and later, SATA, Gigabyte EG45M-DS2H - culprit found
Date: Wed, 27 May 2009 00:07:51 +0200	[thread overview]
Message-ID: <200905270007.52039.rjw@sisk.pl> (raw)
In-Reply-To: <20090526211058.GB2538@indigo.myhome.westell.com>

On Tuesday 26 May 2009, gapeters@worldnet.att.net wrote:
> On Tue, May 26, 2009 at 01:03:00AM +0200, Richard Atterer wrote:
> > Hello,
> > 
> > "Jerry" contacted me off-list with information about the root of the 
> > problem - many thanks indeed!!!
> > 
> > It turns out that the e100 driver is responsible. (The motherboard actually 
> > has a r8169 chip, but I added an old Intel PCI ethernet card I own.)
> > 
> > By rmmoding e100 before s2disk, the problem goes away. Jerry mentions that 
> > he once saw a message about e100 failing to load its microcode - I never 
> > saw such a message.
> > 
> > The most recent e100 commit ac7c992 by Thadeu Lima de Souza Cascardo (Apr 
> > 28) made some changes to the behaviour in the case of shutdown vs. suspend, 
> > maybe the problem is there? (But note that during bisecting, I tested 
> > kernels older than that commit, and not all of them worked.) Before that, 
> > f902283 (Mar 3 2008) mentions suspend in the log message.
> > 
> > Cheers,
> > 
> >   Richard
> > 
> > -- 
> 
> I think I saw the firmware loader failure during resume. If you leave the
> system alone for ~2 minutes it will resume, but the e100 won't work &
> any thing "touching" it will go into an un-interruptable sleep
> (ifconfig, cat'ing some of its /sys files).
> 
> IIRC started with 2.6.29, with the change to net drivers to use the
> firmware loader. During the hibernate, for some reason, the e100 is
> suspended then resumed, at which point it requests its firmware.
> Userspace is frozen so the firmware load times out (the 2 minute timeout
> which is why I guessed you were having the same problem).
> 
> During resume, the e100 is apparently resumed *before* userspace is
> un-frozen, so again it times out loading its firmware. At this point
> it's unusable.

This theory makes sense.

Generally firmware loading is not going to work from the driver's ->suspend()
and ->resume() callbacks.  For this reason the firmware should be loaded
into RAM before suspend, for example from a PM notifier.

Thanks,
Rafael

  reply	other threads:[~2009-05-26 22:08 UTC|newest]

Thread overview: 113+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-24 19:27 2.6.30-rc7: Reported regressions 2.6.28 -> 2.6.29 Rafael J. Wysocki
2009-05-24 19:27 ` [Bug #12490] ath5k related kernel panic in 2.6.29-rc1 Rafael J. Wysocki
2009-05-24 19:31 ` [Bug #12765] i915 VT switch with AIGLX causes X lock up Rafael J. Wysocki
2009-05-26 22:23   ` Sitsofe Wheeler
2009-05-26 23:12     ` Rafael J. Wysocki
2009-05-24 19:31 ` [Bug #12909] boot/kernel init duration regression from 2.6.28 Rafael J. Wysocki
2009-05-24 19:31 ` [Bug #12947] r128: system hangs when X is started with DRI enabled Rafael J. Wysocki
2009-05-24 19:31 ` [Bug #12681] s2ram: fails to wake up on Acer Extensa 4220 (SMP disabled) Rafael J. Wysocki
2009-05-24 19:31 ` [Bug #12899] Crash in i915.ko: i915_driver_irq_handler Rafael J. Wysocki
2009-05-24 19:31 ` [Bug #12705] X200: Brightness broken since 2.6.29-rc4-58-g4c098bc Rafael J. Wysocki
2009-05-24 19:31 ` [Bug #12980] lockup in X.org Rafael J. Wysocki
2009-05-24 19:31 ` [Bug #13025] After upgrading to kernel 2.6.29, pulseaudio stopped with some strange error Rafael J. Wysocki
2009-05-24 19:31 ` [Bug #13001] PCI-DMA: Out of IOMMU space Rafael J. Wysocki
2009-05-24 19:31 ` [Bug #12971] "tg3 transmit timed out" when transmitting at high bitrate Rafael J. Wysocki
2009-05-24 19:31 ` [Bug #13024] nozomi: pppd fails on kernel 2.6.29 Rafael J. Wysocki
2009-05-24 19:31 ` [Bug #13100] can't anymore even do a s2ram-s2disk-s2ram cycle on acer aspire 5720G Rafael J. Wysocki
2009-05-24 19:31 ` [Bug #13074] gspca_stv06xx doesn't work with Logitech QuickCam Express (046d:0840) Rafael J. Wysocki
2009-05-24 19:31 ` [Bug #13072] forcedeth seems to switch off eth on shutdown Rafael J. Wysocki
2009-05-24 19:31 ` [Bug #13144] resume from suspend fails using video card i915 Rafael J. Wysocki
2009-05-24 19:31 ` [Bug #13183] forcedeth: no link during initialization Rafael J. Wysocki
2009-05-24 23:34   ` [Bug #13175] sata_nv incompatible with async scsi scan david
2009-05-27  0:09     ` david
2009-05-24 19:31 ` Rafael J. Wysocki
2009-05-26 16:38   ` Benny Halevy
2009-05-26 18:47     ` Rafael J. Wysocki
2009-05-27  7:31       ` Benny Halevy
2009-05-27 19:47         ` Rafael J. Wysocki
2009-05-24 19:31 ` [Bug #13178] Booting very slow Rafael J. Wysocki
2009-05-25  8:37   ` Martin Knoblauch
2009-05-25 23:04     ` Rafael J. Wysocki
2009-05-27  6:32       ` Andrew Morton
2009-05-27 19:48         ` Rafael J. Wysocki
2009-05-24 19:31 ` [Bug #13269] WARNING: at kernel/hrtimer.c:625 hres_timers_resume+0x3c/0x48() when resuming Rafael J. Wysocki
2009-05-24 19:31 ` [Bug #13186] cpufreq timer teardown problem Rafael J. Wysocki
2009-05-24 19:31 ` [Bug #13225] [2.6.29 regression] Software suspend no longer works Rafael J. Wysocki
2009-05-24 19:31 ` [Bug #13232] ext3/4 with synchronous writes gets wedged by Postfix Rafael J. Wysocki
2009-05-24 19:31 ` [Bug #13271] ath9k stop working since 2.6.29 Rafael J. Wysocki
2009-05-24 19:31 ` [Bug #13371] s2disk hangs with kernel 2.6.29 and later, SATA, Gigabyte EG45M-DS2H Rafael J. Wysocki
2009-05-25 12:48   ` Bartlomiej Zolnierkiewicz
2009-05-16 22:51     ` s2disk hangs with kernel >=2.6.29, SATA, Gigabyte EG45M-DS2H (bisected) Richard Atterer
2009-05-17  3:08       ` Jeff Garzik
2009-05-17 19:27         ` Richard Atterer
2009-05-17 23:17       ` Bartlomiej Zolnierkiewicz
2009-05-18 14:16         ` Richard Atterer
2009-05-18 14:29           ` Bartlomiej Zolnierkiewicz
2009-05-18 15:00             ` Richard Atterer
2009-05-25 13:45       ` [Bug #13371] s2disk hangs with kernel 2.6.29 and later, SATA, Gigabyte EG45M-DS2H Richard Atterer
2009-05-25 14:30         ` Bartlomiej Zolnierkiewicz
2009-05-25 17:13           ` Richard Atterer
2009-05-25 23:03             ` [Bug #13371] s2disk hangs with kernel 2.6.29 and later, SATA, Gigabyte EG45M-DS2H - culprit found Richard Atterer
2009-05-25 23:36               ` Rafael J. Wysocki
2009-05-26 17:36                 ` Kok, Auke
2009-05-26 21:10               ` gapeters
2009-05-26 22:07                 ` Rafael J. Wysocki [this message]
2009-05-31  2:19               ` [Bug #13371] s2disk hangs with e100, kernel 2.6.29 and later Richard Atterer
2009-06-01 20:17                 ` Rafael J. Wysocki
2009-05-25 23:11             ` [Bug #13371] s2disk hangs with kernel 2.6.29 and later, SATA, Gigabyte EG45M-DS2H Rafael J. Wysocki
2009-05-25 23:19               ` Bartlomiej Zolnierkiewicz
2009-05-25 23:38                 ` Rafael J. Wysocki
2009-05-25 23:06     ` Rafael J. Wysocki
2009-05-24 19:31 ` [Bug #13294] i915: drm: xorg leaks drm objects massively Rafael J. Wysocki
2009-05-24 19:31 ` [Bug #13375] Kernel crash with 2.6.29 + nfs + xfs (radix-tree) Rafael J. Wysocki
2009-05-25  0:22   ` Alex Samad
2009-05-25  4:33     ` Mike Dresser
2009-05-25 23:15       ` Rafael J. Wysocki
2009-05-28 21:10         ` Mike Dresser
2009-05-24 22:44 ` 2.6.30-rc7: Reported regressions 2.6.28 -> 2.6.29 Alan Cox
2009-05-30 19:50 2.6.30-rc7-git4: " Rafael J. Wysocki
2009-05-30 19:50 ` [Bug #12490] ath5k related kernel panic in 2.6.29-rc1 Rafael J. Wysocki
2009-05-30 19:55 ` [Bug #12765] i915 VT switch with AIGLX causes X lock up Rafael J. Wysocki
2009-05-31 16:12   ` Sitsofe Wheeler
2009-06-01 20:10     ` Rafael J. Wysocki
2009-05-30 19:55 ` [Bug #12899] Crash in i915.ko: i915_driver_irq_handler Rafael J. Wysocki
2009-05-30 19:55 ` [Bug #12909] boot/kernel init duration regression from 2.6.28 Rafael J. Wysocki
2009-05-30 19:55 ` [Bug #12705] X200: Brightness broken since 2.6.29-rc4-58-g4c098bc Rafael J. Wysocki
2009-05-30 19:55 ` [Bug #12681] s2ram: fails to wake up on Acer Extensa 4220 (SMP disabled) Rafael J. Wysocki
2009-05-30 19:55 ` [Bug #13001] PCI-DMA: Out of IOMMU space Rafael J. Wysocki
2009-05-30 19:55 ` [Bug #12971] "tg3 transmit timed out" when transmitting at high bitrate Rafael J. Wysocki
2009-05-30 19:55 ` [Bug #12947] r128: system hangs when X is started with DRI enabled Rafael J. Wysocki
2009-05-31  8:52   ` Angel
2009-06-01 20:13     ` Rafael J. Wysocki
2009-06-02 19:11     ` Jos van der Ende
2009-05-30 19:55 ` [Bug #12980] lockup in X.org Rafael J. Wysocki
2009-05-30 19:55 ` [Bug #13024] nozomi: pppd fails on kernel 2.6.29 Rafael J. Wysocki
2009-05-30 19:55 ` [Bug #13025] After upgrading to kernel 2.6.29, pulseaudio stopped with some strange error Rafael J. Wysocki
2009-05-30 19:55 ` [Bug #13017] ATA bus errors on resume Rafael J. Wysocki
2009-05-30 19:55 ` [Bug #13100] can't anymore even do a s2ram-s2disk-s2ram cycle on acer aspire 5720G Rafael J. Wysocki
2009-05-30 19:55 ` [Bug #13074] gspca_stv06xx doesn't work with Logitech QuickCam Express (046d:0840) Rafael J. Wysocki
2009-05-30 19:55 ` [Bug #13144] resume from suspend fails using video card i915 Rafael J. Wysocki
2009-05-30 19:55 ` [Bug #13072] forcedeth seems to switch off eth on shutdown Rafael J. Wysocki
2009-05-30 19:55 ` [Bug #13178] Booting very slow Rafael J. Wysocki
2009-06-01  8:13   ` Martin Knoblauch
2009-06-01 20:15     ` [Bug 13178] " Rafael J. Wysocki
2009-05-30 19:55 ` [Bug #13175] initrd fails to find /dev/sda* (sata_nv) Rafael J. Wysocki
2009-05-30 19:55 ` [Bug #13148] resume after suspend-to-ram broken on Sony Vaio VGN-SR19VN when sony-laptop driver present Rafael J. Wysocki
2009-05-30 19:55 ` [Bug #13232] ext3/4 with synchronous writes gets wedged by Postfix Rafael J. Wysocki
2009-05-30 19:55 ` [Bug #13269] WARNING: at kernel/hrtimer.c:625 hres_timers_resume+0x3c/0x48() when resuming Rafael J. Wysocki
2009-05-30 19:55 ` [Bug #13225] [2.6.29 regression] Software suspend no longer works Rafael J. Wysocki
2009-05-30 19:55 ` [Bug #13294] i915: drm: xorg leaks drm objects massively Rafael J. Wysocki
2009-05-30 19:55 ` [Bug #13339] rtable leak in ipv4/route.c Rafael J. Wysocki
2009-05-30 19:55 ` [Bug #13371] s2disk hangs with kernel 2.6.29 and later, SATA, Gigabyte EG45M-DS2H Rafael J. Wysocki
2009-05-30 19:55 ` [Bug #13375] Kernel crash with 2.6.29 + nfs + xfs (radix-tree) Rafael J. Wysocki
2009-05-30 23:10   ` Alex Samad
2009-06-01 20:21     ` Rafael J. Wysocki
2009-06-04 14:28       ` Mike Dresser
2009-06-04 14:34         ` Christoph Hellwig
2009-06-04 14:40           ` Mike Dresser
2009-06-05  9:32             ` Christoph Hellwig
2009-06-05 15:19               ` Mike Dresser
2009-06-06  8:11                 ` Mathias Kretschmer
2009-06-06 15:38                   ` Mike Dresser
2009-06-06 22:00                     ` Mathias Kretschmer
2009-06-01 16:46   ` Felix Blyakher

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=200905270007.52039.rjw@sisk.pl \
    --to=rjw@sisk.pl \
    --cc=auke-jan.h.kok@intel.com \
    --cc=bzolnier@gmail.com \
    --cc=cascardo@holoscopio.com \
    --cc=jerry_734@verizon.net \
    --cc=kernel-testers@vger.kernel.org \
    --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

all inboxes | Powered by JetHome®