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

FS#249 - Edgerouter lite does hot have mkfs.f2fs binary in snapshot - parameters could not be saved #5330

Closed
openwrt-bot opened this issue Oct 26, 2016 · 0 comments
Labels

Comments

@openwrt-bot
Copy link

fabius:

Hello,

i just downloaded and flashed the nightly build for Ubiquiti Edge router lite from

https://downloads.lede-project.org/snapshots/targets/octeon/generic/lede-octeon-erlite-squashfs-sysupgrade.tar

It seems that the mkfs.f2fs binary is missing in the squashfs build.

Wed Oct 26 10:37:51 2016 daemon.info mount_root: rootdisk overlay filesystem has not been formatted yet
Wed Oct 26 10:37:51 2016 user.notice : sh: mkfs.f2fs: not found
Wed Oct 26 10:37:51 2016 daemon.err mount_root: no jffs2 marker found
Wed Oct 26 10:37:51 2016 kern.notice kernel: [ 20.860804] MTD: Attempt to mount non-MTD device "/dev/loop0"
Wed Oct 26 10:37:51 2016 daemon.err mount_root: failed - mount -t jffs2 /dev/loop0 /rom/overlay: Invalid argument

Downloading fs2fs tools later is working without any problem.

root@lede:~# opkg install f2fs-tools
Installing f2fs-tools (1.7.0-1) to root...
Downloading http://downloads.lede-project.org/snapshots/packages/mips64_octeon/base/f2fs-tools_1.7.0-1_mips64_octeon.ipk.
Installing libf2fs (1.7.0-1) to root...
Downloading http://downloads.lede-project.org/snapshots/packages/mips64_octeon/base/libf2fs_1.7.0-1_mips64_octeon.ipk.
Installing mkf2fs (1.7.0-1) to root...
Downloading http://downloads.lede-project.org/snapshots/packages/mips64_octeon/base/mkf2fs_1.7.0-1_mips64_octeon.ipk.
Installing f2fsck (1.7.0-1) to root...
Downloading http://downloads.lede-project.org/snapshots/packages/mips64_octeon/base/f2fsck_1.7.0-1_mips64_octeon.ipk.
Configuring libf2fs.
Configuring mkf2fs.
Configuring f2fsck.
Configuring f2fs-tools.

@openwrt-bot
Copy link
Author

john:

looks like fe514c9a20365ba00232c2c981463f43a4a41a7d inside fstools is broken

@openwrt-bot
Copy link
Author

john:

does your installation actually use f2fs ?

@openwrt-bot
Copy link
Author

fabius:

The router is working with OpenWRT 15.05.1 correctly and the overlay filesystems starts without any problem.

It seems, that the bootlog does not reflect the real problem and i made a wrong assumption. There is a Problem with the overlay-filesystem, because it is not preformatted correctly.
F2fs is not needed when the image includes a correctly generated filesystem.
Unfortunately i am not able to perform any further tests, because i got the router working (15.05.1) and now it is installed in a network.

@openwrt-bot
Copy link
Author

jow-:

The missing fkfs.f2fs binary was caused by stale buildbot feed links.
Fixed for subsequent builds by http://git.lede-project.org/1ae69f

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

No branches or pull requests

1 participant