Jump to content
XPEnology Community

seanone

Member
  • Posts

    34
  • Joined

  • Last visited

Everything posted by seanone

  1. This is my 6.23 DSM VM xml with jun's bootloader: <?xml version='1.0' encoding='UTF-8'?> <domain type='kvm' id='10'> <name>DSM</name> <uuid>78a62f00-77c6-25de-686f-ebb133618c16</uuid> <metadata> <vmtemplate xmlns="unraid" name="Linux" icon="favicon.png" os="linux"/> </metadata> <memory unit='KiB'>8388608</memory> <currentMemory unit='KiB'>8388608</currentMemory> <memoryBacking> <nosharepages/> </memoryBacking> <vcpu placement='static'>4</vcpu> <cputune> <vcpupin vcpu='0' cpuset='6'/> <vcpupin vcpu='1' cpuset='16'/> <vcpupin vcpu='2' cpuset='7'/> <vcpupin vcpu='3' cpuset='17'/> </cputune> <resource> <partition>/machine</partition> </resource> <os> <type arch='x86_64' machine='pc-q35-6.1'>hvm</type> </os> <features> <acpi/> <apic/> </features> <cpu mode='host-passthrough' check='none' migratable='on'> <topology sockets='1' dies='1' cores='2' threads='2'/> <cache mode='passthrough'/> </cpu> <clock offset='utc'> <timer name='rtc' tickpolicy='catchup'/> <timer name='pit' tickpolicy='delay'/> <timer name='hpet' present='no'/> </clock> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <emulator>/usr/local/sbin/qemu</emulator> <disk type='file' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source file='/mnt/user/domains/DSM/DS918+_6.23-25426-1.04b-with_sn-unraid.img' index='3'/> <backingStore/> <target dev='hdc' bus='sata'/> <boot order='1'/> <alias name='sata0-0-2'/> <address type='drive' controller='0' bus='0' target='0' unit='2'/> </disk> <disk type='block' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source dev='/dev/disk/by-id/ata-TOSHIBA_AABBCCDDEE' index='2'/> <backingStore/> <target dev='hdd' bus='sata'/> <alias name='sata0-0-3'/> <address type='drive' controller='0' bus='0' target='0' unit='3'/> </disk> <disk type='block' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source dev='/dev/disk/by-id/ata-ST2000DM006-AABBCCDDEE' index='1'/> <backingStore/> <target dev='hde' bus='sata'/> <alias name='sata0-0-4'/> <address type='drive' controller='0' bus='0' target='0' unit='4'/> </disk> <controller type='sata' index='0'> <alias name='ide'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/> </controller> <controller type='pci' index='0' model='pcie-root'> <alias name='pcie.0'/> </controller> <controller type='pci' index='1' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='1' port='0x10'/> <alias name='pci.1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/> </controller> <controller type='pci' index='2' model='pcie-to-pci-bridge'> <model name='pcie-pci-bridge'/> <alias name='pci.2'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> </controller> <controller type='pci' index='3' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='3' port='0x11'/> <alias name='pci.3'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/> </controller> <controller type='pci' index='4' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='4' port='0x12'/> <alias name='pci.4'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/> </controller> <controller type='pci' index='5' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='5' port='0x13'/> <alias name='pci.5'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/> </controller> <controller type='virtio-serial' index='0'> <alias name='virtio-serial0'/> <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/> </controller> <controller type='usb' index='0' model='ich9-ehci1'> <alias name='usb'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/> </controller> <controller type='usb' index='0' model='ich9-uhci1'> <alias name='usb'/> <master startport='0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/> </controller> <controller type='usb' index='0' model='ich9-uhci2'> <alias name='usb'/> <master startport='2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/> </controller> <controller type='usb' index='0' model='ich9-uhci3'> <alias name='usb'/> <master startport='4'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/> </controller> <interface type='bridge'> <mac address='00:11:32:44:55:66'/> <source bridge='br0'/> <target dev='vnet10'/> <model type='vmxnet3'/> <alias name='net0'/> <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0'/> </interface> <serial type='pty'> <source path='/dev/pts/2'/> <target type='isa-serial' port='0'> <model name='isa-serial'/> </target> <alias name='serial0'/> </serial> <console type='pty' tty='/dev/pts/2'> <source path='/dev/pts/2'/> <target type='serial' port='0'/> <alias name='serial0'/> </console> <channel type='unix'> <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-10-DSM/org.qemu.guest_agent.0'/> <target type='virtio' name='org.qemu.guest_agent.0' state='disconnected'/> <alias name='channel0'/> <address type='virtio-serial' controller='0' bus='0' port='1'/> </channel> <input type='tablet' bus='usb'> <alias name='input0'/> <address type='usb' bus='0' port='1'/> </input> <input type='mouse' bus='ps2'> <alias name='input1'/> </input> <input type='keyboard' bus='ps2'> <alias name='input2'/> </input> <graphics type='vnc' port='5901' autoport='yes' websocket='5701' listen='0.0.0.0' keymap='en-us'> <listen type='address' address='0.0.0.0'/> </graphics> <audio id='1' type='none'/> <video> <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/> <alias name='video0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/> </video> <memballoon model='virtio'> <alias name='balloon0'/> <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/> </memballoon> </devices> <seclabel type='dynamic' model='dac' relabel='yes'> <label>+0:+100</label> <imagelabel>+0:+100</imagelabel> </seclabel> </domain>
  2. Thank you for your work. I have created DS918+ bootloader with pocopico's tinycore and s2k7's virio dirver. 9pfs also works well in unraid vm with share(9pfs actually), not only in docker. But there's a problom that FileStation can only read, delete, and rename files mounted in 9pfs, but cannot add or move files. Other kits like Photo have a similar problom. Not a permissions issue as files can be created via ssh shell with same user. Do you met same problom?
  3. GREAT! It's easy to make and install loader! It run very well in unraid vm. Thank you for your work @pocopico
  4. @pocopico Hi, I meet some problems with 9pfs, please help me. I use tossp's redpill-tool-chain(https://github.com/tossp/redpill-tool-chain) and ext list below to create apollolake-7.0.1-42218 jumkey.acpid2 pocopico.ixgbevf redpill-boot-wait pocopico.v9fs thethorgroup.virtio https://raw.githubusercontent.com/jumkey/redpill-load/develop/redpill-virtio/rpext-index.json DSM7.0.1 can boot, but virtio ethernet isn't work. Also when I mount 9p, it report can't find virtio. sudo mount -t 9p -o trans=virtio,version=9p2000.L,msize=262144 hostdata0 /volume1/datashare0 [ 105.378672] 9pnet: Could not find request transport: virtio mount: /volume1/datashare0: bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program. the log is in attach files named (dmesg_virtio+9p.log) Then I find a full virtio support packet with 9pfs from https://github.com/s2k7/DSM7-modules s2k7 said it work well with 7.0.1, he manual install it into bootloader without ext manager I packet it to redpill ext format, and upload to github https://github.com/Jason98881/virtio Create apollolake-7.0.1-42218 again with ext list below: jumkey.acpid2 pocopico.ixgbevf thethorgroup.boot-wait virtio_with_9pfs (named "virtio_with_9pfs" from https://raw.githubusercontent.com/Jason98881/virtio/main/rpext-index.json) DSM7.0.1 can't boot, and the log in attach files named (dmesg_virtio_with_9p.log) Please help me, or can you make a full virtio support ext with 9p? Thank you very much dmesg_virtio+9p.log dmesg_virtio_with_9p.log
  5. @pocopico @haydibe Could you recommend a 7.0.1 fork? tossp? or other one ? Thanks. I make with 9p ext in tossp fork, it's crash
  6. @uxora-com Is xpenology in dockerhub elder than in github? I create container in unraid from dockerhub, the vm-startup.sh file looks like old version without hostdata0/1.
  7. It's hard to do that, I have worked two weekends and can't get a working boot. If is possible, give me boot file please. 😂
  8. @pocopico Can you add 9pfs driver in virtio ext please? I have opened an issue at github.
  9. Thank you! It's my target too. The host directly manages the disks, and photo app in DSM. Restore or backup data will be easy without virtual disk.
  10. Thanks, Does DSM moment work with 9pfs? I have tested same app(for example moment/backup..) didn't work with NFS in DSM6. Can you share your vm config? Looks like you use the docker DSM?
  11. Is it possible that support virtfs/9p in DSM? NFS directory is blocked in some DSM apps.
  12. Patch it to use software decode, or modify your vm gpu pcie address to 00:02(which is hardcode in dsm7 facedetect).
  13. There is a NFS mount fix for DSM6.23, it let photo/backup can use the NFS dirctory. Can you make a patch for DSM7? There is no method above DSM6 to support NFS indexing, because this limitation is already dead in the system code. If the system finds that the path is a remote path such as NFS, it will directly refuse to create an index, so it can only be solved by unconventional means. Problem, bypass this part of the code through reverse analysis. In addition, if DSM is running in a virtual machine, the system cannot read the SMART information of the hard disk, it will frantically output logs to /var/log/messages, which may eventually saturate the disk space! ! So we also need to bypass this part of the code. After reverse analysis, you only need to modify the return value of the following function IndexIsPathRemoteMount return 0LL; IndexIsPathSupportEAWrite return 1LL; SYNOFSIsRemoteFS return edi == 6; SYNOGetFSType return 2LL; SmartDataRead return -1; SYNODiskTemperatureGet return -1; SYNODiskExceedUncThrCache return -1; These functions are located in the three files /lib/libsynoindex.so, /lib/libsynosdk.so.6 and /lib/libhwcontrol.so.1
  14. Don't agree that, developer also need much more testers to test it, software is useless without users.
  15. I have compiled a 3615xs with acpid ext, but it doesn't work. Anyone can sure it work at 3615xs?
  16. I use virtual usb in unraid. Maybe system is still in bootloader mode, so fdisk just list /dev/sdu instead of /dev/synoboot
  17. Try with "DiskIdxMap": "1000" "SataPortMap": "1", Web assistant said there's no disk in 3615xs, and in dsm bootloader console(serial0), "fdisk -l" has no disk except bootloader usb. After add 3th sata controller as below, it's work now, disk is at 4th disk location. "DiskIdxMap": "00040C " "SataPortMap": "484" When I try "00050D" and "583", that disk is still at 4th disk location, maybe bootloader has fixed disk location map? This is lspci DSM, It means 5 sata controllers? 0000:00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller 0000:00:01.0 VGA compatible controller: Red Hat, Inc. QXL paravirtual graphic card (rev 05) 0000:00:02.0 PCI bridge: Red Hat, Inc. QEMU PCIe Root port 0000:00:02.1 PCI bridge: Red Hat, Inc. QEMU PCIe Root port 0000:00:02.2 PCI bridge: Red Hat, Inc. QEMU PCIe Root port 0000:00:02.3 PCI bridge: Red Hat, Inc. QEMU PCIe Root port 0000:00:07.0 USB controller: Red Hat, Inc. QEMU XHCI Host Controller (rev 01) 0000:00:1f.0 ISA bridge: Intel Corporation 82801IB (ICH9) LPC Interface Controller (rev 02) 0000:00:1f.2 SATA controller: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA Controller [AHCI mode] (rev 02) 0000:00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02) 0000:01:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection 0000:02:00.0 Communication controller: Red Hat, Inc. Virtio console (rev 01) 0000:03:00.0 Unclassified device [00ff]: Red Hat, Inc. Virtio memory balloon (rev 01) 0001:07:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9235 PCIe 2.0 x2 4-port SATA 6 Gb/s Controller (rev 11) 0001:08:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9235 PCIe 2.0 x2 4-port SATA 6 Gb/s Controller (rev 11) 0001:09:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9235 PCIe 2.0 x2 4-port SATA 6 Gb/s Controller (rev 11) 0001:0a:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9235 PCIe 2.0 x2 4-port SATA 6 Gb/s Controller (rev 11)
  18. I use this custom_config.json to build. and bromolow_user_config.json is below: { "extra_cmdline": { "vid": "0x46f4", "pid": "0x0001", "sn": "xxxxxxxxxxxxxxx", "mac1": "xxxxxxxxxxxxxx", "DiskIdxMap": "0400", "SataPortMap": "44", "SasIdxMap": "0" }, "synoinfo": {}, "ramdisk_copy": {} } in DSM serial0 console, sdh(256G nvme SSD passthrough from unraid) is exist DiskStation> fdisk -l Disk /dev/sdh: 238 GB, 256060514304 bytes, 500118192 sectors 31130 cylinders, 255 heads, 63 sectors/track Units: sectors of 1 * 512 = 512 bytes Device Boot StartCHS EndCHS StartLBA EndLBA Sectors Size Id Type /dev/sdh1 0,32,33 310,37,47 2048 4982527 4980480 2431M fd Linux raid autodetect /dev/sdh2 310,37,48 571,58,63 4982528 9176831 4194304 2048M fd Linux raid autodetect /dev/sdh3 587,111,37 1023,254,63 9437184 499913375 490476192 233G fd Linux raid autodetect Disk /dev/md1: 2047 MB, 2147418112 bytes, 4194176 sectors 524272 cylinders, 2 heads, 4 sectors/track Units: sectors of 1 * 512 = 512 bytes Disk /dev/md1 doesn't contain a valid partition table Disk /dev/sdu: 128 MB, 134217728 bytes, 262144 sectors 1008 cylinders, 5 heads, 52 sectors/track Units: sectors of 1 * 512 = 512 bytes Device Boot StartCHS EndCHS StartLBA EndLBA Sectors Size Id Type /dev/sdu1 0,32,33 6,62,56 2048 100351 98304 48.0M 83 Linux Partition 1 has different physical/logical start (non-Linux?): phys=(0,32,33) logical=(7,4,21) Partition 1 has different physical/logical end: phys=(6,62,56) logical=(385,4,44) /dev/sdu2 6,62,57 15,205,62 100352 253951 153600 75.0M 83 Linux Partition 2 has different physical/logical start (non-Linux?): phys=(6,62,57) logical=(385,4,45) Partition 2 has different physical/logical end: phys=(15,205,62) logical=(976,3,36) /dev/sdu3 15,205,63 16,81,1 253952 262143 8192 4096K 83 Linux Partition 3 has different physical/logical start (non-Linux?): phys=(15,205,63) logical=(976,3,37) Partition 3 has different physical/logical end: phys=(16,81,1) logical=(1008,1,12) But after install and reboot, DSM install web assistant show again, seen that can't find the disk. With another bootloader from someone, it can start normally. Can you give some idea? Thank you.
  19. @jhoughten @Orphée https://post.smzdm.com/p/ad2k0grx/ It's a 918 face detect solution with GVT-G in Proxmox. The reason dreamtek has said above.
  20. 8th/9th which iGPU work with dsm7 is too expensive for their performance.
  21. I have compared @IG-88's patched i915.ko and orgin ko, find out patch postion. See picture below that patched 6.23update3 i915 ko, it edited from 3E92 to 3E98 in the iGPU list. In the 7.0.1 i915.ko(cp from /usr/lib/modules in dsm7.0.1), it has same iGPU list as below. So I think you can modify 3e92 to 3e98/9BC5/9BC8 in hex edit mode, maybe can fix the 9th/10th iGPU driver in dsm7. Test it and send me the result
  22. Thank you, post here to keep repill's topic clean. As mcdull said below, is it possible that make a tool(docker) to compile .ko from driver source code and syno kernel code automatically? For example: ./make-driver.sh ds918p_42218 aacraid Just need to keep the tools alive, and don't need to update .ko for every syno kernel update.
×
×
  • Create New...