rr icon indicating copy to clipboard operation
rr copied to clipboard

SA6400 启动慢

Open du5 opened this issue 4 months ago • 1 comments

当出现 NAS Login 后大概会卡住 80 秒, 直到出现 Synotify use 16384 event queue size 之后机器才能访问

Image

pve 配置, 同样配置 DS918+ 不会卡在这一步, 但是我需要m.2硬盘直通 所以选择了 SA6400

affinity: 12-15
agent: 1,fstrim_cloned_disks=1
balloon: 0
bios: ovmf
boot: order=sata0
cores: 4
cpu: host,flags=+aes
efidisk0: local:100/efi.raw,efitype=4m,pre-enrolled-keys=1,size=528K
hostpci0: 0000:04:00.0,pcie=1,rombar=0
hostpci1: 0000:0a:00.0,pcie=1,rombar=0
hotplug: network,usb
machine: q35
memory: 4096
meta: creation-qemu=10.0.2
name: DSM
net0: bridge=vmbr0,firewall=1
numa: 0
onboot: 1
ostype: l26
sata0: local:100/rr.qcow2,backup=0,cache=writethrough,discard=on,size=8G,ssd=1
scsihw: virtio-scsi-single
serial0: socket
smbios1: uuid=sockets: 1
startup: order=1
vcpus: 4
vga: virtio
vmgenid:

完整日志

Welcome to Linux!

[   31.871523] systemd[1]: Set hostname to <NAS>.
[   32.258316] systemd[1]: Cannot add dependency job for unit syno-qlogic-rdma-modules-load.service, ignoring: Unit syno-qlogic-rdma-modules-load.service is masked.
[   32.261222] systemd[1]: Cannot add dependency job for unit syno-mlnx-rdma-modules-load.service, ignoring: Unit syno-mlnx-rdma-modules-load.service is masked.
[   32.264193] systemd[1]: Cannot add dependency job for unit pkg-synobrm-recovery-restart.service, ignoring: Unit pkg-synobrm-recovery-restart.service failed to load: No such file or directory.
[   32.267674] systemd[1]: Cannot add dependency job for unit SynoLedBrightness.service, ignoring: Unit SynoLedBrightness.service is masked.
[   32.270135] systemd[1]: Cannot add dependency job for unit pkg-synorelayd-reload-fixed-package-config.service, ignoring: Unit synorelayd.service failed to load: No such file or directory.
[   32.273431] systemd[1]: Cannot add dependency job for unit pkg-install-high-priority-builtin.service, ignoring: Unit pkg-install-high-priority-builtin.service failed to load: No such file or directory.
[ SKIP ] Ordering cycle found, skipping Paths
[  OK  ] Reached target Swap.
[  OK  ] Reached target Timers.
[  OK  ] Created slice Root Slice.
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Created slice PHP8.2's slice.
[  OK  ] Created slice HybridShare's slice.
[  OK  ] Created slice ScsiTarget's slice.
[  OK  ] Created slice Package Center Slice.
[  OK  ] Created slice RAID Resync Process. ...ing Resync, Repair and Reshape..
[  OK  ] Created slice SNMP.
[  OK  ] Created slice Synology Swap Works.
[  OK  ] Created slice HyperBackup's slice.
[  OK  ] Created slice BTRFS Space Reclaim.
[  OK  ] Created slice Calendar's slice.
[  OK  ] Created slice TextEditor's slice.
[  OK  ] Created slice synobackup daemon slice.
[  OK  ] Created slice scemd.
[  OK  ] Created slice DownloadStation's slice.
[  OK  ] Created slice Shared Folder Sync.
[  OK  ] Created slice Synology Index slice (WAT).
[  OK  ] Created slice BTRFS Optimization.
[  OK  ] Created slice SupportService's slice.
[  OK  ] Listening on Journal Audit Socket.
[  OK  ] Created slice PHP7.4's slice.
[  OK  ] Created slice QuickConnect's slice.
[  OK  ] Created slice Synology Cache Advisor.
[  OK  ] Created slice Task Scheduler Group.
[  OK  ] Created slice DiagnosisTool's slice.
[  OK  ] Created slice SynologyPhotos's slice.
[  OK  ] Created slice Synology Flashcache.
[  OK  ] Created slice Synology DSM Storage Service.
[  OK  ] Created slice Python2's slice.
[  OK  ] Created slice StorageManager's slice.
[  OK  ] Created slice Performance alarm.
[  OK  ] Created slice Node.js_v20's slice.
[  OK  ] Created slice ActiveInsight's slice.
[  OK  ] Created slice SSDP service.
[  OK  ] Created slice Contacts's slice.
[  OK  ] Created slice SynologyApplicationService's slice.
[  OK  ] Created slice Synology DSM internal service.
[  OK  ] Created slice User and Session Slice.
[  OK  ] Created slice OAuthService's slice.
[  OK  ] Created slice SMBService's slice.
[  OK  ] Created slice ContainerManager's slice.
[  OK  ] Listening on Journal Socket.
         Starting Synology Plugin Daemon...
[  OK  ] Listening on udev Control Socket.
[  OK  ] Created slice Synology DSM desktop service.
[  OK  ] Created slice OpenBSD Secure Shell server.
[  OK  ] Created slice SynoFinder's slice.
[  OK  ] Created slice LogCenter's slice.
[  OK  ] Created slice FileStation's slice.
[  OK  ] Created slice System Slice.
         Starting Load Kernel Modules...
[  OK  ] Reached target Slices.
         Starting Set boot sequence config...
         Starting Disabling fan checking flag ......
         Starting unbind USB device...
         Starting Load ntb_brd module...
         Mounting Debug File System...
         Starting Synology swap...
         Starting Set time zone information to kernel...
[  OK  ] Created slice system-syno\x2dmd\x2dresync\x2dspeed\x2dadju[   32.325684] systemd-journald[7883]: Received request to flush runtime journal from PID 1
st.slice.
         Starting Set hostname...
[  OK  ] Created slice system-serial\x2dgetty.slice.
         Mounting Temporary Directory...
         Starting Link coredump path to volume if possible...
         Starting check integrity of rd.gz decompression...
[  OK  ] Created slice SecureSignIn's slice.
[  OK  ] Mounted Debug File System.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Started Set boot sequence config.
[  OK  ] Started Disabling fan checking flag ....
[  OK  ] Started unbind USB device.
[  OK  ] Started Set time zone information to kernel.
         Starting Journal Service...
[  OK  ] Reached target Sockets.
         Starting Mount efivarfs...
         Starting Mount usb fs...
[  OK  ] Started Load ntb_brd module.
[  OK  ] Mounted Temporary Directory.
[  OK  ] Reached target Local File Systems.
         Starting D-Bus Session Message Bus...
         Starting udev Coldplug all Devices...
         Starting Set boot sequence config for temporary use...
         Starting D-Bus System Message Bus...
[  OK  ] Started Mount efivarfs.
[  OK  ] Started Synology Plugin Daemon.
[  OK  ] Started Set boot sequence config for temporary use.
[  OK  ] Started Link coredump path to volume if possible.
[  OK  ] Started Journal Service.
         Starting Flush Journal to Persistent Storage...
         Starting System Logger Daemon...
[  OK  ] Started Flush Journal to Persistent Storage.
         Starting Create Volatile Files and Directories...
[  OK  ] Started check integrity of rd.gz decompression.
[  OK  ] Started D-Bus Session Message Bus.
         Starting Synology Network Daemon...
[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Reached target Create SDK locks directory.
         Starting Check Synology group info consistency...
         Starting Check Synology user info consistency...
         Starting Check /etc/synoinfo.conf...
         Starting Synology Database Update...
         Starting synodsmnotify...
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Started Set hostname.
[  OK  ] Started Mount usb fs.
[  OK  ] Started Synology Network Daemon.
[  OK  ] Started synodsmnotify.
[  OK  ] Started Check /etc/synoinfo.conf.
         Starting Wait for synonetd ready...
[   32.373561] cryptd: max_cpu_qlen set to 1000
[  OK  ] Started Synology Database Update.
[  OK  ] Started D-Bus System Message Bus.
[   32.379380] AVX2 version of gcm_enc/dec engaged.
[   32.380384] AES CTR mode by8 optimization enabled
[   32.381550] zram: Added device: zram0
[   32.382394] zram: Added device: zram1
[   32.383202] zram: Added device: zram2
[   32.384046] zram: Added device: zram3
[  OK  ] Started Wait for synonetd ready.
         Starting Synology Network Event Daemon...
[   32.386635] NET: Registered protocol family 10
[   32.391194] Segment Routing with IPv6
[  OK  ] Started Synology Network Event Daemon.
[  OK  ] Started Check Synology user info consistency.
[   32.396496] device-mapper: ioctl: 4.43.0-ioctl (2020-10-01) initialised: [email protected]
[   32.400592] md: md1 stopped.
[   32.402079] flashcache_syno: flashcache-1.0-syno-v25-pin-file-2024-09-05-14:00-debug initialized
[   32.402517] md/raid1:md1: active with 2 out of 26 mirrors
[   32.405711] md1: detected capacity change from 0 to 2146435072
[   32.406950] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[   32.414674] sd 6:0:0:0: Attached scsi generic sg0 type 0
[  OK  ] Started Load Kernel Modules.
         Starting Adjust NIC sequence...
         Mounting Configuration File System...
         Starting Load Kernel Modules in Kernel Project...
         Starting Apply default and user cus... sysctl.conf kernel variable....
         Starting Load Fan Modules in Kernel Project...
         Mounting FUSE Control File System...
[  OK  ] Mounted Configuration File System.
[  OK  ] Started Apply default and user cust...ed sysctl.conf kernel variable..
[  OK  ] Started Adjust NIC sequence.
[  OK  ] Started Check Synology group info consistency.
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Reached target User and Group Name Lookups.
[  OK  ] Reached target Synology local user and group ready.
         Starting Synology Task Scheduler Init...
         Starting Apply Kernel Variables...
[  OK  ] Started Load Fan Modules in Kernel Project.
[  OK  ] Started Apply Kernel Variables.
         Starting Apply kernel variable kernel.s[   32.442077] synobios open /dev/ttyS1 success
em at least 512.[   32.443155] Fail to get disk 1 led type
..[   32.444197] Fail to get disk 2 led type

[   32.445046] Fail to get disk 3 led type
[   32.445876] Fail to get disk 4 led type
[   32.446698] Fail to get disk 5 led type
[   32.446699] Fail to get disk 6 led type
[   32.446699] Fail to get disk 7 led type
[   32.446699] Fail to get disk 8 led type
[   32.446700] Fail to get disk 9 led type
         Startin[   32.446700] Fail to get disk 10 led type
[   32.446701] Fail to get disk 11 led type
g Adjust kernel [   32.446701] Fail to get disk 12 led type
parameters -...o[   32.447543] 2025-9-30 3:26:26 UTC
r, vm.watermark_[   32.447545] synobios: load, major number 201
boost_factor...[   32.447547] Brand: Synology

[   32.447548] Model: SA-6400
[   32.447550] synobios cpu_arch proc entry initialized
[   32.447550] synobios crypto_hw proc entry initialized
[   32.447551] synobios syno_platform proc entry initialized
[   32.448478] Adding 2096124k swap on /dev/md1.  Priority:-2 extents:1 across:2096124k 
         Starting Apply kernel variable vm.kswapd_threads...
         Starting Apply kernel variable kernel-shmmni at least 16384...
[   32.465503] zram0: detected capacity change from 0 to 592445440
[  OK  ] Started Synology Task Scheduler Init.
[  OK  ] Started Apply kernel variable kernel.sem at least 512.
[  OK  ] Started Apply kernel variable vm.kswapd_threads.
[  OK  ] Started Adjust kernel parameters - ...ctor, vm.watermark_boost_factor.
[  OK  ] Started Apply kernel variable kernel-shmmni at least 16384.
[   32.478386] Adding 578556k swap on /dev/zram0.  Priority:1 extents:1 across:578556k SS
[   32.480074] usbcore: registered new interface driver usblp
[   32.480249] zram1: detected capacity change from 0 to 592445440
[   32.485628] usbcore: registered new interface driver usb-storage
[   32.488336] usbcore: registered new interface driver uas
[  OK  ] Started Load K[   32.490393] Adding 578556k swap on /dev/zram1.  Priority:1 extents:1 across:578556k SS
ernel Modules in Kernel Project.[   32.492397] zram2: detected capacity change from 0 to 592445440

         Starting Software Init Led for support led v2 models...
         Starting DSM Release Rolling Group ID...
[  OK  ] Started DSM Release Rolling Group ID.
[   32.501371] Adding 578556k swap on /dev/zram2.  Priority:1 extents:1 across:578556k SS
[   32.503261] zram3: detected capacity change from 0 to 592445440
[  OK  ] Started System Logger Daemon.
[DEPEND] Dependency failed for rebuild local user and group db.
[  OK  ] Reached target Synology Task Schedu...brary functions and tasks ready.
[  OK  ] Reached target Synology root filesystem (rw) ready.
         Starting Load AppArmor profiles...
         Starting Umount initrd...
         Starting Clean UPS config...
         Starting Synology Default TLS Profile...
         Starting Synology check locale...
         Starting Set arp ignore...
         Starting DSM Boot Health Check...
         Starting DSM Installation ID...
         Starting Set Eunit Sequence...
[  OK  ] Reached target Network (Pre).
         Starting syno-cgi-keygen.service...
         Starting synodrnode...
         Starting Synology Log bootup start...
[  OK  ] Started Clean UPS config.
[  OK  ] Started DSM Installation ID.
[  OK  ] Started Synology check locale.
[  OK  ] Started Set arp ignore.
         Starting rc.network...
[  OK  ] Started Umount initrd.
[  OK  ] Started Synology Log bootup start.
[  OK  ] Started Set Eunit Sequence.
[  OK  ] Started DSM Boot Health Check.
[  OK  ] Started Synology Default TLS Profile.
[  OK  ] Started synodrnode.
[  OK  ] Started syno-cgi-keygen.service.
[  OK  ] Started Load AppArmor profiles.
[  OK  ] Started Software Init Led for support led v2 models.
[   33.107389] Adding 578556k swap on /dev/zram3.  Priority:1 extents:1 across:578556k SS
[  OK  ] Started Synology swap.
         Starting udev Kernel Device Manager...
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Reached target System Initialization.
         Starting bootup upgrade sha package...
[  OK  ] Started Synology token manager.
         Starting Synology token manager...
[  OK  ] Started Synology task manager.
         Starting Synology task manager...
[  OK  ] Started Serial Getty on ttyS0.
         Starting Serial Getty on ttyS0...
[  OK  ] Reached target Login Prompts.
[  OK  ] Started bootup upgrade sha package.
[ SKIP ] Ordering cycle found, skipping Paths
[  OK  ] Stopped NUMA Node Optimization Daemon.
[ SKIP ] Ordering cycle found, skipping Paths
[  OK  ] Stopped NUMA Node Optimization Daemon.
[   33.377233] input: QEMU QEMU USB Tablet as /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/0003:0627:0001.0001/input/input4
[   33.379982] hid-generic 0003:0627:0001.0001: input: USB HID v0.01 Mouse [QEMU QEMU USB Tablet] on usb-0000:00:1d.7-1/input0
[   33.413138] 8021q: 802.1Q VLAN Support v1.8
[   33.414078] 8021q: adding VLAN 0 to HW filter on device eth0
         Starting DHCP client init...
[  OK  ] Created slice system-dhclient.slice.
[  OK  ] Started DHCP client init.
         Starting eth0 DHCP Client...
[  OK  ] Started eth0 DHCP Client.
         Stopping eth0 DHCP Client...
[  OK  ] Stopped eth0 DHCP Client.
         Starting eth0 DHCP Client...
[  OK  ] Started eth0 DHCP Client.
[  OK  ] Started rc.network.
         Starting Check if network is ready...
[  OK  ] Reached target Network.
         Starting PPPoE...
         Starting Out of Band Management Status Check...
[  OK  ] Started PPPoE.
[  OK  ] Started Out of Band Management Status Check.
[  OK  ] Started Check if network is ready.
[  OK  ] Reached target Network is Online.
         Starting Set Policy Route...
         Starting broadcast synorelayd boot state...
         Starting register ds region by ip...
[  OK  ] Started Set Policy Route.
[  OK  ] Started broadcast synorelayd boot state.
[  OK  ] Started register ds region by ip.

NAS login: [  122.320263] Synotify use 16384 event queue size
[  122.345869] ext2 filesystem being mounted at /tmp/bootmnt supports timestamps until 2038 (0x7fffffff)
[  122.787273] md: md2 stopped.
[  122.806103] md/raid1:md2: active with 2 out of 2 mirrors
[  122.807713] md2: detected capacity change from 0 to 3989805268992
[  122.974439] flashcache_syno: /dev/vg1/volume_1 exclude check success
[  123.169358] raid6: avx2x4   gen() 24695 MB/s
[  123.186355] raid6: avx2x4   xor()  6577 MB/s
[  123.204356] raid6: avx2x2   gen() 25831 MB/s
[  123.222359] raid6: avx2x2   xor() 14778 MB/s
[  123.239354] raid6: avx2x1   gen() 22185 MB/s
[  123.257353] raid6: avx2x1   xor() 13226 MB/s
[  123.275357] raid6: sse2x4   gen() 19409 MB/s
[  123.293354] raid6: sse2x4   xor()  6735 MB/s
[  123.311363] raid6: sse2x2   gen() 20229 MB/s
[  123.329354] raid6: sse2x2   xor()  9352 MB/s
[  123.347356] raid6: sse2x1   gen() 16539 MB/s
[  123.365356] raid6: sse2x1   xor()  8219 MB/s
[  123.366339] raid6: using algorithm avx2x2 gen() 25831 MB/s
[  123.367751] raid6: .... xor() 14778 MB/s, rmw enabled
[  123.369036] raid6: using avx2x2 recovery algorithm
[  123.370797] xor: automatically using best checksumming function   avx       
[  123.401735] Btrfs loaded, crc32c=crc32c-intel
[  123.612616] systemd[1]: PID file /var/run/ddnsd.pid not readable (yet?) after start.
[  123.678534] BTRFS: device label 2025.09.25-08:02:36 v72806 devid 1 transid 23065 /dev/mapper/cachedev_0 scanned by mount (13019)
[  123.681150] BTRFS info (device dm-2): enabling auto syno reclaim space
[  123.682487] BTRFS info (device dm-2): enabling ssd optimizations
[  123.683714] BTRFS info (device dm-2): using free space tree
[  123.684852] BTRFS info (device dm-2): using block group cache tree
[  123.686110] BTRFS info (device dm-2): has skinny extents
[  123.693767] EXT4-fs (loop0): mounted filesystem with ordered data mode. Opts: (null)
[  123.695159] BTRFS info (device dm-2): root of syno feature tree is null
[  123.695401] ext4 filesystem being mounted at /tmp/SynologyAuthService supports timestamps until 2038 (0x7fffffff)
[  124.425211] capability: warning: `nginx' uses 32-bit capabilities (legacy support in use)
[  124.729564] Synotify use 16384 event queue size
[  124.730601] Synotify use 16384 event queue size
[  124.973531] iSCSI:target_core_rodsp_server.c:1008:rodsp_server_init RODSP server started, login_key(d8e0ef669f81).
[  124.979971] syno_extent_pool: module license 'Proprietary' taints kernel.
[  124.981344] Disabling lock debugging due to kernel taint
[  124.985020] iSCSI:extent_pool.c:766:ep_init syno_extent_pool successfully initialized
[  124.995370] iSCSI:target_core_device.c:593:se_dev_align_max_sectors Rounding down aligned max_sectors from 4294967295 to 4294967288
[  124.997786] iSCSI:target_core_configfs.c:6124:target_init_dbroot db_root: cannot open: /etc/target
[  124.999842] iSCSI:target_core_lunbackup.c:367:init_io_buffer_head 2048 buffers allocated, total 8388608 bytes successfully
[  125.015878] iSCSI:target_core_file.c:128:fd_attach_hba RODSP plugin for fileio is enabled.
[  125.017553] iSCSI:target_core_file.c:136:fd_attach_hba ODX Token Manager is enabled.
[  125.019113] iSCSI:target_core_multi_file.c:126:fd_attach_hba RODSP plugin for multifile is enabled.
[  125.020933] iSCSI:target_core_multi_file.c:134:fd_attach_hba ODX Token Manager is enabled.
[  125.022592] iSCSI:target_core_ep.c:782:ep_attach_hba RODSP plugin for epio is enabled.
[  125.024160] iSCSI:target_core_ep.c:789:ep_attach_hba ODX Token Manager is enabled.
[  125.053631] iSCSI:target_core_configfs.c:6084:volume_make_item load filesystem_stat on volume(volume1)
[  125.056322] iSCSI:target_core_file.c:411:fd_init_rod Load FD-ROD Buffer(/volume1/@iSCSI/LUN/BLUN/xxxx/ROD)
[  125.058962] iSCSI:target_core_rodsp_server.c:156:rodsp_server_sink_register SINK-REG(xxxx)
[  125.061174] iSCSI:target_core_configfs.c:3353:target_dev_enable_store process [15011] '/var/packages/ScsiTarget/target/bin/synoiscsiep --startall iscsi' successfully loaded LUN(fileio/LUN_xxxx), uuid(xxx), control(fd_dev_name=/volume1/@iSCSI/LUN/BLUN/xxxx/LUN-1_00000,fd_dev_size=1610612736000,thin_provision=1,block_size=512,enable_sink=xxxx,fd_async_io=1,fd_rod_path=/volume1/@iSCSI/LUN/BLUN/xxxxx/ROD)
[  125.071585] iSCSI:target_core_configfs.c:1303:emulate_fua_write_store [fileio/LUN-1/xxxx exec_fua_write: 0
[  125.074968] iSCSI:iscsi_target.c:453:start_all_np iSCSI Network Portal started successfully xxxx:3260
[  125.077000] iSCSI:iscsi_target.c:453:start_all_np iSCSI Network Portal started successfully [xxxx]:3260
[  125.079509] iSCSI:iscsi_target.c:453:start_all_np iSCSI Network Portal started successfully [fe80::be24:11ff:fe24:9005]:3260
[  125.284510] iSCSI:qla_dbg.c:2572:ql_log qla2xxx [0000:00:00.0]-0005: : QLogic Fibre Channel HBA Driver: 10.02.00.103-k.
[  125.855626] ext2 filesystem being mounted at /tmp/bootmnt supports timestamps until 2038 (0x7fffffff)
[  125.959368] The mempool could be used by other devices
[  126.999633] findhostd uses obsolete (PF_INET,SOCK_PACKET)
[  127.393881] Synotify use 16384 event queue size
[  128.812990] aufs 5.10
[  128.822350] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[  128.829749] Bridge firewalling registered
[  128.840680] IPVS: Registered protocols (TCP, UDP, SCTP, AH, ESP)
[  128.841954] IPVS: Connection hash table configured (size=4096, memory=64Kbytes)
[  128.843463] IPVS: ipvs loaded.
[  128.846896] IPVS: [rr] scheduler registered.
[  129.154554] Initializing XFRM netlink socket
[  136.872936] Synotify use 16384 event queue size
[  137.547649] Synotify use 16384 event queue size

du5 avatar Sep 30 '25 03:09 du5

我在ESXI下用的SA6400 每次启动都要等很久很久好几分钟。

vinson0231 avatar Oct 28 '25 02:10 vinson0231