I’ve had a 2TB WD Book Live for quite a few years now and figured while it worked I should at least store some backups on it. The catch was, when I plugged it in the front LED didn’t come on - AT ALL. I heard the drive spin up and do some random seeking, and got link on the ethernet port, but that was about it. I had a fair idea what the credentials would be, but had no idea what IP address it’d be on (and whether that IP had been re-used for something else).
The WD documentation said I could reset the credentials and set the network to DHCP by waiting until the front LED goes green and then pressing the rear reset button for 4 seconds - except as above, the front LED never comes on (I’m guessing the multi-colour LED or whatever is driving it is dead). I tried doing the reset blind a few times but could never get a DHCP request out of it.
I could have plugged a laptop into the ethernet port and used Wireshark to listen to whatever traffic it was sending in the hope it’d send something from its configured IP address (this approach often works), but I didn’t have my laptop handy and I was kind of interested to pop it open and see if the unit had a full SATA hard drive in it, or something a bit more custom like some of the USB drives do. As it turns out, it has a normal SATA drive.
Anyways, long story short, I wasn’t even sure if the thing was booting up properly - perhaps the drive was faulty, or the board itself?
I fired up the scope and had a bit of a poke at some exposed headers while I powered the unit up in hopes of finding what looked like a serial data stream. That might lead me to a console port where I could see what was going on. …and find it I did!
The PCB footprint looked a bit like I’d expect for a floppy drive power connector, but it turned out to be a serial port.
The bottom pad is ground. Next one up is TX (from the WD board). Next one again MIGHT be RX (to the WD board), but I didn’t need it and didn’t try it.
I connected to it using a FTDI serial adapter set to 3.3V (the serial ports appeared to be using 3.3V logic levels).
The output looked a bit like this - which clearly showed it WAS booting properly.
U-Boot 2009.08 (Sep 02 2010 - 21:48:57), Build: 0.2.3
CPU: AMCC PowerPC APM82181 Rev. C at 800 MHz (PLB=200, OPB=100, EBC=100 MHz)
Security support
Bootstrap Option E - Boot ROM Location NOR/SRAM (8 bits)
32 kB I-Cache 32 kB D-Cache
Board: Apollo-3G - APM82181 Board, 2*SATA, 1*USB
I2C: ready
DRAM: Auto calibration 256 MB
FLASH: 512 kB
DTT: 1 FAILED INIT
Net: PHY EC1 Register: 0x2c8c
ppc_4xx_eth0
Type run flash_nfs to mount root filesystem over NFS
Hit any key to stop autoboot: 0
SATA DWC initialization 1
Do initialization on SATA1 ...
Waiting for device...............
sata_dwc: Device found
sata_dwc: Waiting for device...
Loading file "/testcfg/mfg_test_cfg" from sata device 1:1 (gpt1)
** File not found /testcfg/mfg_test_cfg
Board is not configured for test. Do normal boot.
SATA DWC initialization 1
Do initialization on SATA1 ...
Waiting for device...
sata_dwc: Device found
sata_dwc: Waiting for device...
Loading file "/boot/boot.scr" from sata device 1:1 (gpt1)
1223 bytes read
Loaded part 1
## Executing script at 00100000
Boot from md0 U-boot configuration
=============== Loading Linux kernel =================
=============== Device tree =================
=============== Root filesystem =================
SATA DWC initialization 1
Do initialization on SATA1 ...
Waiting for device...
sata_dwc: Device found
sata_dwc: Waiting for device...
Loading file "/boot/uImage" from sata device 1:1 (gpt1)
3501769 bytes read
Loading file "/boot/apollo3g.dtb" from sata device 1:1 (gpt1)
8373 bytes read
Loaded part 1
## Booting kernel from Legacy Image at 01000000 ...
Image Name: Linux-2.6.32.11-svn70860
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 3501705 Bytes = 3.3 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 01800000
Booting using the fdt blob at 0x1800000
Uncompressing Kernel Image ... OK
Loading Device Tree to 00ffa000, end 00fff0b4 ... OK
Using PowerPC 44x Platform machine description
Linux version 2.6.32.11-svn70860 (steveh@steveh-pc) (gcc version 4.2.2) #1 Thu May 17 13:32:51 PDT 2012
Zone PFN ranges:
DMA 0x00000000 -> 0x00001000
Normal 0x00001000 -> 0x00001000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0x00000000 -> 0x00001000
MMU: Allocated 1088 bytes of context maps for 255 contexts
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 4094
Kernel command line: root=/dev/md1 rw rootfstype=ext3 rootflags=data=ordered console=ttyS0,115200
PID hash table entries: 1024 (order: -4, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 1, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 0, 65536 bytes)
Memory: 253184k/262144k available (7168k kernel code, 8960k reserved, 512k data, 749k bss, 448k init)
Kernel virtual memory layout:
* 0xfffe0000..0xffff0000 : fixmap
* 0xfd600000..0xfe000000 : consistent mem
* 0xfd600000..0xfd600000 : early ioremap
* 0xd1000000..0xfd600000 : vmalloc & ioremap
Hierarchical RCU implementation.
NR_IRQS:512
UIC0 (32 IRQ sources) at DCR 0xc0
UIC1 (32 IRQ sources) at DCR 0xd0
UIC2 (32 IRQ sources) at DCR 0xe0
UIC3 (32 IRQ sources) at DCR 0xf0
clocksource: timebase mult[500000] shift[22] registered
Security Framework initialized
Mount-cache hash table entries: 8192
xor: measuring software checksum speed
8regs : 128.000 MB/sec
8regs_prefetch: 240.000 MB/sec
32regs : 112.000 MB/sec
32regs_prefetch: 240.000 MB/sec
xor: using function: 32regs_prefetch (240.000 MB/sec)
NET: Registered protocol family 16
OCM1: 32768 Bytes (enabled)
OCM1: 32768 Bytes (non-cached)
OCM1: 0 Bytes (cached)
256k L2-cache enabled
PCI: Probing PCI hardware
bio: create slab <bio-0> at 0
SCSI subsystem initialized
raid6: int32x1 185 MB/s
raid6: int32x2 189 MB/s
raid6: int32x4 197 MB/s
raid6: int32x8 189 MB/s
raid6: using algorithm int32x4 (197 MB/s)
mod_init:1052
ppc460ex_dma_per_chan_init:1064
Switching to clocksource timebase
init_pipe_fs: pipe_inode_cache initialized
NET: Registered protocol family 2
IP route cache hash table entries: 16384 (order: 0, 65536 bytes)
TCP established hash table entries: 8192 (order: 0, 65536 bytes)
TCP bind hash table entries: 8192 (order: -1, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Probing AMCC DMA driver
PPC4xx PLB DMA engine IRQ 20
__ioremap(): phys addr 0x0 is RAM lr c04d50c4
PPC460ex PLB DMA engine @0x00_00000100 size 263
new_chan->chan_id 0x0
new_chan->chan->chan_id 0x0
apollo3g_gpio_init: GPIO 1 @ 0xe0000000; GPIO 2 @ 0xe1000000
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
Slow work thread pool: Starting up
Slow work thread pool: Ready
NTFS driver 2.1.29 [Flags: R/O].
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
fuse init (API version 7.13)
SGI XFS with security attributes, large block/inode numbers, no debug enabled
msgmni has been set to 492
Cryptodev Interface Loaded
User space CryptoAPI driver v0.1 loaded
async_tx: api initialized (async)
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
serial8250.0: ttyS0 at MMIO 0x4ef600300 (irq = 19) is a 16550A
console [ttyS0] enabled
4ef600300.serial: ttyS0 at MMIO 0x4ef600300 (irq = 19) is a 16550
brd: module loaded
sata-dwc 4bffd1000.sata: Gettting DMA channel 0
sata-dwc 4bffd1000.sata: id 0, controller version 1.91
sata-dwc 4bffd1000.sata: DMA initialized
sata-dwc 4bffd1000.sata: DMA CFG = 0x00000001
dma_register_interrupt register irq (25)
ata4294967295: sata_dwc_port_start: setting burst size in DBTSR: 0x00100010
sata-dwc 4bffd1000.sata: **** No neg speed (nothing attached?)
scsi0 : sata-dwc
ata1: SATA max UDMA/133 irq 23
sata-dwc 4bffd1800.sata: Gettting DMA channel 1
sata-dwc 4bffd1800.sata: id 0, controller version 1.91
sata-dwc 4bffd1800.sata: DMA initialized
sata-dwc 4bffd1800.sata: DMA CFG = 0x00000001
dma_register_interrupt register irq (25)
ata4294967295: sata_dwc_port_start: setting burst size in DBTSR: 0x00100010
sata-dwc 4bffd1800.sata: **** GEN II speed rate negotiated
scsi1 : sata-dwc
ata2: SATA max UDMA/133 irq 27
Found: SST 39LF040
4fff80000.nor_flash: Found 1 x8 devices at 0x0 in 8-bit bank
number of JEDEC chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
RedBoot partition parsing not available
Creating 2 MTD partitions on "4fff80000.nor_flash":
0x000000000000-0x000000020000 : "3genv"
0x000000020000-0x000000080000 : "u-boot"
ndfc 4fff80000.ndfc: failed to get memory
ndfc: probe of 4fff80000.ndfc failed with error -5
e1000e: Intel(R) PRO/1000 Network Driver - 1.0.2-k2
e1000e: Copyright (c) 1999-2008 Intel Corporation.
PPC 4xx OCP EMAC driver, version 3.54
mal0: descriptor-memory = ocm
MAL: Enabled Interrupt Coal TxCnt: 1 RxCnt: 8
TxTimer: 0 RxTimer: 10000
MAL v2 /plb/mcmal, 1 TX channels, 1 RX channels
RGMII /plb/opb/emac-rgmii@ef601500 initialized with MDIO support
TAH /plb/opb/emac-tah@ef601350 initialized
/plb/opb/emac-rgmii@ef601500: input 0 in RGMII mode
bcm54610_init: before 0x2c8c, after 0x2c8c
bcm54610_init: before 0x01e1, 0x0200; after 0x0141, 0x0200
eth0: EMAC-0 /plb/opb/ethernet@ef600c00, MAC 00:90:a9:b0:f6:1f
eth0: found BCM54610 Gigabit Ethernet PHY (0x01)
Intel(R) Gigabit Ethernet Network Driver - version 1.3.16-k2
Copyright (c) 2007-2009 Intel Corporation.
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
Fusion MPT base driver 3.04.12
Copyright (c) 1999-2008 LSI Corporation
Fusion MPT SAS Host driver 3.04.12
input: rst_button as /devices/virtual/input/input0
i2c /dev entries driver
ibm-iic 4ef600700.i2c: using standard (100 kHz) mode
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
md: raid10 personality registered for level 10
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
Registered led device: a3g_led
AMCC 4xx PKA v0.1 @0x04_00114000 size 16384 IRQ 39
Initializing PKA...
PKA Driver Successfully Initialized
Reading pvr value = 12c41c81
Interrupt status = 0x00042020
dev status = 0x03087722
Interrupt status = 0x00042020
dev status = 0x03087722
Interrupt status = 0x00042020
dev status = 0x03087722
Interrupt status = 0x00042020
dev status = 0x03087722
Interrupt status = 0x00042020
dev status = 0x03087722
Interrupt status = 0x00042020
dev status = 0x03087722
Interrupt status = 0x00042020
dev status = 0x03087722
Interrupt status = 0x00042020
dev status = 0x03087722
Interrupt status = 0x00042020
dev status = 0x03087722
Interrupt status = 0x00042020
dev status = 0x03087722
Interrupt status = 0x00042020
dev status = 0x03087722
Interrupt status = 0x00042020
dev status = 0x03087722
Interrupt status = 0x00042020
dev status = 0x03087722
ata1: SATA link down (SStatus 0 SControl 300)
Interrupt status = 0x00042020
dev status = 0x03087722
Interrupt status = 0x00042020
dev status = 0x03087722
Interrupt status = 0x00042020
dev status = 0x03087722
Interrupt status = 0x00042020
dev status = 0x03087722
Interrupt status = 0x00042020
dev status = 0x03087722
Interrupt status = 0x00042020
dev status = 0x03087722
Interrupt status = 0x00042020
dev status = 0x03087722
Interrupt status = 0x00042020
dev status = 0x03087722
Interrupt status = 0x00042020
dev status = 0x03087722
Interrupt status = 0x00042020
dev status = 0x03087722
Interrupt status = 0x00042020
dev status = 0x03087722
Interrupt status = 0x00042020
dev status = 0x03087722
Interrupt status = 0x00042020
dev status = 0x03087722
Interrupt status = 0x00042020
dev status = 0x03087722
Interrupt status = 0x00042020
dev status = 0x03087722
Interrupt status = 0x00042020
dev status = 0x03087722
ata2: SATA link up 3.0 Gbps (SStatus 123 SControl F0300)
Interrupt status = 0x00042020
dev status = 0x03087722
Interrupt status = 0x00042020
dev status = 0x03087722
apm82181-adma: Probing AMCC APM82181 ADMA engines...
AMCC(R) APM82181 ADMA Engine found [1]: ( capabilities: memcpy )
--------------- dma_async_device_register: 683-------------------------
ata2.00: ATA-8: WDC WD20EARS-00MVWB0, 51.0AB51, max UDMA/133
ata2.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 1/32)
apm82181 adma1: allocated 512 descriptor slots
AMCC(R) APM82181 ADMA Engine found [2]: ( capabilities: memcpy )
--------------- dma_async_device_register: 683-------------------------
apm82181 adma2: allocated 512 descriptor slots
AMCC(R) APM82181 ADMA Engine found [3]: ( capabilities: memcpy )
--------------- dma_async_device_register: 683-------------------------
apm82181 adma3: allocated 512 descriptor slots
ata2.00: configured for UDMA/133
blk_queue_max_hw_segments: set to minimum 1
scsi 1:0:0:0: Direct-Access ATA WDC WD20EARS-00M 51.0 PQ: 0 ANSI: 5
oprofile: using timer interrupt.
Macsec proc interface Initiliazed
Registered Macsec Interface
IPv4 over IPv4 tunneling driver
sd 1:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
sd 1:0:0:0: Attached scsi generic sg0 type 0
GRE over IPv4 tunneling driver
sd 1:0:0:0: [sda] Write Protect is off
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sda:
NET: Registered protocol family 17
Bridge firewalling registered
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
sda1 sda2 sda3 sda4
sd 1:0:0:0: [sda] Attached SCSI disk
md: Waiting for all devices to be available before autodetect
md: If you don't use raid, use raid=noautodetect
md: Autodetecting RAID arrays.
md: Scanned 2 and added 2 devices.
md: autorun ...
md: considering sda2 ...
md: adding sda2 ...
md: adding sda1 ...
md: created md1
md: bind<sda1>
md: bind<sda2>
md: running: <sda2><sda1>
md1: WARNING: sda2 appears to be on the same physical disk as sda1.
True protection against single-disk failure might be compromised.
raid1: raid set md1 active with 2 out of 2 mirrors
md1: detected capacity change from 0 to 2047803392
md: ... autorun DONE.
md1: unknown partition table
kjournald starting. Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on md1, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) on device 9:1.
Freeing unused kernel memory: 448k init
INIT: version 2.86 booting
Retrieving saved clock:Fri Sep 16 16:02:01 EST 2022
Set clock to Fri Sep 16 16:02:01 EST 2022
.
/etc/rcS.d/S02restoreSettings.sh: Checking settings: test/restore....._: pkg: wd-nas
[wd-nas.preinst] 09/16/22 06:02:02: test
[wd-nas.preinst] 09/16/22 06:02:04: test
[wd-nas.preinst] 09/16/22 06:02:04: done.
[wd-nas.postinst] 09/16/22 06:02:04: test context=test
[wd-nas.postinst] 09/16/22 06:02:04: done.
_: pkg: networking-general
[networking-general.preinst] 09/16/22 06:02:05: test
[networking-general.preinst] 09/16/22 06:02:05: done.
[networking-general.postinst] 09/16/22 06:02:05: test context=test
[networking-general.postinst] 09/16/22 06:02:05: done.
_: pkg: apache-php-webdav
[apache-php-webdav.preinst] 09/16/22 06:02:06: test
[apache-php-webdav.preinst] 09/16/22 06:02:06: done.
[apache-php-webdav.postinst] 09/16/22 06:02:06: test context=test
[apache-php-webdav.postinst] 09/16/22 06:02:06: done.
_: pkg: date-time
[date-time.preinst] 09/16/22 06:02:07: test
[date-time.preinst] 09/16/22 06:02:07: done.
[date-time.postinst] 09/16/22 06:02:07: test context=test
[date-time.postinst] 09/16/22 06:02:07: done.
_: pkg: alerts
[alerts.preinst] 09/16/22 06:02:07: test
[alerts.preinst] 09/16/22 06:02:07: done.
[alerts.postinst] 09/16/22 06:02:08: test context=test
[alerts.postinst] 09/16/22 06:02:08: done.
_: pkg: admin-rest-api
[admin-rest-api.preinst] 09/16/22 06:02:08: test
[admin-rest-api.preinst] 09/16/22 06:02:08: test()
[admin-rest-api.preinst] 09/16/22 06:02:08: done.
[admin-rest-api.postinst] 09/16/22 06:02:09: test context=test
drwxrwsr-x 2 root www-data 4096 Jun 30 2017 config
[admin-rest-api.postinst] 09/16/22 06:02:09: permissions check for //var/www/Admin/webapp/config: PASSED
-rwxrwsr-x 1 root www-data 394 Jun 30 2017 //var/www/Admin/webapp/config/dynamicconfig.ini
[admin-rest-api.postinst] 09/16/22 06:02:09: permissions check for /dynamicconfig.ini: PASSED
drwxrwxr-x 2 root www-data 4096 Aug 9 2021 orion
[admin-rest-api.postinst] 09/16/22 06:02:09: permissions check for //usr/local/nas/orion/: PASSED
-rwxrwxr-x 1 root www-data 79872 Aug 9 2021 //usr/local/nas/orion//orion.db
[admin-rest-api.postinst] 09/16/22 06:02:09: permissions check for //usr/local/nas/orion//orion.db: PASSED
[admin-rest-api.postinst] 09/16/22 06:02:09: setup test for admin-rest-api: PASSED
[admin-rest-api.postinst] 09/16/22 06:02:09: done.
_: pkg: upnp-nas
[upnp-nas.preinst] 09/16/22 06:02:09: test
[upnp-nas.preinst] 09/16/22 06:02:09: done.
[upnp-nas.postinst] 09/16/22 06:02:09: test context=test
[upnp-nas.postinst] 09/16/22 06:02:09: done.
_: pkg: dlna-server-access
No packages found matching dlna-server-access.
No packages found matching dlna-server-access.
_: pkg: dlna-server-twonky
[dlna-server-twonky.preinst] 09/16/22 06:02:10: test
[dlna-server-twonky.preinst] 09/16/22 06:02:10: done.
[dlna-server-twonky.postinst] 09/16/22 06:02:11: test context=test
[dlna-server-twonky.postinst] 09/16/22 06:02:11: done.
_: pkg: itunes
[itunes.preinst] 09/16/22 06:02:11: test
[itunes.preinst] 09/16/22 06:02:11: done.
[itunes.postinst] 09/16/22 06:02:11: test context=test
_: pkg: nas-safepoint
[nas-safepoint.preinst] 09/16/22 06:02:12: test
[nas-safepoint.preinst] 09/16/22 06:02:12: done.
[nas-safepoint.postinst] 09/16/22 06:02:12: test context=test
[nas-safepoint.postinst] 09/16/22 06:02:12: done.
_: pkg: webui
[webui.preinst] 09/16/22 06:02:13: test
[webui.preinst] 09/16/22 06:02:13: done.
[webui.postinst] 09/16/22 06:02:13: test context=test
[webui.postinst] 09/16/22 06:02:13: done.
_: pkg: orion-resources
[orion-resources.preinst] 09/16/22 06:02:13: test
[orion-resources.preinst] 09/16/22 06:02:13: done.
[orion-resources.postinst] 09/16/22 06:02:14: test context=test
[orion-resources.postinst] 09/16/22 06:02:14: done.
_: pkg: afp
[afp.preinst] 09/16/22 06:02:14: test
[afp.preinst] 09/16/22 06:02:14: done.
[afp.postinst] 09/16/22 06:02:14: test context=test
[afp.postinst] 09/16/22 06:02:14: done.
done.
Starting the hotplug events dispatcher: udevd.
Synthesizing the initial hotplug events...done.
Waiting for /dev to be fully populated...done.
cat: /var/log/master_drive_serial_number: No such file or directory
Setting parameters of disc: (none).
Enable EMAC EMI Fix
EMI patch enabled...
cpu=APM82181 rev=28.129
Activating swap...done.
Cleaning up ifupdown....
Loading kernel modules...done.
Checking file systems...fsck from util-linux-ng 2.17.2
done.
Setting kernel variables (/etc/sysctl.conf)...done.
Setting kernel variables (/etc/sysctl.d/dlna.conf)...done.
Setting kernel variables (/etc/sysctl.d/inotify.conf)...done.
Setting kernel variables (/etc/sysctl.d/mtu.conf)...done.
Mounting local filesystems...done.
Activating swapfile swap...done.
Setting up networking....
Configuring network interfaces...logger: hostname=NAS67K
eth0: link is up, 1000 FDX, pause enabled
logger: hostname=NAS67K
done.
Starting portmap daemon....
INIT: Entering runlevel: 1
.
##################################.
# #.
# Entering WD NAS Init Run-Level #.
# #.
##################################.
.
: currentRootDevice is set to /dev/md1
Call ldconfig...
Starting ramlog-tmpfs 2.0.0: .
Starting enhanced syslogd: rsyslogd.
2298: old priority 0, new priority 0
Starting web server: apache2.
S15mountDataVolume.sh: begin script: start
>>>> mount data volume...EXT4-fs (sda4): warning: maximal mount count reached, running e2fsck is recommended
EXT4-fs (sda4): recovery complete
EXT4-fs (sda4): mounted filesystem with ordered data mode
_: pkg: wd-nas
_: pkg: networking-general
_: pkg: apache-php-webdav
_: pkg: date-time
_: pkg: alerts
_: pkg: admin-rest-api
[admin-rest-api.preinst] 09/16/22 06:02:41: test
[admin-rest-api.preinst] 09/16/22 06:02:41: test()
[admin-rest-api.preinst] 09/16/22 06:02:41: done.
[admin-rest-api.postinst] 09/16/22 06:02:41: test context=test
drwxrwsr-x 2 root www-data 4096 Jun 30 2017 config
[admin-rest-api.postinst] 09/16/22 06:02:41: permissions check for //var/www/Admin/webapp/config: PASSED
-rwxrwsr-x 1 root www-data 394 Jun 30 2017 //var/www/Admin/webapp/config/dynamicconfig.ini
[admin-rest-api.postinst] 09/16/22 06:02:41: permissions check for /dynamicconfig.ini: PASSED
drwxrwxr-x 2 root www-data 4096 Aug 9 2021 orion
[admin-rest-api.postinst] 09/16/22 06:02:41: permissions check for //usr/local/nas/orion/: PASSED
-rwxrwxr-x 1 root www-data 79872 Aug 9 2021 //usr/local/nas/orion//orion.db
[admin-rest-api.postinst] 09/16/22 06:02:41: permissions check for //usr/local/nas/orion//orion.db: PASSED
[admin-rest-api.postinst] 09/16/22 06:02:41: setup test for admin-rest-api: PASSED
[admin-rest-api.postinst] 09/16/22 06:02:42: done.
_: pkg: upnp-nas
_: pkg: dlna-server-access
No packages found matching dlna-server-access.
No packages found matching dlna-server-access.
_: pkg: dlna-server-twonky
_: pkg: itunes
_: pkg: nas-safepoint
_: pkg: webui
_: pkg: orion-resources
_: pkg: afp
Adding 500608k swap on /dev/sda3. Priority:-1 extents:1 across:500608k
Kernel API version: 2
settrustees API version: 2
Pass 1: Checking for parse errors
Pass 2: Sending device modifiers
Pass 3: Sending permissions
done.
Starting Network Interface Plugging Daemon: eth0.
Not starting S.M.A.R.T. daemon smartd, disabled via /etc/default/smartmontools (warning).
Starting reset button monitor: resetbtnd.
S99wdInitFinalize: begin script: start
.
####################################.
# #.
# Finalizing WD NAS Init Run-Level #.
# #.
####################################.
.
S99wdInitFinalize: currentRootDevice is set to /dev/md1
S99wdInitFinalize: currentRootDevice = /dev/md1
logger: hostname=NAS67K
S99wdInitFinalize: Running final checks.. (version 02.43.10-048 on /dev/md1)
/dev/md1:
Version : 0.90
Creation Time : Fri Jun 30 20:53:11 2017
Raid Level : raid1
Array Size : 1999808 (1953.27 MiB 2047.80 MB)
Used Dev Size : 1999808 (1953.27 MiB 2047.80 MB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 1
Persistence : Superblock is persistent
Update Time : Fri Sep 16 16:02:44 2022
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
UUID : 71a4fcb0:5a24ee0a:18d77d2f:8d0d5321
Events : 0.6629746
Number Major Minor RaidDevice State
0 8 1 0 active sync /dev/sda1
1 8 2 1 active sync /dev/sda2
S99wdInitFinalize: #-------------------------------------------#
S99wdInitFinalize: System restart: current version is 02.43.10-048
S99wdInitFinalize: #-------------------------------------------#
S99wdInitFinalize: Rotate logs
_: run pkg bootup scripts:
[bootscript_001_networking-general] 09/16/22 06:02:47: ( boot-system ) begin
logger: hostname=NAS67K
[bootscript_001_networking-general] 09/16/22 06:02:47: done.
[bootscript_005_wd-nas] 09/16/22 06:02:47: ( boot-system ) begin
[bootscript_005_wd-nas] 09/16/22 06:02:47: done.
[bootscript_015_webui] 09/16/22 06:02:47: ( boot-system ) begin
[bootscript_015_webui] 09/16/22 06:02:47: done.
#!/bin/sh -xv
exec &>/dev/null
+ exec
[bootscript_035_nas-safepoint] 09/16/22 06:02:47: ( boot-system ) begin
[bootscript_035_nas-safepoint] 09/16/22 06:02:47: done.
[bootscript_075_orion-resources] 09/16/22 06:02:47: ( boot-system ) begin
[bootscript_075_orion-resources] 09/16/22 06:02:47: done.
[bootscript_085_wd-lib] 09/16/22 06:02:48: ( boot-system ) begin
[bootscript_085_wd-lib] 09/16/22 06:02:48: pkg wd-lib () system boot..
[bootscript_085_wd-lib] 09/16/22 06:02:48: done
[bootscript_095_admin-rest-api] 09/16/22 06:02:48: ( boot-system ) begin
[bootscript_095_admin-rest-api] 09/16/22 06:02:54: done.
Kernel API version: 2
settrustees API version: 2
Pass 1: Checking for parse errors
Pass 2: Sending device modifiers
Pass 3: Sending permissions
NAS Init Completed==================.
INIT: no more processes left in this runlevel
INIT: Switching to runlevel: 2
.
##################################.
# #.
# Entering Application Run-Level #.
# #.
##################################.
.
Starting MD monitoring service: mdadm --monitor.
Starting ntpdate...
Starting OpenBSD Secure Shell server: sshd.
Starting temperature monitor: monitorTemperature3443: old priority 0, new priority 0
.
Starting standby monitor: monitorio3458: old priority 0, new priority 0
.
Starting portmap daemon...Already running..
Starting NFS common utilities: statd idmapd.
Exporting directories for NFS kernel daemon....
Starting NFS kernel daemon: nfsdsvc: failed to register lockdv1 RPC service (errno 97).
mountd.
Starting Samba daemons: nmbd smbd3580: old priority 0, new priority 0
.
Starting FTP server: disabled
Starting Netatalk services (this will take a while): 3601: old priority 0, new priority 0
afpd.
Starting mDNSResponder: mDNSResponder3629: old priority 0, new priority 0
.
Starting upnp nas device: upnpnasd.
Starting system message bus: dbus.
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Starting itunes server: forked-daapd disabled.
Starting /usr/local/twonkymedia-5/twonkymedia... disabled
logger: /etc/rc2.d/S86orion: waiting for system to become ready..
Starting periodic command scheduler: crond.
cat: /sys/class/net/wifi0/operstate: No such file or directory
Starting lltd... OK
Exiting VFT ...
.
####################################.
# #.
# Finalizing Application Run-Level #.
# #.
####################################.
.
: System ready
..sending alert: 2001
Error : Name or service not known
Starting orion services: miocrawlerd, mediacrawlerd, communicationmanagerdCrawler is not enabled
Crawler is not enabled
Fri Sep 16 16:03:17 EST 2022 - %W - Communication Manager - startup is disabled, use 'enable' to start process
Error : Name or service not known
ntp, new date: Fri Sep 16 16:03:36 EST 2022
Running version now: Fri Sep 16 16:03:53 EST 2022
: Check if new firmware is available
Debian GNU/Linux 5.0 NAS67K ttyS0
NAS67K login:
I assumed fully booted was what the “green LED” was supposed to indicate, so I pressed the rear reset button for 4 seconds. This rebooted it, and when it came back it was using DHCP.
eth0: link is up, 1000 FDX, pause enabled
INITcat: /sys/class/net/wifi0/operstate: No such file or directory
Shutting down lltd services: OK
No vft found
Stopping standby monitor: monitorio.
start-stop-daemon: warning: failed to kill 4100: No such process
1 pids were not killed
No process in pidfile '/var/run/tally.pid' found running; none killed.
failed!
Kill Miocrawler Process...
No miocrawler process is found
Fri Sep 16 16:05:17 EST 2022 - %W - Communication Manager - process is not running
Stopping temperature monitor: monitorTemperature.
Stopping itunes server: forked-daapd.
Stopping reset button monitor: resetbtnd.
PID file /var/run/mediaserver.pid not found, stopping server anyway...
twonkymedia: no process killed
Stopping periodic command scheduler: crond.
Stopping Samba daemons: nmbd smbd.
Stopping Network Interface Plugging Daemon: eth0.
Stopping NFS common utilities: idmapd statd.
Stopping S.M.A.R.T. daemon: smartd.
Stopping FTP server: No /usr/sbin/vsftpd found running; none killed.
vsftpd.
Stopping Netatalk Daemons: afpd.
Stopping upnp nas device: upnpnasd.
Stopping mDNSResponder: mDNSResponder.
Stopping NFS kernel daemon: mountd nfsdnfsd: last server has exited, flushing export cache
.
Unexporting directories for NFS kernel daemon....
Stopping portmap daemon....
Stopping MD monitoring service: mdadm --monitor.
Starting ntpdate...
Stopping OpenBSD Secure Shell server: sshd.
Stopping Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Stopping system message bus: dbus.
Asking all remaining processes to terminate...done.
ntp, new date: Sun Jan 5 17:15:43 EST 2025
Killing all remaining processes...failed.
Stopping enhanced syslogd: rsyslogd already stopped.
Saving logs to hdd: .
Stopping ramlog: .
Unmounting temporary filesystems...done.
Deactivating swap...done.
Unmounting local filesystems...done.
6533: old priority 0, new priority 0
Stopping web server: apache2.
md: md1 still in use.
md: md1 still in use.
Will now restart.
md: stopping all md devices.
md: md1 switched to read-only mode.
sd 1:0:0:0: [sda] Synchronizing SCSI cache
Restarting system.
The restart was mostly as above, except during the WD specific initialisation towards the end:
eth0: link is up, 1000 FDX, pause enabled
Listening on LPF/eth0/00:90:a9:b0:f6:1f
Sending on LPF/eth0/00:90:a9:b0:f6:1f
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPOFFER from 192.168.18.1
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.168.18.1
bound to 192.168.18.112 -- renewal in 3138 seconds.