Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Fwd: port-amd64/43309: VX800 and CN896-VT8237S is not configured in RAID mode



Attached list and dumps

On Thu, May 30, 2019 at 9:30 AM Michael van Elst <mlelstv%serpens.de@localhost> wrote:
>
> vezhlys%gmail.com@localhost (Andrius V) writes:
>
> >> Looks like both share the same registers and interrupt and viaide(4) doesn't
> >> handle this, or maybe viaide1 doesn't really exist. You can use pcictl to
> >> dump the configuration space, in particular the BAR entries to shine a
> >> light on this.
>
> >I am quite immature at all this, if possible, please, provide more
> >specific command and a bit of info on what to look at? Though, yes, I
> >believe viaide1 doesn't exist.
>
> The command
>
>    pcictl pci0 list
>
> prints all PCI devices. According to your dmesg output you should
> see entries for 000:15:0 and 000:17:0, i.e bus 0, device 15 or 17
> and function 0.
>
> You can dump the configuration space then with:
>
> pcictl pci0 dump -b 0 -d 15 -f 0
> pcictl pci0 dump -b 0 -d 17 -f 0
>
>
> --
> --
>                                 Michael van Elst
> Internet: mlelstv%serpens.de@localhost
>                                 "A potential Snark may lurk in every tree."
000:00:0: VIA Technologies product 0353 (host bridge, revision 0x12)
000:00:1: VIA Technologies product 1353 (host bridge)
000:00:2: VIA Technologies product 2353 (host bridge)
000:00:3: VIA Technologies product 3353 (host bridge)
000:00:4: VIA Technologies product 4353 (host bridge)
000:00:5: VIA Technologies product 5353 (interrupt system, IO(x) APIC)
000:00:6: VIA Technologies product 6353 (host bridge)
000:00:7: VIA Technologies product 7353 (host bridge)
000:01:0: VIA Technologies product 1122 (VGA display, revision 0x11)
000:02:0: VIA Technologies product c353 (PCI bridge)
000:03:0: VIA Technologies product e353 (PCI bridge)
000:03:1: VIA Technologies product f353 (PCI bridge)
000:15:0: VIA Technologies CX700 IDE Controller (RAID mass storage)
000:16:0: VIA Technologies VT83C572 USB Controller (USB serial bus, UHCI, revision 0xa0)
000:16:1: VIA Technologies VT83C572 USB Controller (USB serial bus, UHCI, revision 0xa0)
000:16:2: VIA Technologies VT83C572 USB Controller (USB serial bus, UHCI, revision 0xa0)
000:16:4: VIA Technologies VT8237 EHCI USB Controller (USB serial bus, EHCI, revision 0x90)
000:17:0: VIA Technologies VX800/VX820 PCI-LPC Bridge (ISA bridge)
000:17:7: VIA Technologies product a353 (host bridge)
000:19:0: VIA Technologies product b353 (PCI bridge, subtractive decode)
004:03:0: VIA Technologies VT83C572 USB Controller (USB serial bus, UHCI, revision 0x61)
004:03:1: VIA Technologies VT83C572 USB Controller (USB serial bus, UHCI, revision 0x61)
004:03:2: VIA Technologies VT8237 EHCI USB Controller (USB serial bus, EHCI, revision 0x63)
004:03:3: VIA Technologies VT6421 Serial RAID Controller (RAID mass storage, revision 0x50)
004:04:0: Intel i82541GI Gigabit Ethernet (ethernet network, revision 0x05)
004:06:0: Intel i82541GI Gigabit Ethernet (ethernet network, revision 0x05)
004:07:0: Intel i82541GI Gigabit Ethernet (ethernet network, revision 0x05)
PCI configuration registers:
  Common header:
    0x00: 0x05811106 0x02900007 0x01040000 0x00002000

    Vendor Name: VIA Technologies (0x1106)
    Device Name: CX700 IDE Controller (0x0581)
    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
      Interrupt disable: off
    Status register: 0x0290
      Immediate Readiness: off
      Interrupt status: inactive
      Capability List support: on
      66 MHz capable: off
      User Definable Features (UDF) support: off
      Fast back-to-back capable: on
      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: 0x00
    BIST: 0x00
    Header Type: 0x00 (0x00)
    Latency Timer: 0x20
    Cache Line Size: 0bytes (0x00)

  Type 0 ("normal" device) header:
    0x10: 0x0000fc01 0x0000f801 0x0000f401 0x0000f001
    0x20: 0x0000ec01 0x00000000 0x00000000 0x53241106
    0x30: 0x00000000 0x000000b0 0x00000000 0x0000010b

    Base address register at 0x10
      type: I/O
      base: 0x0000fc00
    Base address register at 0x14
      type: I/O
      base: 0x0000f800
    Base address register at 0x18
      type: I/O
      base: 0x0000f400
    Base address register at 0x1c
      type: I/O
      base: 0x0000f000
    Base address register at 0x20
      type: I/O
      base: 0x0000ec00
    Base address register at 0x24
      not implemented
    Cardbus CIS Pointer: 0x00000000
    Subsystem vendor ID: 0x1106
    Subsystem ID: 0x5324
    Expansion ROM Base Address Register: 0x00000000
      base: 0x00000000
      Expansion ROM Enable: off
      Validation Status: Validation not supported
      Validation Details: 0x0
    Capability list pointer: 0xb0
    Reserved @ 0x38: 0x00000000
    Maximum Latency: 0x00
    Minimum Grant: 0x00
    Interrupt pin: 0x01 (pin A)
    Interrupt line: 0x0b

  Capability register at 0xb0
    type: 0x01 (Power Management)

  PCI Power Management Capabilities Register
    Capabilities register: 0x0002
      Version: 1.1
      PME# clock: off
      Device specific initialization: off
      3.3V auxiliary current: self-powered
      D1 power management state support: off
      D2 power management state support: off
      PME# support D0: off
      PME# support D1: off
      PME# support D2: off
      PME# support D3 hot: off
      PME# support D3 cold: off
    Control/status register: 0x00000000
      Power state: D0
      PCI Express reserved: off
      No soft reset: off
      PME# assertion: disabled
      Data Select: 0
      Data Scale: 0
      PME# status: off
    Bridge Support Extensions register: 0x00
      B2/B3 support: off
      Bus Power/Clock Control Enable: off
    Data register: 0x00

  Device-dependent header:
    0x40: 0x45c10303 0x0008af87 0x00005d5d 0x00b6000f
    0x50: 0x00000707 0x30409c00 0x90001000 0x05000000
    0x60: 0x00100000 0x0080ee59 0x030a5000 0x00000022
    0x70: 0x00000000 0x775800ff 0x00000001 0x00000000
    0x80: 0x00000000 0x00000000 0x0014a000 0x00000000
    0x90: 0x55555555 0xaaaaaaaa 0x00000000 0x00000000
    0xa0: 0x00001313 0x00000c0c 0x04070000 0x04070000
    0xb0: 0x00020001 0x00000000 0x05813100 0x53241106
    0xc0: 0x01093209 0x00400010 0x00000000 0x00000000
    0xd0: 0x00000000 0x0000000c 0x00000000 0x00000000
    0xe0: 0x00000000 0x00000000 0x00000200 0x00000000
    0xf0: 0x00010000 0x00000000 0x00000182 0x00000000
PCI configuration registers:
  Common header:
    0x00: 0x83531106 0x02100003 0x06010000 0x00800000

    Vendor Name: VIA Technologies (0x1106)
    Device Name: VX800/VX820 PCI-LPC Bridge (0x8353)
    Command register: 0x0003
      I/O space accesses: on
      Memory space accesses: on
      Bus mastering: off
      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
      Interrupt disable: off
    Status register: 0x0210
      Immediate Readiness: off
      Interrupt status: inactive
      Capability List support: on
      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: bridge (0x06)
    Subclass Name: ISA (0x01)
    Interface: 0x00
    Revision ID: 0x00
    BIST: 0x00
    Header Type: 0x00+multifunction (0x80)
    Latency Timer: 0x00
    Cache Line Size: 0bytes (0x00)

  Type 0 ("normal" device) header:
    0x10: 0x00000000 0x00000000 0x00000000 0x00000000
    0x20: 0x00000000 0x00000000 0x00000000 0x83531106
    0x30: 0x00000000 0x000000c0 0x00000000 0x00000000

    Base address register at 0x10
      not implemented
    Base address register at 0x14
      not implemented
    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: 0x1106
    Subsystem ID: 0x8353
    Expansion ROM Base Address Register: 0x00000000
      base: 0x00000000
      Expansion ROM Enable: off
      Validation Status: Validation not supported
      Validation Details: 0x0
    Capability list pointer: 0xc0
    Reserved @ 0x38: 0x00000000
    Maximum Latency: 0x00
    Minimum Grant: 0x00
    Interrupt pin: 0x00 (none)
    Interrupt line: 0x00

  Capability register at 0xc0
    type: 0x01 (Power Management)

  PCI Power Management Capabilities Register
    Capabilities register: 0x0002
      Version: 1.1
      PME# clock: off
      Device specific initialization: off
      3.3V auxiliary current: self-powered
      D1 power management state support: off
      D2 power management state support: off
      PME# support D0: off
      PME# support D1: off
      PME# support D2: off
      PME# support D3 hot: off
      PME# support D3 cold: off
    Control/status register: 0x00000000
      Power state: D0
      PCI Express reserved: off
      No soft reset: off
      PME# assertion: disabled
      Data Select: 0
      Data Scale: 0
      PME# status: off
    Bridge Support Extensions register: 0x00
      B2/B3 support: off
      Bus Power/Clock Control Enable: off
    Data register: 0x00

  Device-dependent header:
    0x40: 0x0bf00044 0x0350b000 0x0000200c 0x000a0044
    0x50: 0x0009d9c1 0xb0bbb000 0x03008062 0x00000000
    0x60: 0x00000000 0x05000000 0xfe800080 0x00000000
    0x70: 0x83531106 0x00000000 0x00000000 0x00000000
    0x80: 0x00598420 0x0000605a 0x00000401 0x00001805
    0x90: 0x88ff7f00 0x0207c120 0x001c7f00 0x20000000
    0xa0: 0x00000000 0x00000000 0x00000000 0x00000000
    0xb0: 0x00a50038 0x08005d7d 0x77444080 0x00fed100
    0xc0: 0x00020001 0x00000000 0x00000000 0x00000000
    0xd0: 0x00050501 0x00000000 0x00000000 0x00000000
    0xe0: 0x3b060000 0x00ff2100 0x00000000 0x00000000
    0xf0: 0x00000000 0x00120000 0x00000000 0x00000000


Home | Main Index | Thread Index | Old Index