/proc/mce dsp

From MCEWiki

/proc/mce_dsp is a pseudofile generated by the MAS kernel driver which provides status information on the driver and the attached fibre card(s). The usual way of using this file is by cat:

$ cat /proc/mce_dsp 

mce_dsp driver version MAS/trunk:738
    fakemce:  no
    realtime: no
    bigphys:  yes

CARD: 0

  data buffer:
    virtual:                       0xf2d21000
    bus:                           0x32d21000
    count:                               4884
    head:                                1000
    tail:                                1000
    drops:                                  0
    size:                               0x800
    data:                               0x5d0
    configs:                               19
    mode:                          quiet mode
  mce commander:
    state:                               idle
    quiet_RP:                              on
    base:                            0xc02400
    size:                                0xf0
  dsp commander:
    bus address:                 0000:03:0c.0
    interrupt:                        enabled
    hstr:                            0x000003
    hctr:                            0x000910
    hcvr:                            0x00808c
    firmware version:                   U0106
    state:                              idle

The first part of this file indicates the configuration options used to build the driver. In general, fakemce and realtime should be off ("no") and bigphys should be on ("yes").

After this is a section for each card found by the driver. The first card is number zero. The card section is broken down into three subsections.

  • A section about the data return buffer (data acquisition)
  • A section about the MCE commander (MCE command and reply handling)
  • A section about the DSP commander (low-level fibre card command and reply handling, and PCI states)