In sato-sdk image, the dd command is from coreutils package: ######### root@p1022ds:~# which dd /bin/dd root@p1022ds:~# root@p1022ds:~# ls -l /bin/dd* -rwxr-xr-x 1 root root 88300 Jul 19 11:39 /bin/dd.coreutils lrwxrwxrwx 1 root root 17 Jul 24 19:32 /bin/dd -> /bin/dd.coreutils root@p1022ds:~# ########## Run a test for dd, still segfault: ######### root@p1022ds:~# dd if=/dev/zero of=testfile count=1 1+0 records in 1+0 records out 512 bytes (512 B) copiedSegmentation fault ########## In sato image, the dd command is from busybox package: ########## root@p1022ds:~# ls -l /bin/dd* lrwxrwxrwx 1 root root 19 Jul 30 06:19 /bin/dd -> /bin/busybox.nosuid ######### This dd command works well: ########### root@p1022ds:~# dd if=/dev/zero of=testfile count=1 1+0 records in 1+0 records out root@p1022ds:~#
This issue happens on nfs and sata disk.
Can you verify this on non ppc hardware and in qemuppc, I would like to know if it occurs elsewhere or limited to the p1022ds platform. Also, please verify if thes was a problem with an eariler milestone build and let me know which GIT Hash you are building. This could be a compiler issue, or maybe eglibc related. If you can test with the older 2.17 eglibc that might be helpful. Thanks
Git rev: poky: master/commit 4cff3defb545643132b7233fcffb3fedc1bf182b meta-fsl-ppc: master/commit 399c1ab5e86cf6dbb7c0c48d5253ac8798d6bfe4 This dd command works well in qemuppc ########### root@p1022ds:~# dd if=/dev/zero of=testfile count=1 1+0 records in 1+0 records out root@p1022ds:~# ########## Run dd command in p1022ds hardware , still segfault: ######### root@p1022ds:~# dd if=/dev/zero of=testfile count=1 1+0 records in 1+0 records out 512 bytes (512 B) copiedSegmentation fault. ########## I test with the older 2.17 eglibc and there is still the issue in p1022ds
build 20130731-1 poky rev: master:9de0ad47462c13ac4a2d73e12e92be6c1b4e0415 this dd command works well under qemu-sdk/routerstation/mpc8315e/beagleboard No segment fault.
This is duplicated to 4910 *** This bug has been marked as a duplicate of bug 4910 ***
This is a duplicate. Setting to VERIFIED.