All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Themel <themel@iwoars.net>
To: linux-ide@vger.kernel.org
Subject: PDC202XX_OLD regression between 2.6 and 2.4
Date: Thu, 11 Mar 2004 20:01:00 +0100	[thread overview]
Message-ID: <20040311190100.GV19928@iwoars.net> (raw)

Hi,

I'm currently trying to set up a system that contains a Promise 20267
controller, and it seems that DMA on that controller causes problems in
2.6. 

My test case consists of simply creating an empty ext3 file system and
running bonnie++ on it. In 2.4.25, this works as expected. In 2.6.3-rc4,
however, it breaks after a few seconds:

Mar 11 17:27:19 sophokles kernel: hdg: dma_timer_expiry: dma status == 0x60
Mar 11 17:27:19 sophokles kernel: hdg: DMA timeout retry
Mar 11 17:27:19 sophokles kernel: PDC202XX: Secondary channel reset.
Mar 11 17:27:19 sophokles kernel: PDC202XX: Primary channel reset.
Mar 11 17:27:19 sophokles kernel: hdg: timeout waiting for DMA
Mar 11 17:27:40 sophokles kernel: hdg: dma_timer_expiry: dma status == 0x60
Mar 11 17:27:40 sophokles kernel: hdg: DMA timeout retry
Mar 11 17:27:40 sophokles kernel: PDC202XX: Secondary channel reset.
Mar 11 17:27:40 sophokles kernel: PDC202XX: Primary channel reset.
Mar 11 17:27:40 sophokles kernel: hdg: timeout waiting for DMA
Mar 11 17:28:02 sophokles kernel: hdg: dma_timer_expiry: dma status == 0x60
Mar 11 17:28:02 sophokles kernel: hdg: DMA timeout retry
Mar 11 17:28:02 sophokles kernel: PDC202XX: Secondary channel reset.
Mar 11 17:28:02 sophokles kernel: PDC202XX: Primary channel reset.
Mar 11 17:28:02 sophokles kernel: hdg: timeout waiting for DMA
Mar 11 17:28:22 sophokles kernel: hdg: dma_timer_expiry: dma status == 0x60
Mar 11 17:28:22 sophokles kernel: hdg: DMA timeout retry
Mar 11 17:28:22 sophokles kernel: PDC202XX: Secondary channel reset.
Mar 11 17:28:22 sophokles kernel: PDC202XX: Primary channel reset.
Mar 11 17:28:22 sophokles kernel: hdg: timeout waiting for DMA

Other information:

hdparm output is slightly different between 2.4 and 2.6 (hda is an
identical drive on a vt8233a controller on the motherboard) - 

sophokles:~# diff -Nrua 2.4.25/ 2.6.4-rc3/
diff -Nrua 2.4.25/hda 2.6.4-rc3/hda
--- 2.4.25/hda  2004-03-11 19:48:29.000000000 +0100
+++ 2.6.4-rc3/hda       2004-03-11 19:52:28.000000000 +0100
@@ -6,5 +6,5 @@
  using_dma    =  1 (on)
  keepsettings =  0 (off)
  readonly     =  0 (off)
- readahead    =  8 (on)
- geometry     = 14593/255/63, sectors = 234441648, start = 0
+ readahead    = 256 (on)
+ geometry     = 16383/255/63, sectors = 234441648, start = 0
diff -Nrua 2.4.25/hdg 2.6.4-rc3/hdg
--- 2.4.25/hdg  2004-03-11 19:48:32.000000000 +0100
+++ 2.6.4-rc3/hdg       2004-03-11 19:52:31.000000000 +0100
@@ -6,5 +6,5 @@
  using_dma    =  1 (on)
  keepsettings =  0 (off)
  readonly     =  0 (off)
- readahead    =  8 (on)
- geometry     = 14593/255/63, sectors = 234441648, start = 0
+ readahead    = 256 (on)
+ geometry     = 16383/255/63, sectors = 234441648, start = 0

I am a bit confused by the geometry changes, but they can hardly
cause the problem since hda works nicely under 2.6.

Can I do anything to narrow this down, is there a way to get more
debugging output? 

PS: Is there an archive of this mailing list somewhere?

ciao,
-- 
[*Thomas  Themel*]  While differing widely in the various little bits we know,
[extended contact]  in our infinite ignorance we are all equal. 
[info provided in]
[*message header*]      - Karl Popper

             reply	other threads:[~2004-03-11 19:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-11 19:01 Thomas Themel [this message]
2004-03-12 10:26 ` PDC202XX_OLD regression between 2.6 and 2.4 fcp

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=20040311190100.GV19928@iwoars.net \
    --to=themel@iwoars.net \
    --cc=linux-ide@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 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.