Linux ATA/IDE development
 help / color / mirror / Atom feed
From: "Andrew Herdman" <andrew@whine.com>
To: John Goerzen <jgoerzen@complete.org>,
	Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
Cc: Stefan Smietanowski <stesmi@stesmi.com>, linux-ide@vger.kernel.org
Subject: Re: Promise IDE controller crashes 2.4.22
Date: Sat, 29 Nov 2003 00:57:48 -0500	[thread overview]
Message-ID: <004101c3b63d$b7fe1c10$1080a8c0@littlewxp> (raw)
In-Reply-To: 20031129015230.GA3124@complete.org

to determine the UDMA mode the drive is currently operating in perform a
hdparm -i /dev/hde

an example from my system, Promise TX133 Card

hdparm -i /dev/hde

/dev/hde:

 Model=WDC WD800JB-00DUA3, FwRev=75.13B75, SerialNo=WD-WMACM1696962
 Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
 RawCHS=16383/16/63, TrkSize=57600, SectSize=600, ECCbytes=74
 BuffType=DualPortCache, BuffSize=8192kB, MaxMultSect=16, MultSect=16
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=156301488
 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
 AdvancedPM=no WriteCache=enabled
 Drive conforms to: device does not report version:

 * signifies the current active mode

As you can see, my drive is currently operating using udam4 (i turned off
udma5 on the drives themselves because of dma errors, bad cabling).

Andrew

----- Original Message ----- 
From: "John Goerzen" <jgoerzen@complete.org>
To: "Bartlomiej Zolnierkiewicz" <B.Zolnierkiewicz@elka.pw.edu.pl>
Cc: "Stefan Smietanowski" <stesmi@stesmi.com>; <linux-ide@vger.kernel.org>
Sent: Friday, November 28, 2003 8:52 PM
Subject: Re: Promise IDE controller crashes 2.4.22


> On Fri, Nov 28, 2003 at 02:00:55PM +0100, Bartlomiej Zolnierkiewicz wrote:
> >
> > My mistake, it should have been -Xudma5 :-).
>
> I tried the ide2=dma in the kernel and then:
>
> hdparm -d 1 -u 1 -X 69 /dev/hde
>
> That did seem to solve the problem.  Output of hdparm after that
> command:
>
> pi:~# hdparm /dev/hde
>
> /dev/hde:
>  multcount    = 16 (on)
>  IO_support   =  0 (default 16-bit)
>  unmaskirq    =  0 (off)
>  using_dma    =  1 (on)
>  keepsettings =  0 (off)
>  readonly     =  0 (off)
>  readahead    =  8 (on)
>  geometry     = 19929/255/63, sectors = 320173056, start = 0
>
> What does that mean?
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ide" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>


  reply	other threads:[~2003-11-29  5:57 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <slrnbsche8.2ir.jgoerzen@christoph.complete.org>
2003-11-27 19:42 ` Promise IDE controller crashes 2.4.22 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 [this message]
2003-11-29 14:23               ` Bartlomiej Zolnierkiewicz
2003-11-29 22:07 beolach
2003-11-30 23:31 ` Benjamin Herrenschmidt

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='004101c3b63d$b7fe1c10$1080a8c0@littlewxp' \
    --to=andrew@whine.com \
    --cc=B.Zolnierkiewicz@elka.pw.edu.pl \
    --cc=jgoerzen@complete.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=stesmi@stesmi.com \
    /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