public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re[3]: DMA for triton again...
@ 2000-12-01 11:36 Guennadi Liakhovetski
  2000-12-01 14:44 ` Mike Dresser
  0 siblings, 1 reply; 6+ messages in thread
From: Guennadi Liakhovetski @ 2000-12-01 11:36 UTC (permalink / raw)
  To: linux-kernel

Hi
> will try tonight... and will let you know tomorrow...
... Nop, it didn't work. Mike and everybody having experience / knowledge of Western Digital Caviar AC21600H... If you compare WD's documents at:
http://www.westerndigital.com/service/FAQ/dtr.html
and
http://www.westerndigital.com/products/non-current/drives/ac21600.html
they, respectively ,say:

UDMA if CCC is A8-AG (AH is not UDMA), D5-D7, Bx, or Cx All others -- PIO Mode 4

and

16.6 MB/s (burst Mode 4 PIO) *
16.6 MB/s (burst Mode 2 DMA) **
33.3 MB/s (Mode 2 Ultra DMA) ***

*Max PIO burst rate is specified at 16.6 MB/s using the IORDY signal. 
**Max DMA and multi-word DMA burst rate is specified using the DMARQ and DMACK signals.
***Mode 2 Ultra DMA is supported in the following firmware revisions (CCC Codes: A8, AA, AC, AD, AG, D5, D6, D7, Bx, Cx). 

Which one is true? Do non-UDMA AC21600H (I've got CCC F6) support DMA?

Is it possible to find out where hdparm -d1 is stopped? Maybe by compiling it with -g and debugging... As far as I understand, BIOS is not an issue, since ide.txt says, that Linux doesn't use BIOS when working with hard drives...

Thanks
Guennadi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re[2]: DMA for triton again...
  2000-11-30 16:14 ` Mike Dresser
@ 2000-11-30 16:46 Guennadi Liakhovetski
  2000-12-01 14:27 ` Mike Dresser
  -1 siblings, 1 reply; 6+ messages in thread
From: Guennadi Liakhovetski @ 2000-11-30 16:46 UTC (permalink / raw)
  To: linux-kernel

> I'll see how mangled my .config is.
> Looks somewhat clean, a few modules i don't use.  I'll send it in a > seperate email.

Thanks a lot, Mike! I can see couple of differences already, will try tonight... and will let you know tomorrow...

Cheers
Guennadi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re[2]: DMA for triton again...
  2000-11-30 15:41 ` Mike Dresser
@ 2000-11-30 15:58 Guennadi Liakhovetski
  2000-11-30 16:14 ` Mike Dresser
  -1 siblings, 1 reply; 6+ messages in thread
From: Guennadi Liakhovetski @ 2000-11-30 15:58 UTC (permalink / raw)
  To: linux-kernel

Thanks!

> Chipset is a 430FX, Same hard drive as what you have.  Pentium > 133, 48 meg ram.  Kernel 2.2.17 with raid patch, and ide patch.  

I don't think I need tha raid patch, do I?

> Shares the ide cable with a WDC 850 meg drive as slave.

No slaves on mine.

> What brand is your motherboard?

Intel Morrison64 (not Morrison32!) aka Advanced/MN (in some sources Advanced/AL). BIOS AMI 1.00.03.CA0 (upgraded to 1.00.04.CA0).

What version of hdparm are you using? By the output it looks like 3.9, patched? Did DMA work from the very beginning? Can you send me a copy of your .config file?

Regards
Guennadi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 6+ messages in thread
* DMA for triton again...
@ 2000-11-30 15:23 Guennadi Liakhovetski
  2000-11-30 15:41 ` Mike Dresser
  0 siblings, 1 reply; 6+ messages in thread
From: Guennadi Liakhovetski @ 2000-11-30 15:23 UTC (permalink / raw)
  To: linux-kernel

Hello everybody

I know this subject has been discussed multiple times already, I've read a lot of posts about it, but still haven't been able to fix my particular case. So, here we go:

computer: Chipset 430FX / Triton / PIIX, disk Western Digital Caviar AC21600H Firmware code F6 (no UDMA, some WD docs show DMA mw2, some PIO4...), kernel 2.2.17 with ide patch and PIIX enabled, DMA by default, generic DMA, and couple others. Did not try 'bad DMA-firmware (EXPERIMENTAL)'. dmesg (relevant - in my view - lines):

 Linux version 2.2.17 (root@risky) (gcc version 2.7.2.3) #22 Wed Nov 29 23:04:12
 GMT 2000
 Detected 74540 kHz processor.
 ...
 Memory: 47168k/49152k available (828k kernel code, 412k reserved, 700k data,
 44k init)
 ...
 CPU: Intel Pentium 75 - 200 stepping 05
 ...
 PCI: PCI BIOS revision 2.10 entry at 0xfcb81
 PCI: Using configuration type 1
 PCI: Probing PCI hardware
 ...
 Uniform Multi-Platform E-IDE driver Revision: 6.30
 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
 PIIX: IDE controller on PCI bus 00 dev 38
 PIIX: chipset revision 2
 PIIX: not 100% native mode: will probe irqs later
 PIIX: neither IDE port enabled (BIOS)
 hda: WDC AC21600H, ATA DISK drive
 hdc: BCD-16X 1997-03-25, ATAPI CDROM drive
 ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
 ide1 at 0x170-0x177,0x376 on irq 15
 hda: WDC AC21600H, 1549MB w/128kB Cache, CHS=787/64/63
 ...
 Partition check:
  hda: hda1 hda2 hda3
 VFS: Mounted root (ext2 filesystem) readonly.
 ...

BIOS DOES identify the hard disk and the CD-ROM correctly, although it is pretty old and no newer version is available. hdparm -d1 returns:
 /dev/hda:
  setting using_dma to 1 (on)
  HDIO_SET_DMA failed: Operation not permitted
  using_dma    =  0 (off)
 hdparm -I:
 /dev/hda:

  Model=DW CCA1206H0                            , FwRev=420.P980,
 SerialNo=DWW-3M63
  Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
  RawCHS=3148/16/63, TrkSize=57600, SectSize=600, ECCbytes=22
  BuffType=3(DualPortCache), BuffSize=128kB, MaxMultSect=16, MultSect=16
  DblWordIO=no, maxPIO=2(fast), DMA=yes, maxDMA=0(slow)
  CurCHS=3148/16/63, CurSects=3173184, LBA=yes, LBAsects=3173184
  DblWordIO=no, maxPIO=2(fast), DMA=yes, maxDMA=0(slow)
  CurCHS=3148/16/63, CurSects=3173184, LBA=yes, LBAsects=3173184
  tDMA={min:120,rec:120}, DMA modes: mword0 mword1 *mword2
  IORDY=on/off, tPIO={min:160,w/IORDY:120}, PIO modes: mode3 mode4

(yesterday I installed hdparm-3.9, now output is in slightly different format, but the same contents). hdparm -v reports dma off. lspci looks fine... hdparm -tT gives 4.8MB/s. I just downloaded a patch by Andre Hedrick for hdparm-3.9a (why 'a', BTW? is it the patch to hdparm-3.9 actually?). Will try it tonight - would that help? I'll rather stop trying to foresee what information is needed here, it is already TOO long, sorry.

Thanks in advance
Guennadi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2000-12-01 15:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-12-01 11:36 Re[3]: DMA for triton again Guennadi Liakhovetski
2000-12-01 14:44 ` Mike Dresser
  -- strict thread matches above, loose matches on Subject: below --
2000-11-30 16:46 Re[2]: " Guennadi Liakhovetski
2000-12-01 14:27 ` Mike Dresser
2000-11-30 15:58 Re[2]: " Guennadi Liakhovetski
2000-11-30 16:14 ` Mike Dresser
2000-11-30 15:23 Guennadi Liakhovetski
2000-11-30 15:41 ` Mike Dresser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox