Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openwrt-image-*: mv command not working #92

Open
tuanha-viosoft opened this issue Mar 1, 2019 · 5 comments
Open

openwrt-image-*: mv command not working #92

tuanha-viosoft opened this issue Mar 1, 2019 · 5 comments

Comments

@tuanha-viosoft
Copy link
Contributor

I tried "mv" command on openwrt-image-minimal, base and full, it doesn't work.
root@192:~# mv a b
mv: can't rename 'a': Function not implemented

@kraj
Copy link
Owner

kraj commented Mar 7, 2019

what arch are you building for ? May be strace this mv cmd and see if there is some syscall not implemented.

@tuanha-viosoft
Copy link
Contributor Author

what arch are you building for ? May be strace this mv cmd and see if there is some syscall not implemented.

Build Configuration:
BB_VERSION = "1.40.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-16.04"
TARGET_SYS = "riscv64-oe-linux-musl"
MACHINE = "qemuriscv64"
DISTRO = "nodistro"
DISTRO_VERSION = "nodistro.0"
TUNE_FEATURES = "riscv64 littleendian"
meta = "master:c31bcb0555ae77fcb59c4d0798ec66bb27f63dc2"
meta-oe
meta-multimedia
meta-python
meta-networking = "master-next:90956db4f410b162acb1468b93ebfc86786c4816"
meta-openwrt = "master:42e95362f24deeaefaa36b374125e21e08fdd6fb"
meta-riscv = "work:5b35295781cdfd255ef16b04073f182feffe5a0e"

I get the meta-riscv from here:
https://github.com/riscv/meta-riscv

@kraj
Copy link
Owner

kraj commented Mar 7, 2019

This seems to be risc-v specific, can you try same cmd on qemuarm ?

@tuanha-viosoft
Copy link
Contributor Author

I tried, it seems that only mv command didn't work. Of course, if I replaced busybox by coreutils, mv command worked.

@kraj
Copy link
Owner

kraj commented Mar 8, 2019

I think it could be related to musl+riscv combo, I would like to see if it happens with other arches as well likely qemuarm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants