Subject: Problems with PCI Mylex RAID on AlphaServer 4100
To: None <port-alpha@netbsd.org>
From: Jeff Workman <jworkman@pimpworks.org>
List: port-alpha
Date: 06/05/2001 23:35:38
Hi!

I am trying to get my Mylex RAID controller on my AlphaServer 4100 working.

Right now, for testing purposes, the RAID is configured with 2 logical 
drives.  Each has been formatted and initialized by the RAID configuration 
software.

Here's the pertinent boot messages:

NetBSD 1.5V (ELDORADO) #6: Tue Jun  5 16:22:49 EDT 2001
    root@eldorado:/usr/src/sys/arch/alpha/compile/ELDORADO
AlphaServer 4100 5/400 4MB, 400MHz, s/n NI63002CL7

<snip>

Mylex DAC960 RAID (v2 interface) (RAID mass storage, revision 0x02) at ? 
dev 3 function 0 (tag 0x30000, intrtag 0x30000, intrswiz 0, intrpin 0x1, 
i/o on, mem on, no quirks): Mylex RAID (v2 interface)
mlx0: interrupting at kn300 irq 12
mlx0: DAC960P/PD, 3 channels, firmware 2.42-0-00, 8MB RAM
mlx0: command failed - rebuild successfully terminated (0x104)
mlx0: ENQUIRY failed

the PCI dump for the Mylex looks like:

   Vendor Name: Mylex (0x1069)
    Device Name: DAC960 RAID (v2 interface) (0x0001)
    Command register: 0x0147
      I/O space accesses: on
      Memory space accesses: on
      Bus mastering: on
      Special cycles: off
      MWI transactions: off
      Palette snooping: off
      Parity error checking: on
      Address/data stepping: off
      System error (SERR): on
      Fast back-to-back transactions: off
    Status register: 0x0200
      Capability List support: off
      66 MHz capable: off
      User Definable Features (UDF) support: off
      Fast back-to-back capable: off
      Data parity error detected: off
      DEVSEL timing: medium (0x1)
      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: RAID (0x04)
    Interface: 0x00
    Revision ID: 0x02
    BIST: 0x00
    Header Type: 0x00 (0x00)
    Latency Timer: 0xff
    Cache Line Size: 0x10

  Type 0 ("normal" device) header:
    0x10: 0x01ffef01 0x076e7f00 0x00000000 0x00000000
    0x20: 0x00000000 0x00000000 0x00000000 0x00000000
    0x30: 0x076e8000 0x00000000 0x00000000 0x0004010c

    Base address register at 0x10
      type: 32-bit i/o
      base: 0x01ffef00, size: 0x00000080
    Base address register at 0x14
      type: 32-bit nonprefetchable memory
      base: 0x076e7f00, size: 0x00000080
    Base address register at 0x18
      not implemented(?)
    Base address register at 0x1c
      not implemented(?)
    Base address register at 0x20
      not implemented(?)
    Base address register at 0x24
      not implemented(?)
    Cardbus CIS Pointer: 0x00000000
    Subsystem vendor ID: 0x0000
    Subsystem ID: 0x0000
    Expansion ROM Base Address: 0x076e8000
    Reserved @ 0x34: 0x00000000
    Reserved @ 0x38: 0x00000000
    Maximum Latency: 0x00
    Minimum Grant: 0x04
    Interrupt pin: 0x01 (pin A)
    Interrupt line: 0x0c

  Device-dependent header:
    0x40: 0x00000000 0x00000000 0x00000000 0x00000000
    0x50: 0x00000000 0x00000000 0x00000000 0x00000000
    0x60: 0x00000000 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.

Any clues?

Jeff

--
"...and the burnt fool's bandaged finger goes wobbling back to the
fire." -Joe Zeff in the SDM.