Wind River Support Network


LIN5-18815 : [WRL5 target] Disk mounting issues

Created: May 18, 2014    Updated: Dec 19, 2017
Resolved Date: May 29, 2014
Previous ID: LIN6-7455
Found In Version: 5.0.1
Fix Version:
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: Userspace


# mount
rootfs on / type rootfs (rw)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=41210388k,nr_inodes=10302597,mode=755)
/dev/sda4 on /media/sda4 type ext4 (rw,relatime,data=ordered)
/dev/sda2 on /media/sda2 type ext4 (rw,relatime,data=ordered)
/dev/sda5 on /media/sda5 type ext4 (rw,relatime,data=ordered)
/dev/disk/by-uuid/14edffc6-f730-47b7-a6b0-655f2dd2e356 on / type ext4 (rw,relatime,data=ordered)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
/dev/sdc4 on /media/sdc4 type ext4 (rw,relatime,data=ordered)
/dev/sdc2 on /media/sdc2 type ext4 (rw,relatime,data=ordered)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
tmpfs on /var/volatile type tmpfs (rw,relatime)
tmpfs on /media/ram type tmpfs (rw,relatime)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)

#df -hl
df: `/media/sda4': No such file or directory
df: `/media/sda2': No such file or directory
df: `/media/sda5': No such file or directory
Filesystem                                              Size  Used Avail Use% Mounted on
rootfs                                                   50G  604M   47G   2% /
devtmpfs                                                 40G  240K   40G   1% /dev
/dev/disk/by-uuid/14edffc6-f730-47b7-a6b0-655f2dd2e356   50G  604M   47G   2% /
/dev/sdc4                                               3.5G  159M  3.1G   5% /media/sdc4
/dev/sdc2                                               485M  179M  281M  39% /media/sdc2
tmpfs                                                    40G  540K   40G   1% /var/volatile
tmpfs                                                    40G     0   40G   0% /media/ram

Note, in this case, we use wr-installer to install a wrlinux501 standard product on intel-xeon-core board.

Steps to Reproduce

Notes: using wrl60 installer to install wrl501 is not fully support yet, this defect is only for the scenario with the layer wr-hp-support for now.

git clone

2) prj 501:
$ /home/ywei/wrlinux-x/wrlinux/configure --enable-board=intel-xeon-core --enable-rootfs=glibc-std+installer-support --enable-kernel=standard --enable-jobs=8 --enable-parallel-pkgbuilds=8 --enable-reconfig=yes --with-template=feature/kexec,feature/kdump,feature/target-toolchain --with-layer=/buildarea1/ywei/host/git-repo/wr-hp-support
$ make fs

3) prj 60:
$ /buildarea1/ywei/git-repo/wrlinux-x/wrlinux/configure --enable-board=intel-x86-64 --enable-kernel=standard --enable-rootfs=wr-installer --enable-jobs=8 --enable-parallel-pkgbuilds=8 --enable-target-installer=yes --enable-distro=wrlinux-installer --with-installer-target-build=/path/to/prj501 --enable-reconfig=yes --enable-bootimage=iso

$ make fs

4) install wrl501 on the target from the ISO image

or start qemu to install:

$ host-cross/usr/bin/qemu-img create -f qcow hd0.vdisk 5000M
$ make start-target TOPTS="-m 2048 -cd export/*.iso -no-kernel -disk hd0.vdisk -gc"

5) boot up the target after installation

6) check the moutpoit
# mount
# df -lh

Other Downloads

Live chat