Subject: Followup on Promisecards w/ AS4100
To: None <port-alpha@netbsd.org>
From: Tobias Nygren <tnn@netilium.org>
List: port-alpha
Date: 10/03/2002 17:36:38
I went out and bought a new Ultra133TX2, no improvement.
Checked out 1-6-release and enabled debugging.
Here are the logs, I hope some developer can make sense of it.

Promise Technology Ultra133/ATA Bus Master IDE Accelerator (miscellaneous
mass storage, interface 0x85, revision 0x02) at ? dev 4 function 0
(intrswiz 0, intrpin 0x1, i/o on, mem on, no quirks): Promise Ultra133/ATA
Bus Master IDE Accelerator (rev. 0x02)PCI configuration registers:
  Common header:
    0x00: 0x4d69105a 0x04300007 0x01808502 0x0000fc10

    Vendor Name: Promise Technology (0x105a)
    Device Name: Ultra133/ATA Bus Master IDE Accelerator (0x4d69)
    Command register: 0x0007
      I/O space accesses: on
      Memory space accesses: on
      Bus mastering: on
      Special cycles: off
      MWI transactions: off
      Palette snooping: off
      Parity error checking: off
      Address/data stepping: off
      System error (SERR): off
      Fast back-to-back transactions: off
    Status register: 0x0430
      Capability List support: on
      66 MHz capable: on
      User Definable Features (UDF) support: off
      Fast back-to-back capable: off
      Data parity error detected: off
      DEVSEL timing: slow (0x2)
      Slave signaled Target Abort: off
      Master received Target Abort: off
      Master received Master Abort: off
      Asserted System Error (SERR): off
      Parity error detected: off
    Class Name: mass storage (0x01)
    Subclass Name: miscellaneous (0x80)
    Interface: 0x85
    Revision ID: 0x02
    BIST: 0x00
    Header Type: 0x00 (0x00)
    Latency Timer: 0xfc
    Cache Line Size: 0x10

  Type 0 ("normal" device) header:
    0x10: 0x01fffd01 0x01fffe01 0x00000171 0x01ffff01
    0x20: 0x00006801 0x03fa8000 0x00000000 0x4d68105a
    0x30: 0x03fac000 0x00000060 0x00000000 0x12040110

    Base address register at 0x10
      type: 32-bit i/o
      base: 0x01fffd00, size: 0x00000008
    Base address register at 0x14
      type: 32-bit i/o
      base: 0x01fffe00, size: 0x00000004
    Base address register at 0x18
      type: 32-bit i/o
      base: 0x00000170, size: 0x00000008
    Base address register at 0x1c
      type: 32-bit i/o
      base: 0x01ffff00, size: 0x00000004
    Base address register at 0x20
      type: 32-bit i/o
      base: 0x00006800, size: 0x00000010
    Base address register at 0x24
      type: 32-bit nonprefetchable memory
      base: 0x03fa8000, size: 0x00004000
    Cardbus CIS Pointer: 0x00000000
    Subsystem vendor ID: 0x105a
    Subsystem ID: 0x4d68
    Expansion ROM Base Address: 0x03fac000
    Capability list pointer: 0x60
    Reserved @ 0x38: 0x00000000
    Maximum Latency: 0x12
    Minimum Grant: 0x04
    Interrupt pin: 0x01 (pin A)
    Interrupt line: 0x10
    Capability register at 0x60
      type: 0x01 (Power Management, rev. 1.0)

  Device-dependent header:
    0x40: 0x00000000 0x00000000 0x00000000 0x00000000
    0x50: 0x00000000 0x00000000 0x00000000 0x00000000
    0x60: 0x02210001 0x00000000 0x00000000 0x00000000
    0x70: 0x00000000 0x00000000 0x00000000 0x00000000
    0x80: 0x00000000 0x00000000 0x00000000 0x00000000
    0x90: 0x00000000 0x00000000 0x00000000 0x00000000
    0xa0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xb0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xc0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xd0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xe0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xf0: 0x00000000 0x00000000 0x00000000 0x00000000

    Don't know how to pretty-print device-dependent header.

pciide0: bus-master DMA support present
pciide0: primary channel configured to native-PCI mode
pciide0: using kn300 irq 16 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <WDC WD600AB-00BVA0>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 57241 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 117231408 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd1 at pciide0 channel 0 drive 1: <WDC WD600AB-00BVA0>
wd1: drive supports 16-sector PIO transfers, LBA addressing
wd1: 57241 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 117231408 sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
pciide_dma_table_setup: table at 0xfffffc0002ad0000 len 72, phy 0x2ad0000
pciide_dma_table_setup: phy addr of table 0x82ad0000
pciide_dma_table_setup: table at 0xfffffc0002ae0000 len 72, phy 0x2ae0000
pciide_dma_table_setup: phy addr of table 0x82ae0000
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using
DMA data transfers)wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 5
(Ultra/100) (usingDMA data transfers)pciide0: secondary channel configured to native-PCI mode
wd2 at pciide0 channel 1 drive 0: <Maxtor 4G120J6>
wd2: drive supports 16-sector PIO transfers, LBA48 addressing
wd2: 114 GB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 240121728 sectors
wd2: 32-bit data port
wd2: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6
wd3 at pciide0 channel 1 drive 1: <Maxtor 4G120J6>
wd3: drive supports 16-sector PIO transfers, LBA48 addressing
wd3: 114 GB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 240121728 sectors
wd3: 32-bit data port
wd3: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6
pciide_dma_table_setup: table at 0xfffffc0002af0000 len 72, phy 0x2af0000
pciide_dma_table_setup: phy addr of table 0x82af0000
pciide_dma_table_setup: table at 0xfffffc0002d60000 len 72, phy 0x2d60000
pciide_dma_table_setup: phy addr of table 0x82d60000
wd2(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using
DMA data transfers)wd3(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 5
(Ultra/100) (usingDMA data transfers)pciide: command/status register=4300007
pciide_dma_start
pciide_dma_finish: status 0x64
wd0: transfer error, downgrading to Ultra-DMA mode 2
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA
data transfers)wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 5
(Ultra/100) (usingDMA data transfers)wd0c: error reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0),
retryingwd0: (aborted command, interface CRC error)
         seg 0 len 512 addr 0x8300e000
pciide_dma_start
pciide_dma_finish: status 0x64
wd0: soft error (corrected)
         seg 0 len 512 addr 0x8300e000
pciide_dma_start
pciide_dma_finish: status 0x64
wd0: no disk label
         seg 0 len 512 addr 0x8300e000
pciide_dma_start
pciide_dma_finish: status 0x64
wd1: transfer error, downgrading to Ultra-DMA mode 2
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA
data transfers)wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
(Ultra/33) (using DMAdata transfers)wd1c: error reading fsbn 0 (wd1 bn 0; cn 0 tn 0 sn 0),
retryingwd1: (aborted command, interface CRC error)
         seg 0 len 512 addr 0x8300e000
pciide_dma_start
pciide_dma_finish: status 0x64
wd1: soft error (corrected)
         seg 0 len 512 addr 0x8300e000
pciide_dma_start
pciide_dma_finish: status 0x64
wd1: no disk label
         seg 0 len 512 addr 0x8300e000
pciide_dma_start
pciide_dma_finish: status 0x4
wd2: transfer error, downgrading to Ultra-DMA mode 2
wd2(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA
data transfers)wd3(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 5
(Ultra/100) (usingDMA data transfers)wd2c: error reading fsbn 0 (wd2 bn 0; cn 0 tn 0 sn 0),
retryingwd2: (aborted command, interface CRC error)
         seg 0 len 512 addr 0x8300e000
pciide_dma_start
pciide_dma_finish: status 0x4
wd2: soft error (corrected)
         seg 0 len 512 addr 0x8300e000
pciide_dma_start
pciide_dma_finish: status 0x4
wd2: no disk label
         seg 0 len 512 addr 0x8300e000
pciide_dma_start
pciide_dma_finish: status 0x4
wd3: transfer error, downgrading to Ultra-DMA mode 2
wd2(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA
data transfers)wd3(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2
(Ultra/33) (using DMAdata transfers)wd3c: error reading fsbn 0 (wd3 bn 0; cn 0 tn 0 sn 0),
retryingwd3: (aborted command, interface CRC error)
         seg 0 len 512 addr 0x8300e000
pciide_dma_start
pciide_dma_finish: status 0x4
wd3: soft error (corrected)
         seg 0 len 512 addr 0x8300e000
pciide_dma_start
pciide_dma_finish: status 0x4
wd3: no disk label