However, I'm not sure if you've understood how the daemon works: it measures the temperature reported by the system and turns on the fan automatically: Half Speed when the temperature reaches 45C, Full Speed when reaching 50C. That's not the HDD temperature but it mimics the behavior of the original firmware.
In my version, the limits were configurable, but @wigyori removed this feature.
Good day. I have used openwrt snapshot firmware for DNS-320L, building it using "firmware selector" sinse it has been released, and a question has appeared: could I remove from syslog notifications according to dns320daemon-mcu? It makes my syslog unuseful, filling it out with same messages every 3-5 sec.
I bought a used DNS320L a few days ago to fix a few things in the daemon. I've got the code ready but it's neither tested nor published. The spam in the syslog is one of these bugs.
Can anyone tell me how you flash the 24.10.0 dns-320l firmware? The factory image is not recognised in the oem or alt-f firmware. I can tftpboot the dns320l-initramfs-uImage recovery image fine, but using that to install the openwrt factory firmware results in an unbootable device. The output while flashing seems to be ok without errors but the alt-f kernel is loaded after the reboot and hangs there because openwrt overwrote the alt-f rootfs. From what I can gather from the serial output of the flashing process, it writes the rootfs but doesn't flash the openwrt kernel and initrd. There is also no indication of writing anything to the u-boot environment.
root@OpenWrt:~# Watchdog handover: fd=3
- watchdog -
Watchdog does not have CARDRESET support
Thu Mar 6 04:40:24 UTC 2025 upgrade: Sending TERM to remaining processes ...
Thu Mar 6 04:40:24 UTC 2025 upgrade: Sending signal TERM to dns320l-mcu (2254)
Thu Mar 6 04:40:28 UTC 2025 upgrade: Sending KILL to remaining processes ...
[ 197.730881] stage2 (2816): drop_caches: 3
Thu Mar 6 04:40:34 UTC 2025 upgrade: Switching to ramdisk...
Thu Mar 6 04:40:37 UTC 2025 upgrade: Performing system upgrade...
ubiformat: mtd2 (nand), size 115212288 bytes (109.8 MiB), 879 eraseblocks of 131072 bytes (128.0 KiB), min. I/O size 2048 bytes
libscan: scanning eraseblock 878 -- 100 % complete
ubiformat: 686 eraseblocks are supposedly empty
ubiformat: warning!: 193 of 879 eraseblocks contain non-UBI data
ubiformat: warning!: only 0 of 879 eraseblocks have valid erase counter
ubiformat: erase counter 0 will be used for all eraseblocks
ubiformat: note, arbitrary erase counter value may be specified using -e option
ubiformat: use erase counter 0 for all eraseblocks
ubiformat: flashing eraseblock 49 -- 100 % complete
u[ 210.870868] ubi0: attaching mtd2 -- 91 % complete
ubiformat: formatting eraseblock [ 211.050913] ubi0: scanning is finished
ubiformat: formatting eraseblock 855 -- 9[ 211.088760] ubi0: volume 2 ("rootfs_data") re-sized from 9 to 807 LEBs
ubiformat: format[ 211.098127] ubi0: attached mtd2 (name "ubi", size 109 MiB)
ting eraseblock [ 211.104454] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes
856 -- 97 % comp[ 211.112680] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
ubiformat[ 211.120723] ubi0: VID header offset: 512 (aligned 512), data offset: 2048
: formatting era[ 211.128862] ubi0: good PEBs: 879, bad PEBs: 0, corrupted PEBs: 0
seblock 857 -- 9[ 211.136223] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128
u[ 211.144794] ubi0: max/mean erase counter: 0/0, WL threshold: 4096, image sequence number: 1448128005
biformat: format[ 211.155278] ubi0: available PEBs: 0, total reserved PEBs: 879, PEBs reserved for bad PEB handling: 20
ting eraseblock [ 211.166104] ubi0: background thread "ubi_bgt0d" started, PID 3520
858 -- 97 % comp[ 211.173796] block ubiblock0_1: created from ubi0:1(rootfs)
ubiformat[ 211.180120] ubiblock: device ubiblock0_1 (rootfs) set to be root filesystem
u[ 211.211459] sd 0:0:0:0: [sda] Synchronizing SCSI cache
biformat: format[ 211.217570] reboot: Restarting system