Wind River Support Network

HomeDefectsLIN1021-57
Not to be fixed

LIN1021-57 : failed to mount MMC device in xilinx-zynq and xilin-zynqmp

Created: May 17, 2021    Updated: Aug 19, 2021
Resolved Date: Aug 19, 2021
Found In Version: 10.21.20.1
Severity: Standard
Applicable for: Wind River Linux LTS 21
Component/s: Kernel

Description

setup.sh --machines=xilinx-zynqmp --templates feature/docker --distro wrlinux --dl-layers
. environment-setup-x86_64-wrlinuxsdk-linux
. oe-init-build-env
bitbake wrlinux-image-std

Boot a board:
Remove mmcblk0p2 with fdisk /dev/mmcblk0, again create mmcblk0p2
mount /dev/mmcblk0p2 /mnt

Images located at http://pek-lpgtest7302.wrs.com/buildarea1/SharedImage/LINCD_CIRC/LTP/xilinx-zynqmp_standard_glibc-std/latest/





Wind River Linux development 21.05 xilinx-zynqmp ttyPS0

xilinx-zynqmp login: root
Password: 
root@xilinx-zynqmp:~# 
root@xilinx-zynqmp:~# mount /dev/mmcblk0p2  /mnt/
yaffs: dev is 187695106 name is "mmcblk0p2" rw
yaffs: passed flags ""
Unable to handle kernel NULL pointer dereference at virtual address 000000000000001c
Mem abort info:
  ESR = 0x96000005
  EC = 0x25: DABT (current EL), IL = 32 bits
  SET = 0, FnV = 0
  EA = 0, S1PTW = 0
Data abort info:
  ISV = 0, ISS = 0x00000005
  CM = 0, WnR = 0
user pgtable: 4k pages, 39-bit VAs, pgdp=000000086fc52000
[000000000000001c] pgd=0000000000000000, pud=0000000000000000
Internal error: Oops: 96000005 [#1] PREEMPT SMP
Modules linked in: sch_fq_codel openvswitch nsh nf_conncount nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 fuse
CPU: 0 PID: 428 Comm: mount Not tainted 5.4.90-yocto-standard #1
Hardware name: ZynqMP ZCU102 Rev1.0 (DT)
pstate: 60000005 (nZCv daif -PAN -UAO)

Message from syslogd@pxicl in:x -zyyanqfmfp sa_ti Jnatn e r2 nal_read_super.constprop.0+0x21c/0x6e4
lr : yaffs_internal_read_super.constprop.0+0x1fc/0x6e4
sp : ffffffc011a6bba0
x29: ffffffc011a6bba0 x28: ffffff886c400000 
x27: 0000000000000000 x26: 000000000b300002 
x25: ffffff886c400000 x24: 0000000000000000 
x23: 0000000000000001 x22: ffffffc010da3480 
x21: ffffffc011287c08 x20: 0000000000000000 
x19: ffffff887198c000 x18: 0000000000000020 
x17: 0000000000000000 x16: 0000000000000000 
x15: ffffff886c400450 x14: ffffffffffffffff 
x13: 0000000000000000 x12: ffffffc011336000 
x11: ffffffc011205000 x10: ffffffc011336440 
x9 : 0000000000000000 x8 : ffffffc011336000 
x7 : 0000000000000007 x6 : 00000000000001a5 
x5 : 0000000000000001 x4 : 0000000000000000 
x3 : 0000000000000001 x2 : e9a2975dee240d00 
x1 : 0000000000000000 x0 : 0000000000000001 
Call trace:
 yaffs_internal_read_super.constprop.0+0x21c/0x6e4
 yaffs_internal_read_super_mtd+0x30/0x4c
 mount_bdev+0x1cc/0x200
 yaffs_mount+0x48/0x60
 legacy_get_tree+0x34/0x60
 vfs_get_tree+0x34/0xf4
 do_mount+0x61c/0xab4
 ksys_mount+0x98/0xf4
 __arm64_sys_mount+0x2c/0x3c
 el0_svc_common.constprop.0+0x78/0x194
 el0_svc_handler+0x54/0xc0
 el0_svc+0x8/0x204
Code: a90573fb 340001a0 710006ff 540002c1 (b9401f00) 
---[ end trace 7b27fea74b815000 ]---
06:45:30 ...
 kernel:Internal error: Oops: 96000005 [#1] PREEMPT SMP

Message from syslogd@xilinx-zynqmp at Jan  2 06:45:30 ...
 kernel:Code: a90573fb 340001a0 710006ff 540002c1 (b9401f00) 
Segmentation fault
root@xilinx-zynqmp:~# cat /proc/version 
Linux version 5.4.90-yocto-standard (oe-user@oe-host) (gcc version 10.2.0 (GCC)) #1 SMP PREEMPT Mon Feb 1 01:34:12 UTC 2021
root@xilinx-zynqmp:~# cat /proc/cmdline 
root=/dev/nfs nfsroot=128.224.178.20:/export/pxeboot/vlm-boards/29129/rootfs ip=128.224.178.104:128.224.178.20:128.224.165.1:255.255.254.0:zcu102:eth0:off rootwait console=ttyPS0,115200 selinux=0 enforcing=0
root@xilinx-zynqmp:~#

Steps to Reproduce

--machines=xilinx-zynqmp --templates feature/docker --distro wrlinux --dl-layers
. environment-setup-x86_64-wrlinuxsdk-linux 
. oe-init-build-env 
bitbake wrlinux-image-std

Boot a board:
Remove mmcblk0p2 with fdisk /dev/mmcblk0, again create mmcblk0p2
mount /dev/mmcblk0p2 /mnt

Images located at http://pek-lpgtest7302.wrs.com/buildarea1/SharedImage/LINCD_CIRC/LTP/xilinx-zynqmp_standard_glibc-std/latest/
Live chat
Online