Wind River Support Network

HomeDefectsCGP5-1190
Fixed

CGP5-1190 : [Feature Testing][networking]: 32bit gradm does not work with 64bit kernel on BSP: cav-octeon2 & fsl_p50xx on wrlinux-5.0.1.4 lx05

Created: May 23, 2013    Updated: Mar 11, 2016
Resolved Date: Jun 4, 2013
Previous ID: LIN5-3652
Found In Version: 5.0.1
Fix Version: 5.0.1.4
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: Networking

Description

Problem Description
======================
32bit gradm does not work with 64bit kernel on BSP: cav-octeon2 & fsl_p50xx on wrlinux-5.0.1.4 lx05
but the rootfs is 32bit by default.

Expected Behavior
======================
explain this in README.

Workaround

compile and install 64bit gradm

1 configure a project
../wrlinux-5/wrlinux/configure --enable-board=fsl-p50xx --enable-kernel=cgl --enable-rootfs=glibc_cgl --enable-parallel-pkgbuilds=16 --enable-jobs=8 --with-layer=wr-features,examples/hello-world,wr-testing/cgl,wr-testing/ltp,wr-testing/networking --with-template=feature/lsbtesting,feature/hello-world,feature/cut,feature/analysis,feature/debug --enable-build=profiling
2. make fs
3. start the target with the kernel and rootfs
	cd /opt/wr-testing
	./main_test.sh -s sec.9.1
	FAILED
4. build a 64bit gradm
	in project dir:
	make -C build lib64-gradm
	scp the gradm-2.9.1-r1.lib64_ppc64e5500.rpm and libpam-1.1.5-r7.2.2.lib64_ppc64e5500.rpm to the arget
5. install 64bit gradm on target
	rpm -e gradm --nodeps
	rpm -ivh libpam-1.1.5-r7.2.2.lib64_ppc64e5500.rpm 
	rpm -ivh gradm-2.9.1-r1.lib64_ppc64e5500.rpm
6. reboot the board
 	rerun the ./main_test.sh -s sec.9.1
It can work well.

Steps to Reproduce

1 configure a project
/wrlinux-x/wrlinux/configure --enable-board=cav-octeon2 --enable-kernel=cgl --enable-rootfs=glibc-cgl --enable-parallel-pkgbuilds=16 --enable-jobs=8 --with-layer=/wr-testing/cgl,/wr-testing/networking --with-template=feature/cut
2. make fs
3. start the target with the kernel and rootfs
4. on target run gradm

Other Downloads


Live chat
Online