Fixed
Created: Jul 14, 2013
Updated: Dec 19, 2017
Resolved Date: Aug 15, 2013
Found In Version: 5.0.1
Fix Version: 5.0.1,5.0.1.7
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: BSP - Async
Host OS: Linux Red Hat
Architecture: MIPS
The kdump would failed on the NFS mount when used the NAE.
If using the PCIE e1000e NIC to mount NFS, then it would hung on VFS.
The kexec could test PASS.
It came from the latest RCPL5 LP04 DVD, and it added the CPU_HUTPLUG feature.
The NAE mount NFS failure information as follow:
=====================================================
0:<6>console [netcon0] enabled
0:<6>netconsole: network logging started
0:<6>rtc-ds1374 1-0068: setting system clock to 2006-07-12 00:45:37 UTC (1152665137)
0:bus:0 phy:16 Link is up : 6c48
0:<6>IP-Config: Complete:
0:<6> device=eth5, addr=128.224.167.148, mask=255.255.254.0, gw=128.224.166.1
0:<6> host=XLP832B2-KEXEC2, domain=, nis-domain=(none)
0:<6> bootserver=128.224.163.153, rootserver=128.224.163.153, rootpath= 0:<c>
1:<3>mmc0: unrecognised SCR structure version 2
1:<3>mmc0: error -22 whilst initialising SD card
0:<6>md: Waiting for all devices to be available before autodetect
0:<6>md: If you don't use raid, use raid=noautodetect
0:<6>md: Autodetecting RAID arrays.
0:<6>md: Scanned 0 and added 0 devices.
0:<6>md: autorun ...
0:<6>md: ... autorun DONE.
3:<6>VFS: Mounted root (nfs filesystem) on device 0:13.
3:<6>devtmpfs: mounted
3:<6>Freeing unused kernel memory: 704k freed
1:<6>usb 2-1: new high-speed USB device number 2 using ehci_hcd
1:<6>mmc0: new SDHC card at address 0002
1:isa bounce pool size: 16 pages
1:<6>mmcblk0: mmc0:0002 00000 3.70 GiB
5:<6> mmcblk0: p1 p2 p3
1:<6>scsi0 : usb-storage 2-1:1.0
1:<5>scsi 0:0:0:0: Direct-Access Generic USB Flash Disk 8.07 PQ: 0 ANSI: 2
3:<5>sd 0:0:0:0: [sda] 3883008 512-byte logical blocks: (1.98 GB/1.85 GiB)
3:<5>sd 0:0:0:0: [sda] Write Protect is off
3:<7>sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
3:<3>sd 0:0:0:0: [sda] No Caching mode page present
3:<3>sd 0:0:0:0: [sda] Assuming drive cache: write through
3:<3>sd 0:0:0:0: [sda] No Caching mode page present
3:<3>sd 0:0:0:0: [sda] Assuming drive cache: write through
0:<7>eth5: no IPv6 routers present
26:<5>nfs: server 128.224.163.153 not responding, still trying
The e1000e NIC to mount NFS failure information as follow:
======================================================
22:<6>e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: Rx/Tx
22:<6>e1000e 0000:04:00.0: eth0: 10/100 speed: disabling TSO
22:<6>ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
0:<6>IP-Config: Complete:
0:<6> device=eth0, addr=128.224.167.148, mask=255.255.254.0, gw=128.224.166.1
0:<6> host=XLP832B2-KDMUP, domain=, nis-domain=(none)
0:<6> bootserver=128.224.163.153, rootserver=128.224.163.153, rootpath= 0:<c>
27:<6> sda: sda1
27:<3>sd 0:0:0:0: [sda] No Caching mode page present
27:<3>sd 0:0:0:0: [sda] Assuming drive cache: write through
27:<5>sd 0:0:0:0: [sda] Attached SCSI removable disk
0:<6>md: Waiting for all devices to be available before autodetect
0:<6>md: If you don't use raid, use raid=noautodetect
0:<6>md: Autodetecting RAID arrays.
0:<6>md: Scanned 0 and added 0 devices.
0:<6>md: autorun ...
0:<6>md: ... autorun DONE.
22:<6>VFS: Mounted root (nfs filesystem) on device 0:13.
23:<6>devtmpfs: mounted
23:<6>Freeing unused kernel memory: 704k freed
22:<5>type=1404 audit(1152666361.658:2): enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295
22:<7>SELinux: 2048 avtab hash slots, 91105 rules.
22:<7>SELinux: 2048 avtab hash slots, 91105 rules.
22:<7>SELinux: 6 users, 36 roles, 3693 types, 168 bools 22:, 16 sens, 1024 cats 22:
22:<7>SELinux: 81 classes, 91105 rules
22:<7>SELinux: Completing initialization.
22:<7>SELinux: Setting up existing superblocks.
22:<7>SELinux: initialized (dev sysfs, type sysfs), uses genfs_contexts
22:<7>SELinux: initialized (dev rootfs, type rootfs), uses genfs_contexts
22:<7>SELinux: initialized (dev bdev, type bdev), uses genfs_contexts
22:<7>SELinux: initialized (dev proc, type proc), uses genfs_contexts
22:<7>SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
22:<7>SELinux: initialized (dev devtmpfs, type devtmpfs), uses transition SIDs
22:<7>SELinux: initialized (dev sockfs, type sockfs), uses task SIDs
22:<7>SELinux: initialized (dev debugfs, type debugfs), uses genfs_contexts
22:<7>SELinux: initialized (dev pipefs, type pipefs), uses task SIDs
22:<7>SELinux: initialized (dev anon_inodefs, type anon_inodefs), uses genfs_contexts
22:<7>SELinux: initialized (dev devpts, type devpts), uses transition SIDs
22:<7>SELinux: initialized (dev mqueue, type mqueue), uses transition SIDs
22:<7>SELinux: initialized (dev selinuxfs, type selinuxfs), uses genfs_contexts
22:<7>SELinux: initialized (dev 0:13, type nfs), uses genfs_contexts
22:<7>SELinux: initialized (dev sysfs, type sysfs), uses genfs_contexts
22:<5>type=1403 audit(1152666362.209:3): policy loaded auid=4294967295 ses=4294967295
INIT: version 2.88 booting
Checking SELinux security contexts:
* SELinux requires the root '/' filesystem support extended
filesystem attributes (XATTRs). It does not appear that this
filesystem has extended attribute support or it is not enabled.
- To continue using SELinux you will need to enable extended
attribute support on the root device.
- To disable SELinux, please add "selinux=0" in the kernel
command line.
- This system is using NFS root filesystem, so enforcing mode will
be 22:<5>type=1404 audit(1152666362.940:4): enforcing=0 old_enforcing=1 auid=4294967295 ses=4294967295
disabled for users to continue to use this system.
But, you should *NOT* use NFS root filesystem with SELinux in your
production machines.
22:<5>type=1401 audit(1152666363.022:5): security_validate_transition: denied for oldcontext=system_u:object_r:device_t:s15:c0.c1023 newcontext=system_u:object_r:device_t:s0 taskcontext=system_u:system_r:kernel_t:s15:c0.c1023 tclass=dir
22:<5>type=1401 audit(1152666363.052:6): security_validate_transition: denied for oldcontext=system_u:object_r:device_t:s15:c0.c1023 newcontext=system_u:object_r:initctl_t:s0 taskcontext=system_u:system_r:kernel_t:s15:c0.c1023 tclass=fifo_file
22:<5>type=1401 audit(1152666363.079:7): security_validate_transition: denied for oldcontext=system_u:object_r:device_t:s15:c0.c1023 newcontext=system_u:object_r:device_t:s0 taskcontext=system_u:system_r:kernel_t:s15:c0.c1023 tclass=dir
22:<5>type=1401 audit(1152666363.106:8): security_validate_transition: denied for oldcontext=system_u:object_r:device_t:s15:c0.c1023 newcontext=system_u:object_r:scsi_generic_device_t:s0 taskcontext=system_u:system_r:kernel_t:s15:c0.c1023 tclass=chr_file
22:<5>type=1401 audit(1152666363.130:9): security_validate_transition: denied for oldcontext=system_u:object_r:device_t:s15:c0.c1023 newcontext=system_u:object_r:usb_device_t:s0 taskcontext=system_u:system_r:kernel_t:s15:c0.c1023 tclass=chr_file
22:<5>type=1401 audit(1152666363.152:10): security_validate_transition: denied for oldcontext=system_u:object_r:device_t:s15:c0.c1023 newcontext=system_u:object_r:removable_device_t:s0 taskcontext=system_u:system_r:kernel_t:s15:c0.c1023 tclass=blk_file
22:<5>type=1401 audit(1152666363.175:11): security_validate_transition: denied for oldcontext=system_u:object_r:device_t:s15:c0.c1023 newcontext=system_u:object_r:removable_device_t:s0 taskcontext=system_u:system_r:kernel_t:s15:c0.c1023 tclass=blk_file
Starting udev
23:<6>udev[255]: starting version 164
7:<7>SELinux: initialized (dev mtd_inodefs, type mtd_inodefs), not configured for labeling
0:<7>SELinux: initialized (dev mtd_inodefs, type mtd_inodefs), not configured for labeling
18:<7>SELinux: initialized (dev mtd_inodefs, type mtd_inodefs), not configured for labeling
17:<7>SELinux: initialized (dev mtd_inodefs, type mtd_inodefs), not configured for labeling
12:<7>SELinux: initialized (dev mtd_inodefs, type mtd_inodefs), not configured for labeling
0:<7>SELinux: initialized (dev fusectl, type fusectl), uses genfs_contexts
0:<3>EXT4-fs (mmcblk0): VFS: Can't find ext4 filesystem
22:<7>eth0: no IPv6 routers present
Need to add "rootwait" in the command line when using the kdump feature.
1) /folk/lpg-build/cdc/sustaining/WR5015LX04/wrlinux-5/wrlinux/configure --enable-board=bcm-xlp --enable-kernel=cgl --enable-rootfs=glibc_cgl --with-template=feature/kexec,feature/kdump --enable-jobs=8 --enable-parallel-pkgbuilds=6 --enable-internet-download=yes --with-rcpl-version=0005
2) make fs
3) boot the new kernel and FS
4) According to the Kdump testing step from the README.