My Cloud PR4100 Firmware Analysis


#285

I’m very close to having a viable .config file for an upcoming Linux kernel test build for the PR4100, which will eventually be used with Debian 9 (Stretch) and Openmediavault. It’s a work in progress and subject to change, but the relevant parameters are shown below

# Linux/x86 4.9.126 Kernel Configuration

CONFIG_64BIT=y
CONFIG_ACPI=y
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_CONTAINER=y
CONFIG_ACPI_CPU_FREQ_PSS=y
CONFIG_ACPI_DOCK=y
CONFIG_ACPI_FAN=y
CONFIG_ACPI_HOTPLUG_CPU=y
CONFIG_ACPI_HOTPLUG_IOAPIC=y
CONFIG_ACPI_HOTPLUG_MEMORY=y
CONFIG_ACPI_LEGACY_TABLES_LOOKUP=y
CONFIG_ACPI_NUMA=y
CONFIG_ACPI_PCI_SLOT=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_PROCESSOR_CSTATE=y
CONFIG_ACPI_PROCESSOR_IDLE=y
CONFIG_ACPI_REV_OVERRIDE_POSSIBLE=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT=y
CONFIG_ACPI_TABLE_UPGRADE=y
CONFIG_ACPI_THERMAL=y
CONFIG_ACPI_VIDEO=y
CONFIG_ADVISE_SYSCALLS=y
CONFIG_AGP=y
CONFIG_AGP_INTEL=y
CONFIG_AIO=y
CONFIG_ALLOW_DEV_COREDUMP=y
CONFIG_ANON_INODES=y
CONFIG_ARCH_CLOCKSOURCE_DATA=y
CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig"
CONFIG_ARCH_DISCARD_MEMBLOCK=y
CONFIG_ARCH_DMA_ADDR_T_64BIT=y
CONFIG_ARCH_ENABLE_HUGEPAGE_MIGRATION=y
CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y
CONFIG_ARCH_ENABLE_SPLIT_PMD_PTLOCK=y
CONFIG_ARCH_HAS_ACPI_TABLE_UPGRADE=y
CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y
CONFIG_ARCH_HAS_CPU_RELAX=y
CONFIG_ARCH_HAS_DEVMEM_IS_ALLOWED=y
CONFIG_ARCH_HAS_ELF_RANDOMIZE=y
CONFIG_ARCH_HAS_FAST_MULTIPLIER=y
CONFIG_ARCH_HAS_GCOV_PROFILE_ALL=y
CONFIG_ARCH_HAS_GIGANTIC_PAGE=y
CONFIG_ARCH_HAS_KCOV=y
CONFIG_ARCH_HAS_MMIO_FLUSH=y
CONFIG_ARCH_HAS_PKEYS=y
CONFIG_ARCH_HAS_PMEM_API=y
CONFIG_ARCH_HAS_SG_CHAIN=y
CONFIG_ARCH_HAS_UBSAN_SANITIZE_ALL=y
CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG=y
CONFIG_ARCH_HIBERNATION_POSSIBLE=y
CONFIG_ARCH_MEMORY_PROBE=y
CONFIG_ARCH_MIGHT_HAVE_ACPI_PDC=y
CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y
CONFIG_ARCH_MIGHT_HAVE_PC_SERIO=y
CONFIG_ARCH_MMAP_RND_BITS=28
CONFIG_ARCH_MMAP_RND_BITS_MAX=32
CONFIG_ARCH_MMAP_RND_BITS_MIN=28
CONFIG_ARCH_MMAP_RND_COMPAT_BITS=8
CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MAX=16
CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MIN=8
CONFIG_ARCH_PHYS_ADDR_T_64BIT=y
CONFIG_ARCH_PROC_KCORE_TEXT=y
CONFIG_ARCH_RANDOM=y
CONFIG_ARCH_SELECT_MEMORY_MODEL=y
CONFIG_ARCH_SPARSEMEM_DEFAULT=y
CONFIG_ARCH_SPARSEMEM_ENABLE=y
CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y
CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y
CONFIG_ARCH_SUPPORTS_DEFERRED_STRUCT_PAGE_INIT=y
CONFIG_ARCH_SUPPORTS_INT128=y
CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y
CONFIG_ARCH_SUPPORTS_NUMA_BALANCING=y
CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING=y
CONFIG_ARCH_SUPPORTS_UPROBES=y
CONFIG_ARCH_SUSPEND_POSSIBLE=y
CONFIG_ARCH_USE_BUILTIN_BSWAP=y
CONFIG_ARCH_USE_CMPXCHG_LOCKREF=y
CONFIG_ARCH_USE_QUEUED_RWLOCKS=y
CONFIG_ARCH_USE_QUEUED_SPINLOCKS=y
CONFIG_ARCH_USES_HIGH_VMA_FLAGS=y
CONFIG_ARCH_USES_PG_UNCACHED=y
CONFIG_ARCH_WANT_BATCHED_UNMAP_TLB_FLUSH=y
CONFIG_ARCH_WANT_COMPAT_IPC_PARSE_VERSION=y
CONFIG_ARCH_WANT_FRAME_POINTERS=y
CONFIG_ARCH_WANT_GENERAL_HUGETLB=y
CONFIG_ARCH_WANT_HUGE_PMD_SHARE=y
CONFIG_ARCH_WANT_OLD_COMPAT_IPC=y
CONFIG_ARCH_WANTS_DYNAMIC_TASK_STRUCT=y
CONFIG_ARM_GIC_MAX_NR=1
CONFIG_ASSOCIATIVE_ARRAY=y
CONFIG_ASYNC_CORE=y
CONFIG_ASYNC_MEMCPY=y
CONFIG_ASYNC_PQ=y
CONFIG_ASYNC_RAID6_RECOV=y
CONFIG_ASYNC_XOR=y
CONFIG_ATA=y
CONFIG_ATA_ACPI=y
CONFIG_ATA_BMDMA=y
CONFIG_ATA_PIIX=y
CONFIG_ATA_SFF=y
CONFIG_ATA_VERBOSE_ERROR=y
CONFIG_AUDIT_ARCH=y
CONFIG_BACKLIGHT_CLASS_DEVICE=y
CONFIG_BACKLIGHT_LCD_SUPPORT=y
CONFIG_BASE_FULL=y
CONFIG_BASE_SMALL=0
CONFIG_BCMA_POSSIBLE=y
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_MISC=y
CONFIG_BINFMT_SCRIPT=y
CONFIG_BITREVERSE=y
CONFIG_BLK_CGROUP=y
CONFIG_BLK_DEV=y
CONFIG_BLK_DEV_BSG=y
CONFIG_BLK_DEV_BSGLIB=y
CONFIG_BLK_DEV_DM=y
CONFIG_BLK_DEV_DM_BUILTIN=y
CONFIG_BLK_DEV_INITRD=y
CONFIG_BLK_DEV_INTEGRITY=y
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_LOOP_MIN_COUNT=64
CONFIG_BLK_DEV_MD=y
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_COUNT=2
CONFIG_BLK_DEV_RAM_SIZE=65536
CONFIG_BLK_DEV_SD=y
CONFIG_BLK_MQ_PCI=y
CONFIG_BLOCK=y
CONFIG_BLOCK_COMPAT=y
CONFIG_BONDING=m
CONFIG_BOUNCE=y
CONFIG_BPF=y
CONFIG_BQL=y
CONFIG_BRIDGE=m
CONFIG_BRIDGE_IGMP_SNOOPING=y
CONFIG_BRIDGE_NETFILTER=m
CONFIG_BSD_PROCESS_ACCT=y
CONFIG_BTRFS_FS=m
CONFIG_BUG=y
CONFIG_BUILD_BIN2C=y
CONFIG_BUILDTIME_EXTABLE_SORT=y
CONFIG_CALGARY_IOMMU=y
CONFIG_CALGARY_IOMMU_ENABLED_BY_DEFAULT=y
CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y
CONFIG_CC_STACKPROTECTOR=y
CONFIG_CC_STACKPROTECTOR_REGULAR=y
CONFIG_CFS_BANDWIDTH=y
CONFIG_CGROUP_CPUACCT=y
CONFIG_CGROUP_DEVICE=y
CONFIG_CGROUP_FREEZER=y
CONFIG_CGROUP_PERF=y
CONFIG_CGROUP_SCHED=y
CONFIG_CGROUP_WRITEBACK=y
CONFIG_CGROUPS=y
CONFIG_CHECK_SIGNATURE=y
CONFIG_CHR_DEV_SG=y
CONFIG_CHROME_PLATFORMS=y
CONFIG_CIFS=y
CONFIG_CLEANCACHE=y
CONFIG_CLKBLD_I8253=y
CONFIG_CLKDEV_LOOKUP=y
CONFIG_CLKEVT_I8253=y
CONFIG_CLOCKSOURCE_VALIDATE_LAST_CYCLE=y
CONFIG_CLOCKSOURCE_WATCHDOG=y
CONFIG_CMA=y
CONFIG_CMA_AREAS=7
CONFIG_COMMON_CLK=y
CONFIG_COMPACTION=y
CONFIG_COMPAT=y
CONFIG_COMPAT_BINFMT_ELF=y
CONFIG_COMPAT_FOR_U64_ALIGNMENT=y
CONFIG_COMPAT_OLD_SIGACTION=y
CONFIG_CONFIGFS_FS=y
CONFIG_CONNECTOR=y
CONFIG_CONSOLE_TRANSLATIONS=y
CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y
CONFIG_COREDUMP=y
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_ATTR_SET=y
CONFIG_CPU_FREQ_GOV_COMMON=y
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_STAT=y
CONFIG_CPU_FREQ_STAT_DETAILS=y
CONFIG_CPU_IDLE=y
CONFIG_CPU_IDLE_GOV_LADDER=y
CONFIG_CPU_IDLE_GOV_MENU=y
CONFIG_CPU_RMAP=y
CONFIG_CPU_SUP_INTEL=y
CONFIG_CPUSETS=y
CONFIG_CRC16=y
CONFIG_CRC32=y
CONFIG_CRC32_SLICEBY8=y
CONFIG_CRC_CCITT=m
CONFIG_CRC_ITU_T=y
CONFIG_CRC_T10DIF=y
CONFIG_CROSS_COMPILE=""
CONFIG_CRYPTO=y
CONFIG_CRYPTO_ABLK_HELPER=y
CONFIG_CRYPTO_AEAD2=y
CONFIG_CRYPTO_AEAD=y
CONFIG_CRYPTO_AES=y
CONFIG_CRYPTO_AES_X86_64=y
CONFIG_CRYPTO_AKCIPHER2=y
CONFIG_CRYPTO_ALGAPI2=y
CONFIG_CRYPTO_ALGAPI=y
CONFIG_CRYPTO_ARC4=y
CONFIG_CRYPTO_AUTHENC=y
CONFIG_CRYPTO_BLKCIPHER2=y
CONFIG_CRYPTO_BLKCIPHER=y
CONFIG_CRYPTO_BLOWFISH_COMMON=y
CONFIG_CRYPTO_BLOWFISH_X86_64=y
CONFIG_CRYPTO_CAST5=y
CONFIG_CRYPTO_CAST5_AVX_X86_64=y
CONFIG_CRYPTO_CAST6=y
CONFIG_CRYPTO_CAST6_AVX_X86_64=y
CONFIG_CRYPTO_CAST_COMMON=y
CONFIG_CRYPTO_CBC=y
CONFIG_CRYPTO_CMAC=y
CONFIG_CRYPTO_CRC32C=y
CONFIG_CRYPTO_CRC32C_INTEL=y
CONFIG_CRYPTO_CRCT10DIF=y
CONFIG_CRYPTO_CRYPTD=y
CONFIG_CRYPTO_DEFLATE=y
CONFIG_CRYPTO_DES3_EDE_X86_64=y
CONFIG_CRYPTO_DES=y
CONFIG_CRYPTO_ECB=y
CONFIG_CRYPTO_GF128MUL=y
CONFIG_CRYPTO_GLUE_HELPER_X86=y
CONFIG_CRYPTO_HASH2=y
CONFIG_CRYPTO_HASH=y
CONFIG_CRYPTO_HMAC=y
CONFIG_CRYPTO_HW=y
CONFIG_CRYPTO_KPP2=y
CONFIG_CRYPTO_LRW=y
CONFIG_CRYPTO_LZO=y
CONFIG_CRYPTO_MANAGER2=y
CONFIG_CRYPTO_MANAGER=y
CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=y
CONFIG_CRYPTO_MCRYPTD=y
CONFIG_CRYPTO_MD4=y
CONFIG_CRYPTO_MD5=y
CONFIG_CRYPTO_NULL2=y
CONFIG_CRYPTO_NULL=y
CONFIG_CRYPTO_RNG2=y
CONFIG_CRYPTO_SHA1=y
CONFIG_CRYPTO_SHA1_MB=y
CONFIG_CRYPTO_SHA1_SSSE3=y
CONFIG_CRYPTO_SHA256=y
CONFIG_CRYPTO_SHA256_SSSE3=y
CONFIG_CRYPTO_SHA512=y
CONFIG_CRYPTO_SHA512_SSSE3=y
CONFIG_CRYPTO_TWOFISH_AVX_X86_64=y
CONFIG_CRYPTO_TWOFISH_COMMON=y
CONFIG_CRYPTO_TWOFISH_X86_64=y
CONFIG_CRYPTO_TWOFISH_X86_64_3WAY=y
CONFIG_CRYPTO_WORKQUEUE=y
CONFIG_CRYPTO_XTS=y
CONFIG_DCACHE_WORD_ACCESS=y
CONFIG_DEBUG_BUGVERBOSE=y
CONFIG_DEBUG_KERNEL=y
CONFIG_DEBUG_RODATA=y
CONFIG_DEBUG_RODATA_TEST=y
CONFIG_DECOMPRESS_GZIP=y
CONFIG_DEFAULT_CFQ=y
CONFIG_DEFAULT_HOSTNAME="(none)"
CONFIG_DEFAULT_IO_DELAY_TYPE=1
CONFIG_DEFAULT_IOSCHED="cfq"
CONFIG_DEFAULT_MMAP_MIN_ADDR=4096=y
CONFIG_DEFAULT_SECURITY=""
CONFIG_DEFAULT_SECURITY_DAC=y
CONFIG_DEFAULT_TCP_CONG="cubic"
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
CONFIG_DEVKMEM=y
CONFIG_DEVMEM=y
CONFIG_DEVPORT=y
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
CONFIG_DM_BIO_PRISON=y
CONFIG_DM_BUFIO=y
CONFIG_DM_CRYPT=y
CONFIG_DM_PERSISTENT_DATA=y
CONFIG_DM_SNAPSHOT=y
CONFIG_DM_THIN_PROVISIONING=y
CONFIG_DMA_ACPI=y
CONFIG_DMA_ENGINE=y
CONFIG_DMA_SHARED_BUFFER=y
CONFIG_DMA_VIRTUAL_CHANNELS=y
CONFIG_DMADEVICES=y
CONFIG_DMAR_TABLE=y
CONFIG_DMI=y
CONFIG_DMI_SCAN_MACHINE_NON_EFI_FALLBACK=y
CONFIG_DMIID=y
CONFIG_DQL=y
CONFIG_DRM=y
CONFIG_DRM_BRIDGE=y
CONFIG_DRM_FBDEV_EMULATION=y
CONFIG_DRM_GMA500=y
CONFIG_DRM_GMA600=y
CONFIG_DRM_GMA3600=y
CONFIG_DRM_I915=y
CONFIG_DRM_I915_PRELIMINARY_HW_SUPPORT=y
CONFIG_DRM_I915_USERPTR=y
CONFIG_DRM_KMS_FB_HELPER=y
CONFIG_DRM_KMS_HELPER=y
CONFIG_DRM_LOAD_EDID_FIRMWARE=y
CONFIG_DRM_MIPI_DSI=y
CONFIG_DRM_PANEL=y
CONFIG_DRM_TTM=y
CONFIG_DRM_VMWGFX=y
CONFIG_DRM_VMWGFX_FBCON=y
CONFIG_DST_CACHE=y
CONFIG_DUMMY_CONSOLE=y
CONFIG_DUMMY_CONSOLE_COLUMNS=80
CONFIG_DUMMY_CONSOLE_ROWS=25
CONFIG_DW_DMAC_CORE=y
CONFIG_DW_DMAC_PCI=y
CONFIG_EARLY_PRINTK=y
CONFIG_EDAC=y
CONFIG_EDAC_ATOMIC_SCRUB=y
CONFIG_EDAC_LEGACY_SYSFS=y
CONFIG_EDAC_SUPPORT=y
CONFIG_EFI=y
CONFIG_EFI_ESRT=y
CONFIG_EFI_MIXED=y
CONFIG_EFI_PARTITION=y
CONFIG_EFI_RUNTIME_WRAPPERS=y
CONFIG_EFI_STUB=y
CONFIG_EFI_VARS=y
CONFIG_EFIVAR_FS=y
CONFIG_ELF_CORE=y
CONFIG_ELFCORE=y
CONFIG_EMBEDDED=y
CONFIG_ENABLE_MUST_CHECK=y
CONFIG_EPOLL=y
CONFIG_ETHERNET=y
CONFIG_EVENTFD=y
CONFIG_EXPERT=y
CONFIG_EXPORTFS=y
CONFIG_EXT2_FS=y
CONFIG_EXT3_FS=y
CONFIG_EXT4_FS=y
CONFIG_EXT4_FS_POSIX_ACL=y
CONFIG_EXTRA_FIRMWARE=""
CONFIG_FAIR_GROUP_SCHED=y
CONFIG_FANOTIFY=y
CONFIG_FAT_DEFAULT_CODEPAGE=850
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
CONFIG_FAT_FS=y
CONFIG_FB=y
CONFIG_FB_ASILIANT=y
CONFIG_FB_BOOT_VESA_SUPPORT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_IMAGEBLIT=y
CONFIG_FB_CMDLINE=y
CONFIG_FB_DEFERRED_IO=y
CONFIG_FB_EFI=y
CONFIG_FB_IMSTT=y
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_NOTIFY=y
CONFIG_FB_SYS_COPYAREA=y
CONFIG_FB_SYS_FILLRECT=y
CONFIG_FB_SYS_FOPS=y
CONFIG_FB_SYS_IMAGEBLIT=y
CONFIG_FB_TILEBLITTING=y
CONFIG_FB_VESA=y
CONFIG_FILE_LOCKING=y
CONFIG_FIRMWARE_IN_KERNEL=y
CONFIG_FIRMWARE_MEMMAP=y
CONFIG_FIX_EARLYCON_MEM=y
CONFIG_FRAME_WARN=2048
CONFIG_FREEZER=y
CONFIG_FRONTSWAP=y
CONFIG_FS_IOMAP=y
CONFIG_FS_MBCACHE=y
CONFIG_FS_POSIX_ACL=y
CONFIG_FSCACHE=y
CONFIG_FSNOTIFY=y
CONFIG_FUSE_FS=y
CONFIG_FUTEX=y
CONFIG_FW_LOADER=y
CONFIG_GENERIC_ALLOCATOR=y
CONFIG_GENERIC_BUG=y
CONFIG_GENERIC_BUG_RELATIVE_POINTERS=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
CONFIG_GENERIC_CLOCKEVENTS_MIN_ADJUST=y
CONFIG_GENERIC_CMOS_UPDATE=y
CONFIG_GENERIC_CPU=y
CONFIG_GENERIC_CPU_AUTOPROBE=y
CONFIG_GENERIC_CPU_VULNERABILITIES=y
CONFIG_GENERIC_EARLY_IOREMAP=y
CONFIG_GENERIC_FIND_FIRST_BIT=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_GENERIC_IO=y
CONFIG_GENERIC_IOMAP=y
CONFIG_GENERIC_IRQ_CHIP=y
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_GENERIC_IRQ_SHOW=y
CONFIG_GENERIC_MSI_IRQ=y
CONFIG_GENERIC_MSI_IRQ_DOMAIN=y
CONFIG_GENERIC_NET_UTILS=y
CONFIG_GENERIC_PCI_IOMAP=y
CONFIG_GENERIC_PENDING_IRQ=y
CONFIG_GENERIC_SMP_IDLE_THREAD=y
CONFIG_GENERIC_STRNCPY_FROM_USER=y
CONFIG_GENERIC_STRNLEN_USER=y
CONFIG_GENERIC_TIME_VSYSCALL=y
CONFIG_GLOB=y
CONFIG_GPIO_ACPI=y
CONFIG_GPIO_ICH=y
CONFIG_GPIO_LYNXPOINT=y
CONFIG_GPIO_ML_IOH=y
CONFIG_GPIO_SCH=y
CONFIG_GPIO_SYSFS=y
CONFIG_GPIOLIB=y
CONFIG_GPIOLIB_IRQCHIP=y
CONFIG_GRACE_PERIOD=y
CONFIG_HAS_DMA=y
CONFIG_HAS_IOMEM=y
CONFIG_HAS_IOPORT_MAP=y
CONFIG_HAVE_ACPI_APEI=y
CONFIG_HAVE_ACPI_APEI_NMI=y
CONFIG_HAVE_ARCH_AUDITSYSCALL=y
CONFIG_HAVE_ARCH_HARDENED_USERCOPY=y
CONFIG_HAVE_ARCH_HUGE_VMAP=y
CONFIG_HAVE_ARCH_JUMP_LABEL=y
CONFIG_HAVE_ARCH_KASAN=y
CONFIG_HAVE_ARCH_KGDB=y
CONFIG_HAVE_ARCH_KMEMCHECK=y
CONFIG_HAVE_ARCH_MMAP_RND_BITS=y
CONFIG_HAVE_ARCH_MMAP_RND_COMPAT_BITS=y
CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
CONFIG_HAVE_ARCH_SOFT_DIRTY=y
CONFIG_HAVE_ARCH_TRACEHOOK=y
CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y
CONFIG_HAVE_ARCH_VMAP_STACK=y
CONFIG_HAVE_ARCH_WITHIN_STACK_FRAMES=y
CONFIG_HAVE_BOOTMEM_INFO_NODE=y
CONFIG_HAVE_C_RECORDMCOUNT=y
CONFIG_HAVE_CC_STACKPROTECTOR=y
CONFIG_HAVE_CLK=y
CONFIG_HAVE_CLK_PREPARE=y
CONFIG_HAVE_CMPXCHG_DOUBLE=y
CONFIG_HAVE_CMPXCHG_LOCAL=y
CONFIG_HAVE_CONTEXT_TRACKING=y
CONFIG_HAVE_COPY_THREAD_TLS=y
CONFIG_HAVE_DEBUG_KMEMLEAK=y
CONFIG_HAVE_DEBUG_STACKOVERFLOW=y
CONFIG_HAVE_DMA_API_DEBUG=y
CONFIG_HAVE_DMA_CONTIGUOUS=y
CONFIG_HAVE_DYNAMIC_FTRACE=y
CONFIG_HAVE_DYNAMIC_FTRACE_WITH_REGS=y
CONFIG_HAVE_EBPF_JIT=y
CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
CONFIG_HAVE_EXIT_THREAD=y
CONFIG_HAVE_FENTRY=y
CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y
CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y
CONFIG_HAVE_FUNCTION_TRACER=y
CONFIG_HAVE_GCC_PLUGINS=y
CONFIG_HAVE_HARDENED_USERCOPY_ALLOCATOR=y
CONFIG_HAVE_HW_BREAKPOINT=y
CONFIG_HAVE_IDE=y
CONFIG_HAVE_INTEL_TXT=y
CONFIG_HAVE_IOREMAP_PROT=y
CONFIG_HAVE_IRQ_EXIT_ON_IRQ_STACK=y
CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y
CONFIG_HAVE_KERNEL_BZIP2=y
CONFIG_HAVE_KERNEL_GZIP=y
CONFIG_HAVE_KERNEL_LZ4=y
CONFIG_HAVE_KERNEL_LZMA=y
CONFIG_HAVE_KERNEL_LZO=y
CONFIG_HAVE_KERNEL_XZ=y
CONFIG_HAVE_KPROBES=y
CONFIG_HAVE_KPROBES_ON_FTRACE=y
CONFIG_HAVE_KRETPROBES=y
CONFIG_HAVE_KVM=y
CONFIG_HAVE_LIVEPATCH=y
CONFIG_HAVE_MEMBLOCK=y
CONFIG_HAVE_MEMBLOCK_NODE_MAP=y
CONFIG_HAVE_MEMORY_PRESENT=y
CONFIG_HAVE_MIXED_BREAKPOINTS_REGS=y
CONFIG_HAVE_MMIOTRACE_SUPPORT=y
CONFIG_HAVE_NET_DSA=y
CONFIG_HAVE_NMI=y
CONFIG_HAVE_OPROFILE=y
CONFIG_HAVE_OPTPROBES=y
CONFIG_HAVE_PCSPKR_PLATFORM=y
CONFIG_HAVE_PERF_EVENTS=y
CONFIG_HAVE_PERF_EVENTS_NMI=y
CONFIG_HAVE_PERF_REGS=y
CONFIG_HAVE_PERF_USER_STACK_DUMP=y
CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y
CONFIG_HAVE_SETUP_PER_CPU_AREA=y
CONFIG_HAVE_STACK_VALIDATION=y
CONFIG_HAVE_SYSCALL_TRACEPOINTS=y
CONFIG_HAVE_UID16=y
CONFIG_HAVE_UNSTABLE_SCHED_CLOCK=y
CONFIG_HAVE_USER_RETURN_NOTIFIER=y
CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y
CONFIG_HDMI=y
CONFIG_HFS_FS=y
CONFIG_HFSPLUS_FS=y
CONFIG_HID=y
CONFIG_HIGH_RES_TIMERS=y
CONFIG_HOTPLUG_CPU=y
CONFIG_HOTPLUG_PCI=y
CONFIG_HOTPLUG_PCI_PCIE=y
CONFIG_HOTPLUG_SMT=y
CONFIG_HPET=y
CONFIG_HPET_EMULATE_RTC=y
CONFIG_HPET_TIMER=y
CONFIG_HSU_DMA=y
CONFIG_HT_IRQ=y
CONFIG_HUGETLB_PAGE=y
CONFIG_HUGETLBFS=y
CONFIG_HW_CONSOLE=y
CONFIG_HW_RANDOM=y
CONFIG_HW_RANDOM_VIA=y
CONFIG_HWMON=y
CONFIG_HZ=1000=y
CONFIG_HZ_1000=y
CONFIG_I2C=y
CONFIG_I2C_ALGOBIT=y
CONFIG_I2C_BOARDINFO=y
CONFIG_I2C_CHARDEV=y
CONFIG_I2C_COMPAT=y
CONFIG_I2C_DESIGNWARE_CORE=y
CONFIG_I2C_DESIGNWARE_PCI=y
CONFIG_I2C_HELPER_AUTO=y
CONFIG_I2C_I801=y
CONFIG_I2C_SMBUS=y
CONFIG_I8253_LOCK=y
CONFIG_IA32_EMULATION=y
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_ILLEGAL_POINTER_VALUE=0xdead000000000000
CONFIG_INET6_TUNNEL=m
CONFIG_INET6_XFRM_MODE_BEET=m
CONFIG_INET6_XFRM_MODE_TRANSPORT=m
CONFIG_INET6_XFRM_MODE_TUNNEL=m
CONFIG_INET=y
CONFIG_INET_DIAG=y
CONFIG_INET_TCP_DIAG=y
CONFIG_INET_TUNNEL=m
CONFIG_INET_XFRM_MODE_BEET=y
CONFIG_INET_XFRM_MODE_TRANSPORT=y
CONFIG_INET_XFRM_MODE_TUNNEL=y
CONFIG_INIT_ENV_ARG_LIMIT=32
CONFIG_INITRAMFS_SOURCE=""
CONFIG_INLINE_READ_UNLOCK=y
CONFIG_INLINE_READ_UNLOCK_IRQ=y
CONFIG_INLINE_SPIN_UNLOCK_IRQ=y
CONFIG_INLINE_WRITE_UNLOCK=y
CONFIG_INLINE_WRITE_UNLOCK_IRQ=y
CONFIG_INOTIFY_USER=y
CONFIG_INPUT=y
CONFIG_INPUT_EVDEV=y
CONFIG_INSTRUCTION_DECODER=y
CONFIG_INTEL_GTT=y
CONFIG_INTEL_IDLE=y
CONFIG_INTEL_IOMMU=y
CONFIG_INTEL_IOMMU_FLOPPY_WA=y
CONFIG_INTEL_IPS=y
CONFIG_INTERVAL_TREE=y
CONFIG_IO_DELAY_0XED=y
CONFIG_IO_DELAY_TYPE_0X80=0
CONFIG_IO_DELAY_TYPE_0XED=1
CONFIG_IO_DELAY_TYPE_NONE=3
CONFIG_IO_DELAY_TYPE_UDELAY=2
CONFIG_IOMMU_API=y
CONFIG_IOMMU_HELPER=y
CONFIG_IOMMU_IOVA=y
CONFIG_IOMMU_SUPPORT=y
CONFIG_IOSCHED_CFQ=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSF_MBI=y
CONFIG_IP_MULTICAST=y
CONFIG_IP_NF_FILTER=m
CONFIG_IP_NF_IPTABLES=m
CONFIG_IP_NF_NAT=m
CONFIG_IP_NF_TARGET_MASQUERADE=m
CONFIG_IP_PNP=y
CONFIG_IP_PNP_BOOTP=y
CONFIG_IP_PNP_DHCP=y
CONFIG_IPC_NS=y
CONFIG_IPV6=m
CONFIG_IPV6_NDISC_NODETYPE=y
CONFIG_IPV6_OPTIMISTIC_DAD=y
CONFIG_IPV6_ROUTE_INFO=y
CONFIG_IPV6_ROUTER_PREF=y
CONFIG_IPV6_SIT=m
CONFIG_IPV6_TUNNEL=m
CONFIG_IRQ_DOMAIN=y
CONFIG_IRQ_DOMAIN_HIERARCHY=y
CONFIG_IRQ_FORCED_THREADING=y
CONFIG_IRQ_WORK=y
CONFIG_ISCSI_TARGET=m
CONFIG_ISCSI_TCP=m
CONFIG_ISO9660_FS=y
CONFIG_ITCO_WDT=y
CONFIG_JBD2=y
CONFIG_JOLIET=y
CONFIG_KALLSYMS=y
CONFIG_KALLSYMS_ABSOLUTE_PERCPU=y
CONFIG_KALLSYMS_BASE_RELATIVE=y
CONFIG_KERNEL_GZIP=y
CONFIG_KERNFS=y
CONFIG_KEYS=y
CONFIG_KEYS_COMPAT=y
CONFIG_KSM=y
CONFIG_LEDS_CLASS=y
CONFIG_LEGACY_VSYSCALL_EMULATE=y
CONFIG_LIBCRC32C=y
CONFIG_LLC=m
CONFIG_LOCALVERSION=""
CONFIG_LOCK_SPIN_ON_OWNER=y
CONFIG_LOCKD=y
CONFIG_LOCKD_V4=y
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_LOG_BUF_SHIFT=18
CONFIG_LOG_CPU_MAX_BUF_SHIFT=12
CONFIG_LPC_ICH=y
CONFIG_LPC_SCH=y
CONFIG_LZO_COMPRESS=y
CONFIG_LZO_DECOMPRESS=y
CONFIG_MAC_PARTITION=y
CONFIG_MACVLAN=y
CONFIG_MAGIC_SYSRQ=y
CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x1
CONFIG_MANDATORY_FILE_LOCKING=y
CONFIG_MAY_USE_DEVLINK=y
CONFIG_MD=y
CONFIG_MD_LINEAR=y
CONFIG_MD_RAID0=y
CONFIG_MD_RAID1=y
CONFIG_MD_RAID10=y
CONFIG_MD_RAID456=y
CONFIG_MEMBARRIER=y
CONFIG_MEMCG=y
CONFIG_MEMCG_SWAP=y
CONFIG_MEMCG_SWAP_ENABLED=y
CONFIG_MEMORY_HOTPLUG=y
CONFIG_MEMORY_HOTPLUG_SPARSE=y
CONFIG_MEMORY_HOTREMOVE=y
CONFIG_MEMORY_ISOLATION=y
CONFIG_MESSAGE_LOGLEVEL_DEFAULT=4
CONFIG_MFD_CORE=y
CONFIG_MFD_SYSCON=y
CONFIG_MICROCODE=y
CONFIG_MICROCODE_INTEL=y
CONFIG_MICROCODE_OLD_INTERFACE=y
CONFIG_MIGRATION=y
CONFIG_MII=y
CONFIG_MISC_FILESYSTEMS=y
CONFIG_MMC=y
CONFIG_MMC_BLOCK=y
CONFIG_MMC_BLOCK_BOUNCE=y
CONFIG_MMC_BLOCK_MINORS=16
CONFIG_MMC_RICOH_MMC=y
CONFIG_MMC_SDHCI=y
CONFIG_MMC_SDHCI_ACPI=y
CONFIG_MMC_SDHCI_PCI=y
CONFIG_MMC_SDHCI_PLTFM=y
CONFIG_MMU=y
CONFIG_MMU_NOTIFIER=y
CONFIG_MODIFY_LDT_SYSCALL=y
CONFIG_MODULE_FORCE_UNLOAD=y
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULES=y
CONFIG_MODULES_TREE_LOOKUP=y
CONFIG_MODULES_USE_ELF_RELA=y
CONFIG_MOVABLE_NODE=y
CONFIG_MSDOS_FS=y
CONFIG_MSDOS_PARTITION=y
CONFIG_MTRR=y
CONFIG_MTRR_SANITIZER=y
CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT=1
CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT=1
CONFIG_MULTIUSER=y
CONFIG_MUTEX_SPIN_ON_OWNER=y
CONFIG_NAMESPACES=y
CONFIG_NEED_DMA_MAP_STATE=y
CONFIG_NEED_MULTIPLE_NODES=y
CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK=y
CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK=y
CONFIG_NEED_SG_DMA_LENGTH=y
CONFIG_NET=y
CONFIG_NET_CORE=y
CONFIG_NET_FLOW_LIMIT=y
CONFIG_NET_INGRESS=y
CONFIG_NET_IP_TUNNEL=m
CONFIG_NET_IPIP=m
CONFIG_NET_NS=y
CONFIG_NET_PTP_CLASSIFY=y
CONFIG_NET_RX_BUSY_POLL=y
CONFIG_NET_VENDOR_REALTEK=y
CONFIG_NETDEVICES=y
CONFIG_NETFILTER=y
CONFIG_NETFILTER_ADVANCED=y
CONFIG_NETFILTER_INGRESS=y
CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=m
CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m
CONFIG_NETFILTER_XT_NAT=m
CONFIG_NETFILTER_XTABLES=m
CONFIG_NETWORK_FILESYSTEMS=y
CONFIG_NEW_LEDS=y
CONFIG_NF_CONNTRACK=m
CONFIG_NF_CONNTRACK_IPV4=m
CONFIG_NF_DEFRAG_IPV4=m
CONFIG_NF_NAT=m
CONFIG_NF_NAT_IPV4=m
CONFIG_NF_NAT_MASQUERADE_IPV4=m
CONFIG_NF_NAT_NEEDED=y
CONFIG_NFS_ACL_SUPPORT=y
CONFIG_NFS_COMMON=y
CONFIG_NFS_FS=y
CONFIG_NFS_FSCACHE=y
CONFIG_NFS_V2=y
CONFIG_NFS_V3=y
CONFIG_NFSD=y
CONFIG_NFSD_V2_ACL=y
CONFIG_NFSD_V3=y
CONFIG_NFSD_V3_ACL=y
CONFIG_NLATTR=y
CONFIG_NLS=y
CONFIG_NLS_ASCII=y
CONFIG_NLS_CODEPAGE_437=y
CONFIG_NLS_CODEPAGE_850=y
CONFIG_NLS_DEFAULT="utf8"
CONFIG_NLS_ISO8859_1=y
CONFIG_NLS_ISO8859_2=y
CONFIG_NLS_UTF8=y
CONFIG_NMI_LOG_BUF_SHIFT=13
CONFIG_NO_BOOTMEM=y
CONFIG_NO_HZ=y
CONFIG_NO_HZ_COMMON=y
CONFIG_NO_HZ_IDLE=y
CONFIG_NODES_SHIFT=6
CONFIG_NODES_SPAN_OTHER_NODES=y
CONFIG_NR_CPUS=4
CONFIG_NUMA=y
CONFIG_NVRAM=y
CONFIG_OLD_SIGSUSPEND3=y
CONFIG_OPROFILE_NMI_TIMER=y
CONFIG_OPTIMIZE_INLINING=y
CONFIG_OUTPUT_FORMAT="elf64-x86-64"
CONFIG_PACKET=y
CONFIG_PAGE_COUNTER=y
CONFIG_PAGE_TABLE_ISOLATION=y
CONFIG_PANIC_ON_OOPS_VALUE=0
CONFIG_PANIC_TIMEOUT=0
CONFIG_PARTITION_ADVANCED=y
CONFIG_PATA_OLDPIIX=y
CONFIG_PATA_SCH=y
CONFIG_PCI=y
CONFIG_PCI_ATS=y
CONFIG_PCI_BUS_ADDR_T_64BIT=y
CONFIG_PCI_DIRECT=y
CONFIG_PCI_DOMAINS=y
CONFIG_PCI_LABEL=y
CONFIG_PCI_MMCONFIG=y
CONFIG_PCI_MSI=y
CONFIG_PCI_MSI_IRQ_DOMAIN=y
CONFIG_PCI_PASID=y
CONFIG_PCI_PRI=y
CONFIG_PCI_QUIRKS=y
CONFIG_PCI_REALLOC_ENABLE_AUTO=y
CONFIG_PCIE_PME=y
CONFIG_PCIEAER=y
CONFIG_PCIEASPM=y
CONFIG_PCIEASPM_DEFAULT=y
CONFIG_PCIEPORTBUS=y
CONFIG_PCSPKR_PLATFORM=y
CONFIG_PERF_EVENTS=y
CONFIG_PERF_EVENTS_INTEL_CSTATE=y
CONFIG_PERF_EVENTS_INTEL_RAPL=y
CONFIG_PERF_EVENTS_INTEL_UNCORE=y
CONFIG_PGTABLE_LEVELS=4
CONFIG_PGTABLE_MAPPING=y
CONFIG_PHYLIB=y
CONFIG_PHYS_ADDR_T_64BIT=y
CONFIG_PHYSICAL_ALIGN=0x1000000
CONFIG_PHYSICAL_START=0x1000000
CONFIG_PID_NS=y
CONFIG_PINCTRL=y
CONFIG_PM=y
CONFIG_PM_CLK=y
CONFIG_PM_SLEEP=y
CONFIG_PM_SLEEP_SMP=y
CONFIG_PMC_ATOM=y
CONFIG_PNP=y
CONFIG_PNPACPI=y
CONFIG_POSIX_MQUEUE=y
CONFIG_POSIX_MQUEUE_SYSCTL=y
CONFIG_POWER_SUPPLY=y
CONFIG_PPP=m
CONFIG_PPP_ASYNC=m
CONFIG_PPP_BSDCOMP=m
CONFIG_PPP_DEFLATE=m
CONFIG_PPP_FILTER=y
CONFIG_PPP_MPPE=m
CONFIG_PPP_MULTILINK=y
CONFIG_PPP_SYNC_TTY=m
CONFIG_PPPOE=m
CONFIG_PPS=y
CONFIG_PREEMPT_VOLUNTARY=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_PRINTK=y
CONFIG_PRINTK_NMI=y
CONFIG_PRINTK_TIME=y
CONFIG_PROC_EVENTS=y
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
CONFIG_PROC_PAGE_MONITOR=y
CONFIG_PROC_PID_CPUSET=y
CONFIG_PROC_SYSCTL=y
CONFIG_PROCESSOR_SELECT=y
CONFIG_PSTORE=y
CONFIG_PSTORE_ZLIB_COMPRESS=y
CONFIG_PTP_1588_CLOCK=y
CONFIG_PWM=y
CONFIG_PWM_SYSFS=y
CONFIG_QFMT_V2=y
CONFIG_QUEUED_RWLOCKS=y
CONFIG_QUEUED_SPINLOCKS=y
CONFIG_QUOTA=y
CONFIG_QUOTA_TREE=y
CONFIG_QUOTACTL=y
CONFIG_QUOTACTL_COMPAT=y
CONFIG_R8169=y
CONFIG_RADIX_TREE_MULTIORDER=y
CONFIG_RAID6_PQ=y
CONFIG_RANDOMIZE_BASE=y
CONFIG_RANDOMIZE_MEMORY=y
CONFIG_RANDOMIZE_MEMORY_PHYSICAL_PADDING=0xa
CONFIG_RAS=y
CONFIG_RATIONAL=y
CONFIG_RCU_CPU_STALL_TIMEOUT=60
CONFIG_RCU_STALL_COMMON=y
CONFIG_RD_GZIP=y
CONFIG_REALTEK_PHY=y
CONFIG_REGMAP=y
CONFIG_REGMAP_I2C=y
CONFIG_REGMAP_MMIO=y
CONFIG_RELOCATABLE=y
CONFIG_RETPOLINE=y
CONFIG_RFS_ACCEL=y
CONFIG_ROOT_NFS=y
CONFIG_RPS=y
CONFIG_RT_MUTEXES=y
CONFIG_RTC_CLASS=y
CONFIG_RTC_DRV_CMOS=y
CONFIG_RTC_HCTOSYS=y
CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
CONFIG_RTC_I2C_AND_SPI=y
CONFIG_RTC_INTF_DEV=y
CONFIG_RTC_INTF_PROC=y
CONFIG_RTC_INTF_SYSFS=y
CONFIG_RTC_LIB=y
CONFIG_RTC_MC146818_LIB=y
CONFIG_RTC_SYSTOHC=y
CONFIG_RTC_SYSTOHC_DEVICE="rtc0"
CONFIG_RWSEM_SPIN_ON_OWNER=y
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_SATA_AHCI=y
CONFIG_SATA_PMP=y
CONFIG_SBITMAP=y
CONFIG_SCHED_DEBUG=y
CONFIG_SCHED_HRTICK=y
CONFIG_SCHED_INFO=y
CONFIG_SCHED_MC=y
CONFIG_SCHED_OMIT_FRAME_POINTER=y
CONFIG_SCHED_SMT=y
CONFIG_SCSI=y
CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_DMA=y
CONFIG_SCSI_ISCSI_ATTRS=m
CONFIG_SCSI_LOWLEVEL=y
CONFIG_SCSI_MOD=y
CONFIG_SCSI_PROC_FS=y
CONFIG_SECCOMP=y
CONFIG_SECCOMP_FILTER=y
CONFIG_SECURITYFS=y
CONFIG_SELECT_MEMORY_MODEL=y
CONFIG_SENSORS_CORETEMP=y
CONFIG_SENSORS_I5500=y
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_8250_DMA=y
CONFIG_SERIAL_8250_EXTENDED=y
CONFIG_SERIAL_8250_LPSS=y
CONFIG_SERIAL_8250_MANY_PORTS=y
CONFIG_SERIAL_8250_MID=y
CONFIG_SERIAL_8250_NR_UARTS=32=y
CONFIG_SERIAL_8250_PCI=y
CONFIG_SERIAL_8250_PNP=y
CONFIG_SERIAL_8250_RSA=y
CONFIG_SERIAL_8250_RUNTIME_UARTS=4
CONFIG_SERIAL_8250_SHARE_IRQ=y
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
CONFIG_SERIAL_EARLYCON=y
CONFIG_SERIAL_NONSTANDARD=y
CONFIG_SERIO=y
CONFIG_SERIO_I8042=y
CONFIG_SERIO_SERPORT=y
CONFIG_SG_POOL=y
CONFIG_SGETMASK_SYSCALL=y
CONFIG_SHMEM=y
CONFIG_SIGNALFD=y
CONFIG_SLAB=y
CONFIG_SLABINFO=y
CONFIG_SLHC=m
CONFIG_SLIP=m
CONFIG_SMP=y
CONFIG_SND_HDA_INTEL=y
CONFIG_SND_PCI=y
CONFIG_SPARSE_IRQ=y
CONFIG_SPARSEMEM=y
CONFIG_SPARSEMEM_ALLOC_MEM_MAP_TOGETHER=y
CONFIG_SPARSEMEM_EXTREME=y
CONFIG_SPARSEMEM_MANUAL=y
CONFIG_SPARSEMEM_VMEMMAP=y
CONFIG_SPARSEMEM_VMEMMAP_ENABLE=y
CONFIG_SPLIT_PTLOCK_CPUS=4
CONFIG_SQUASHFS=y
CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU=y
CONFIG_SQUASHFS_FILE_DIRECT=y
CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE=3
CONFIG_SQUASHFS_XZ=y
CONFIG_SRCU=y
CONFIG_SSB_POSSIBLE=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_STANDALONE=y
CONFIG_STP=m
CONFIG_SUNRPC=y
CONFIG_SUSPEND=y
CONFIG_SUSPEND_FREEZER=y
CONFIG_SWAP=y
CONFIG_SWIOTLB=y
CONFIG_SYN_COOKIES=y
CONFIG_SYSCTL=y
CONFIG_SYSCTL_EXCEPTION_TRACE=y
CONFIG_SYSCTL_SYSCALL=y
CONFIG_SYSFS=y
CONFIG_SYSFS_SYSCALL=y
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_COMPAT=y
CONFIG_SYSVIPC_SYSCTL=y
CONFIG_TARGET_CORE=m
CONFIG_TASK_DELAY_ACCT=y
CONFIG_TASK_IO_ACCOUNTING=y
CONFIG_TASK_XACCT=y
CONFIG_TASKSTATS=y
CONFIG_TCM_FILEIO=m
CONFIG_TCM_IBLOCK=m
CONFIG_TCP_CONG_CUBIC=y
CONFIG_THERMAL=y
CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y
CONFIG_THERMAL_GOV_BANG_BANG=y
CONFIG_THERMAL_GOV_STEP_WISE=y
CONFIG_THERMAL_HWMON=y
CONFIG_THREAD_INFO_IN_TASK=y
CONFIG_TICK_CPU_ACCOUNTING=y
CONFIG_TICK_ONESHOT=y
CONFIG_TIFM_CORE=y
CONFIG_TIMERFD=y
CONFIG_TMPFS=y
CONFIG_TMPFS_POSIX_ACL=y
CONFIG_TMPFS_XATTR=y
CONFIG_TRACE_IRQFLAGS_SUPPORT=y
CONFIG_TRACING_SUPPORT=y
CONFIG_TRANSPARENT_HUGE_PAGECACHE=y
CONFIG_TRANSPARENT_HUGEPAGE=y
CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS=y
CONFIG_TREE_RCU=y
CONFIG_TTY=y
CONFIG_TUN=m
CONFIG_UCS2_STRING=y
CONFIG_UDF_FS=y
CONFIG_UDF_NLS=y
CONFIG_UEVENT_HELPER=y
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
CONFIG_UID16=y
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX=y
CONFIG_USB=y
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_COMMON=y
CONFIG_USB_DEFAULT_PERSIST=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_PCI=y
CONFIG_USB_EHCI_ROOT_HUB_TT=y
CONFIG_USB_EHCI_TT_NEWSCHED=y
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
CONFIG_USB_STORAGE=y
CONFIG_USB_SUPPORT=y
CONFIG_USB_XHCI_HCD=y
CONFIG_USB_XHCI_PCI=y
CONFIG_USE_PERCPU_NUMA_NODE_ID=y
CONFIG_USER_NS=y
CONFIG_USER_STACKTRACE_SUPPORT=y
CONFIG_UTS_NS=y
CONFIG_VETH=y
CONFIG_VFAT_FS=y
CONFIG_VGA_ARB=y
CONFIG_VGA_ARB_MAX_GPUS=16
CONFIG_VGA_CONSOLE=y
CONFIG_VGA_SWITCHEROO=y
CONFIG_VGACON_SOFT_SCROLLBACK=y
CONFIG_VGACON_SOFT_SCROLLBACK_SIZE=64
CONFIG_VIRT_TO_BUS=y
CONFIG_VLAN_8021Q=y
CONFIG_VM_EVENT_COUNTERS=y
CONFIG_VMAP_STACK=y
CONFIG_VME_BUS=y
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_VT_CONSOLE_SLEEP=y
CONFIG_VT_HW_CONSOLE_BINDING=y
CONFIG_WATCHDOG=y
CONFIG_WATCHDOG_CORE=y
CONFIG_X86=y
CONFIG_X86_16BIT=y
CONFIG_X86_64=y
CONFIG_X86_64_ACPI_NUMA=y
CONFIG_X86_64_SMP=y
CONFIG_X86_ACPI_CPUFREQ=y
CONFIG_X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK=y
CONFIG_X86_CHECK_BIOS_CORRUPTION=y
CONFIG_X86_CMOV=y
CONFIG_X86_CMPXCHG64=y
CONFIG_X86_CPUID=y
CONFIG_X86_DEBUG_FPU=y
CONFIG_X86_DEBUGCTLMSR=y
CONFIG_X86_DEV_DMA_OPS=y
CONFIG_X86_DIRECT_GBPAGES=y
CONFIG_X86_ESPFIX64=y
CONFIG_X86_FAST_FEATURE_TESTS=y
CONFIG_X86_FEATURE_NAMES=y
CONFIG_X86_INTEL_LPSS=y
CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS=y
CONFIG_X86_INTEL_PSTATE=y
CONFIG_X86_INTERNODE_CACHE_SHIFT=6
CONFIG_X86_IO_APIC=y
CONFIG_X86_L1_CACHE_SHIFT=6
CONFIG_X86_LOCAL_APIC=y
CONFIG_X86_MCE=y
CONFIG_X86_MCE_INJECT=y
CONFIG_X86_MCE_INTEL=y
CONFIG_X86_MCE_THRESHOLD=y
CONFIG_X86_MINIMUM_CPU_FAMILY=64
CONFIG_X86_MPPARSE=y
CONFIG_X86_MSR=y
CONFIG_X86_NEED_RELOCS=y
CONFIG_X86_P4_CLOCKMOD=y
CONFIG_X86_PAT=y
CONFIG_X86_PCC_CPUFREQ=y
CONFIG_X86_PLATFORM_DEVICES=y
CONFIG_X86_PM_TIMER=y
CONFIG_X86_REROUTE_FOR_BROKEN_BOOT_IRQS=y
CONFIG_X86_RESERVE_LOW=64
CONFIG_X86_SMAP=y
CONFIG_X86_SPEEDSTEP_CENTRINO=y
CONFIG_X86_SPEEDSTEP_LIB=y
CONFIG_X86_SUPPORTS_MEMORY_FAILURE=y
CONFIG_X86_THERMAL_VECTOR=y
CONFIG_X86_TSC=y
CONFIG_X86_VERBOSE_BOOTUP=y
CONFIG_X86_VSYSCALL_EMULATION=y
CONFIG_X86_X32=y
CONFIG_XFRM=y
CONFIG_XFS_FS=y
CONFIG_XOR_BLOCKS=y
CONFIG_XPS=y
CONFIG_XZ_DEC=y
CONFIG_XZ_DEC_BCJ=y
CONFIG_XZ_DEC_X86=y
CONFIG_ZBUD=y
CONFIG_ZISOFS=y
CONFIG_ZLIB_DEFLATE=y
CONFIG_ZLIB_INFLATE=y
CONFIG_ZONE_DMA32=y
CONFIG_ZONE_DMA=y
CONFIG_ZPOOL=y
CONFIG_ZSMALLOC=y
CONFIG_ZSWAP=y

#286

AMD related params may be irrelevant as it’s an intel processor.
Please add DVB drivers as a module to allow recording with TVHeadend / TV mosaic / … and some extra usb devices e.g. keyboard.
EDIT: I see… you didn’t include modules here :slight_smile:


#287

Good catch. The AMD parameters were included in the original PR4100 .config file and got carried over when I performed a make oldconfig to generate parameters for the new kernel. The following parameters have been removed.

# CONFIG_AGP_AMD64
# CONFIG_AGP_VIA
# CONFIG_AMD_IOMMU
# CONFIG_AMD_NB
# CONFIG_AMD_NUMA
# CONFIG_CPU_SUP_AMD
# CONFIG_CPU_SUP_CENTAUR
# CONFIG_MICROCODE_AMD
# CONFIG_X86_AMD_PLATFORM_DEVICE
# CONFIG_X86_MCE_AMD

My preference is to build a monolithic kernel for better performance. Some drivers are still loaded as modules, but that can’t be avoided.


#292

WD My Cloud Firmware Bin File Structure (All Models With Firmware Version 2x)

Control Header (128 Bytes):

Pos Name Bytes Type Rev Description
1 CH_Offset_1 4 hex 1 Kernel Offset (uImage)
2 CH_Length_1 4 int 1 Kernel Length (uImage)
3 CH_Offset_2 4 hex 1 Ramdisk Offset (uRamdisk)
4 CH_Length_2 4 int 1 Ramdisk Length (uRamdisk)
5 CH_Offset_3 4 hex 1 RootFS Offset (image.cfs)
6 CH_Length_3 4 int 1 RootFS Length (image.cfs)
7 CH_Offset_4 4 hex 1 Config Offset (default.tar.gz)
8 CH_Length_4 4 int 1 Config Length (default.tar.gz)
9 CH_Checksum_1 4 hex 0 Kernel Checksum (uImage)
10 CH_Checksum_2 4 hex 0 Ramdisk Checksum (uRamdisk)
11 CH_Checksum_3 4 hex 0 RootFS Checksum (image.cfs)
12 CH_Checksum_4 4 hex 0 Config Checksum (default.tar.gz)
13 CH_Magic_Number 12 hex 0 Magic Number
14 CH_Product_ID 1 int 0 Product ID
15 CH_Custom_ID 1 int 0 Custom ID
16 CH_Model_ID 1 int 0 Model ID
17 CH_Hardware_ID 1 int 0 Hardware ID
18 CH_Sub_ID 1 int 0 Sub ID
19 CH_FW_Version 32 int 0 Firmware Version
20 CH Reserved 27 hex 0 Reserved (Header Checksum)
21 CH_Next_Offset 4 hex 1 Next Offset

Extended Header (96 Bytes):

Pos Name Bytes Type Rev Description
1 EX_Path 32 str 0 File Path (/tmp)
2 EX_Filename 32 str 0 File Name (grub.tgz, u-boot.bin, etc)
3 EX_Chmod 2 int 0 Chmod (755)
4 EX_Execute 1 int 0 Execute (0/1)
5 EX_Reserved 13 hex 0 Reserved
6 EX_Offset 4 hex 1 File Offset
7 EX_Length 4 int 1 File Length
8 EX_Checksum 4 hex 0 File Checksum
9 EX_Next_Offset 4 hex 1 Next Offset

Metadata:

Description Code Name Magic Number Product Custom Model Hardware
My Cloud EX4 LT4A Lightning 4a 55aa4c696768746e690055aa 0 20 0 1
My Cloud EX2 KC2A Kings Canyon 55aa4b696e677343610055aa 0 20 1 1
My Cloud EX2 Ultra BVBZ Ranger Peak 55aa4772616e6454657455aa 0 20 1 1
My Cloud Mirror (Gen 2) BWVZ Grand Teton 55aa4772616e6454657455aa 0 20 1 1
My Cloud (Gen 2) GLCR Glacier 55aa476c61636965720055aa 0 20 2 1
My Cloud EX4100 BZWE Yellowstone 55aa59656c6c6f77000055aa 0 20 3 1
My Cloud EX2100 BWAZ Yosemite 55aa596f73656d69746555aa 0 20 4 1
My Cloud DL4100 BNEZ Sprite 55aa537072697465000055aa 0 20 5 1
My Cloud DL2100 BBAZ Aurora 55aa4175726f7261000055aa 0 20 6 1
My Cloud PR4100 BNFA Black Canyon 55aa426c61636b43790055aa 0 20 7 1
My Cloud PR2100 BBCL Bryce Canyon 55aa427279636543790055aa 0 20 8 1

#293

WD My Cloud Rescue Firmware Bin File Structure (All Models With Firmware Version 2x):

Control Header (128 Bytes, Null Padded to 2048 Bytes):

Pos Name Bytes Type Rev Description
1 RF_Mac_1 20 hex 0 MAC Address 1 (XX:XX:XX:XX:XX:XX)
2 RF_Size 4 int 1 Firmware Max Size (Kernel + Ramdisk)
3 RF_Checksum 4 hex 1 Firmware Checksum (Kernel + Ramdisk)
4 RF_Mac_2 20 hex 0 MAC Address 2 (XX:XX:XX:XX:XX:XX)
5 RF_Color_ID 1 int 0 Varies (Model ID or 0)
6 RF_Hidden_Encryption 1 int 0 Hidden Encryption Flag
7 RF_Magic_Number 12 hex 0 Magic Number
8 RF_Product_ID 1 int 0 Product ID
9 RF_Custom_ID 1 int 0 Custom ID
10 RF_Model_ID 1 int 0 Model ID
11 RF_Hardware_ID 1 int 0 Hardware ID
12 RF_FW_Auto_Update 1 int 0 Firmware Auto Update
13 RF_Reserved_1 5 hex 0 Reserved 1
14 RF_FW_Version 32 str 0 Firmware Version
15 RF_Reserved_2 24 hex 0 Reserved 2 (Header Checksum)
16 RF_Null_Padding 1920 hex 0 Null Padding (0x00)

Metadata:

Description Code Name Magic Number Product Custom Model Hardware
My Cloud EX4 LT4A Lightning 4a 55aa4c696752657363757265 0 20 0 1
My Cloud EX2 KC2A Kings Canyon 55aa4B696E52657363757265 0 20 1 1
My Cloud EX2 Ultra BVBZ Ranger Peak 55aa47726152657363757265 0 20 1 1
My Cloud Mirror (Gen 2) BWVZ Grand Teton 55aa47726152657363757265 0 20 1 1
My Cloud (Gen 2) GLCR Glacier 55aa476C6152657363757265 0 20 2 1
My Cloud EX4100 BZWE Yellowstone 55aa59656C52657363757265 0 20 3 1
My Cloud EX2100 BWAZ Yosemite 55aa596F7352657363757265 0 20 4 1
My Cloud DL4100 BNEZ Sprite 55aa53707252657363757265 0 20 5 1
My Cloud DL2100 BBAZ Aurora 55aa41757252657363757265 0 20 6 1
My Cloud PR4100 BNFA Black Canyon 55aa426c6152657363757265 0 20 7 1
My Cloud PR2100 BBCL Bryce Canyon 55aa42727952657363757265 0 20 8 1

#294

The following MCU buzzer (BZR) commands appear to work (On/Off) as expected. Sending other hex values can have unpredictable results. The buzzer status is also reflected in th 7th bit of the STA command output.

Buzzer On:

echo "BZR=FF" > /dev/ttyS2

Buzzer Off:

echo "BZR=00" > /dev/ttyS2

The system buzzer can act as an audible alert, but when coupled with blinking red LED’s, it’s more likely to get attention during critical system events.

Power/USB Red LED Blink On:

echo "LED=00" > /dev/ttyS2
echo "BLK=0A" > /dev/ttyS2

Power/USB Red LED Blink Off:

echo "BLK=00" > /dev/ttyS2
echo "LED=01" > /dev/ttyS2

HDD Red LED Blink On (All Drives):

echo "DLB=F0" > /dev/ttyS2

HDD Red LED Blink Off (All Drives):

echo "DLB=00" > /dev/ttyS2


#295

The MCU is hex-aware, so sending commands with or without the 0x prefix have the same effect… if the command requires a hex value.

echo "BZR=00" > /dev/ttyS2
echo "BZR=0x00" > /dev/ttyS2

buzzer_test.sh

#!/bin/bash

for i in `seq 1 5`; do
    echo "BZR=0xFF" > /dev/ttyS2
    sleep 2
    echo "BZR=0x00" > /dev/ttyS2
    sleep 2
done

#296

WD PR4100 MCU Commands (STM32F030R8T6)
STMicroelectronics 32-bit ARM Cortex

Cmd Hex Get/Set Description Bit Pos Note
LED 0x01 Both LED Power Blue On 0000-0001 0
LED 0x02 Both LED Power Red On 0000-0010 1
LED 0x04 Both LED Power Green On 0000-0100 2
LED 0x08 Both LED USB Red On 0000-1000 3
LED 0x10 Both LED USB Blue On 0001-0000 4
BLK 0x01 Both LED Power Blue Blink 0000-0001 0
BLK 0x02 Both LED Power Red Blink 0000-0010 1
BLK 0x04 Both LED Power Green Blink 0000-0100 2
BLK 0x08 Both LED USB Red Blink 0000-1000 3
BLK 0x10 Both LED USB Blue Blink 0001-0000 4
PLS 0x01 Both LED Power Pulse 0000-0001 0 Set LED=00 and BLK=00 before setting PLS
STA 0x01 Get STA Fan Failed 0000-0001 0
STA 0x02 Get STA Power Supply 1 Failed 0000-0010 1
STA 0x04 Get STA Power Supply 2 Failed 0000-0100 2
STA 0x08 Get STA USB Button Pressed 0000-1000 3 Bit: 0 = True, 1 = False
STA 0x10 Get STA Reserved 0001-0000 4
STA 0x20 Get STA LCD Down Button Pressed 0010-0000 5 Bit: 0 = True, 1 = False
STA 0x40 Get STA LCD Up Button Pressed 0100-0000 6 Bit: 0 = True, 1 = False
STA 0x80 Get STA Buzzer 1000-0000 7
DLB 0x10 Both Hard Drive 1 LED Red Blink 0001-0000 4 Ones in right half of byte powers down drive(s)
DLB 0x20 Both Hard Drive 2 LED Red Blink 0010-0000 5 Ones in right half of byte powers down drive(s)
DLB 0x40 Both Hard Drive 3 LED Red Blink 0100-0000 6 Ones in right half of byte powers down drive(s)
DLB 0x80 Both Hard Drive 4 LED Red Blink 1000-0000 7 Ones in right half of byte powers down drive(s)
DE0 0xFE Both Hard Drive 1 Power Off 1111-1110 0 Do NOT use.
DE0 0xFD Both Hard Drive 2 Power Off 1111-1101 1 Do NOT use.
DE0 0xFB Both Hard Drive 3 Power Off 1111-1011 2 Do NOT use.
DE0 0xF7 Both Hard Drive 4 Power Off 1111-0111 3 Do NOT use.
DE0 0xEF Both Hard Drive 1 LED Red On 1110-1111 4 Zeros in right half of byte powers down drive(s)
DE0 0xDF Both Hard Drive 2 LED Red On 1101-1111 5 Zeros in right half of byte powers down drive(s)
DE0 0xBF Both Hard Drive 3 LED Red On 1011-1111 6 Zeros in right half of byte powers down drive(s)
DE0 0x7F Both Hard Drive 4 LED Red On 0111-1111 7 Zeros in right half of byte powers down drive(s)
DP0 0x91 Get Hard Drive 1 Absent 1001-0001 0 ALERT sent when drive inserted or removed
DP0 0x92 Get Hard Drive 2 Absent 1001-0010 1 ALERT sent when drive inserted or removed
DP0 0x94 Get Hard Drive 3 Absent 1001-0100 2 ALERT sent when drive inserted or removed
DP0 0x98 Get Hard Drive 4 Absent 1001-1000 3 ALERT sent when drive inserted or removed
DLC 0x01 Set Hard Drive 1 Power Off 0000-0001 0 Do NOT use.
DLC 0x02 Set Hard Drive 2 Power Off 0000-0010 1 Do NOT use.
DLC 0x04 Set Hard Drive 3 Power Off 0000-0100 2 Do NOT use.
DLC 0x08 Set Hard Drive 4 Power Off 0000-1000 3 Do NOT use.
DLC 0x10 Set Hard Drive 1 LED Red On 0001-0000 4 Ones in right half of byte powers down drive(s)
DLC 0x20 Set Hard Drive 2 LED Red On 0010-0000 5 Ones in right half of byte powers down drive(s)
DLC 0x40 Set Hard Drive 3 LED Red On 0100-0000 6 Ones in right half of byte powers down drive(s)
DLC 0x80 Set Hard Drive 4 LED Red On 1000-0000 7 Ones in right half of byte powers down drive(s)
DLS 0x01 Set Hard Drive 1 Power Off 0000-0001 0 Do NOT use.
DLS 0x02 Set Hard Drive 2 Power Off 0000-0010 1 Do NOT use.
DLS 0x04 Set Hard Drive 3 Power Off 0000-0100 2 Do NOT use.
DLS 0x08 Set Hard Drive 4 Power Off 0000-1000 3 Do NOT use.
DLS 0x10 Set Hard Drive 1 LED Red Off 0001-0000 4 Ones in right half of byte powers down drive(s)
DLS 0x20 Set Hard Drive 2 LED Red Off 0010-0000 5 Ones in right half of byte powers down drive(s)
DLS 0x40 Set Hard Drive 3 LED Red Off 0100-0000 6 Ones in right half of byte powers down drive(s)
DLS 0x80 Set Hard Drive 4 LED Red Off 1000-0000 7 Ones in right half of byte powers down drive(s)
ISR 0x08 Get USB Button Pressed Resets to 0x00 after value retrieved
ISR 0x20 Get LCD Up Button Pressed Resets to 0x00 after value retrieved
ISR 0x40 Get LCD Down Button Pressed Resets to 0x00 after value retrieved
TAC 0x0000 Get Fan Tachometer RPM = ((TAC / 2) * 60)
FAN 0x00 Both Fan Speed Level 0-64 as Hex. Default =0x60 (80%)
BKL 0x00 Both LCD Backlight Brightness Level 0-255 as Hex. Default = 0xFF (100%)
TMP 0x00 Get MCU Temperature (C as Hex)
tmp Get MCU Temperature (C as Dec)
LN1 Set LCD Display Text Line 1 16 Characters Max
LN2 Set LCD Display Text Line 2 16 Characters Max
ECH Both Unknown Related to ISR, Bit 7 ???
IMR Both Unknown Related to ISR, Debug ???
VER Get MCU Firmware Version WD BBC v01
UPD Set MCU Firmware Update Do NOT use.
CFG Both MCU Configuration Do NOT use.
FWT Set Flash Write Test Do NOT use.

#297

Finally, I’ve located and confirmed the precise driver required to ensure that the /dev/ttyS2 serial USART port is enabled after compiling a new Linux kernel, which is required for fan control, etc. The WD PR4100 has an Intel N3710 Braswell SoC.

config SERIAL_8250_LPSS
	tristate "Support for serial ports on Intel LPSS platforms" if EXPERT
	default SERIAL_8250
	depends on SERIAL_8250 && PCI
	depends on X86 || COMPILE_TEST
	select DW_DMAC_CORE if SERIAL_8250_DMA
	select DW_DMAC_PCI if (SERIAL_8250_DMA && X86_INTEL_LPSS)
	select RATIONAL
	help
	  Selecting this option will enable handling of the extra features
	  present on the UART found on various Intel platforms such as:
	    - Intel Baytrail SoC
	    - Intel Braswell SoC
	    - Intel Quark X1000 SoC

The following was found in the Linux 4.9.126 kernel driver source code, and it confirms beyond any shadow of a doubt that this driver will enable the /dev/ttyS2 serial USART port.

8250_lpss.c - Driver for UART on Intel Braswell and various other Intel SoCs

#define PCI_DEVICE_ID_INTEL_BSW_UART1	0x228a
#define PCI_DEVICE_ID_INTEL_BSW_UART2	0x228c

Note the Intel vendor code (8086) and device codes (0x228a and 0x228c) match what was detected on the actual PR4100 hardware while running stock WD firmware.

00:1e.3 Class 0780: 8086:228a - Intel LPIO1 HSUART Controller #1 (serial)
00:1e.4 Class 0780: 8086:228c - Intel LPIO1 HSUART Controller #2 (serial)

It will take time to locate and confirm other required drivers, then fine tune the kernel configuration, but this is a major step forward.


#298

00:1e.3 Class 0780: 8086:228a - Intel LPIO1 HSUART Controller #1 (8250_lpss)
00:1e.4 Class 0780: 8086:228c - Intel LPIO1 HSUART Controller #2 (8250_lpss)

CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_LPSS=y

00:1f.3 Class 0c05: 8086:2292 - Intel SMBus Controller (i2c-i801)

CONFIG_I2C_I801=y

00:18.2 Class 0c80: 8086:22c2 - Intel LPIO2 I2C Controller #2 (i2c_designware-pci)
00:18.3 Class 0c80: 8086:22c3 - Intel LPIO2 I2C Controller #3 (i2c_designware-pci)
00:18.4 Class 0c80: 8086:22c4 - Intel LPIO2 I2C Controller #4 (i2c_designware-pci)
00:18.6 Class 0c80: 8086:22c6 - Intel LPIO2 I2C Controller #6 (i2c_designware-pci)
00:18.7 Class 0c80: 8086:22c7 - Intel LPIO2 I2C Controller #7 (i2c_designware-pci)

CONFIG_I2C_DESIGNWARE_PCI=y

00:1f.0 Class 0601: 8086:229c - Intel ISA bridge (lpc_ich)

CONFIG_LPC_ICH=y

00:1e.0 Class 0801: 8086:2286 - Intel LPIO1 DMA Controller (dw_dmac_pci)
00:18.0 Class 0801: 8086:22c0 - Intel LPIO2 DMA Controller (dw_dmac_pci)

CONFIG_DW_DMAC_PCI=y
CONFIG_DW_DMAC_CORE=y

00:1c.0 Class 0604: 8086:22c8 - Intel PCI Express Port #1 (pcieport)
00:1c.1 Class 0604: 8086:22ca - Intel PCI Express Port #2 (pcieport)
00:1c.2 Class 0604: 8086:22cc - Intel PCI Express Port #3 (pcieport)
00:1c.3 Class 0604: 8086:22ce - Intel PCI Express Port #4 (pcieport)

CONFIG_PCIEPORTBUS=y

00:02.0 Class 0300: 8086:22b1 - Intel Integrated Graphics Controller (i915)

CONFIG_DRM_I915=y

00:13.0 Class 0106: 8086:22a3 - Intel SATA Controller (ahci)
03:00.0 Class 0106: 1b21:0612 - ASMedia ASM1062 Serial ATA Controller (ahci)
04:00.0 Class 0106: 1b21:0612 - ASMedia ASM1062 Serial ATA Controller (ahci)

CONFIG_SATA_AHCI=y

00:00.0 Class 0600: 8086:2280 - Intel Host bridge SoC Transaction Register (iosf_mbi_pci)

CONFIG_IOSF_MBI=y

00:10.0 Class 0805: 8086:2294 - Intel MMC Controller (sdhci-pci)
00:12.0 Class 0805: 8086:2296 - Intel SD Controller (sdhci-pci)

CONFIG_MMC_SDHCI=y
CONFIG_MMC_SDHCI_PCI=y

00:14.0 Class 0c03: 8086:22b5 - Intel USB xHCI Controller (xhci-hcd)

CONFIG_USB_XHCI_HCD=y
CONFIG_USB_XHCI_PCI=y

00:1a.0 Class 1080: 8086:2298 - Intel Trusted Execution Engine (mei-txe)

# CONFIG_INTEL_MEI_TXE is not set

00:1b.0 Class 0403: 8086:2284 - Intel High Definition Audio Controller (snd-hda-codec, snd-hda-intel)

# CONFIG_SND_PCI is not set
# CONFIG_SND_HDA_INTEL is not set

01:00.0 Class 0200: 10ec:8168 - Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (r8169)
02:00.0 Class 0200: 10ec:8168 - Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (r8169)

CONFIG_R8169=y

xx:xx.x Class xxxx: 8086:22dc - Power Management Controller (int3403_thermal, int3406_thermal, processor_thermal_device, processor_thermal_device)

CONFIG_INT340X_THERMAL=y
CONFIG_INT3406_THERMAL=y

Required:

CONFIG_PCI=y
CONFIG_I2C=y
CONFIG_I2C_SMBUS=y

Experimental:

CONFIG_PWM_LPSS=y
CONFIG_PWM_LPSS_PCI=y
CONFIG_PWM_LPSS_PLATFORM=y
CONFIG_SATA_AHCI_PLATFORM=y
CONFIG_HOTPLUG_PCI_PCIE=y

Investigate:

CONFIG_DRM_I915_USERPTR=???
CONFIG_MMU_NOTIFIER=???

Test Result (lspci-k):

00:00.0 Host bridge: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series SoC Transaction Register (rev 35)
        Subsystem: Intel Corporation Device 7270
        Kernel driver in use: iosf_mbi_pci
lspci: Unable to load libkmod resources: error -12
00:02.0 VGA compatible controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller (rev 35)
        Subsystem: Intel Corporation Device 7270
        Kernel driver in use: i915
00:10.0 SD Host controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series MMC Controller (rev 35)
        Subsystem: Intel Corporation Device 7270
        Kernel driver in use: sdhci-pci
00:12.0 SD Host controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series SD Controller (rev 35)
        Subsystem: Intel Corporation Device 7270
        Kernel driver in use: sdhci-pci
00:13.0 SATA controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series SATA Controller (rev 35)
        Subsystem: Intel Corporation Device 7270
        Kernel driver in use: ahci
00:14.0 USB controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series USB xHCI Controller (rev 35)
        Subsystem: Intel Corporation Device 7270
        Kernel driver in use: xhci_hcd
00:18.0 DMA controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series LPIO2 DMA Controller (rev 35)
        Subsystem: Intel Corporation Device 7270
        Kernel driver in use: dw_dmac_pci
00:18.2 Serial bus controller [0c80]: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series LPIO2 I2C Controller #2 (rev 35)
        Subsystem: Intel Corporation Device 7270
        Kernel driver in use: i2c-designware-pci
00:18.3 Serial bus controller [0c80]: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series LPIO2 I2C Controller #3 (rev 35)
        Subsystem: Intel Corporation Device 7270
        Kernel driver in use: i2c-designware-pci
00:18.4 Serial bus controller [0c80]: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series LPIO2 I2C Controller #4 (rev 35)
        Subsystem: Intel Corporation Device 7270
        Kernel driver in use: i2c-designware-pci
00:18.6 Serial bus controller [0c80]: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series LPIO2 I2C Controller #6 (rev 35)
        Subsystem: Intel Corporation Device 7270
        Kernel driver in use: i2c-designware-pci
00:18.7 Serial bus controller [0c80]: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series LPIO2 I2C Controller #7 (rev 35)
        Subsystem: Intel Corporation Device 7270
        Kernel driver in use: i2c-designware-pci
00:1a.0 Encryption controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series Trusted Execution Engine (rev 35)
        Subsystem: Intel Corporation Device 7270
00:1b.0 Audio device: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series High Definition Audio Controller (rev 35)
        Subsystem: Intel Corporation Device 7270
00:1c.0 PCI bridge: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Express Port #1 (rev 35)
        Kernel driver in use: pcieport
00:1c.1 PCI bridge: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Express Port #2 (rev 35)
        Kernel driver in use: pcieport
00:1c.2 PCI bridge: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Express Port #3 (rev 35)
        Kernel driver in use: pcieport
00:1c.3 PCI bridge: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Express Port #4 (rev 35)
        Kernel driver in use: pcieport
00:1e.0 DMA controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series LPIO1 DMA Controller (rev 35)
        Subsystem: Intel Corporation Device 7270
        Kernel driver in use: dw_dmac_pci
00:1e.3 Communication controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series LPIO1 HSUART Controller #1 (rev 35)
        Subsystem: Intel Corporation Device 7270
        Kernel driver in use: 8250_lpss
00:1e.4 Communication controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series LPIO1 HSUART Controller #2 (rev 35)
        Subsystem: Intel Corporation Device 7270
        Kernel driver in use: 8250_lpss
00:1f.0 ISA bridge: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCU (rev 35)
        Subsystem: Intel Corporation Device 7270
        Kernel driver in use: lpc_ich
00:1f.3 SMBus: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx SMBus Controller (rev 35)
        Subsystem: Intel Corporation Device 7270
        Kernel driver in use: i801_smbus
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
        Subsystem: Realtek Semiconductor Co., Ltd. Device 0123
        Kernel driver in use: r8169
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
        Subsystem: Realtek Semiconductor Co., Ltd. Device 0123
        Kernel driver in use: r8169
03:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 01)
        Subsystem: ASMedia Technology Inc. Device 1060
        Kernel driver in use: ahci
04:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 01)
        Subsystem: ASMedia Technology Inc. Device 1060
        Kernel driver in use: ahci

#299

After further refining the kernel .config file, I successfully compiled the Linux 4.9.127 kernel using Ubuntu 18.04.1 LTS and tested it on the actual PR4100 hardware. However, I only performed a quick and dirty test to see if the kernel would boot, which naturally caused the factory firmware to lose it’s mind because the kernel was not built to run in conjunction with it. Otherwise, the kernel compiled and booted with no apparent problems.

The next step will be to compile the kernel and package it for use on a full Debian installation, but that will have to wait. In the mean time, I’ve attached the full Linux 4.9.127 kernel .config file if anyone wants to test it for themselves.

Edit: I’ve compiled and tested it within a full Debian environment on the PR4100 hardware and it works perfectly.

config-4.9.127.txt (95.4 KB)

Kernel Build Instructions:

sudo add-apt-repository universe
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install -y build-essential libncurses5-dev gcc libssl-dev libelf-dev u-boot-tools bc git

wget https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.9.127.tar.gz
tar xvzf linux-4.9.127.tar.gz

cd linux-4.9.127
cp ../config-4.9.127.txt .config

# sudo make oldconfig
# sudo make menuconfig

sudo make clean
sudo make
sudo make modules
sudo make install

# Modules located in /lib/modules/4.9.127

# Testing Only
# sudo mkimage -A x86 -O linux -T kernel -C gzip -n kernel -d ./arch/x86_64/boot/bzImage uImage-4.9.127

#301

The My Cloud (OS3) PR4100 directory tree from a live system. Created via SSH using tree, which was installed using Entware.

/
|-- CacheVolume
|   `-- .wd-alert
|-- bin
|-- dev
|-- etc
|   |-- NAS_CFG
|   |-- acpi
|   |   |-- actions
|   |   `-- events
|   |-- apache2
|   |   |-- conf.d
|   |   |-- sites-available
|   |   `-- sites-enabled
|   |-- avahi
|   |   `-- services
|   |-- cron.d
|   |-- dbus-1 -> /usr/local/modules/dbus-1
|   |-- docker
|   |-- elephantdrive
|   |-- hotplug
|   |   `-- usb
|   |-- init.d
|   |-- iscsi
|   |   `-- ifaces
|   |-- lighttpd
|   |-- nas
|   |   |-- config
|   |   |-- log-filters
|   |   |-- notify.d
|   |   |-- service_startup
|   |   `-- strings -> /usr/local/modules/files/nas/strings
|   |-- netatalk
|   |-- pam.d
|   |-- php
|   |   `-- lib
|   |-- rc.d
|   |-- rsyslog.d
|   |-- samba
|   |   |-- msg.sock
|   |   `-- var
|   |-- ssh
|   |-- ssl
|   |   `-- certs
|   |-- sysinit.d
|   |-- upnp
|   |-- wd
|   |-- wdcomp.d
|   |   |-- admin-rest-api
|   |   |   `-- saved_settings
|   |   |       |-- usr
|   |   |       |   `-- local
|   |   |       |       |-- nas
|   |   |       |       |   `-- orion
|   |   |       |       `-- orion
|   |   |       |           `-- crawlersettings
|   |   |       `-- var
|   |   |           `-- www
|   |   |               `-- rest-api
|   |   |                   `-- config
|   |   |-- boot
|   |   |-- comm-manager-x86-64-release
|   |   |   `-- saved_settings
|   |   |       `-- CacheVolume
|   |   `-- upgrade
|   `-- wide-dhcpv6
|-- home
|   |-- root
|   `-- squeezecenter
|-- lib
|   |-- apache_modules -> /usr/local/modules/lib/apache_modules
|   |-- camlibs -> /usr/local/modules/lib/camlibs
|   |-- iolibs -> /usr/local/modules/lib/iolibs
|   |-- netatalk -> /usr/local/modules/lib/netatalk
|   |-- php -> /usr/local/modules/usrlib/php
|   |-- php_extension -> /usr/local/modules/lib/php_extension
|   |-- pkgconfig -> /usr/local/modules/usrlib/pkgconfig
|   |-- samba -> /usr/local/modules/lib/samba
|   |-- security -> /usr/local/modules/lib/security
|   |-- vfs -> /usr/local/modules/lib/vfs
|   `-- xtables -> /usr/local/modules/usrlib/xtables
|-- lib64 -> lib
|-- mnt
|-- nfs -> /shares
|-- opt
|-- proc
|-- root
|-- sbin
|-- shares
|   |-- .wdphotos -> /mnt/HD_a4/.wdphotos
|   |-- MEDIA_1 -> /mnt/HD/HD_a2/MEDIA_1
|   |-- MEDIA_2 -> /mnt/HD/HD_b2/MEDIA_2
|   |-- MEDIA_3 -> /mnt/HD/HD_c2/MEDIA_3
|   |-- MEDIA_4 -> /mnt/HD/HD_d2/MEDIA_4
|   |-- Public -> /mnt/HD/HD_a2/Public
|   |-- Volume_1 -> /mnt/HD/HD_a2
|   |-- Volume_2 -> /mnt/HD/HD_b2
|   |-- Volume_3 -> /mnt/HD/HD_c2
|   `-- Volume_4 -> /mnt/HD/HD_d2
|-- sys
|-- tmp
|-- usr
|   |-- bin
|   |-- include -> /usr/local/modules/python27/include
|   |-- lib
|   |   |-- locale
|   |   |-- perl -> /usr/local/modules/perl5/lib/perl
|   |   |-- python2.7 -> /usr/local/modules/python27/lib/python2.7
|   |   `-- xtables -> /usr/local/modules/usrlib/xtables
|   |-- lib64 -> /usr/lib
|   |-- libexec -> /usr/local/modules/mysql/libexec
|   |-- local
|   |   |-- LPRng
|   |   |   |-- bin
|   |   |   |-- etc
|   |   |   `-- sbin
|   |   |-- apache2
|   |   |   |-- certconf
|   |   |   |-- conf
|   |   |   |   |-- extra
|   |   |   |   |   `-- available
|   |   |   |   |-- mods-enabled
|   |   |   |   `-- sites-enabled
|   |   |   |-- error
|   |   |   |   `-- include
|   |   |   |-- htdocs
|   |   |   |-- logs
|   |   |   `-- modules
|   |   |-- apache2_dav
|   |   |   |-- conf
|   |   |   |   `-- extra
|   |   |   |-- error
|   |   |   |   `-- include
|   |   |   |-- htdocs
|   |   |   |-- logs
|   |   |   |-- modules
|   |   |   |-- var
|   |   |   `-- webdav
|   |   |-- bin
|   |   |-- config -> /usr/local/tmp_wdnas_config/config
|   |   |-- default -> /usr/local/modules/default
|   |   |-- etc
|   |   |-- firefly -> /usr/local/modules/firefly/firefly
|   |   |-- lib
|   |   |   `-- php -> /usr/local/modules/usrlib/php
|   |   |-- modules
|   |   |-- nas
|   |   |   `-- orion
|   |   |-- onboarding
|   |   |-- orion
|   |   |   |-- communicationmanager
|   |   |   `-- openvpnclient
|   |   |       `-- Windows
|   |   |-- restsdk -> /usr/local/modules/localrestsdk
|   |   |-- sbin
|   |   |-- share
|   |   |   `-- snmp -> /usr/local/modules/files/snmp
|   |   |-- ssl
|   |   |-- tmp
|   |   |-- tmp_wdnas_config
|   |   |-- twonky -> /usr/local/modules/twonky
|   |   |-- upload -> /mnt/HD/HD_a2/.systemfile/upload
|   |   |-- ups
|   |   |   |-- bin
|   |   |   `-- etc
|   |   `-- wdmcserver
|   |       |-- bin
|   |       |   |-- extractors
|   |       |   `-- transcoders
|   |       `-- lib -> /usr/local/modules/localwdmcserver/lib
|   |-- orion -> /usr/local/orion/
|   |-- sbin
|   |   `-- zoneinfo -> /usr/local/modules/zoneinfo
|   `-- share
|       |-- doc
|       |   `-- admin-rest-api -> /usr/local/modules/files/admin-rest-api
|       |-- ftp
|       |-- mysql -> /usr/local/modules/mysql/share/mysql
|       |-- perl -> /usr/local/modules/perl5/share/perl/
|       |-- terminfo -> /usr/local/modules/files/terminfo
|       `-- udhcpc
`-- var
    |-- cache
    |   `-- samba -> /tmp/cache/samba
    |-- db
    |-- empty
    |-- lib
    |   |-- docker -> /mnt/HD/HD_a2/Nas_Prog/_docker
    |   |-- dpkg
    |   `-- samba
    |-- lock
    |   |-- iscsi
    |   `-- samba
    |-- log
    |-- netatalk
    |-- run
    |   |-- avahi-daemon
    |   |-- dbus
    |   |-- docker
    |   |   `-- execdriver
    |   |       `-- native
    |   `-- samba
    |       |-- ncalrpc
    |       |   `-- np
    |       `-- nmbd
    |-- spool
    |   |-- at
    |   `-- cron
    |       `-- crontabs
    |-- state
    |   `-- ups
    |-- tmp -> /mnt/HD/HD_a2/.systemfile/upload
    `-- www
        |-- cgi-bin
        |-- entware
        |-- htdocs
        |   |-- api
        |   |   `-- rest
        |   |-- jobmonitor
        |   `-- mapdrive
        |       |-- css
        |       |-- images
        |       |-- js
        |       `-- locale
        |           |-- de_DE.utf8
        |           |   `-- LC_MESSAGES
        |           |-- en_US.utf8
        |           |   `-- LC_MESSAGES
        |           |-- es_ES.utf8
        |           |   `-- LC_MESSAGES
        |           |-- fr_FR.utf8
        |           |   `-- LC_MESSAGES
        |           |-- it_IT.utf8
        |           |   `-- LC_MESSAGES
        |           |-- ja_JP.utf8
        |           |   `-- LC_MESSAGES
        |           |-- ko_KR.utf8
        |           |   `-- LC_MESSAGES
        |           |-- pt_BR.utf8
        |           |   `-- LC_MESSAGES
        |           |-- ru_RU.utf8
        |           |   `-- LC_MESSAGES
        |           |-- zh_CN.utf8
        |           |   `-- LC_MESSAGES
        |           `-- zh_TW.utf8
        |               `-- LC_MESSAGES
        |-- imodule
        |-- rest-api
        |   |-- api
        |   |   |-- AlbumMetadata
        |   |   |   |-- config
        |   |   |   `-- src
        |   |   |       `-- AlbumMetadata
        |   |   |           `-- Controller
        |   |   |-- Albums
        |   |   |   |-- config
        |   |   |   |-- includes
        |   |   |   |   `-- db
        |   |   |   `-- src
        |   |   |       `-- Albums
        |   |   |           |-- Controller
        |   |   |           `-- Model
        |   |   |               |-- Album
        |   |   |               `-- Db
        |   |   |                   `-- Album
        |   |   |-- Alerts
        |   |   |   |-- config
        |   |   |   |   `-- platform
        |   |   |   `-- src
        |   |   |       `-- Alerts
        |   |   |           |-- Alert
        |   |   |           |   `-- Db
        |   |   |           |       `-- schema
        |   |   |           |-- Cli
        |   |   |           `-- Controller
        |   |   |-- Auth
        |   |   |   |-- config
        |   |   |   `-- src
        |   |   |       `-- Auth
        |   |   |           |-- Controller
        |   |   |           |-- Model
        |   |   |           `-- User
        |   |   |               |-- Linux
        |   |   |               `-- Windows
        |   |   |-- Common
        |   |   |   |-- config
        |   |   |   |-- includes
        |   |   |   |   `-- controller
        |   |   |   `-- src
        |   |   |       `-- Common
        |   |   |           |-- Exception
        |   |   |           `-- Model
        |   |   |-- Core
        |   |   |   |-- config
        |   |   |   |-- includes
        |   |   |   `-- src
        |   |   |       `-- Core
        |   |   |           |-- ClassFactory
        |   |   |           |-- Config
        |   |   |           |   `-- Writer
        |   |   |           |-- Controller
        |   |   |           |-- Model
        |   |   |           `-- Rest
        |   |   |               `-- Writer
        |   |   |-- Db
        |   |   |   |-- config
        |   |   |   |-- includes
        |   |   |   |-- sql
        |   |   |   `-- src
        |   |   |       `-- Db
        |   |   |-- DlnaServer
        |   |   |   |-- config
        |   |   |   `-- src
        |   |   |       `-- DlnaServer
        |   |   |           |-- Controller
        |   |   |           `-- Model
        |   |   |-- Filesystem
        |   |   |   |-- config
        |   |   |   |-- includes
        |   |   |   |   |-- db
        |   |   |   |   `-- platform
        |   |   |   |       `-- linux
        |   |   |   `-- src
        |   |   |       `-- Filesystem
        |   |   |           |-- Cli
        |   |   |           |-- Controller
        |   |   |           `-- Model
        |   |   |-- Jobs
        |   |   |   |-- config
        |   |   |   |-- includes
        |   |   |   `-- src
        |   |   |       `-- Jobs
        |   |   |           |-- Cli
        |   |   |           |-- Common
        |   |   |           |-- Controller
        |   |   |           `-- Model
        |   |   |               `-- Db
        |   |   |                   `-- schema
        |   |   |-- Metadata
        |   |   |   |-- config
        |   |   |   |-- includes
        |   |   |   |   `-- wdmc
        |   |   |   `-- src
        |   |   |       `-- Metadata
        |   |   |           |-- Controller
        |   |   |           `-- Model
        |   |   |-- Remote
        |   |   |   |-- config
        |   |   |   `-- src
        |   |   |       |-- Model
        |   |   |       `-- Remote
        |   |   |           |-- Cli
        |   |   |           |-- Controller
        |   |   |           |-- Device
        |   |   |           |   |-- Linux
        |   |   |           |   `-- Windows
        |   |   |           |-- DeviceUser
        |   |   |           |   `-- Db
        |   |   |           `-- Model
        |   |   |-- SafePoint
        |   |   |   |-- config
        |   |   |   `-- src
        |   |   |       `-- SafePoint
        |   |   |           `-- Controller
        |   |   |-- Shares
        |   |   |   |-- config
        |   |   |   `-- src
        |   |   |       `-- Shares
        |   |   |           |-- Cli
        |   |   |           |-- Controller
        |   |   |           `-- Model
        |   |   |               |-- Share
        |   |   |               |   `-- Listener
        |   |   |               |       |-- Linux
        |   |   |               |       |-- Linux_oem
        |   |   |               |       `-- Windows
        |   |   |               `-- Smb
        |   |   |-- Social
        |   |   |   |-- config
        |   |   |   |-- includes
        |   |   |   `-- src
        |   |   |       `-- Social
        |   |   |           `-- Controller
        |   |   |-- Storage
        |   |   |   |-- config
        |   |   |   |   `-- platform
        |   |   |   `-- src
        |   |   |       `-- Storage
        |   |   |           |-- Disk
        |   |   |           |   |-- Controller
        |   |   |           |   `-- Model
        |   |   |           |-- Raid
        |   |   |           |   |-- Controller
        |   |   |           |   `-- Manager
        |   |   |           |       `-- Linux
        |   |   |           |-- Transfer
        |   |   |           |   |-- Cli
        |   |   |           |   |-- Common
        |   |   |           |   |-- Controller
        |   |   |           |   `-- Model
        |   |   |           `-- Usage
        |   |   |               |-- Controller
        |   |   |               `-- Model
        |   |   |-- System
        |   |   |   |-- config
        |   |   |   |-- includes
        |   |   |   `-- src
        |   |   |       `-- System
        |   |   |           |-- Configuration
        |   |   |           |   |-- Controller
        |   |   |           |   `-- Model
        |   |   |           |       `-- Vft
        |   |   |           |-- DateTime
        |   |   |           |   |-- Controller
        |   |   |           |   `-- Model
        |   |   |           |-- Device
        |   |   |           |   |-- Controller
        |   |   |           |   |-- Model
        |   |   |           |   `-- Security
        |   |   |           |       |-- Controller
        |   |   |           |       `-- Model
        |   |   |           |-- Firmware
        |   |   |           |   |-- Controller
        |   |   |           |   `-- Model
        |   |   |           |-- Network
        |   |   |           |   |-- Configuration
        |   |   |           |   |   |-- Linux
        |   |   |           |   |   `-- Windows
        |   |   |           |   `-- Controller
        |   |   |           |-- Power
        |   |   |           |   |-- Controller
        |   |   |           |   `-- Manager
        |   |   |           |       `-- Linux
        |   |   |           `-- Reporting
        |   |   |               |-- Controller
        |   |   |               |-- Model
        |   |   |               |-- Status
        |   |   |               |   |-- Linux
        |   |   |               |   `-- Windows
        |   |   |               `-- System
        |   |   |                   |-- Linux
        |   |   |                   `-- Windows
        |   |   |-- TimeMachine
        |   |   |   |-- config
        |   |   |   `-- src
        |   |   |       `-- TimeMachine
        |   |   |           `-- Controller
        |   |   |-- Usb
        |   |   |   |-- config
        |   |   |   `-- src
        |   |   |       `-- Usb
        |   |   |           `-- Controller
        |   |   |-- Util
        |   |   |   |-- config
        |   |   |   |-- includes
        |   |   |   `-- src
        |   |   |       `-- Util
        |   |   |           |-- Linux
        |   |   |           |-- Linux_oem
        |   |   |           `-- Windows
        |   |   |-- Version
        |   |   |   |-- config
        |   |   |   `-- src
        |   |   |       `-- Version
        |   |   |           |-- ComponentVersion
        |   |   |           |-- Controller
        |   |   |           `-- FirmwareVersion
        |   |   |               |-- Linux
        |   |   |               `-- Windows
        |   |   |-- Wifi
        |   |   |   |-- config
        |   |   |   `-- src
        |   |   |       `-- Wifi
        |   |   |           |-- Controller
        |   |   |           `-- Model
        |   |   `-- iTunes
        |   |       |-- config
        |   |       `-- src
        |   |           `-- iTunes
        |   |               |-- Controller
        |   |               `-- Model
        |   |-- config
        |   |   |-- Windows
        |   |   |   `-- platformConfig
        |   |   |       `-- WD\ Sentinel
        |   |   |-- platformConfig
        |   |   |   |-- avatar
        |   |   |   |-- glacier
        |   |   |   |-- kingscanyon
        |   |   |   |-- lightning
        |   |   |   |-- mirrorman
        |   |   |   |-- sequioa
        |   |   |   `-- zion
        |   |   `-- upgrade
        |   |       `-- oriondb
        |   |-- errordocs
        |   |   |-- 400
        |   |   |-- 401
        |   |   |-- 403
        |   |   |-- 404
        |   |   |-- 500
        |   |   `-- images
        |   |-- htdocs
        |   |   |-- api
        |   |   |   |-- 1.0
        |   |   |   |   `-- rest
        |   |   |   `-- 2.1
        |   |   |       `-- rest
        |   |   |-- cachemonitor
        |   |   |-- jobmonitor
        |   |   `-- mapdrive
        |   |       |-- css
        |   |       |-- images
        |   |       |-- js
        |   |       `-- locale
        |   |           |-- de_DE.utf8
        |   |           |   `-- LC_MESSAGES
        |   |           |-- en_US.utf8
        |   |           |   `-- LC_MESSAGES
        |   |           |-- es_ES.utf8
        |   |           |   `-- LC_MESSAGES
        |   |           |-- fr_FR.utf8
        |   |           |   `-- LC_MESSAGES
        |   |           |-- it_IT.utf8
        |   |           |   `-- LC_MESSAGES
        |   |           |-- ja_JP.utf8
        |   |           |   `-- LC_MESSAGES
        |   |           |-- ko_KR.utf8
        |   |           |   `-- LC_MESSAGES
        |   |           |-- pt_BR.utf8
        |   |           |   `-- LC_MESSAGES
        |   |           |-- ru_RU.utf8
        |   |           |   `-- LC_MESSAGES
        |   |           |-- zh_CN.utf8
        |   |           |   `-- LC_MESSAGES
        |   |           `-- zh_TW.utf8
        |   |               `-- LC_MESSAGES
        |   |-- lib
        |   |   |-- FirePHPCore
        |   |   |-- Zend
        |   |   |   |-- Config
        |   |   |   |   |-- Exception
        |   |   |   |   |-- Processor
        |   |   |   |   |-- Reader
        |   |   |   |   `-- Writer
        |   |   |   |-- EventManager
        |   |   |   |   |-- Exception
        |   |   |   |   `-- Filter
        |   |   |   |-- Loader
        |   |   |   |   `-- Exception
        |   |   |   |-- Log
        |   |   |   |   |-- Exception
        |   |   |   |   |-- Filter
        |   |   |   |   |-- Formatter
        |   |   |   |   `-- Writer
        |   |   |   |       `-- FirePhp
        |   |   |   |-- ModuleManager
        |   |   |   |   |-- Exception
        |   |   |   |   |-- Feature
        |   |   |   |   `-- Listener
        |   |   |   |       `-- Exception
        |   |   |   |-- ServiceManager
        |   |   |   |   |-- Di
        |   |   |   |   `-- Exception
        |   |   |   `-- Stdlib
        |   |   |       |-- Exception
        |   |   |       `-- Hydrator
        |   |   |           `-- Strategy
        |   |   `-- pear
        |   |       `-- includes
        |   |           |-- Auth
        |   |           |   `-- SASL
        |   |           |-- Mail
        |   |           |-- Net
        |   |           `-- PHPUnit
        |   |               |-- Extensions
        |   |               |   `-- PhptTestCase
        |   |               |-- Framework
        |   |               |   |-- Assert
        |   |               |   |-- Comparator
        |   |               |   |-- Constraint
        |   |               |   |-- Error
        |   |               |   |-- MockObject
        |   |               |   |   |-- Builder
        |   |               |   |   |-- Generator
        |   |               |   |   |-- Invocation
        |   |               |   |   |-- Matcher
        |   |               |   |   `-- Stub
        |   |               |   |-- Process
        |   |               |   `-- TestSuite
        |   |               |-- Runner
        |   |               |-- TextUI
        |   |               `-- Util
        |   |                   |-- DeprecatedFeature
        |   |                   |-- Log
        |   |                   |-- PHP
        |   |                   `-- TestDox
        |   |                       `-- ResultPrinter
        |   `-- locale
        |       |-- de_DE.utf8
        |       |   `-- LC_MESSAGES
        |       |-- en_US.utf8
        |       |   `-- LC_MESSAGES
        |       |-- es_ES.utf8
        |       |   `-- LC_MESSAGES
        |       |-- fr_FR.utf8
        |       |   `-- LC_MESSAGES
        |       |-- it_IT.utf8
        |       |   `-- LC_MESSAGES
        |       |-- ja_JP.utf8
        |       |   `-- LC_MESSAGES
        |       |-- ko_KR.utf8
        |       |   `-- LC_MESSAGES
        |       |-- pt_BR.utf8
        |       |   `-- LC_MESSAGES
        |       |-- ru_RU.utf8
        |       |   `-- LC_MESSAGES
        |       |-- zh_CN.utf8
        |       |   `-- LC_MESSAGES
        |       `-- zh_TW.utf8
        |           `-- LC_MESSAGES
        |-- web -> /usr/local/modules/web/pages
        `-- xml

#302

The My Cloud (OS3) PR4100 core system files from a live system, part 1 of 3. Symlinks are used extensively due to the use of Busybox and the SquashFS read-only root filesystem stored in RAM. Dependencies and libraries excluded for clarity.

/bin/

/bin/addgroup -> tinylogin
/bin/adduser -> tinylogin
/bin/ash -> busybox
/bin/bash -> /usr/local/modules/bin/bash
/bin/blkid
/bin/busybox
/bin/cat -> busybox
/bin/chgrp -> busybox
/bin/chmod -> busybox
/bin/chown -> busybox
/bin/cp -> busybox
/bin/date -> busybox
/bin/dd -> busybox
/bin/delgroup -> tinylogin
/bin/deluser -> tinylogin
/bin/df -> busybox
/bin/dmesg -> /usr/local/modules/bin/dmesg
/bin/dnsdomainname -> busybox
/bin/e2fsck
/bin/echo -> busybox
/bin/egrep -> busybox
/bin/false -> busybox
/bin/fgrep -> busybox
/bin/find
/bin/getopt -> busybox
/bin/grep -> busybox
/bin/hostname -> busybox
/bin/ionice -> busybox
/bin/ipcalc -> busybox
/bin/kill -> busybox
/bin/ln -> busybox
/bin/login -> tinylogin
/bin/ls -> busybox
/bin/mkdir -> busybox
/bin/mknod -> busybox
/bin/mktemp -> busybox
/bin/more -> busybox
/bin/mount
/bin/mv -> busybox
/bin/nice -> busybox
/bin/passwd -> tinylogin
/bin/pidof -> busybox
/bin/ping -> busybox
/bin/ping6 -> busybox
/bin/printenv -> busybox
/bin/ps -> busybox
/bin/pwd -> busybox
/bin/rm -> busybox
/bin/rmdir -> busybox
/bin/sed -> busybox
/bin/sh -> busybox
/bin/sleep -> busybox
/bin/stat -> busybox
/bin/sysctl -> /usr/bin/sysctl
/bin/tar -> busybox
/bin/tinylogin
/bin/touch -> busybox
/bin/true -> busybox
/bin/umount
/bin/uname -> busybox
/bin/usleep -> busybox
/bin/vi -> busybox
/bin/watch -> busybox
/bin/which -> busybox

/sbin/

/sbin/adjtimex -> ../bin/busybox
/sbin/arp -> ../bin/busybox
/sbin/dosfsck -> fsck.fat
/sbin/fsck -> ../bin/busybox
/sbin/fsck.fat
/sbin/fsck.msdos -> fsck.fat
/sbin/fsck.vfat -> fsck.fat
/sbin/getty -> ../bin/busybox
/sbin/ifconfig -> ../bin/busybox
/sbin/ifenslave -> ../bin/busybox
/sbin/init -> ../bin/busybox
/sbin/logread -> ../bin/busybox
/sbin/losetup -> ../bin/busybox
/sbin/mdev
/sbin/mkswap -> ../bin/busybox
/sbin/modprobe -> ../bin/busybox
/sbin/pivot_root -> ../bin/busybox
/sbin/poweroff -> ../bin/busybox
/sbin/route -> ../bin/busybox
/sbin/swapoff -> ../bin/busybox
/sbin/swapon -> ../bin/busybox
/sbin/sysctl -> /usr/bin/sysctl
/sbin/syslogd -> ../bin/busybox
/sbin/udhcpc -> ../bin/busybox
/sbin/vconfig -> ../bin/busybox
/sbin/zcip -> ../bin/busybox

/usr/bin/

/usr/bin/acpi_listen -> /usr/local/modules/bin/acpi_listen
/usr/bin/ar -> ../../bin/busybox
/usr/bin/arping -> ../../bin/busybox
/usr/bin/atop -> /usr/local/modules/bin/atop
/usr/bin/atopacctd -> /usr/local/modules/bin/atopacctd
/usr/bin/atopsar -> /usr/local/modules/bin/atopsar
/usr/bin/avahi-browse -> /usr/local/modules/bin/avahi-browse
/usr/bin/avahi-daemon -> /usr/local/modules/bin/avahi-daemon
/usr/bin/awk -> ../../bin/busybox
/usr/bin/badblocks -> /usr/local/modules/bin/badblocks
/usr/bin/basename -> ../../bin/busybox
/usr/bin/blkdiscard -> /usr/local/modules/bin/blkdiscard
/usr/bin/blockdev -> /usr/local/modules/bin/blockdev
/usr/bin/chfn -> /usr/local/modules/bin/chfn
/usr/bin/clear -> ../../bin/busybox
/usr/bin/cmp -> ../../bin/busybox
/usr/bin/cp -> /usr/local/modules/bin/cp
/usr/bin/crontab -> ../../bin/busybox
/usr/bin/curl -> /usr/local/modules/bin/curl
/usr/bin/cut -> ../../bin/busybox
/usr/bin/dbus-daemon -> /usr/local/modules/bin/dbus-daemon
/usr/bin/dbus-uuidgen -> /usr/local/modules/bin/dbus-uuidgen
/usr/bin/detect_char_encode -> /usr/local/modules/bin/detect_char_encode
/usr/bin/dhcp6c -> /usr/local/modules/bin/dhcp6c
/usr/bin/dhcp6ctl -> /usr/local/modules/bin/dhcp6ctl
/usr/bin/diff -> ../../bin/busybox
/usr/bin/dirname -> ../../bin/busybox
/usr/bin/djpeg -> /usr/local/modules/bin/djpeg
/usr/bin/dos2unix -> ../../bin/busybox
/usr/bin/dpkg -> ../../bin/busybox
/usr/bin/du -> /usr/local/modules/bin/du
/usr/bin/dumpe2fs -> /usr/local/modules/bin/dumpe2fs
/usr/bin/dumpleases -> ../../bin/busybox
/usr/bin/env -> ../../bin/busybox
/usr/bin/expand -> ../../bin/busybox
/usr/bin/expr -> ../../bin/busybox
/usr/bin/ez-ipupdate -> /usr/local/modules/bin/ez-ipupdate
/usr/bin/flac -> /usr/local/modules/bin/flac
/usr/bin/flex -> /usr/local/modules/bin/flex
/usr/bin/free -> ../../bin/busybox
/usr/bin/fuser -> /usr/local/modules/bin/fuser
/usr/bin/gdisk -> /usr/local/modules/bin/gdisk
/usr/bin/genisoimage -> /usr/local/modules/bin/genisoimage
/usr/bin/getconf -> /usr/local/modules/bin/getconf
/usr/bin/getent -> /usr/local/modules/bin/getent
/usr/bin/getfacl -> /usr/local/modules/bin/getfacl
/usr/bin/gpasswd -> /usr/local/modules/bin/gpasswd
/usr/bin/groupmod -> /usr/local/modules/bin/groupmod
/usr/bin/gunzip -> /usr/local/modules/bin/gunzip
/usr/bin/gzip -> /usr/local/modules/bin/gzip
/usr/bin/hdparm -> /usr/local/modules/bin/hdparm
/usr/bin/head -> ../../bin/busybox
/usr/bin/i2cget -> /usr/local/modules/bin/i2cget
/usr/bin/i2cset -> /usr/local/modules/bin/i2cset
/usr/bin/id -> ../../bin/busybox
/usr/bin/insmod -> /usr/local/modules/bin/insmod
/usr/bin/iperf -> /usr/local/modules/bin/iperf
/usr/bin/iptables-xml -> /usr/local/modules/bin/iptables-xml
/usr/bin/killall -> ../../bin/busybox
/usr/bin/kinit -> /usr/local/modules/bin/kinit
/usr/bin/ldd -> /usr/local/modules/bin/ldd
/usr/bin/logger -> ../../bin/busybox
/usr/bin/logname -> ../../bin/busybox
/usr/bin/lsmod -> /usr/local/modules/bin/lsmod
/usr/bin/lsof -> /usr/local/modules/bin/lsof
/usr/bin/lspci -> ../../bin/busybox
/usr/bin/lsusb -> ../../bin/busybox
/usr/bin/lvm -> /usr/local/modules/bin/lvm
/usr/bin/md5sum -> ../../bin/busybox
/usr/bin/mdadm -> /usr/local/modules/bin/mdadm
/usr/bin/minizip -> /usr/local/modules/bin/minizip
/usr/bin/mke2fs -> /usr/local/modules/bin/mke2fs
/usr/bin/mkfifo -> ../../bin/busybox
/usr/bin/msmtp -> /usr/local/modules/bin/msmtp
/usr/bin/mt-daapd -> /usr/local/firefly/sbin/mt-daapd
/usr/bin/mutt -> /usr/local/modules/bin/mutt
/usr/bin/mysql -> /usr/local/modules/bin/mysql
/usr/bin/mysql_install_db -> /usr/local/modules/bin/mysql_install_db
/usr/bin/mysql_secure_installation -> /usr/local/modules/bin/mysql_secure_installation
/usr/bin/mysqladmin -> /usr/local/modules/bin/mysqladmin
/usr/bin/mysqld_safe -> /usr/local/modules/bin/mysqld_safe
/usr/bin/nano -> /usr/local/modules/bin/nano
/usr/bin/net -> /usr/local/modules/bin/net
/usr/bin/netstat -> /usr/local/modules/bin/netstat
/usr/bin/newgrp -> /usr/local/modules/bin/newgrp
/usr/bin/nmbd -> /usr/local/modules/bin/nmbd
/usr/bin/nmblookup -> /usr/local/modules/bin/nmblookup
/usr/bin/nohup -> ../../bin/busybox
/usr/bin/noip2 -> /usr/local/modules/bin/noip2
/usr/bin/nslookup -> ../../bin/busybox
/usr/bin/perl -> /usr/local/modules/perl5/bin/perl
/usr/bin/php -> /usr/local/modules/bin/php
/usr/bin/php-fpm -> /usr/local/modules/bin/php-fpm
/usr/bin/pkill -> /usr/local/modules/bin/pkill
/usr/bin/printf -> ../../bin/busybox
/usr/bin/pure-ftpd -> /usr/local/modules/bin/pure-ftpd
/usr/bin/pure-ftpd_s -> /usr/local/modules/bin/pure-ftpd_s
/usr/bin/python -> /usr/local/modules/python27/bin/python
/usr/bin/quotacheck -> /usr/local/modules/bin/quotacheck
/usr/bin/quotaoff -> /usr/local/modules/bin/quotaon
/usr/bin/quotaon -> /usr/local/modules/bin/quotaon
/usr/bin/readlink -> ../../bin/busybox
/usr/bin/renice -> ../../bin/busybox
/usr/bin/repquota -> /usr/local/modules/bin/repquota
/usr/bin/resize2fs -> /usr/local/modules/bin/resize2fs
/usr/bin/rmmod -> /usr/local/modules/bin/rmmod
/usr/bin/rotatelogs -> /usr/local/modules/bin/rotatelogs
/usr/bin/scp -> /usr/local/modules/bin/scp
/usr/bin/sdparm -> /usr/local/modules/bin/sdparm
/usr/bin/seq -> ../../bin/busybox
/usr/bin/setfacl -> /usr/local/modules/bin/setfacl
/usr/bin/setpci -> /usr/local/modules/bin/setpci
/usr/bin/setquota -> /usr/local/modules/bin/setquota
/usr/bin/sftp -> /usr/local/modules/bin/sftp
/usr/bin/sftp-server -> /usr/local/modules/bin/sftp-server
/usr/bin/sg_inq -> /usr/local/modules/bin/sg_inq
/usr/bin/sg_sat_identify -> /usr/local/modules/bin/sg_sat_identify
/usr/bin/sg_sat_set_features -> /usr/local/modules/bin/sg_sat_set_features
/usr/bin/sg_scan -> /usr/local/modules/bin/sg_scan
/usr/bin/smartctl -> /usr/local/modules/bin/smartctl
/usr/bin/smbclient -> /usr/local/modules/bin/smbclient
/usr/bin/smbd -> /usr/local/modules/bin/smbd
/usr/bin/smbpasswd -> /usr/local/modules/bin/smbpasswd
/usr/bin/snmpd -> /usr/local/modules/bin/snmpd
/usr/bin/snmpget -> /usr/local/modules/bin/snmpget
/usr/bin/snmptranslate -> /usr/local/modules/bin/snmptranslate
/usr/bin/snmptrap -> /usr/local/modules/bin/snmptrap
/usr/bin/snmpwalk -> /usr/local/modules/bin/snmpwalk
/usr/bin/sort -> ../../bin/busybox
/usr/bin/split -> ../../bin/busybox
/usr/bin/ssh -> /usr/local/modules/bin/ssh
/usr/bin/ssh-keygen -> /usr/local/modules/bin/ssh-keygen
/usr/bin/sudo -> /usr/local/modules/bin/sudo
/usr/bin/sysctl -> /usr/local/modules/bin/sysctl
/usr/bin/tac -> ../../bin/busybox
/usr/bin/tail -> ../../bin/busybox
/usr/bin/tcpdump -> /usr/local/modules/bin/tcpdump
/usr/bin/tee -> ../../bin/busybox
/usr/bin/testparm -> /usr/local/modules/bin/testparm
/usr/bin/tftp -> ../../bin/busybox
/usr/bin/tftpd -> ../../bin/busybox
/usr/bin/top -> ../../bin/busybox
/usr/bin/tr -> ../../bin/busybox
/usr/bin/traceroute -> ../../bin/busybox
/usr/bin/traceroute6 -> ../../bin/busybox
/usr/bin/tty -> ../../bin/busybox
/usr/bin/tune2fs -> /usr/local/modules/bin/tune2fs
/usr/bin/uniq -> ../../bin/busybox
/usr/bin/unix2dos -> ../../bin/busybox
/usr/bin/unlink -> /usr/local/modules/bin/unlink
/usr/bin/unzip -> /usr/local/modules/bin/unzip
/usr/bin/upnp_nas_device -> /usr/local/modules/bin/upnp_nas_device
/usr/bin/uptime -> ../../bin/busybox
/usr/bin/userdel -> /usr/local/modules/bin/userdel
/usr/bin/usermod -> /usr/local/modules/bin/usermod
/usr/bin/utelnetd -> /usr/local/modules/bin/utelnetd
/usr/bin/visudo -> /usr/local/modules/bin/visudo
/usr/bin/wavstreamer -> /usr/local/firefly/bin/wavstreamer
/usr/bin/wbinfo -> /usr/local/modules/bin/wbinfo
/usr/bin/wc -> ../../bin/busybox
/usr/bin/wget -> /usr/local/modules/bin/wget
/usr/bin/winbindd -> /usr/local/modules/bin/winbindd
/usr/bin/xargs -> ../../bin/busybox
/usr/bin/zip -> /usr/local/modules/bin/zip

#303

The My Cloud (OS3) PR4100 core system files from a live system, part 2 of 3. Symlinks are used extensively due to the use of Busybox and the SquashFS read-only root filesystem stored in RAM. Dependencies and libraries excluded for clarity.

/usr/sbin/

/usr/sbin/802_3az.sh -> /usr/local/modules/script/802_3az.sh
/usr/sbin/Network_UPS -> /usr/local/modules/usrsbin/Network_UPS
/usr/sbin/SetDate -> /usr/local/modules/usrsbin/SetDate
/usr/sbin/SetTimeZone -> /usr/local/modules/usrsbin/SetTimeZone
/usr/sbin/UPS_Setting -> /usr/local/modules/usrsbin/UPS_Setting
/usr/sbin/access_mtd -> /usr/local/modules/usrsbin/access_mtd
/usr/sbin/account -> /usr/local/modules/usrsbin/account
/usr/sbin/account_mgr -> /usr/local/modules/usrsbin/account_mgr
/usr/sbin/acpid -> /usr/local/modules/sbin/acpid
/usr/sbin/ad -> /usr/local/modules/sbin/ad
/usr/sbin/afp -> /usr/local/modules/script/afp
/usr/sbin/afpcmd -> /usr/local/modules/usrsbin/afpcmd
/usr/sbin/afpcom -> /usr/local/modules/usrsbin/afpcom
/usr/sbin/afpd -> /usr/local/modules/sbin/afpd
/usr/sbin/alert_led.sh -> /usr/local/modules/script/alert_led.sh
/usr/sbin/alert_test -> /usr/local/modules/usrsbin/alert_test
/usr/sbin/allow_all_hdd.sh -> /usr/local/modules/script/allow_all_hdd.sh
/usr/sbin/alphaAlert.sh -> /usr/local/modules/usrsbin/alphaAlert.sh
/usr/sbin/apache -> /usr/local/modules/script/apache
/usr/sbin/apkg -> /usr/local/modules/usrsbin/apkg
/usr/sbin/apkg_favorite -> /usr/local/modules/usrsbin/apkg_favorite
/usr/sbin/apollo -> /usr/local/modules/usrsbin/apollo
/usr/sbin/apps_beta -> /usr/local/modules/usrsbin/apps_beta
/usr/sbin/auto_clear_recycle_bin.sh -> /usr/local/modules/script/auto_clear_recycle_bin.sh
/usr/sbin/auto_fw -> /usr/local/modules/usrsbin/auto_fw
/usr/sbin/avahi_restart -> /usr/local/modules/script/avahi_restart
/usr/sbin/avahi_tm_serv -> /usr/local/modules/usrsbin/avahi_tm_serv
/usr/sbin/before_system_ready.sh -> /usr/local/modules/script/before_system_ready.sh
/usr/sbin/bonding.sh -> /usr/local/modules/script/bonding.sh
/usr/sbin/btrfs -> /usr/local/modules/sbin/btrfs
/usr/sbin/cgroup_cpu.sh -> /usr/local/modules/script/cgroup_cpu.sh
/usr/sbin/cgroupfs-mount -> /usr/local/modules/script/cgroupfs-mount
/usr/sbin/cgroupfs-umount -> /usr/local/modules/script/cgroupfs-umount
/usr/sbin/chk_blockip -> /usr/local/modules/usrsbin/chk_blockip
/usr/sbin/chk_fw_ver -> /usr/local/modules/usrsbin/chk_fw_ver
/usr/sbin/chk_hotplug -> /usr/local/modules/usrsbin/chk_hotplug
/usr/sbin/chk_image
/usr/sbin/chk_io -> /usr/local/modules/usrsbin/chk_io
/usr/sbin/chk_quota -> /usr/local/modules/usrsbin/chk_quota
/usr/sbin/chk_sata -> /usr/local/modules/usrsbin/chk_sata
/usr/sbin/chk_timezone.sh -> /usr/local/modules/script/chk_timezone.sh
/usr/sbin/chk_update_firmware -> /usr/local/modules/usrsbin/chk_update_firmware
/usr/sbin/chk_usbdev -> /usr/local/modules/usrsbin/chk_usbdev
/usr/sbin/chk_wfs_download -> /usr/local/modules/usrsbin/chk_wfs_download
/usr/sbin/chroot -> ../../bin/busybox
/usr/sbin/cnid_dbd -> /usr/local/modules/sbin/cnid_dbd
/usr/sbin/cnid_metad -> /usr/local/modules/sbin/cnid_metad
/usr/sbin/compare_image.sh -> /usr/local/modules/script/compare_image.sh
/usr/sbin/config_set -> /usr/local/modules/usrsbin/config_set
/usr/sbin/creat_perl_link.sh -> /usr/local/modules/script/creat_perl_link.sh
/usr/sbin/crond -> ../../bin/busybox
/usr/sbin/cryptsetup -> /usr/local/modules/sbin/cryptsetup
/usr/sbin/daily_log_upload.sh -> /usr/local/modules/script/daily_log_upload.sh
/usr/sbin/ddns-start -> /usr/local/modules/usrsbin/ddns-start
/usr/sbin/default.script -> /usr/local/modules/script/default.script
/usr/sbin/del_apkg -> /usr/local/modules/usrsbin/del_apkg
/usr/sbin/deleteDeviceInfo.sh -> /usr/local/modules/script/deleteDeviceInfo.sh
/usr/sbin/dhcp6c.sh -> /usr/local/modules/script/dhcp6c.sh
/usr/sbin/dhcprelay -> ../../bin/busybox
/usr/sbin/disk_chk -> /usr/local/modules/usrsbin/disk_chk
/usr/sbin/disk_monitor.sh -> /usr/local/modules/usrsbin/disk_monitor.sh
/usr/sbin/diskmgr -> /usr/local/modules/usrsbin/diskmgr
/usr/sbin/dmidecode -> /usr/local/modules/sbin/dmidecode
/usr/sbin/dmsetup -> /usr/local/modules/sbin/dmsetup
/usr/sbin/do_printer_ups.sh -> /usr/local/modules/script/do_printer_ups.sh
/usr/sbin/do_printer_ups_kernel_3240.sh -> /usr/local/modules/script/do_printer_ups_kernel_3240.sh
/usr/sbin/do_reboot -> /usr/local/modules/usrsbin/do_reboot
/usr/sbin/docker -> /usr/local/modules/usrsbin/docker
/usr/sbin/docker_daemon.sh -> /usr/local/modules/script/docker_daemon.sh
/usr/sbin/dosfslabel -> /usr/local/modules/sbin/dosfslabel
/usr/sbin/drive_sleep.sh -> /usr/local/modules/script/drive_sleep.sh
/usr/sbin/e2igrow -> /usr/local/modules/usrsbin/e2igrow
/usr/sbin/elephant_drive -> /usr/local/modules/usrsbin/elephant_drive
/usr/sbin/elephantdrive -> /usr/local/modules/sbin/elephantdrive
/usr/sbin/elephantdriveDaemon -> /usr/local/modules/sbin/elephantdriveDaemon
/usr/sbin/ethtool -> /usr/local/modules/sbin/ethtool
/usr/sbin/expire.sh -> /usr/local/modules/script/expire.sh
/usr/sbin/exportfs -> /usr/local/modules/sbin/exportfs
/usr/sbin/ext4_lazy_init.sh -> /usr/local/modules/script/ext4_lazy_init.sh
/usr/sbin/fan_control -> /usr/local/modules/usrsbin/fan_control
/usr/sbin/fatlabel -> /usr/local/modules/sbin/fatlabel
/usr/sbin/fireAlert -> /usr/local/modules/usrsbin/fireAlert
/usr/sbin/fix_wd_config.sh -> /usr/local/modules/script/fix_wd_config.sh
/usr/sbin/fsort -> /usr/local/modules/usrsbin/fsort
/usr/sbin/ftp -> /usr/local/modules/usrsbin/ftp
/usr/sbin/ftp_download -> /usr/local/modules/usrsbin/ftp_download
/usr/sbin/ftpcom -> /usr/local/modules/usrsbin/ftpcom
/usr/sbin/fusermount -> /usr/local/modules/sbin/fusermount
/usr/sbin/fvc -> /usr/local/modules/usrsbin/fvc
/usr/sbin/fw_update_chk.sh -> /usr/local/modules/script/fw_update_chk.sh
/usr/sbin/fw_upgrade -> /usr/local/modules/script/fw_upgrade
/usr/sbin/ga_cron.sh -> /usr/local/modules/usrsbin/ga_cron.sh
/usr/sbin/ganalytics -> /usr/local/modules/usrsbin/ganalytics
/usr/sbin/getHddWhiteList.sh -> /usr/local/modules/script/getHddWhiteList.sh
/usr/sbin/getIPv6Address.sh -> /usr/local/modules/script/getIPv6Address.sh
/usr/sbin/get_parent_info.sh -> /usr/local/modules/script/get_parent_info.sh
/usr/sbin/get_suffix_product.sh -> /usr/local/modules/script/get_suffix_product.sh
/usr/sbin/getexip -> /usr/local/modules/usrsbin/getexip
/usr/sbin/getinfo -> /usr/local/modules/usrsbin/getinfo
/usr/sbin/gphoto2 -> /usr/local/modules/sbin/gphoto2
/usr/sbin/halt -> /usr/local/modules/usrsbin/halt
/usr/sbin/hardware_init.sh -> /usr/local/modules/script/hardware_init.sh
/usr/sbin/hdVerify -> /usr/local/modules/usrsbin/hdVerify
/usr/sbin/hd_standby.sh -> /usr/local/modules/script/hd_standby.sh
/usr/sbin/hiddenumount -> /usr/local/modules/usrsbin/hiddenumount
/usr/sbin/hotPlug.sh -> /usr/local/modules/script/hotPlug.sh
/usr/sbin/htpasswd -> /usr/local/modules/sbin/htpasswd
/usr/sbin/httpd -> /usr/local/modules/sbin/httpd
/usr/sbin/hwclock -> /usr/local/modules/sbin/hwclock
/usr/sbin/immediately_shutdown.sh -> /usr/local/modules/script/immediately_shutdown.sh
/usr/sbin/info.sh -> /usr/local/modules/script/info.sh
/usr/sbin/init_dir.sh -> /usr/local/modules/script/init_dir.sh
/usr/sbin/inode_growth.sh -> /usr/local/modules/script/inode_growth.sh
/usr/sbin/install_twonky.sh -> /usr/local/modules/script/install_twonky.sh
/usr/sbin/internal_backup -> /usr/local/modules/usrsbin/internal_backup
/usr/sbin/iostat -> /usr/local/modules/sbin/iostat
/usr/sbin/ip -> /usr/local/modules/sbin/ip
/usr/sbin/ip.sh -> /usr/local/modules/script/ip.sh
/usr/sbin/ip6tables -> /usr/local/modules/usrsbin/ip6tables
/usr/sbin/ip6tables-restore -> /usr/local/modules/usrsbin/ip6tables-restore
/usr/sbin/ip6tables-save -> /usr/local/modules/usrsbin/ip6tables-save
/usr/sbin/iptables -> /usr/local/modules/usrsbin/iptables
/usr/sbin/iptables-restore -> /usr/local/modules/usrsbin/iptables-restore
/usr/sbin/iptables-save -> /usr/local/modules/usrsbin/iptables-save
/usr/sbin/ipv6.sh -> /usr/local/modules/script/ipv6.sh
/usr/sbin/ipv6_install.sh -> /usr/local/modules/script/ipv6_install.sh
/usr/sbin/isEnhancedLoggingEnabled.sh -> /usr/local/modules/script/isEnhancedLoggingEnabled.sh
/usr/sbin/iscsiadm -> /usr/local/modules/usrsbin/iscsiadm
/usr/sbin/iscsictl -> /usr/local/modules/usrsbin/iscsictl
/usr/sbin/iscsid -> /usr/local/modules/usrsbin/iscsid
/usr/sbin/isnsctl -> /usr/local/modules/usrsbin/isnsctl
/usr/sbin/isoMountIf -> /usr/local/modules/usrsbin/isoMountIf
/usr/sbin/iso_mount -> /usr/local/modules/usrsbin/iso_mount
/usr/sbin/itune_tool -> /usr/local/modules/usrsbin/itune_tool
/usr/sbin/itunes.sh -> /usr/local/modules/script/itunes.sh
/usr/sbin/jhead -> /usr/local/modules/sbin/jhead
/usr/sbin/kacpimon -> /usr/local/modules/sbin/kacpimon
/usr/sbin/kill_process.sh -> /usr/local/modules/script/kill_process.sh
/usr/sbin/kill_running_process -> /usr/local/modules/script/kill_running_process
/usr/sbin/klogd -> /usr/local/modules/sbin/klogd
/usr/sbin/language.sh -> /usr/local/modules/script/language.sh
/usr/sbin/ldconfig -> /usr/local/modules/sbin/ldconfig
/usr/sbin/led -> /usr/local/modules/usrsbin/led
/usr/sbin/libemmc -> /usr/local/modules/usrsbin/libemmc
/usr/sbin/lighty -> /usr/local/modules/script/lighty
/usr/sbin/lighty_check_function.sh -> /usr/local/modules/script/lighty_check_function.sh
/usr/sbin/lighty_ssl -> /usr/local/modules/usrsbin/lighty_ssl
/usr/sbin/linkfile
/usr/sbin/lld2d -> /usr/local/modules/sbin/lld2d
/usr/sbin/lltd.sh -> /usr/local/modules/script/lltd.sh
/usr/sbin/load_default -> /usr/local/modules/script/load_default
/usr/sbin/load_module -> /usr/local/modules/script/load_module
/usr/sbin/loadphp -> /usr/local/modules/usrsbin/loadphp
/usr/sbin/locale -> /usr/local/modules/sbin/locale
/usr/sbin/localedef -> /usr/local/modules/sbin/localedef
/usr/sbin/log_conf -> /usr/local/modules/usrsbin/log_conf
/usr/sbin/log_copy.sh -> /usr/local/modules/script/log_copy.sh
/usr/sbin/logwdmsg -> /usr/local/modules/usrsbin/logwdmsg
/usr/sbin/mac_read -> /usr/local/modules/usrsbin/mac_read
/usr/sbin/mac_write -> /usr/local/modules/usrsbin/mac_write
/usr/sbin/mail_daemon -> /usr/local/modules/usrsbin/mail_daemon
/usr/sbin/maild -> /usr/local/modules/script/maild
/usr/sbin/make_auth.sh -> /usr/local/modules/script/make_auth.sh
/usr/sbin/makedav -> /usr/local/modules/usrsbin/makedav
/usr/sbin/md_sync_speed.sh -> /usr/local/modules/script/md_sync_speed.sh
/usr/sbin/media_analytics.sh -> /usr/local/modules/script/media_analytics.sh
/usr/sbin/mem_rw -> /usr/local/modules/usrsbin/mem_rw
/usr/sbin/memory_rw
/usr/sbin/mfg_start -> /usr/local/modules/usrsbin/mfg_start
/usr/sbin/mkdosfs -> /usr/local/modules/sbin/mkdosfs
/usr/sbin/mkfs.btrfs -> /usr/local/modules/sbin/mkfs.btrfs
/usr/sbin/mkfs.ext4 -> /usr/bin/mke2fs
/usr/sbin/mkfs.fat -> /usr/local/modules/sbin/mkfs.fat
/usr/sbin/mkfs.msdos -> /usr/local/modules/sbin/mkfs.msdos
/usr/sbin/mkfs.vfat -> /usr/local/modules/sbin/mkfs.vfat
/usr/sbin/mnotify.sh -> /usr/local/modules/script/mnotify.sh
/usr/sbin/modPhpTimeZone.sh -> /usr/local/modules/script/modPhpTimeZone.sh
/usr/sbin/modify_alert_email_config.sh -> /usr/local/modules/script/modify_alert_email_config.sh
/usr/sbin/mount_config.sh -> /usr/local/modules/script/mount_config.sh
/usr/sbin/mpstat -> /usr/local/modules/sbin/mpstat
/usr/sbin/mserver -> /usr/local/modules/usrsbin/mserver
/usr/sbin/msw
/usr/sbin/mtd_check -> /usr/local/modules/usrsbin/mtd_check
/usr/sbin/mtp_backup -> /usr/local/modules/usrsbin/mtp_backup
/usr/sbin/mtp_init.sh -> /usr/local/modules/script/mtp_init.sh
/usr/sbin/mtp_share -> /usr/local/modules/usrsbin/mtp_share
/usr/sbin/mycloud_reloadConfig -> /usr/local/modules/usrsbin/mycloud_reloadConfig
/usr/sbin/mymusic -> /usr/local/modules/usrsbin/mymusic
/usr/sbin/myphoto -> /usr/local/modules/usrsbin/myphoto
/usr/sbin/mysqlmgr -> /usr/local/modules/usrsbin/mysqlmgr
/usr/sbin/netatalk -> /usr/local/modules/sbin/netatalk
/usr/sbin/network -> /usr/local/modules/usrsbin/network
/usr/sbin/newp2p -> /usr/local/modules/usrsbin/newp2p
/usr/sbin/nfs -> /usr/local/modules/script/nfs
/usr/sbin/nfs_config -> /usr/local/modules/usrsbin/nfs_config
/usr/sbin/nfs_usb -> /usr/local/modules/usrsbin/nfs_usb
/usr/sbin/offl_chk -> /usr/local/modules/usrsbin/offl_chk
/usr/sbin/openssl -> /usr/local/modules/sbin/openssl
/usr/sbin/openvpn -> /usr/local/modules/sbin/openvpn
/usr/sbin/p2p.sh -> /usr/local/modules/script/p2p.sh
/usr/sbin/p2p_dog.sh -> /usr/local/modules/usrsbin/p2p_dog.sh
/usr/sbin/p2p_done_script.sh -> /usr/local/modules/script/p2p_done_script.sh
/usr/sbin/p2p_send_mail -> /usr/local/modules/usrsbin/p2p_send_mail
/usr/sbin/pidstat -> /usr/local/modules/sbin/pidstat
/usr/sbin/portforwarding.sh -> /usr/local/modules/script/portforwarding.sh
/usr/sbin/post_fwinst.sh -> /usr/local/modules/script/post_fwinst.sh
/usr/sbin/power_off_scheduling -> /usr/local/modules/usrsbin/power_off_scheduling
/usr/sbin/pp_fwinst_cmd.sh -> /usr/local/modules/script/pp_fwinst_cmd.sh
/usr/sbin/pre_fwinst.sh -> /usr/local/modules/script/pre_fwinst.sh
/usr/sbin/pre_usb.sh -> /usr/local/modules/script/pre_usb.sh
/usr/sbin/prealloc -> /usr/local/modules/usrsbin/prealloc
/usr/sbin/print-camera-list -> /usr/local/modules/sbin/print-camera-list
/usr/sbin/prtrscan -> /usr/local/modules/usrsbin/prtrscan
/usr/sbin/quota_monitor -> /usr/local/modules/usrsbin/quota_monitor
/usr/sbin/quota_set -> /usr/local/modules/usrsbin/quota_set
/usr/sbin/quota_tab_backup -> /usr/local/modules/usrsbin/quota_tab_backup
/usr/sbin/raid_config -> /usr/bin/diskmgr
/usr/sbin/raid_expand -> /usr/bin/diskmgr
/usr/sbin/raid_expand_disks -> /usr/bin/diskmgr
/usr/sbin/raid_update_info -> /usr/bin/diskmgr
/usr/sbin/raidsync -> /usr/local/modules/script/raidsync
/usr/sbin/random_check -> /usr/local/modules/usrsbin/random_check
/usr/sbin/random_chk_central -> /usr/local/modules/usrsbin/random_chk_central
/usr/sbin/rc.init.sh -> /usr/local/modules/script/rc.init.sh
/usr/sbin/rc.messagebus -> /usr/local/modules/script/rc.messagebus
/usr/sbin/rdate -> ../../bin/busybox
/usr/sbin/read_hidden_encryption -> /usr/local/modules/usrsbin/read_hidden_encryption
/usr/sbin/read_version -> /usr/local/modules/usrsbin/read_version
/usr/sbin/reboot -> /usr/local/modules/usrsbin/reboot
/usr/sbin/remote_access.sh -> /usr/local/modules/script/remote_access.sh
/usr/sbin/remove_alert -> /usr/local/modules/usrsbin/remove_alert
/usr/sbin/rescue_fw -> /usr/local/modules/usrsbin/rescue_fw
/usr/sbin/rlog -> /usr/local/modules/usrsbin/rlog
/usr/sbin/rm_log_account_info.sh -> /usr/local/modules/script/rm_log_account_info.sh
/usr/sbin/rpc.mountd -> /usr/local/modules/sbin/rpc.mountd
/usr/sbin/rpc.nfsd -> /usr/local/modules/sbin/rpc.nfsd
/usr/sbin/rpc.statd -> /usr/local/modules/sbin/rpc.statd
/usr/sbin/rpcbind -> /usr/local/modules/sbin/rpcbind
/usr/sbin/rpcinfo -> /usr/local/modules/sbin/rpcinfo
/usr/sbin/rsnapshot -> /usr/local/modules/script/rsnapshot
/usr/sbin/rsync -> /usr/local/modules/sbin/rsync
/usr/sbin/rsyncmd -> /usr/local/modules/usrsbin/rsyncmd
/usr/sbin/rsyncmd.sh -> /usr/local/modules/script/rsyncmd.sh
/usr/sbin/rsyncom -> /usr/local/modules/usrsbin/rsyncom
/usr/sbin/rt_script.sh -> /usr/local/modules/script/rt_script.sh
/usr/sbin/rtc -> /usr/local/modules/usrsbin/rtc
/usr/sbin/run_ssl_cert_job.sh -> /usr/local/modules/script/run_ssl_cert_job.sh
/usr/sbin/run_wget -> /usr/local/modules/script/run_wget
/usr/sbin/s3 -> /usr/local/modules/usrsbin/s3
/usr/sbin/sadc -> /usr/local/modules/sbin/sadc
/usr/sbin/safe_mode.sh -> /usr/local/modules/script/safe_mode.sh
/usr/sbin/samba_tmpfs.sh -> /usr/local/modules/script/samba_tmpfs.sh
/usr/sbin/sar -> /usr/local/modules/sbin/sar
/usr/sbin/sata_disk -> /usr/local/modules/usrsbin/sata_disk
/usr/sbin/sata_power.sh -> /usr/local/modules/script/sata_power.sh
/usr/sbin/sata_pwr_ctl -> /usr/local/modules/usrsbin/sata_pwr_ctl
/usr/sbin/sataumount -> /usr/local/modules/usrsbin/sataumount
/usr/sbin/save_alert_email_config.sh -> /usr/local/modules/script/save_alert_email_config.sh
/usr/sbin/save_mtd -> /usr/local/modules/usrsbin/save_mtd
/usr/sbin/scandisk -> /usr/local/modules/usrsbin/scandisk
/usr/sbin/scheddler -> /usr/local/modules/usrsbin/scheddler
/usr/sbin/schedule_poweron -> /usr/local/modules/usrsbin/schedule_poweron
/usr/sbin/send_gen_mail -> /usr/local/modules/usrsbin/send_gen_mail
/usr/sbin/send_sms -> /usr/local/modules/usrsbin/send_sms
/usr/sbin/set_ddns -> /usr/local/modules/script/set_ddns
/usr/sbin/set_jumbo_frame.sh -> /usr/local/modules/script/set_jumbo_frame.sh
/usr/sbin/set_lan_speed -> /usr/local/modules/usrsbin/set_lan_speed
/usr/sbin/set_pwm -> /usr/local/modules/usrsbin/set_pwm
/usr/sbin/set_wol -> /usr/local/modules/usrsbin/set_wol
/usr/sbin/sevcd -> /usr/local/modules/usrsbin/sevcd
/usr/sbin/shutdown.sh -> /usr/local/modules/script/shutdown.sh
/usr/sbin/smart_ch_hd_result -> /usr/local/modules/usrsbin/smart_ch_hd_result
/usr/sbin/smart_report -> /usr/local/modules/usrsbin/smart_report
/usr/sbin/smart_test -> /usr/local/modules/usrsbin/smart_test
/usr/sbin/smb -> /usr/local/modules/script/smb
/usr/sbin/smbac -> /usr/local/modules/usrsbin/smbac
/usr/sbin/smbcmd -> /usr/local/modules/usrsbin/smbcmd
/usr/sbin/smbcom -> /usr/local/modules/usrsbin/smbcom
/usr/sbin/smbcv -> /usr/local/modules/usrsbin/smbcv
/usr/sbin/smbgp -> /usr/local/modules/usrsbin/smbgp
/usr/sbin/smbif -> /usr/local/modules/usrsbin/smbif
/usr/sbin/smbwddb -> /usr/local/modules/usrsbin/smbwddb
/usr/sbin/snmp_tool -> /usr/local/modules/usrsbin/snmp_tool
/usr/sbin/sntp -> /usr/local/modules/sbin/sntp
/usr/sbin/sqlctl -> /usr/local/modules/usrsbin/sqlctl
/usr/sbin/sqldb -> /usr/local/modules/usrsbin/sqldb
/usr/sbin/sqlite3 -> /usr/local/modules/sbin/sqlite3
/usr/sbin/sqlsearch -> /usr/local/modules/usrsbin/sqlsearch
/usr/sbin/ssh -> /usr/local/modules/bin/ssh
/usr/sbin/ssh-keygen -> /usr/local/modules/bin/ssh-keygen
/usr/sbin/ssh_daemon -> /usr/local/modules/usrsbin/ssh_daemon
/usr/sbin/sshd -> /usr/local/modules/sbin/sshd
/usr/sbin/startup-mysql -> /usr/local/modules/usrsbin/startup-mysql
/usr/sbin/stime -> /usr/local/modules/usrsbin/stime
/usr/sbin/swapup -> /usr/local/modules/script/swapup
/usr/sbin/sync -> /usr/local/modules/script/sync
/usr/sbin/sys_diag -> /usr/local/modules/usrsbin/sys_diag
/usr/sbin/sysinfo_update.sh -> /usr/local/modules/script/sysinfo_update.sh
/usr/sbin/sysinfod -> /usr/local/modules/usrsbin/sysinfod
/usr/sbin/syslogd -> /usr/local/modules/sbin/syslogd
/usr/sbin/system_daemon -> /usr/local/modules/usrsbin/system_daemon
/usr/sbin/system_init -> /usr/local/modules/script/system_init
/usr/sbin/test-filesys -> /usr/local/modules/sbin/test-filesys
/usr/sbin/test-gp-port -> /usr/local/modules/sbin/test-gp-port
/usr/sbin/test-gphoto2 -> /usr/local/modules/sbin/test-gphoto2
/usr/sbin/testlibshare -> /usr/local/modules/usrsbin/testlibshare
/usr/sbin/tool_emmc -> /usr/local/modules/usrsbin/tool_emmc
/usr/sbin/traceroute_wd.sh -> /usr/local/modules/script/traceroute_wd.sh
/usr/sbin/transmission-daemon -> /usr/local/modules/sbin/transmission-daemon
/usr/sbin/transmission-remote -> /usr/local/modules/sbin/transmission-remote
/usr/sbin/truncate -> /usr/local/modules/sbin/truncate
/usr/sbin/tunl_broker.sh -> /usr/local/modules/script/tunl_broker.sh
/usr/sbin/twonky.sh -> /usr/local/twonky/twonky.sh
/usr/sbin/twonky_analytics.sh -> /usr/local/modules/script/twonky_analytics.sh
/usr/sbin/twonky_rebuild.sh -> /usr/local/modules/script/twonky_rebuild.sh
/usr/sbin/twonky_reset.sh -> /usr/local/modules/script/twonky_reset.sh
/usr/sbin/udhcpd -> ../../bin/busybox
/usr/sbin/umount.sh -> /usr/local/modules/script/umount.sh
/usr/sbin/umount_config.sh -> /usr/local/modules/script/umount_config.sh
/usr/sbin/umount_dev.sh -> /usr/local/modules/script/umount_dev.sh
/usr/sbin/unload_usb_storage_driver.sh -> /usr/local/modules/script/unload_usb_storage_driver.sh
/usr/sbin/untar_backupfile.sh -> /usr/local/modules/script/untar_backupfile.sh
/usr/sbin/up_send_ctl -> /usr/local/modules/usrsbin/up_send_ctl
/usr/sbin/up_send_init_info -> /usr/local/modules/usrsbin/up_send_init_info
/usr/sbin/updateHdState -> /usr/local/modules/usrsbin/updateHdState
/usr/sbin/updateMountStatus -> /usr/local/modules/usrsbin/updateMountStatus
/usr/sbin/updateWDDatabase -> /usr/local/modules/usrsbin/updateWDDatabase
/usr/sbin/update_image.sh -> /usr/local/modules/script/update_image.sh
/usr/sbin/update_timezone_config.sh -> /usr/local/modules/script/update_timezone_config.sh
/usr/sbin/update_usb_volume_database.sh -> /usr/local/modules/script/update_usb_volume_database.sh
/usr/sbin/upload_apkg -> /usr/local/modules/usrsbin/upload_apkg
/usr/sbin/upload_firmware -> /usr/local/modules/usrsbin/upload_firmware
/usr/sbin/upnp_igdctrl -> /usr/local/modules/usrsbin/upnp_igdctrl
/usr/sbin/upnp_nas_xml -> /usr/local/modules/usrsbin/upnp_nas_xml
/usr/sbin/upnpnas.sh -> /usr/local/modules/script/upnpnas.sh
/usr/sbin/ups_action.sh -> /usr/local/modules/script/ups_action.sh
/usr/sbin/ups_info -> /usr/local/modules/usrsbin/ups_info
/usr/sbin/upsc -> /usr/local/modules/sbin/upsc
/usr/sbin/upscan -> /usr/local/modules/usrsbin/upscan
/usr/sbin/upscmd -> /usr/local/modules/sbin/upscmd
/usr/sbin/upsd -> /usr/local/modules/sbin/upsd
/usr/sbin/upsdrvctl -> /usr/local/modules/sbin/upsdrvctl
/usr/sbin/upsmon -> /usr/local/modules/sbin/upsmon
/usr/sbin/upssched -> /usr/local/modules/sbin/upssched
/usr/sbin/upssched-cmd -> /usr/local/modules/script/upssched-cmd
/usr/sbin/usb_backup -> /usr/local/modules/usrsbin/usb_backup
/usr/sbin/usb_disk -> /usr/local/modules/usrsbin/usb_disk
/usr/sbin/usb_power.sh -> /usr/local/modules/script/usb_power.sh
/usr/sbin/usb_probe -> /usr/local/modules/usrsbin/usb_probe
/usr/sbin/usbmount -> /usr/local/modules/usrsbin/usbmount
/usr/sbin/usbreset -> /usr/local/modules/usrsbin/usbreset
/usr/sbin/usbumount -> /usr/local/modules/usrsbin/usbumount
/usr/sbin/ve_ctl -> /usr/local/modules/usrsbin/ve_ctl
/usr/sbin/vlan.sh -> /usr/local/modules/script/vlan.sh
/usr/sbin/volume_stop.sh -> /usr/local/modules/script/volume_stop.sh
/usr/sbin/vvctl -> /usr/local/modules/usrsbin/vvctl
/usr/sbin/wakehd.sh -> /usr/local/modules/script/wakehd.sh
/usr/sbin/wd_compinit -> /usr/local/modules/usrsbin/wd_compinit
/usr/sbin/wd_crontab.sh -> /usr/local/modules/script/wd_crontab.sh
/usr/sbin/wd_read_serial -> /usr/local/modules/usrsbin/wd_read_serial
/usr/sbin/wd_rotate.sh -> /usr/local/modules/script/wd_rotate.sh
/usr/sbin/wd_set_ip -> /usr/local/modules/usrsbin/wd_set_ip
/usr/sbin/wd_write_serial -> /usr/local/modules/usrsbin/wd_write_serial
/usr/sbin/wdappmgr -> /usr/local/modules/usrsbin/wdappmgr
/usr/sbin/wdappmgr_auto_start.py -> /usr/local/modules/script/wdappmgr_auto_start.py
/usr/sbin/wdappmgr_cli.sh -> /usr/local/modules/script/wdappmgr_cli.sh
/usr/sbin/wdappmgr_log_stats.py -> /usr/local/modules/script/wdappmgr_log_stats.py
/usr/sbin/wdlcd_sub_daemon -> /usr/local/modules/usrsbin/wdlcd_sub_daemon
/usr/sbin/wdlcd_sub_daemon_ctl -> /usr/local/modules/usrsbin/wdlcd_sub_daemon_ctl
/usr/sbin/wdlcd_sub_init_info -> /usr/local/modules/usrsbin/wdlcd_sub_init_info
/usr/sbin/wipeit -> /usr/local/modules/usrsbin/wipeit
/usr/sbin/wto -> /usr/local/modules/usrsbin/wto
/usr/sbin/xmldb -> /usr/local/modules/sbin/xmldb
/usr/sbin/xmldbc -> /usr/local/modules/sbin/xmldb
/usr/sbin/xtables-multi -> /usr/local/modules/usrsbin/xtables-multi
/usr/sbin/zcip.script -> /usr/local/modules/script/zcip.script
/usr/sbin/zip_system_log.sh -> /usr/local/modules/script/zip_system_log.sh
/usr/sbin/zoneinfo -> /usr/local/modules/zoneinfo

#304

The My Cloud (OS3) PR4100 core system files from a live system, part 3 of 3. Symlinks are used extensively due to the use of Busybox and the SquashFS read-only root filesystem stored in RAM. Dependencies and libraries excluded for clarity.

/usr/local/bin/

/usr/local/bin/onbrdnetloccomm -> /usr/local/modules/localbin/onbrdnetloccomm
/usr/local/bin/ps -> /usr/local/modules/localbin/ps
/usr/local/bin/top -> /usr/local/modules/localbin/top
/usr/local/bin/wdlog -> /usr/local/modules/localbin/wdlog
/usr/local/bin/wdnotifier -> /usr/local/modules/localbin/wdnotifier

/usr/local/sbin/

/usr/local/sbin/20-checkRAID.sh -> /usr/local/modules/localsbin/20-checkRAID.sh
/usr/local/sbin/CheckRequiredCommands.sh -> /usr/local/modules/localsbin/CheckRequiredCommands.sh
/usr/local/sbin/CheckRequiredSystemDirectories.sh -> /usr/local/modules/localsbin/CheckRequiredSystemDirectories.sh
/usr/local/sbin/GoProFin.py -> /usr/local/modules/localsbin/GoProFin.py
/usr/local/sbin/LogDataSize.sh -> /usr/local/modules/localsbin/LogDataSize.sh
/usr/local/sbin/PullWdlogConfig.sh -> /usr/local/modules/localsbin/PullWdlogConfig.sh
/usr/local/sbin/StorageSet.ini -> /usr/local/modules/localsbin/StorageSet.ini
/usr/local/sbin/StorageTrans.py -> /usr/local/modules/localsbin/StorageTrans.py
/usr/local/sbin/ackAlert.sh -> /usr/local/modules/localsbin/ackAlert.sh
/usr/local/sbin/addUser.sh -> /usr/local/modules/localsbin/addUser.sh
/usr/local/sbin/addUserVendor.sh -> /usr/local/modules/localsbin/addUserVendor.sh
/usr/local/sbin/addUser_apache.sh -> /usr/local/modules/localsbin/addUser_apache.sh
/usr/local/sbin/add_device_user.sh -> /usr/local/modules/localsbin/add_device_user.sh
/usr/local/sbin/alert_email_config.sh -> /usr/local/modules/localsbin/alert_email_config.sh
/usr/local/sbin/changeOwner.sh -> /usr/local/modules/localsbin/changeOwner.sh
/usr/local/sbin/changeRunLevel.pl -> /usr/local/modules/localsbin/changeRunLevel.pl
/usr/local/sbin/checkAutoUpdate.sh -> /usr/local/modules/localsbin/checkAutoUpdate.sh
/usr/local/sbin/checkForSshLogin.sh -> /usr/local/modules/localsbin/checkForSshLogin.sh
/usr/local/sbin/cleanAlert.sh -> /usr/local/modules/localsbin/cleanAlert.sh
/usr/local/sbin/clearAlerts.sh -> /usr/local/modules/localsbin/clearAlerts.sh
/usr/local/sbin/cmdDlnaServer.sh -> /usr/local/modules/localsbin/cmdDlnaServer.sh
/usr/local/sbin/cmdMediaServer.sh -> /usr/local/modules/localsbin/cmdMediaServer.sh
/usr/local/sbin/cmdSmartTest.sh -> /usr/local/modules/localsbin/cmdSmartTest.sh
/usr/local/sbin/copyImage.sh -> /usr/local/modules/localsbin/copyImage.sh
/usr/local/sbin/copySaveSettingsToDir.sh -> /usr/local/modules/localsbin/copySaveSettingsToDir.sh
/usr/local/sbin/createAlertDb.sh -> /usr/local/modules/localsbin/createAlertDb.sh
/usr/local/sbin/createDataVolume.sh -> /usr/local/modules/localsbin/createDataVolume.sh
/usr/local/sbin/createShare.sh -> /usr/local/modules/localsbin/createShare.sh
/usr/local/sbin/createUsbSwapDrive.sh -> /usr/local/modules/localsbin/createUsbSwapDrive.sh
/usr/local/sbin/crud_share_db.sh -> /var/www/rest-api/api/Shares/src/Shares/Cli/crud_share_db.php
/usr/local/sbin/custom_booting_init.sh -> /usr/local/modules/localsbin/custom_booting_init.sh
/usr/local/sbin/custom_shutdown.sh -> /usr/local/modules/localsbin/custom_shutdown.sh
/usr/local/sbin/data-volume-config_helper.sh -> /usr/local/modules/localsbin/data-volume-config_helper.sh
/usr/local/sbin/db_init.php -> /usr/local/modules/localsbin/db_init.php
/usr/local/sbin/deleteBackup.sh -> /usr/local/modules/localsbin/deleteBackup.sh
/usr/local/sbin/deleteShare.sh -> /usr/local/modules/localsbin/deleteShare.sh
/usr/local/sbin/deleteUser.sh -> /usr/local/modules/localsbin/deleteUser.sh
/usr/local/sbin/deleteUserVendor.sh -> /usr/local/modules/localsbin/deleteUserVendor.sh
/usr/local/sbin/deleteUser_apache.sh -> /usr/local/modules/localsbin/deleteUser_apache.sh
/usr/local/sbin/disk-param.sh -> /usr/local/modules/localsbin/disk-param.sh
/usr/local/sbin/disk_monitor.sh -> /usr/local/modules/localsbin/disk_monitor.sh
/usr/local/sbin/drive_helper.sh -> /usr/local/modules/localsbin/drive_helper.sh
/usr/local/sbin/enableLocalSwap.sh -> /usr/local/modules/localsbin/enableLocalSwap.sh
/usr/local/sbin/envvars -> /usr/local/modules/localsbin/envvars
/usr/local/sbin/factoryRestore.sh -> /usr/local/modules/localsbin/factoryRestore.sh
/usr/local/sbin/formatDataVolume.sh -> /usr/local/modules/localsbin/formatDataVolume.sh
/usr/local/sbin/freshUpdateFromFile.sh -> /usr/local/modules/localsbin/freshUpdateFromFile.sh
/usr/local/sbin/genApacheAccessRules.sh -> /usr/local/modules/localsbin/genApacheAccessRules.sh
/usr/local/sbin/genApacheGroupsFile.sh -> /usr/local/modules/localsbin/genApacheGroupsFile.sh
/usr/local/sbin/genAppleVolumes.sh -> /usr/local/modules/localsbin/genAppleVolumes.sh
/usr/local/sbin/genHostsConfig.sh -> /usr/local/modules/localsbin/genHostsConfig.sh
/usr/local/sbin/genItunesConfig.sh -> /usr/local/modules/localsbin/genItunesConfig.sh
/usr/local/sbin/genMDNSResponderConfig.sh -> /usr/local/modules/localsbin/genMDNSResponderConfig.sh
/usr/local/sbin/getAcl.sh -> /usr/local/modules/localsbin/getAcl.sh
/usr/local/sbin/getAutoFirmwareUpdateConfig.sh -> /usr/local/modules/localsbin/getAutoFirmwareUpdateConfig.sh
/usr/local/sbin/getBackupModTime.sh -> /usr/local/modules/localsbin/getBackupModTime.sh
/usr/local/sbin/getBackupShareList.sh -> /usr/local/modules/localsbin/getBackupShareList.sh
/usr/local/sbin/getBackupShares.sh -> /usr/local/modules/localsbin/getBackupShares.sh
/usr/local/sbin/getBackupSize.sh -> /usr/local/modules/localsbin/getBackupSize.sh
/usr/local/sbin/getCurrentFirmwareDesc.sh -> /usr/local/modules/localsbin/getCurrentFirmwareDesc.sh
/usr/local/sbin/getDataVolumePercentUsed.sh -> /usr/local/modules/localsbin/getDataVolumePercentUsed.sh
/usr/local/sbin/getDataVolumeUsage.sh -> /usr/local/modules/localsbin/getDataVolumeUsage.sh
/usr/local/sbin/getDeviceDescription.sh -> /usr/local/modules/localsbin/getDeviceDescription.sh
/usr/local/sbin/getDeviceModelName.sh -> /usr/local/modules/localsbin/getDeviceModelName.sh
/usr/local/sbin/getDeviceName.sh -> /usr/local/modules/localsbin/getDeviceName.sh
/usr/local/sbin/getDlnaDbInfo.sh -> /usr/local/modules/localsbin/getDlnaDbInfo.sh
/usr/local/sbin/getDlnaServer.sh -> /usr/local/modules/localsbin/getDlnaServer.sh
/usr/local/sbin/getDlnaServerConnectedList.sh -> /usr/local/modules/localsbin/getDlnaServerConnectedList.sh
/usr/local/sbin/getExternalStorageScan.sh -> /usr/local/modules/localsbin/getExternalStorageScan.sh
/usr/local/sbin/getExtraNtpServer.sh -> /usr/local/modules/localsbin/getExtraNtpServer.sh
/usr/local/sbin/getFirmwareUpdateStatus.sh -> /usr/local/modules/localsbin/getFirmwareUpdateStatus.sh
/usr/local/sbin/getFixedNtpServer.sh -> /usr/local/modules/localsbin/getFixedNtpServer.sh
/usr/local/sbin/getFreeSpaceStatus.sh -> /usr/local/modules/localsbin/getFreeSpaceStatus.sh
/usr/local/sbin/getHddStandbyConfig.sh -> /usr/local/modules/localsbin/getHddStandbyConfig.sh
/usr/local/sbin/getMacAddress.sh -> /usr/local/modules/localsbin/getMacAddress.sh
/usr/local/sbin/getMediaServerConnectedList.sh -> /usr/local/modules/localsbin/getMediaServerConnectedList.sh
/usr/local/sbin/getMediaServerDbInfo.sh -> /usr/local/modules/localsbin/getMediaServerDbInfo.sh
/usr/local/sbin/getNetworkConfig.sh -> /usr/local/modules/localsbin/getNetworkConfig.sh
/usr/local/sbin/getNewFirmwareAvailable.sh -> /usr/local/modules/localsbin/getNewFirmwareAvailable.sh
/usr/local/sbin/getNewFirmwareUpgrade.sh -> /usr/local/modules/localsbin/getNewFirmwareUpgrade.sh
/usr/local/sbin/getOwner.sh -> /usr/local/modules/localsbin/getOwner.sh
/usr/local/sbin/getRaEnhancedLogs.sh -> /usr/local/modules/localsbin/getRaEnhancedLogs.sh
/usr/local/sbin/getRunLevel.pl -> /usr/local/modules/localsbin/getRunLevel.pl
/usr/local/sbin/getSaveSettingsList.sh -> /usr/local/modules/localsbin/getSaveSettingsList.sh
/usr/local/sbin/getSerialNumber.sh -> /usr/local/modules/localsbin/getSerialNumber.sh
/usr/local/sbin/getServiceStartup.sh -> /usr/local/modules/localsbin/getServiceStartup.sh
/usr/local/sbin/getShareDescription.sh -> /usr/local/modules/localsbin/getShareDescription.sh
/usr/local/sbin/getShareMediaServing.sh -> /usr/local/modules/localsbin/getShareMediaServing.sh
/usr/local/sbin/getShareRemoteAccess.sh -> /usr/local/modules/localsbin/getShareRemoteAccess.sh
/usr/local/sbin/getShares.sh -> /usr/local/modules/localsbin/getShares.sh
/usr/local/sbin/getSmartStatus.sh -> /usr/local/modules/localsbin/getSmartStatus.sh
/usr/local/sbin/getSmartTestStatus.sh -> /usr/local/modules/localsbin/getSmartTestStatus.sh
/usr/local/sbin/getSystemCapacity.sh -> /usr/local/modules/localsbin/getSystemCapacity.sh
/usr/local/sbin/getSystemHealth.sh -> /usr/local/modules/localsbin/getSystemHealth.sh
/usr/local/sbin/getSystemLog.sh -> /usr/local/modules/localsbin/getSystemLog.sh
/usr/local/sbin/getSystemState.sh -> /usr/local/modules/localsbin/getSystemState.sh
/usr/local/sbin/getTemperatureStatus.sh -> /usr/local/modules/localsbin/getTemperatureStatus.sh
/usr/local/sbin/getTimeMachineConfig.sh -> /usr/local/modules/localsbin/getTimeMachineConfig.sh
/usr/local/sbin/getUpdateCounts.pm -> /usr/local/modules/localsbin/getUpdateCounts.pm
/usr/local/sbin/getUpnp_uuid.sh -> /usr/local/modules/localsbin/getUpnp_uuid.sh
/usr/local/sbin/getUserInfo.sh -> /usr/local/modules/localsbin/getUserInfo.sh
/usr/local/sbin/getUserNameFromId.sh -> /usr/local/modules/localsbin/getUserNameFromId.sh
/usr/local/sbin/getUsers.sh -> /usr/local/modules/localsbin/getUsers.sh
/usr/local/sbin/getVolumeStatus.sh -> /usr/local/modules/localsbin/getVolumeStatus.sh
/usr/local/sbin/getWipeFactoryRestoreStatus.sh -> /usr/local/modules/localsbin/getWipeFactoryRestoreStatus.sh
/usr/local/sbin/getWorkgroup.sh -> /usr/local/modules/localsbin/getWorkgroup.sh
/usr/local/sbin/howMuchToDeleteToConvertLinearToRaid1.sh -> /usr/local/modules/localsbin/howMuchToDeleteToConvertLinearToRaid1.sh
/usr/local/sbin/incUpdateCount.pm -> /usr/local/modules/localsbin/incUpdateCount.pm
/usr/local/sbin/inc_update_counts.sh -> /usr/local/sbin/incUpdateCount.pm
/usr/local/sbin/internalDrives.sh -> /usr/local/modules/localsbin/internalDrives.sh
/usr/local/sbin/isFactoryFresh.sh -> /usr/local/modules/localsbin/isFactoryFresh.sh
/usr/local/sbin/jmeter.sh -> /usr/local/modules/localsbin/jmeter.sh
/usr/local/sbin/languageChange.sh -> /usr/local/modules/localsbin/languageChange.sh
/usr/local/sbin/ledConfig.sh -> /usr/local/modules/localsbin/ledConfig.sh
/usr/local/sbin/ledCtrl.sh -> /usr/local/modules/localsbin/ledCtrl.sh
/usr/local/sbin/listMediaShares.sh -> /usr/local/modules/localsbin/listMediaShares.sh
/usr/local/sbin/logExtract.pl -> /usr/local/modules/localsbin/logExtract.pl
/usr/local/sbin/masterInstall.sh -> /usr/local/modules/localsbin/masterInstall.sh
/usr/local/sbin/mionet_share_update.php -> /usr/local/modules/localsbin/mionet_share_update.php
/usr/local/sbin/modAcl.sh -> /usr/local/modules/localsbin/modAcl.sh
/usr/local/sbin/modAutoFirmwareUpdateConfig.sh -> /usr/local/modules/localsbin/modAutoFirmwareUpdateConfig.sh
/usr/local/sbin/modDeviceName.sh -> /usr/local/modules/localsbin/modDeviceName.sh
/usr/local/sbin/modDlnaDeviceDescription.sh -> /usr/local/modules/localsbin/modDlnaDeviceDescription.sh
/usr/local/sbin/modDlnaDeviceName.sh -> /usr/local/modules/localsbin/modDlnaDeviceName.sh
/usr/local/sbin/modDlnaServerEnable.sh -> /usr/local/modules/localsbin/modDlnaServerEnable.sh
/usr/local/sbin/modDlnaShareServing.sh -> /usr/local/modules/localsbin/modDlnaShareServing.sh
/usr/local/sbin/modExtraNtpServer.sh -> /usr/local/modules/localsbin/modExtraNtpServer.sh
/usr/local/sbin/modHddStandbyConfig.sh -> /usr/local/modules/localsbin/modHddStandbyConfig.sh
/usr/local/sbin/modMediaServerEnable.sh -> /usr/local/modules/localsbin/modMediaServerEnable.sh
/usr/local/sbin/modShareDescription.sh -> /usr/local/modules/localsbin/modShareDescription.sh
/usr/local/sbin/modShareMediaServing.sh -> /usr/local/modules/localsbin/modShareMediaServing.sh
/usr/local/sbin/modShareName.sh -> /usr/local/modules/localsbin/modShareName.sh
/usr/local/sbin/modShareRemoteAccess.sh -> /usr/local/modules/localsbin/modShareRemoteAccess.sh
/usr/local/sbin/modUserName.sh -> /usr/local/modules/localsbin/modUserName.sh
/usr/local/sbin/modUserPassword.sh -> /usr/local/modules/localsbin/modUserPassword.sh
/usr/local/sbin/modWorkgroup.sh -> /usr/local/modules/localsbin/modWorkgroup.sh
/usr/local/sbin/modifyUserVendor.sh -> /usr/local/modules/localsbin/modifyUserVendor.sh
/usr/local/sbin/monitorSmartStatus.sh -> /usr/local/modules/localsbin/monitorSmartStatus.sh
/usr/local/sbin/monitorTemperature.sh -> /usr/local/modules/localsbin/monitorTemperature.sh
/usr/local/sbin/monitorVolume.sh -> /usr/local/modules/localsbin/monitorVolume.sh
/usr/local/sbin/monitorio.sh -> /usr/local/modules/localsbin/monitorio.sh
/usr/local/sbin/multiStepConvertRAID.sh -> /usr/local/modules/localsbin/multiStepConvertRAID.sh
/usr/local/sbin/networkDhcp.sh -> /usr/local/modules/localsbin/networkDhcp.sh
/usr/local/sbin/notifyAckAlert.sh -> /usr/local/modules/localsbin/notifyAckAlert.sh
/usr/local/sbin/partitionDisk.sh -> /usr/local/modules/localsbin/partitionDisk.sh
/usr/local/sbin/privacyOptions.sh -> /usr/local/modules/localsbin/privacyOptions.sh
/usr/local/sbin/ps_mem.py -> /usr/local/modules/localsbin/ps_mem.py
/usr/local/sbin/queueReboot.sh -> /usr/local/modules/localsbin/queueReboot.sh
/usr/local/sbin/raidMigrateLinearToRAID1.sh -> /usr/local/modules/localsbin/raidMigrateLinearToRAID1.sh
/usr/local/sbin/raidMigrateRAID1ToLinear.sh -> /usr/local/modules/localsbin/raidMigrateRAID1ToLinear.sh
/usr/local/sbin/raid_configuration_status.sh -> /usr/local/modules/localsbin/raid_configuration_status.sh
/usr/local/sbin/raid_get_drives_info.sh -> /usr/local/modules/localsbin/raid_get_drives_info.sh
/usr/local/sbin/raid_get_drives_status.sh -> /usr/local/modules/localsbin/raid_get_drives_status.sh
/usr/local/sbin/raid_init.sh -> /usr/local/modules/localsbin/raid_init.sh
/usr/local/sbin/randomSleep.sh -> /usr/local/modules/localsbin/randomSleep.sh
/usr/local/sbin/rescanItunes.sh -> /usr/local/modules/localsbin/rescanItunes.sh
/usr/local/sbin/resetButtonAction.sh -> /usr/local/modules/localsbin/resetButtonAction.sh
/usr/local/sbin/restart_service.sh -> /usr/local/modules/localsbin/restart_service.sh
/usr/local/sbin/restoreConfig.sh -> /usr/local/modules/localsbin/restoreConfig.sh
/usr/local/sbin/restoreSettingsFromDir.sh -> /usr/local/modules/localsbin/restoreSettingsFromDir.sh
/usr/local/sbin/restoreUserShareState.sh -> /usr/local/modules/localsbin/restoreUserShareState.sh
/usr/local/sbin/rotateApache.sh -> /usr/local/modules/localsbin/rotateApache.sh
/usr/local/sbin/rotateLogs.sh -> /usr/local/modules/localsbin/rotateLogs.sh
/usr/local/sbin/saveConfigFile.sh -> /usr/local/modules/localsbin/saveConfigFile.sh
/usr/local/sbin/saveUserShareState.sh -> /usr/local/modules/localsbin/saveUserShareState.sh
/usr/local/sbin/schedulerAdd.sh -> /usr/local/modules/localsbin/schedulerAdd.sh
/usr/local/sbin/schedulerExists.sh -> /usr/local/modules/localsbin/schedulerExists.sh
/usr/local/sbin/schedulerGet.sh -> /usr/local/modules/localsbin/schedulerGet.sh
/usr/local/sbin/schedulerRemove.sh -> /usr/local/modules/localsbin/schedulerRemove.sh
/usr/local/sbin/sendAlert.sh -> /usr/local/modules/localsbin/sendAlert.sh
/usr/local/sbin/sendEmailAlerts.sh -> /usr/local/modules/localsbin/sendEmailAlerts.sh
/usr/local/sbin/sendLogToSupport.sh -> /usr/local/modules/localsbin/sendLogToSupport.sh
/usr/local/sbin/send_info.sh -> /var/www/rest-api/api/Remote/src/Remote/Cli/send_info.php
/usr/local/sbin/send_invite_email.sh -> /var/www/rest-api/api/Remote/src/Remote/Cli/send_invite_email.php
/usr/local/sbin/setAfpSignature.sh -> /usr/local/modules/localsbin/setAfpSignature.sh
/usr/local/sbin/setExternalStorageScan.sh -> /usr/local/modules/localsbin/setExternalStorageScan.sh
/usr/local/sbin/setNetworkDhcp.sh -> /usr/local/modules/localsbin/setNetworkDhcp.sh
/usr/local/sbin/setNetworkStatic.sh -> /usr/local/modules/localsbin/setNetworkStatic.sh
/usr/local/sbin/setServiceStartup.sh -> /usr/local/modules/localsbin/setServiceStartup.sh
/usr/local/sbin/setSharePrivate.sh -> /usr/local/modules/localsbin/setSharePrivate.sh
/usr/local/sbin/setSharePublic.sh -> /usr/local/modules/localsbin/setSharePublic.sh
/usr/local/sbin/setTimeMachineConfig.sh -> /usr/local/modules/localsbin/setTimeMachineConfig.sh
/usr/local/sbin/setTrustees.sh -> /usr/local/modules/localsbin/setTrustees.sh
/usr/local/sbin/setUserRaidConfiguration.sh -> /usr/local/modules/localsbin/setUserRaidConfiguration.sh
/usr/local/sbin/setWdLogAnalytics.sh -> /usr/local/modules/localsbin/setWdLogAnalytics.sh
/usr/local/sbin/settingsManager.sh -> /usr/local/modules/localsbin/settingsManager.sh
/usr/local/sbin/share-param.sh -> /usr/local/modules/localsbin/share-param.sh
/usr/local/sbin/shareFunc.sh -> /usr/local/modules/localsbin/shareFunc.sh
/usr/local/sbin/smbReload.sh -> /usr/local/modules/localsbin/smbReload.sh
/usr/local/sbin/smbShare.sh -> /usr/local/modules/localsbin/smbShare.sh
/usr/local/sbin/smbShareAccess.sh -> /usr/local/modules/localsbin/smbShareAccess.sh
/usr/local/sbin/ssl_cert_job.sh -> /var/www/rest-api/api/Remote/src/Remote/Cli/ssl_cert_job.php
/usr/local/sbin/storage_transfer_get_config.sh -> /usr/local/modules/localsbin/storage_transfer_get_config.sh
/usr/local/sbin/storage_transfer_set_config.sh -> /usr/local/modules/localsbin/storage_transfer_set_config.sh
/usr/local/sbin/storage_transfer_start_now.sh -> /usr/local/modules/localsbin/storage_transfer_start_now.sh
/usr/local/sbin/updateFirmwareFromFile.sh -> /usr/local/modules/localsbin/updateFirmwareFromFile.sh
/usr/local/sbin/updateFirmwareToLatest.sh -> /usr/local/modules/localsbin/updateFirmwareToLatest.sh
/usr/local/sbin/updateNasUpnpDevice.sh -> /usr/local/modules/localsbin/updateNasUpnpDevice.sh
/usr/local/sbin/update_count_get.sh -> /var/www/rest-api/api/System/src/System/Device/Cli/update_count_get.php
/usr/local/sbin/update_count_set.sh -> /var/www/rest-api/api/System/src/System/Device/Cli/update_count_set.php
/usr/local/sbin/urlEncode.sh -> /usr/local/modules/localsbin/urlEncode.sh
/usr/local/sbin/userDataRAIDMonitor.sh -> /usr/local/modules/localsbin/userDataRAIDMonitor.sh
/usr/local/sbin/userRaidConfiguration.sh -> /usr/local/modules/localsbin/userRaidConfiguration.sh
/usr/local/sbin/userRaidConversionStatus.sh -> /usr/local/modules/localsbin/userRaidConversionStatus.sh
/usr/local/sbin/userRaidPartitionsStatus.sh -> /usr/local/modules/localsbin/userRaidPartitionsStatus.sh
/usr/local/sbin/userRaidStatus.sh -> /usr/local/modules/localsbin/userRaidStatus.sh
/usr/local/sbin/usrPwdExists.sh -> /usr/local/modules/localsbin/usrPwdExists.sh
/usr/local/sbin/usrPwdHash.sh -> /usr/local/modules/localsbin/usrPwdHash.sh
/usr/local/sbin/vol_uuid_change.sh -> /usr/local/modules/localsbin/vol_uuid_change.sh
/usr/local/sbin/volume_mount.sh -> /var/www/rest-api/api/Filesystem/src/Filesystem/Cli/volume_mount.php
/usr/local/sbin/watchTemp.sh -> /usr/local/modules/localsbin/watchTemp.sh
/usr/local/sbin/wd2go.sh -> /usr/local/modules/localsbin/wd2go.sh
/usr/local/sbin/wdAutoMountAdm.pm -> /usr/local/modules/localsbin/wdAutoMountAdm.pm
/usr/local/sbin/wdAutoMountBridge.php -> /usr/local/modules/localsbin/wdAutoMountBridge.php
/usr/local/sbin/wdAutoMountUdevHandler.pm -> /usr/local/modules/localsbin/wdAutoMountUdevHandler.pm
/usr/local/sbin/wdLogUploader.sh -> /usr/local/modules/localsbin/wdLogUploader.sh
/usr/local/sbin/wdStatus.sh -> /usr/local/modules/localsbin/wdStatus.sh
/usr/local/sbin/wdmc_rescan_volume.py -> /usr/local/modules/localsbin/wdmc_rescan_volume.py
/usr/local/sbin/wipeFactoryRestore.sh -> /usr/local/modules/localsbin/wipeFactoryRestore.sh

#305

It’s been almost a year since I posted about this bug, and WD hasn’t done anything about it so here is a simple script one can run to check their eMMC partitions from time to time. The eMMC partitions can become corrupted after a power failure, which may result in any number of unpredictable system problems.

This script will only work on the My Cloud PR4100 and PR2100. Most other My Cloud models have a different type of flash memory. Use at your own risk.

emmc_check.sh

#!/bin/bash

mknod /dev/mmcblk0p7 b 179 7 >/dev/null 2>&1
mknod /dev/mmcblk0p8 b 179 8 >/dev/null 2>&1

sleep 2

echo -n "Checking integrity of system partitions "
ucpd="$(blkid | grep 'wdnas_efi' | awk -F: '{ print $1}')"
ucpd="${ucpd:0:13}"
echo "($ucpd)"

# 1st: vfat EFI
if stat "${ucpd}1" >/dev/null 2>&1; then
	dosfsck -p ${ucpd}1 2>/dev/null
else
	echo "Cannot find devnode: ${ucpd}1"
fi

umount /dev/mmcblk0p6 2>/dev/null

# all others ext4
for i in $(seq 2 9); do
	if stat "${ucpd}$i" >/dev/null 2>&1; then
		if [ "$i" = "6" ] || [ "$i" = "9" ]; then
			e2fsck -p "${ucpd}$i" 2>/dev/null || e2fsck -f -y "${ucpd}$i"
		else
			e2fsck -p "${ucpd}$i" 2>/dev/null
		fi
	else
		echo "Cannot find devnode: ${ucpd}$i"
	fi
done

mount /dev/mmcblk0p6 /usr/local/tmp_wdnas_config >/dev/null

#306

The WD My Cloud PR4100 (OS 3) boot sequence, where BIOS loads GRUB from a bootable device, then GRUB loads the Linux kernel, which loads the ramdisk and passes control to Busybox (/bin/busybox) from /sbin/init (symlink), then Busybox processes /etc/inittab (runlevels unsupported).

  1. BIOS (Flash Chip MX25U6435FM21-10G)
  2. UEFI/MBR Boot Device (/dev/mmcblk0, /dev/sda, etc)
  3. GRUB (/dev/mmcblk0p1/EFI/BOOT/bootx64.efi)
  4. Kernel (/dev/mmcblk0p2/uImage)
  5. Ramdisk (/dev/mmcblk0p3/uRamdisk)
  6. Init Symlink to Busybox (/sbin/init)
  7. Init Processes/Runlevels (/etc/inittab)
  8. Ramdisk Script (/etc/rc.sh)
  9. Mounts (/etc/fstab, /dev/mmcblk0p4/image.cfs, /dev/mmcblk0p6)
  10. Rootfs Script (/usr/local/modules/script/system_init)

The /etc/inittab file then calls /etc/rc.sh (ramdisk script), which mounts /etc/fstab (/proc, /sys, /dev, etc), /dev/mmcblk0p4/image.cfs (rootfs) and /dev/mmcblk0p6 (config partition), before finally calling the /usr/local/modules/script/system_init script in the root filesystem. This is the point where most of the system initialization takes place and hardware control is established.

# init(8) configuration for BusyBox
#
# Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org>
#
#
# Note, BusyBox init doesn't support runlevels.  The runlevels field is
# completely ignored by BusyBox init. If you want runlevels, use sysvinit.
#
#
# Format for each entry: <id>:<runlevels>:<action>:<process>
#
# <id>: WARNING: This field has a non-traditional meaning for BusyBox init!
#
#	The id field is used by BusyBox init to specify the controlling tty for
#	the specified process to run on.  The contents of this field are
#	appended to "/dev/" and used as-is.  There is no need for this field to
#	be unique, although if it isn't you may have strange results.  If this
#	field is left blank, then the init's stdin/out will be used.
#
# <runlevels>: The runlevels field is completely ignored.
#
# <action>: Valid actions include: sysinit, respawn, askfirst, wait, once,
#                                  restart, ctrlaltdel, and shutdown.
#
#       Note: askfirst acts just like respawn, but before running the specified
#       process it displays the line "Please press Enter to activate this
#       console." and then waits for the user to press enter before starting
#       the specified process.
#
#       Note: unrecognized actions (like initdefault) will cause init to emit
#       an error message, and then go along with its business.
#
# <process>: Specifies the process to be executed and it's command line.
#
# Note: BusyBox init works just fine without an inittab. If no inittab is
# found, it has the following default behavior:
#         ::sysinit:/etc/init.d/rcS
#         ::askfirst:/bin/sh
#         ::ctrlaltdel:/sbin/reboot
#         ::shutdown:/sbin/swapoff -a
#         ::shutdown:/bin/umount -a -r
#         ::restart:/sbin/init
#         tty2::askfirst:/bin/sh
#         tty3::askfirst:/bin/sh
#         tty4::askfirst:/bin/sh
#
# Boot-time system configuration/initialization script.
# This is run first except when booting in single-user mode.
#
::sysinit:/etc/init.d/rcS

# /bin/sh invocations on selected ttys
#
# Note below that we prefix the shell commands with a "-" to indicate to the
# shell that it is supposed to be a login shell.  Normally this is handled by
# login, but since we are bypassing login in this case, BusyBox lets you do
# this yourself...
#
# Start an "askfirst" shell on the console (whatever that may be)
::askfirst:-/bin/sh
# Start an "askfirst" shell on /dev/tty2-4
tty2::askfirst:-/bin/sh
tty3::askfirst:-/bin/sh
tty4::askfirst:-/bin/sh

# /sbin/getty invocations for selected ttys
tty4::respawn:/sbin/getty 38400 tty5
tty5::respawn:/sbin/getty 38400 tty6

# Example of how to put a getty on a serial line (for a terminal)
#::respawn:/sbin/getty -L ttyS0 9600 vt100
#::respawn:/sbin/getty -L ttyS1 9600 vt100
#
# Example how to put a getty on a modem line.
#::respawn:/sbin/getty 57600 ttyS2

# Stuff to do when restarting the init process
::restart:/sbin/init

# Stuff to do before rebooting
::ctrlaltdel:/sbin/reboot
::shutdown:/bin/umount -a -r
::shutdown:/sbin/swapoff -a

#307

I was curious to see what the /dev/mmcblk0boot0 and /dev/mmcblk0boot1 eMMC partitions of the My Cloud PR4100 contained and how they might be used by the system. As it turns out, both partitions are empty and apparently unused… or so it seems.

dd if=/dev/mmcblk0boot0 of=mmcblk0boot0.bin
xxd mmcblk0boot0.bin

00000000: 0000 0000 0000 0000 0000 0000 0000 0000  ................
00000010: 0000 0000 0000 0000 0000 0000 0000 0000  ................
00000020: 0000 0000 0000 0000 0000 0000 0000 0000  ................
00000030: 0000 0000 0000 0000 0000 0000 0000 0000  ................
00000040: 0000 0000 0000 0000 0000 0000 0000 0000  ................
00000050: 0000 0000 0000 0000 0000 0000 0000 0000  ................
00000060: 0000 0000 0000 0000 0000 0000 0000 0000  ................
00000070: 0000 0000 0000 0000 0000 0000 0000 0000  ................
00000080: 0000 0000 0000 0000 0000 0000 0000 0000  ................
00000090: 0000 0000 0000 0000 0000 0000 0000 0000  ................
000000a0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
000000b0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
000000c0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
000000d0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
000000e0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
000000f0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
00000100: 0000 0000 0000 0000 0000 0000 0000 0000  ................
<SNIP>
001ffff0: 0000 0000 0000 0000 0000 0000 0000 0000  ................

dd if=/dev/mmcblk0boot1 of=mmcblk0boot1.bin
xxd mmcblk0boot1.bin

00000000: 0000 0000 0000 0000 0000 0000 0000 0000  ................
00000010: 0000 0000 0000 0000 0000 0000 0000 0000  ................
00000020: 0000 0000 0000 0000 0000 0000 0000 0000  ................
00000030: 0000 0000 0000 0000 0000 0000 0000 0000  ................
00000040: 0000 0000 0000 0000 0000 0000 0000 0000  ................
00000050: 0000 0000 0000 0000 0000 0000 0000 0000  ................
00000060: 0000 0000 0000 0000 0000 0000 0000 0000  ................
00000070: 0000 0000 0000 0000 0000 0000 0000 0000  ................
00000080: 0000 0000 0000 0000 0000 0000 0000 0000  ................
00000090: 0000 0000 0000 0000 0000 0000 0000 0000  ................
000000a0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
000000b0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
000000c0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
000000d0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
000000e0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
000000f0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
00000100: 0000 0000 0000 0000 0000 0000 0000 0000  ................
<SNIP>
001ffff0: 0000 0000 0000 0000 0000 0000 0000 0000  ................

The /dev/mmcblk0rpmb eMMC device is inaccessible because it’s a special encrypted Replay Protected Memory Block device, typically used for storing encryption keys, etc.

dd if=/dev/mmcblk0rpmb of=mmcblk0rpmb.bin

dd: /dev/mmcblk0rpmb: Input/output error

Replay-Protected Memory Block (RPMB) (e.MMC Only)

Enables a secure memory block for storing small amounts of sensitive information, 
preserving uniqueness and helping to make systems more resistant to rollback and 
replay attacks; RPMB enables a secure relationship between the host controller 
and the memory device.

https://www.micron.com/products/nonvolatile-memory-security#AdvancedSecurityFeatures


#308

The WD My Cloud PR4100 with firmware version 2.30.196 is running Samba 4.3.11 (released July 07, 2016). The most current version of Samba is 4.9.1 (released September 24, 2018).

# smbd -V
Version 4.3.11

The My Cloud (OS3) Dashboard allows the user to select the max protocol (SMBv1, SMBv2, SMBv3), which sets a configuration string in the /etc/samba/smb.conf file. This functionality, or lack thereof, may easily mislead some users into believing that they are disabling the insecure SMBv1 protocol, when in fact they are not.

max protocol = SMB3

Disabling SMBv1 is important because it’s inefficient, insecure and a frequent target of ransomware and other malicious attacks. Despite this fact, I often see horrible advice given to people that actually tells them how to enable SMBv1 on their client computers, Windows 10 in particular. In fact, WD themselves has this bad advice listed as a knowledgebase answer on their website. Frankly, I think that WD should fix their firmware and stop offering bad advice to unsuspecting consumers.

To actually disable SMBv1, the [ global ] section of the Samba /etc/samba/smb.conf file must include a min protocol string, and in certain cases must also include client min protocol and client max protocol strings to prevent connection issues. The My Cloud Dashboard should have this functionality, but it does not.

min protocol = SMB2
client min protocol = SMB2
client max protocol = SMB2

The PR4100 default Samba configuration masks also allow full read/write/execute permissions for shares, despite the fact that the Samba defaults are much more restrictive… as they should be.

PR4100 default:

create mask = 0777
directory mask  = 0777
force create mode = 0777
force directory mode = 0777

Samba Default:

create mask = 0744
directory mask = 0755
force create mode = 0000
force directory mode = 0000

As for how the Samba /etc/samba/smb.conf file is actually created and managed on the My Cloud NAS devices, lets just say that it’s… complicated. I may eventually post about it, after I figure it all out for myself. As with most things involving the My Cloud firmware, few things are actually simple or intuitive, they’re just designed and marketed to look that way.

In the mean time, here is some light reading…

The Samba smb.conf file:

https://www.samba.org/samba/docs/current/man-html/smb.conf.5.html


#309

While SMB1 is insecure and not recommended, sometimes it’s the only option to get your older hardware (e.g. printer, scanner) to work with OS3.
Another example is Kodi on Android: https://forum.kodi.tv/showthread.php?tid=314350