From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Zygo Blaxell <uixjjji1@umail.furryterror.org>
Cc: linux-kernel mailing list <linux-kernel@vger.kernel.org>
Subject: Re: 2.4.21 IDE and IEEE1394+SBP2 regressions, orinoco_pci progress
Date: 09 Jul 2003 11:34:34 +0200 [thread overview]
Message-ID: <1057743274.506.4.camel@gaston> (raw)
In-Reply-To: <pan.2003.07.08.22.25.12.249185.15455@umail.hungrycats.org>
On Wed, 2003-07-09 at 04:49, Zygo Blaxell wrote:
> Previously on kernels up to 2.4.20, an IDE disk I/O request that was in
> progress at suspend time would trigger a DMA reset upon resume, after a
> short delay while waiting for the timeout. 2.4.20 looked like this:
>
> ide_dmaproc: chipset supported ide_dma_lostirq func only: 13 hda:
> lost interrupt
>
> After this, the machine happily resumes whatever it was doing. There is a
> delay of a few seconds while this happens.
>
> Now in 2.4.21, the kernel prints the following message:
>
> hda: dma_timer_expiry: dma status == 0x04
>
> and that's the last thing it ever does--the kernel locks up hard.
Whatever happens, you shouldn't let the machine suspend while ongoing
disk IOs are in progress. A lot of bad things could result from that.
Actually, the proper fix is to implement some working suspend/resume
handlers in the IDE layer like we did in 2.5, though the problem here
is that 2.4 lacks proper infrastructure for doing that in a properly
ordered way.
> Note that in order to see this you need to be doing a lot of I/O at
> suspend time, e.g. 'cp -a /usr /tmp' or some such thing.
>
> Also in 2.4.21, a filesystem mounted from a CD-ROM via ide-scsi will start
> to get I/O errors if it is accessed during the suspend/resume sequence.
> In 2.4.20, there were no ill effects when this happens.
Same thing. You need the driver to block requests during that sequence,
and to complete any pending one before suspend is entered.
next prev parent reply other threads:[~2003-07-09 9:20 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-09 2:49 2.4.21 IDE and IEEE1394+SBP2 regressions, orinoco_pci progress Zygo Blaxell
2003-07-09 2:12 ` Ben Collins
2003-07-09 14:54 ` Zygo Blaxell
2003-07-09 3:13 ` jiho
2003-07-09 13:50 ` Zygo Blaxell
[not found] ` <E19aFLE-0003NF-00@satsuki.furryterror.org>
2003-07-10 2:17 ` jiho
2003-07-09 9:34 ` Benjamin Herrenschmidt [this message]
2003-07-09 14:31 ` Zygo Blaxell
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=1057743274.506.4.camel@gaston \
--to=benh@kernel.crashing.org \
--cc=linux-kernel@vger.kernel.org \
--cc=uixjjji1@umail.furryterror.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