GithubHelp home page GithubHelp logo

sonic-platform-modules-dell's Introduction

platform drivers for Dell Z9100 for the SONiC project

sonic-platform-modules-dell's People

Contributors

jleveque avatar lguohan avatar nirenjan avatar padmanarayana avatar yxieca avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sonic-platform-modules-dell's Issues

too many sleeps in s6100_platform.sh

admin@str-s6100-acs-1:/etc/init.d$ grep sleep /usr/local/bin/s6100_platform.sh
sleep 2
sleep 2
sleep 2
sleep 2
sleep 2
sleep 2
sleep 2
sleep 2
sleep 2

After fstrim support, unit hangs on reboot

Build 523 added fstrim support via 8d4517d.

Though the unit comes up fine with the ONIE install, subsequent reboot/fast-reboot results in unit hung at:
[ OK ] Reached target Network is Online.
[ ***] A start job is running for LSB: Setup Z9100 board. (...40s / no limit)

dell_ich: probe of dell_ich.0 failed with error -16

[    4.284326] i2c /dev entries driver
[    4.297681] dell_ich: dell_ich: found SMF for ID 0x1
[    4.297790] dell_ich: dell_ich: request_region failed for GPIO : 500
[    4.297791] dell_ich: dell_ich dell_ich_probe failed with : -16
[    4.297797] dell_ich: probe of dell_ich.0 failed with error -16

sfputil show duplicate entries on s6100

vendor sn for Ethernet0 and Ethernet1 are the same. It should not be.

root@str-s6100-acs-3:/sys/devices/platform/dell_s6100_lpc# sfputil
Ethernet0: SFP detected

        Vendor SN : 1QA-0009782

Ethernet1: SFP detected
        Vendor SN : 1QA-0009782

sensors output does not show any fan information or asic temperature on z9100

admin@str-z9100-acs-1:/etc/sonic$ sensors
coretemp-isa-0000
Adapter: ISA adapter
Core 0:       +31.0 C  (high = +98.0 C, crit = +98.0 C)
Core 1:       +32.0 C  (high = +98.0 C, crit = +98.0 C)
Core 2:       +32.0 C  (high = +98.0 C, crit = +98.0 C)
Core 3:       +32.0 C  (high = +98.0 C, crit = +98.0 C)

admin@str-z9100-acs-1:/etc/sonic$ 

fan status abnormal status

coretemp-isa-0000                                                                                                                                                                                                                                                                                                        [0/53]
Adapter: ISA adapter
Core 0:       +22.0 C  (high = +98.0 C, crit = +98.0 C)
Core 1:       +22.0 C  (high = +98.0 C, crit = +98.0 C)
Core 2:       +23.0 C  (high = +98.0 C, crit = +98.0 C)
Core 3:       +22.0 C  (high = +98.0 C, crit = +98.0 C)

dell-s6100-lpc
Adapter: S6100 Platform Management Controller
Onboard Temperature Sensors:
  CPU:                             29 C
  BCM56960 (PSU side):             31 C
  System Outlet 1 (switch board):  28 C
  BCM56960 (IO side):              26 C
  System Outlet 2 (CPU board):     29 C
  System Inlet Left (IO side):     21 C
  System Inlet Right (IO side):    21 C
  IOM 1:                           24 C
  IOM 2:                           24 C
  IOM 3:                           26 C
  IOM 4:                           25 C

Fan Trays:
  Fan Tray 1:
    Speed:     5569 RPM
    Fan 1:     Normal
    Fan 2:     Normal
    Air Flow:  F2B
  Fan Tray 2:
    Speed:     5593 RPM
   Fan 1:     Normal
    Fan 2:     Normal
    Air Flow:  F2B
  Fan Tray 3:
    Speed:     5609 RPM
    Fan 1:     Abnormal
    Fan 2:     Abnormal
    Air Flow:  F2B
  Fan Tray 4:
    Speed:     5585 RPM
    Fan 1:     Abnormal
    Fan 2:     Abnormal
    Air Flow:  F2B

PSUs:
  PSU 1:
    Input:           AC
    Type:            Normal
    FAN Speed:       7184 RPM
    FAN:             Present
    FAN Status:      Normal
    FAN AIRFLOW:     F2B
    Input Voltage:   229.00 V
    Output Voltage:   12.21 V
    Input Current:     0.54 A
    Output Current:    8.12 A
    Input Power:     111.00 W
    Output Power:     99.10 W
    Temperature:     47 C
  PSU 2:
    Input:           AC
    Type:            Normal
    FAN Speed:       7232 RPM
    FAN:             Present
    FAN Status:      Normal
    FAN AIRFLOW:     F2B
    Input Voltage:   228.75 V
    Output Voltage:   12.19 V
    Input Current:     0.63 A
    Output Current:    9.90 A
    Input Power:     132.00 W
    Output Power:    120.70 W
    Temperature:     48 C

  Total Power:       219 W

IO Modules:
  IOM 1: ON
  IOM 2: ON
  IOM 3: ON
  IOM 4: ON

sudo sfputil does not work on z9100

admin@str-z9100-acs-1:~$ sudo sfputil
error reading port info ([Errno 2] No such file or directory: '/usr/share/sonic/device/x86_64-dell_z9100_c2538-r0/Traceback (most recent call last):\n  File "/usr/local/bin/sonic-cfggen", line 116, in <module>\n    main()\n  File "/usr/local/bin/sonic-cfggen", line 78, in main\n    data.update(parse_xml(minigraph, data[\'platform\']))\n  File "/usr/local/lib/python2.7/dist-packages/minigraph.py", line 397, in parse_xml\n    root = ET.parse(filename).getroot()\n  File "lxml.etree.pyx", line 3299, in lxml.etree.parse (src/lxml/lxml.etree.c:72655)\n  File "parser.pxi", line 1791, in lxml.etree._parseDocument (src/lxml/lxml.etree.c:106263)\n  File "parser.pxi", line 1817, in lxml.etree._parseDocumentFromURL (src/lxml/lxml.etree.c:106564)\n  File "parser.pxi", line 1721, in lxml.etree._parseDocFromFile (src/lxml/lxml.etree.c:105561)\n  File "parser.pxi", line 1122, in lxml.etree._BaseParser._parseDocFromFile (src/lxml/lxml.etree.c:100456)\n  File "parser.pxi", line 580, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:94543)\n  File "parser.pxi", line 690, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:96003)\n  File "parser.pxi", line 618, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:95015)\nIOError: Error reading file \'/etc/sonic/minigraph.xml\': failed to load external entity "/etc/sonic/minigraph.xml"/portmap.ini')
admin@str-z9100-acs-1:~$ 

Skip installing eeprom driver on non-existing devices.

echo sff8436 0x50 > /sys/bus/i2c/devices/i2c-$i/$1
this command needs to be executed only when the SFP is inserted.

[  110.270950] i2c i2c-18: Failed to register i2c client sff8436 at 0x50 (-16)
[  110.354986] i2c i2c-19: Failed to register i2c client sff8436 at 0x50 (-16)
[  110.438666] i2c i2c-20: Failed to register i2c client sff8436 at 0x50 (-16)
[  110.523709] i2c i2c-21: Failed to register i2c client sff8436 at 0x50 (-16)
[  110.607604] i2c i2c-22: Failed to register i2c client sff8436 at 0x50 (-16)
[  110.696219] i2c i2c-23: Failed to register i2c client sff8436 at 0x50 (-16)
[  110.796446] i2c i2c-24: Failed to register i2c client sff8436 at 0x50 (-16)
[  110.896648] i2c i2c-25: Failed to register i2c client sff8436 at 0x50 (-16)
[  110.996833] i2c i2c-26: Failed to register i2c client sff8436 at 0x50 (-16)
[  111.096999] i2c i2c-27: Failed to register i2c client sff8436 at 0x50 (-16)
[  111.197201] i2c i2c-28: Failed to register i2c client sff8436 at 0x50 (-16)
[  111.297407] i2c i2c-29: Failed to register i2c client sff8436 at 0x50 (-16)
[  111.388211] i2c i2c-30: Failed to register i2c client sff8436 at 0x50 (-16)
[  111.471924] i2c i2c-31: Failed to register i2c client sff8436 at 0x50 (-16)
[  111.555546] i2c i2c-32: Failed to register i2c client sff8436 at 0x50 (-16)
[  111.639164] i2c i2c-33: Failed to register i2c client sff8436 at 0x50 (-16)
[  111.722900] i2c i2c-18: Failed to register i2c client sff8436 at 0x50 (-16)
[  111.806522] i2c i2c-19: Failed to register i2c client sff8436 at 0x50 (-16)
[  111.890144] i2c i2c-20: Failed to register i2c client sff8436 at 0x50 (-16)
[  111.973954] i2c i2c-21: Failed to register i2c client sff8436 at 0x50 (-16)
[  112.061458] i2c i2c-22: Failed to register i2c client sff8436 at 0x50 (-16)
[  112.161657] i2c i2c-23: Failed to register i2c client sff8436 at 0x50 (-16)
[  112.261883] i2c i2c-24: Failed to register i2c client sff8436 at 0x50 (-16)
[  112.362071] i2c i2c-25: Failed to register i2c client sff8436 at 0x50 (-16)
[  112.462306] i2c i2c-26: Failed to register i2c client sff8436 at 0x50 (-16)
[  112.562502] i2c i2c-27: Failed to register i2c client sff8436 at 0x50 (-16)
[  112.662728] i2c i2c-28: Failed to register i2c client sff8436 at 0x50 (-16)
[  112.754545] i2c i2c-29: Failed to register i2c client sff8436 at 0x50 (-16)
[  112.838201] i2c i2c-30: Failed to register i2c client sff8436 at 0x50 (-16)
[  112.921877] i2c i2c-31: Failed to register i2c client sff8436 at 0x50 (-16)
[  113.005525] i2c i2c-32: Failed to register i2c client sff8436 at 0x50 (-16)
[  113.089183] i2c i2c-33: Failed to register i2c client sff8436 at 0x50 (-16)
[  113.172937] i2c i2c-18: Failed to register i2c client sff8436 at 0x50 (-16)
[  113.273153] i2c i2c-19: Failed to register i2c client sff8436 at 0x50 (-16)
[  113.373422] i2c i2c-20: Failed to register i2c client sff8436 at 0x50 (-16)
[  113.473594] i2c i2c-21: Failed to register i2c client sff8436 at 0x50 (-16)
[  113.573762] i2c i2c-22: Failed to register i2c client sff8436 at 0x50 (-16)
[  113.674114] i2c i2c-23: Failed to register i2c client sff8436 at 0x50 (-16)
[  113.774141] i2c i2c-24: Failed to register i2c client sff8436 at 0x50 (-16)
[  113.870162] i2c i2c-25: Failed to register i2c client sff8436 at 0x50 (-16)
[  113.954042] i2c i2c-26: Failed to register i2c client sff8436 at 0x50 (-16)
[  114.037670] i2c i2c-27: Failed to register i2c client sff8436 at 0x50 (-16)
[  114.121327] i2c i2c-28: Failed to register i2c client sff8436 at 0x50 (-16)
[  114.204944] i2c i2c-29: Failed to register i2c client sff8436 at 0x50 (-16)
[  114.288561] i2c i2c-30: Failed to register i2c client sff8436 at 0x50 (-16)
[  114.372182] i2c i2c-31: Failed to register i2c client sff8436 at 0x50 (-16)
[  114.455805] i2c i2c-32: Failed to register i2c client sff8436 at 0x50 (-16)
[  114.543503] i2c i2c-33: Failed to register i2c client sff8436 at 0x50 (-16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.