Wind River Support Network

HomeDefectsLIN9-2424
Not to be fixed

LIN9-2424 : Cannot find "/sys/module/kgdboc" during kgdboc tests on intel-x86-64 target (Denverton)

Created: Nov 26, 2016    Updated: Mar 6, 2019
Resolved Date: Feb 20, 2019
Found In Version: unknown
Severity: Standard
Applicable for: Wind River Linux 9
Component/s: BSP

Description

Cannot find "/sys/module/kgdboc" during kgdboc tests on intel-x86-64 target (Denverton), which is as below.

root@localhost:~# echo "ttyS0,115200" > /sys/module/k
kernel/   keyboard/ 
parameters/ uevent      
root@localhost:~# echo "ttyS0,115200" > /sys/module/kgdb^C root@localhost:~# find /sys/module/  -name "kgdboc*"
root@localhost:~#


Expected Behavior
======================
"/sys/module/kgdboc" is existing there for the kgdboc function

Steps to Reproduce

git clone --depth 1 --branch WRLINUX_9_BASE git://git.wrs.com/wrlinux-x wrlinux-9
./wrlinux-9/setup.sh --machines intel-x86-64 --kernel=standard --distros=wrlinux --dl-layers
. ./environment-setup-x86_64-wrlinuxsdk-linux
. ./oe-init-build-env build_test
bitbake-layers add-layer /folk/lliu2/wrlinux/wr-testing/bts-dev

echo "WRTEMPLATE_append = \" feature/bts \"" >> conf/local.conf
echo "DISTRO_FEATURES_append = \" systemd\"" >> conf/local.conf
echo "VIRTUAL-RUNTIME_init_manager = \"systemd\"" >> conf/local.conf
echo "DISTRO_FEATURES_BACKFILL_CONSIDERED += \"sysvinit\"" >> conf/local.conf
echo "KERNEL_FEATURES_append = \" cfg/systemd.scc\"" >> conf/local.conf
echo "IMAGE_FSTYPES=\"tar.bz2 ext4\"" >> conf/local.conf
echo "INITRAMFS_MAXSIZE=\"500000\"" >> conf/local.conf
echo "BB_NO_NETWORK=\"0\"" >> conf/local.conf

bitbake wrlinux-image-glibc-std

Load images to the target.

root@localhost:~# echo "ttyS0,115200" > /sys/module/kgdboc/parameters/kgdboc
Live chat
Online