All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Shane Shrybman <shrybman@aei.ca>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [patch] voluntary-preempt-2.6.9-rc2-mm1-S1
Date: Tue, 21 Sep 2004 09:32:19 +0200	[thread overview]
Message-ID: <20040921073219.GA10095@elte.hu> (raw)
In-Reply-To: <1095714967.3646.14.camel@mars>

[-- Attachment #1: Type: text/plain, Size: 515 bytes --]


* Shane Shrybman <shrybman@aei.ca> wrote:

> I am having what appears to be IDE DMA problems with 2.6.9-rc2-mm1-S1.
> 2.6.9-rc2-mm1 does not show this problem and runs fine. Before this I
> was happily using 2.6.8-rc3-O5.
> 
> I tried booting with acpi=off but was unable to enter my user name at
> the login prompt, it just hung with no response to sysreq. I also
> tried turning off irq threading for that irq but it made no
> difference.

does undoing (patch -R) the attached patch fix this IDE problem?

	Ingo

[-- Attachment #2: 1 --]
[-- Type: text/plain, Size: 745 bytes --]

--- linux/drivers/ide/ide-io.c.orig	
+++ linux/drivers/ide/ide-io.c	
@@ -114,6 +114,9 @@ static int __ide_end_request(ide_drive_t
 	int ret = 1;
 
 	BUG_ON(!(rq->flags & REQ_STARTED));
+	spin_unlock(&ide_lock);
+	if (drive->unmask)
+		local_irq_enable();
 
 	/*
 	 * if failfast is set on a request, override number of sectors and
@@ -135,6 +138,7 @@ static int __ide_end_request(ide_drive_t
 	}
 
 	if (!end_that_request_first(rq, uptodate, nr_sectors)) {
+		spin_lock_irq(&ide_lock);
 		add_disk_randomness(rq->rq_disk);
 
 		if (blk_rq_tagged(rq))
@@ -144,7 +148,8 @@ static int __ide_end_request(ide_drive_t
 		HWGROUP(drive)->rq = NULL;
 		end_that_request_last(rq);
 		ret = 0;
-	}
+	} else
+		spin_lock_irq(&ide_lock);
 	return ret;
 }
 

  reply	other threads:[~2004-09-21  7:31 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-20 21:16 [patch] voluntary-preempt-2.6.9-rc2-mm1-S1 Shane Shrybman
2004-09-21  7:32 ` Ingo Molnar [this message]
2004-09-21 15:37   ` Shane Shrybman
2004-09-21 15:59   ` Shane Shrybman
  -- strict thread matches above, loose matches on Subject: below --
2004-09-20 22:16 Svetoslav Slavtchev
2004-09-19 20:32 Karsten Wiese
2004-09-19 20:48 ` Ingo Molnar
2004-09-19 21:11   ` Karsten Wiese
2004-09-19 21:49     ` Ingo Molnar
2004-09-19 21:46 ` Ingo Molnar
2004-09-19 22:36   ` Andrew Morton
2004-09-06 11:06 [patch] voluntary-preempt-2.6.9-rc1-bk12-R6 Ingo Molnar
2004-09-06 11:48 ` Rafael J. Wysocki
2004-09-06 12:25   ` Alexander Nyberg
2004-09-06 12:29     ` Ingo Molnar
2004-09-07  9:26       ` [patch] voluntary-preempt-2.6.9-rc1-bk12-R7 Ingo Molnar
2004-09-07 11:57         ` [patch] voluntary-preempt-2.6.9-rc1-bk12-R8 Ingo Molnar
2004-09-07 22:59           ` Lee Revell
2004-09-08  8:20             ` [patch] voluntary-preempt-2.6.9-rc1-bk12-R9 Ingo Molnar
2004-09-08 22:37               ` Lee Revell
2004-09-09  6:17                 ` [patch] voluntary-preempt-2.6.9-rc1-bk12-S0 Ingo Molnar
2004-09-19 12:26                   ` [patch] voluntary-preempt-2.6.9-rc2-mm1-S1 Ingo Molnar
2004-09-19 17:05                     ` Felipe Alfaro Solana
2004-09-20 17:14                     ` K.R. Foley
2004-09-20 19:48                       ` Ingo Molnar
2004-09-21  2:25                         ` K.R. Foley
2004-09-20 19:47                     ` Magnus Määttä
2004-09-21 18:24                     ` K.R. Foley
2004-09-21 19:21                       ` Ingo Molnar
2004-09-21 19:37                         ` K.R. Foley

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=20040921073219.GA10095@elte.hu \
    --to=mingo@elte.hu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=shrybman@aei.ca \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.