Purpose
LBPCU is Advantech own build utility to control LAN Bypass features. Some of customer had reported an error message was shown when they run "lbpcu" command.
Target Audience
For those users who are running lbpcu in Debian OS distributions
Minimum requirement
- Advantech products which support Advanced LAB bypass function
- Latest lbpcu executable file from support web site
Symptom
Behavior without correct GRUB parameter, the "Segmentation fault" will pop up when running lbpcu command.
root@debian:/home/ae/lbpcu_binary_01_16# cat /etc/debian_version
9.3
root@debian:/home/ae/lbpcu_binary_01_16# uname -a
Linux debian 4.9.0-4-amd64 #1 SMP Debian 4.9.65-3+deb9u1 (2017-12-23) x86_64 GNU/Linux
root@debian:/home/ae/lbpcu_binary_01_16# ./lbpcu -VF 1
Segmentation fault
root@debian:/home/ae/lbpcu_binary_01_16# ./lbpcu -VF 2
Segmentation fault
root@debian:/home/ae/lbpcu_binary_01_16# ./lbpcu -GA 1 POWER_ON
Segmentation fault
root@debian:/home/ae/lbpcu_binary_01_16# ./lbpcu -GA 2 POWER_ON
Segmentation fault
root@debian:/home/ae/lbpcu_binary_01_16# more lbpcu.cfg
SEGMENT: 1
BUS: 0
DEV: 14
FUN: 0
SEGMENT: 2
BUS: 0
DEV: 14
FUN: 2
TYPE: PCIE
Solution
Please add Kernel parameter "iomem=relaxed" into GRUB menu. Reboot OS and re-run lbpcu command to see if issue can be solved.
Comments
0 comments
Please sign in to leave a comment.