From: Jun Sun <jsun@mvista.com>
To: Hanks Li <hli@quicklogic.com>
Cc: linux-mips@oss.sgi.com
Subject: Re: IDE DMA mode in Big endian for mips
Date: Tue, 16 Oct 2001 10:30:11 -0700 [thread overview]
Message-ID: <3BCC6EA3.A1A3BA3A@mvista.com> (raw)
In-Reply-To: APEOLACBIPNAFKJDDFIIEECJCBAA.hli@quicklogic.com
Some host-PCI bridge controller may have smart endian conversion features.
Make sure you set it up correctly. The fact that DMA does not work but
polling works might also indicate the smart conversion only happens from PCI
to memory, not in the patch PCI -> CPU.
Perhaps your memory is still in LE mode even when your CPU runs in BE mode?
Jun
Hanks Li wrote:
>
> Hi,
>
> We are working on the IDE/ATAPI for mips. When I changed to Big endian mode,
> the following information appared, and the program hang.
>
> -------------------------------------
> Uniform Multi-Platform E-IDE driver Revision: 6.31
> ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> PDC20262: IDE controller on PCI bus 00 dev 30
> PDC20262: chipset revision 1
> PDC20262: not 100% native mode: will probe irqs later
> PDC20262: ROM enabled at 0x06fb0000
> PDC20262: (U)DMA Burst Bit DISABLED Primary PCI Mode Secondary PCI Mode.
> ide0: BM-DMA at 0xf800-0xf807, BIOS settings: hda:pio, hdb:pio
> ide1: BM-DMA at 0xf808-0xf80f, BIOS settings: hdc:pio, hdd:pio
> hda: QUANTUM FIREBALL EX10.2A, ATA DISK drive
> ide0 at 0xec00-0xec07,0xe802 on irq 7
> hda: 20044080 sectors (10263 MB) w/418KiB Cache, CHS=19885/16/63, (U)DMA
> Partition check:
> hda:hda: dma_timer_expiry: status=0x58 { DriveReady SeekComplete
> DataRequest }
> hda: timeout waiting for DMA
> ide_dmaproc: chipset supported ide_dma_timeout func only: 14
> -------------------------------------
>
> When I turned off "IDE,ATA and ATAPI Block Devices->Generic PCI bus-master
> DMA support", there was no problem at all. The following information
> appared:
>
> ------------------------------------
>
> Uniform Multi-Platform E-IDE driver Revision: 6.31
> ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> PDC20262: IDE controller on PCI bus 00 dev 30
> PDC20262: chipset revision 1
> PDC20262: not 100% native mode: will probe irqs later
> hda: QUANTUM FIREBALL EX10.2A, ATA DISK drive
> ide0 at 0xec00-0xec07,0xe802 on irq 7
> hda: 20044080 sectors (10263 MB) w/418KiB Cache, CHS=19885/16/63
> Partition check:
> hda: [PTBL] [1247/255/63] hda1 hda2 hda3
> ------------------------------------
>
> What could be the cause of this problem?
>
> Regards,
>
> Hanshi Li
next prev parent reply other threads:[~2001-10-16 17:30 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-12 16:26 Big endian problem Hanks Li
2001-10-12 16:26 ` Hanks Li
2001-10-12 17:45 ` Ralf Baechle
2001-10-12 17:47 ` Jun Sun
2001-10-12 20:13 ` Dan Aizenstros
2001-10-13 0:35 ` Jun Sun
2001-10-13 0:55 ` Thiemo Seufer
2001-10-13 5:54 ` H . J . Lu
2001-10-13 5:54 ` H . J . Lu
2001-10-13 21:02 ` MySQL Yoshi-K
2001-10-13 21:02 ` MySQL Yoshi-K
2001-10-14 16:30 ` MySQL H . J . Lu
2001-10-14 21:01 ` MySQL Ralf Baechle
2001-10-15 5:46 ` MySQL H . J . Lu
2001-10-16 14:28 ` IDE DMA mode in Big endian for mips Hanks Li
2001-10-16 14:28 ` Hanks Li
2001-10-16 17:30 ` Jun Sun [this message]
2001-10-17 2:38 ` Atsushi Nemoto
2001-10-17 5:48 ` Geert Uytterhoeven
2001-10-17 9:33 ` Gleb O. Raiko
2001-10-17 11:43 ` Atsushi Nemoto
2001-10-18 2:18 ` Atsushi Nemoto
2001-10-18 5:54 ` Geert Uytterhoeven
2001-10-18 10:33 ` Gleb O. Raiko
2001-10-17 17:52 ` Hanks Li
2001-10-17 17:52 ` Hanks Li
2001-10-19 9:54 ` Atsushi Nemoto
2001-10-21 16:50 ` Alan Cox
2001-10-21 16:50 ` Alan Cox
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=3BCC6EA3.A1A3BA3A@mvista.com \
--to=jsun@mvista.com \
--cc=hli@quicklogic.com \
--cc=linux-mips@oss.sgi.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 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.