Code Monkey home page Code Monkey logo

Comments (9)

stefaang avatar stefaang commented on May 29, 2024

What is the output of uname -r?

uname -r
lsmod | grep ip_tables
insmod ls /usr/local/modules/driver/ip_tables.ko

The devices with a 3.2 kernel (EX2, EX4) can't run docker..
I may need to remove the single bay mycloud from the list as well.

from wdpksrc.

gotschi avatar gotschi commented on May 29, 2024

uname -r
3.10.39

lsmod | grep ip_tables

ip_tables               9342  1 iptable_filter
x_tables               11477  8 iptable_filter,ip_tables,xt_limit,xt_LOG,xt_recent,xt_tcpudp,xt_state,xt_conntrack

from wdpksrc.

stefaang avatar stefaang commented on May 29, 2024

Thanks.. that looks fine actually.
Have you tried to reboot?
Eventually, provide the output of this script: https://github.com/moby/moby/blob/master/contrib/check-config.sh

from wdpksrc.

gotschi avatar gotschi commented on May 29, 2024

Yes I've tried rebooting and running scripts manually,
here's the output: https://pastebin.com/ATaUprSc

the script does not run or I don't get it:

root@NAS root # ./check-config.sh 
warning: /proc/config.gz does not exist, searching other paths for kernel config ...
error: cannot find kernel config
  try running this script again, specifying the kernel config:
    CONFIG=/path/to/kernel/.config ./check-config.sh or ./check-config.sh /path/to/kernel/.config

and the startup of dockerd:https://pastebin.com/ZD1Z4nVz

just a quick guess but I think it fails in is_docker_setup because it returns NOK
thanks anyway

from wdpksrc.

stefaang avatar stefaang commented on May 29, 2024

Here's my output

lsmod | grep tables
ip6_tables 15873 1 ip6table_filter, Live 0xffffffffc0359000
ip_tables 15171 2 iptable_nat,iptable_filter, Live 0xffffffffc033f000
x_tables 15016 13 ipt_MASQUERADE,xt_nat,xt_addrtype,ip6table_filter,ip6_tables,iptable_filter,ip_tables,xt_limit,xt_LOG,xt_recent,xt_tcpudp,xt_state,xt_conntrack, Live 0xffffffffc0303000

Which IP related kernel modules do you have available in your firmware? I have this

ls /usr/local/modules/driver/ip*
/usr/local/modules/driver/ip6_tables.ko       /usr/local/modules/driver/ip_tables.ko        /usr/local/modules/driver/ipt_MASQUERADE.ko   /usr/local/modules/driver/ipv6.ko
/usr/local/modules/driver/ip6_tunnel.ko       /usr/local/modules/driver/ip_tunnel.ko        /usr/local/modules/driver/iptable_filter.ko
/usr/local/modules/driver/ip6table_filter.ko  /usr/local/modules/driver/ipip.ko             /usr/local/modules/driver/iptable_nat.ko

I see you don't have the iptable_nat.ko as I do.

lsmod | grep nat
iptable_nat 1599 1 - Live 0xffffffffc0420000
nf_nat_masquerade_ipv4 1729 1 ipt_MASQUERADE, Live 0xffffffffc040c000
xt_nat 1809 0 - Live 0xffffffffc0408000
nf_nat_ipv4 4543 1 iptable_nat, Live 0xffffffffc03ee000
nf_nat 10637 3 nf_nat_masquerade_ipv4,xt_nat,nf_nat_ipv4, Live 0xffffffffc03dd000
ip_tables 15171 2 iptable_nat,iptable_filter, Live 0xffffffffc033f000
nf_conntrack 50279 7 nf_nat_masquerade_ipv4,nf_nat_ipv4,nf_nat,nf_conntrack_ipv6,nf_conntrack_ipv4,xt_state,xt_conntrack, Live 0xffffffffc030c000
x_tables 15016 13 ipt_MASQUERADE,xt_nat,xt_addrtype,ip6table_filter,ip6_tables,iptable_filter,ip_tables,xt_limit,xt_LOG,xt_recent,xt_tcpudp,xt_state,xt_conntrack, Live 0xffffffffc0303000

Worst case, you can snatch these kernel modules from the EX2 Ultra firmware (use binwalk to extract it).

Regarding that check_config script... there's a .config file in the kernel directory of the GPL source. I'm afraid it's not the last showstopper though.

from wdpksrc.

gotschi avatar gotschi commented on May 29, 2024

as you can see in the daemon logs there also seems to be no "overlay2" driver for this kernel,
I think that might even be a bigger problem :D

'overlay' not found as a supported filesystem on this host. Please ensure kernel is new enough and has overlay support loaded. storage-driver=overlay

i will stick to armhf on a rpi, thanks for your quick response anyway!

from wdpksrc.

stefaang avatar stefaang commented on May 29, 2024

Aight. You may want to install debian armhf instead of the WD firmware, but I'll leave that up to you.
I'll remove the MyCloud as a valid docker target.
Thanks for your report!

from wdpksrc.

gotschi avatar gotschi commented on May 29, 2024

I put debian on a seagate single bay device before,
it worked like a charm for over a year but then I've misconfigured something and couldn't get it to boot anymore. The Firmware was a tarball and needs to be installed via TFTP, but I have no clue how (Seagate does not provide a firmware flash utility and I don't know how the root is supposed to be written to the HD)

Could this also happen to the mycloud? Or is there some kind of Bootloader to always restore to WD Firmware?

from wdpksrc.

stefaang avatar stefaang commented on May 29, 2024

Here's the most interesting info https://drive.google.com/drive/folders/0B_6OlQ_H0PxVRXllYjY5RG1CZEU
Check the community.wd.com forum for more.

from wdpksrc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.