Skip to content

Commit

Permalink
[Dell]: DellEMC S6100 disable pericom/xlinx chipset (#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 abdosi committed Jul 5, 2020
1 parent 9c62ce9 commit 369bf88
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,8 @@ remove_python_api_package() {
init_devnum

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 @@ -262,6 +264,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 369bf88

Please sign in to comment.