virtual-dsm icon indicating copy to clipboard operation
virtual-dsm copied to clipboard

[Bug]: Request to reinstall

Open naoki66 opened this issue 1 year ago • 0 comments

Operating system

qnap 5.2 docker

Description

After I complete the installation using docker, I modify the system files through ssh.DSM7 turns on SYNOFSIsRemoteFS:

sudo -i wget http://code.imnks.com/face/PatchELFSharp chmod +x PatchELFSharp ./PatchELFSharp "/usr/lib/libsynosdk.so.7" "SYNOFSIsRemoteFS" "B8 00 00 00 00 C3"

After restarting, it entered the system reinstallation interface. Although you can restore the previous settings through the recovery model, the modifications to /usr/lib/libsynosdk.so.7 do not take effect.

Docker compose

version: "3" services: dsm: container_name: dsm image: vdsm/virtual-dsm network_mode: "bridge" environment: DISK_SIZE: "64G" DISK_FMT: "qcow2" RAM_SIZE: "6G" CPU_CORES: "4" GPU: "Y" devices: - /dev/kvm - /dev/dri cap_add: - NET_ADMIN ports: - 5010:5000 - 221:221 - 6690:6690 volumes: - /share/CACHEDEV2_DATA/DockerConfig/vdsm:/storage stop_grace_period: 2m restart: on-failure

Docker log

[ 15.237320] RPC: Registered tcp transport module. [ 15.237799] RPC: Registered tcp NFSv4.1 backchannel transport module. ... [ OK ] :: Loading module grace ... [ OK ] :: Loading module lockd ... [ OK ] :: Loading module nfs ... [ OK ] :: Loading module nfsv3 ... [ OK ] mount: mounting /dev/bus/usb on /proc/bus/usb failed: No such file or directory ln: /proc/bus/usb/devices: No such file or directory :: Loading module synobios[ 15.278701] synobios ioctl TCGETS /dev/ttyS1 failed [ 15.279237] synobios unable to set termios of /dev/ttyS1 [ 15.279872] 2024-8-23 3:3:14 UTC [ 15.280210] synobios: load, major number 201 [ 15.280655] Brand: Synology [ 15.280937] Model: VirtualDSM [ 15.281243] set group disks wakeup number to 4, spinup time deno 7 [ 15.281884] synobios cpu_arch proc entry initialized [ 15.282413] synobios crypto_hw proc entry initialized [ 15.282963] synobios syno_platform proc entry initialized ... [ OK ] udhcpc: started, v1.30.1 eth0 Link encap:Ethernet HWaddr 02:11:32:13:4C:FF
inet addr:20.20.20.21 Bcast:20.20.20.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:768 (768.0 B) TX bytes:642 (642.0 B) lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) :: Starting syslogd ... [ OK ] /etc/rc: line 331: /usr/syno/bin/syno_pstore_collect: not found :: Starting scemd [ 21.418765] exdisplay_handler not implemented [ 21.421362] exdisplay_handler not implemented [ 21.424008] exdisplay_handler not implemented :: Starting services in background Starting JuniorExpansionPack Starting findhostd in flash_rd... Starting services in flash_rd... Running /usr/syno/etc/rc.d/J01httpd.sh... Starting httpd:80 in flash_rd... Starting httpd:5000 in flash_rd... Running /usr/syno/etc/rc.d/J03ssdpd.sh... [ 21.524100] EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities [ 21.531973] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null) /usr/bin/minissdpd -i eth0 (15): upnp:rootdevice (51): uuid:upnp_SynologyNAS-021132134cff::upnp:rootdevice (57): Synology/synology_kvmx64_virtualdsm/7.2-69057/20.20.20.21 (44): http://20.20.20.21:5000/description-eth0.xml Connected. done. /usr/syno/bin/reg_ssdp_service 20.20.20.21 021132134cff 7.2-69057 synology_kvmx64_virtualdsm eth0 Running /usr/syno/etc/rc.d/J04synoagentregisterd.sh... Starting synoagentregisterd... [ 21.564420] EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities Running /usr/syno/etc/rc.d/J30DisableNCQ.sh... [ 21.567870] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null) [ 21.580966] EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities [ 21.583925] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null) Running /usr/syno/etc/rc.d/J80ADTFanControl.sh... Running /usr/syno/etc/rc.d/J98nbnsd.sh... Starting nbnsd... Running /usr/syno/etc/rc.d/J99avahi.sh... Starting Avahi mDNS/DNS-SD Daemon cname_load_conf failed:/var/tmp/nginx/avahi-aliases.conf Starting guest daemons in flash_rd... /etc/rc: line 378: /usr/syno/bin/synoguestsvcd: not found :: Loading module usb-storage[ 21.649910] usbcore: registered new interface driver usb-storage ... [ OK ] :: Loading module hid ... [ OK ] :: Loading module usbhid[ 21.659906] usbcore: registered new interface driver usbhid [ 21.660605] usbhid: USB HID core driver ... [ OK ] ============ Date ============ Fri Aug 23 03:03:20 UTC 2024

starting pid 6927, tty '': '/sbin/getty 115200 console' Fri Aug 23 03:03:20 2024

❯ ----------------------------------------------------------- ❯ You can now login to DSM at http://10.0.3.10:5000 ❯ ----------------------------------------------------------- VirtualDSM login: [ 22.686167] EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities [ 22.688546] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null) [ 22.701968] EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities [ 22.704325] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null) [ 22.718534] EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities [ 22.722520] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)

Screenshots (optional)

2a17f020f61922274db56ed4d08c295e _dsm_logs (2).txt

naoki66 avatar Aug 23 '24 03:08 naoki66