Skip to content

Commit

Permalink
[Dell]: DellEMC S6100 disable pericom/xlinx chipset (sonic-net#4868)
Browse files Browse the repository at this point in the history
- Xilinx/pericom peripherals are not actively used in DellEMC S6100 switch.
- These peripherals are throwing PCIE corrected messages in some of the units and filling syslog.
- Since it is not usable disabling it at startup.
  • Loading branch information
paavaanan authored and qiluo-msft committed Jul 12, 2020
1 parent 58632e6 commit cba801a
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ remove_python_api_package() {


if [[ "$1" == "init" ]]; then

pericom="/sys/bus/pci/devices/0000:08:00.0"
modprobe i2c-dev
modprobe i2c-mux-pca954x force_deselect_on_exit=1
modprobe dell_ich
Expand All @@ -26,6 +28,10 @@ if [[ "$1" == "init" ]]; then
modprobe nvram
systemctl start s6100-reboot-cause.service

# Disable pericom/xilinx
echo 1 > /sys/bus/pci/devices/0000:02:00.0/remove
[ -d $pericom ] && echo 1 > $pericom/remove

# Disable Watchdog Timer
if [[ -e /usr/local/bin/platform_watchdog_disable.sh ]]; then
/usr/local/bin/platform_watchdog_disable.sh
Expand Down

0 comments on commit cba801a

Please sign in to comment.