Linux ATA/IDE development
 help / color / mirror / Atom feed
From: beolach@juno.com
To: jgoerzen@complete.org
Cc: linux-ide@vger.kernel.org
Subject: Re: Promise IDE controller crashes 2.4.22
Date: Sat, 29 Nov 2003 22:07:32 GMT	[thread overview]
Message-ID: <20031129.140802.28395.1074931@webmail05.lax.untd.com> (raw)


I recently had a very similar problem to this on my computer with a
Promise Ultra133TX2 (PDC20269) addon card.  In my case I had a Western
Digital drive attached to the PDC20269 that would have major filesystem
corruption when DMA was enabled during the boot process.  Interestingly,
if I disabled DMA during boot, and then enabled it after boot with
hdparm, the drive worked OK.  Also, if I moved the drive to my
mainboard's IDE controller, it would work.  It seemed to be a
combination of my drive & IDE controller, because the IDE controller
works fine with other drives, and the WD hard drive worked fine with
another IDE controller.  I replaced the drive (20 GB) with a 120 GB
Maxtor drive, and haven't had any problem since.

Just something similar that happened to me,
Conway S. Smith


-- John Goerzen <jgoerzen@complete.org> wrote:
On Fri, Nov 28, 2003 at 12:16:48AM +0100, Bartlomiej Zolnierkiewicz wrote:
> 
> Can you first try booting with "ide2=autodma" kernel parameter
> instead of downgrading to UDMA100?

This caused the system to boot up with DMA disabled for the relevant
drive.  (Note: that may also be how it was working before.)  Here is a
diff from the previous dmesg to this one:

--- dmesg       2003-11-27 17:51:54.000000000 -0500
+++ dmesg2      2003-11-27 21:04:14.000000000 -0500
@@ -9,9 +9,10 @@
 zone(0): 4096 pages.
 zone(1): 94208 pages.
 zone(2): 0 pages.
-Kernel command line: root=/dev/hdc1 ro rootfstype=ext3
+Kernel command line: root=/dev/hdc1 ro rootfstype=ext3 ide2=autodma
+ide_setup: ide2=autodma -- BAD OPTION
 Initializing CPU#0
-Detected 400.919 MHz processor.
+Detected 400.923 MHz processor.
 Console: colour VGA+ 80x25
 Calibrating delay loop... 799.53 BogoMIPS
 Memory: 386700k/393216k available (1137k kernel code, 6132k reserved,
465k data, 76k init, 0k highmem)
@@ -55,7 +56,6 @@
 VP_IDE: IDE controller at PCI slot 00:07.1
 VP_IDE: chipset revision 6
 VP_IDE: not 100% native mode: will probe irqs later
-ide: Assuming 33MHz system bus speed for PIO modes; override with
idebus=xx
 VP_IDE: VIA vt82c596b (rev 12) IDE UDMA66 controller on pci00:07.1
     ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hda:DMA, hdb:DMA
     ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:DMA, hdd:DMA
@@ -113,7 +113,3 @@
 EXT3 FS 2.4-0.9.19, 19 August 2002 on ide2(33,1), internal journal
 EXT3-fs: mounted filesystem with ordered data mode.
 Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
-blk: queue c02cc320, I/O limit 4095Mb (mask 0xffffffff)
-blk: queue c02cc774, I/O limit 4095Mb (mask 0xffffffff)
-blk: queue c02ccbc8, I/O limit 4095Mb (mask 0xffffffff)
-hde: DMA disabled

Also, here's some hdparm info:

# hdparm -i /dev/hde

/dev/hde:

 Model=Maxtor 6Y160P0, FwRev=YAR41VW0, SerialNo=xxxxxxxx
 Config={ Fixed }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57
 BuffType=DualPortCache, BuffSize=7936kB, MaxMultSect=16, MultSect=16
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=268435455
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4
 DMA modes:  mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 udma6
 AdvancedPM=yes: disabled (255) WriteCache=enabled
 Drive conforms to: (null):  1 2 3 4 5 6 7




________________________________________________________________
The best thing to hit the internet in years - Juno SpeedBand!
Surf the web up to FIVE TIMES FASTER!
Only $14.95/ month - visit www.juno.com to sign up today!

             reply	other threads:[~2003-11-29 22:08 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-29 22:07 beolach [this message]
2003-11-30 23:31 ` Promise IDE controller crashes 2.4.22 Benjamin Herrenschmidt
     [not found] <slrnbsche8.2ir.jgoerzen@christoph.complete.org>
2003-11-27 19:42 ` Bartlomiej Zolnierkiewicz
2003-11-27 22:55   ` John Goerzen
2003-11-27 23:16     ` Bartlomiej Zolnierkiewicz
2003-11-28  2:12       ` John Goerzen
2003-11-28 13:01         ` Bartlomiej Zolnierkiewicz
2003-11-29  1:12           ` John Goerzen
2003-11-28  2:24       ` John Goerzen
2003-11-28  3:22         ` Stefan Smietanowski
2003-11-28 13:00           ` Bartlomiej Zolnierkiewicz
2003-11-29  1:52             ` John Goerzen
2003-11-29  5:57               ` Andrew Herdman
2003-11-29 14:23               ` Bartlomiej Zolnierkiewicz

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=20031129.140802.28395.1074931@webmail05.lax.untd.com \
    --to=beolach@juno.com \
    --cc=jgoerzen@complete.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox