quicknick Posted November 28, 2016 Author Share #26 Posted November 28, 2016 Below is the console log for installing on a VM with UEFI bootloader & PXE GNU GRUB version 2.02~beta3 +----------------------------------------------------------------------------+ | Synology PXE | | Synology DS916+ | |*Synology DS3615xs | | | Hi jun, your loader v1.01 - Nice work! Do you know the solution, PXE boot with Using GRUB2? Would be handy, thanks! Best regards & Servus, sybdata PXE isn't that hard to do. I'll incorporate into a loader I'll soon be releasing. Quote Link to comment Share on other sites More sharing options...
Bob the Builder Posted November 28, 2016 Share #27 Posted November 28, 2016 PXE isn't that hard to do. I'll incorporate into a loader I'll soon be releasing. O, this is a good news! Thank you Quote Link to comment Share on other sites More sharing options...
Polanskiman Posted December 1, 2016 Share #28 Posted December 1, 2016 Below is the console log for installing on a VM with UEFI bootloader & PXE GNU GRUB version 2.02~beta3 +----------------------------------------------------------------------------+ | Synology PXE | | Synology DS916+ | |*Synology DS3615xs | | | Hi jun, your loader v1.01 - Nice work! Do you know the solution, PXE boot with Using GRUB2? Would be handy, thanks! Best regards & Servus, sybdata PXE isn't that hard to do. I'll incorporate into a loader I'll soon be releasing. Are you referring to the tool you were going to release a few weeks back or an entirely new loader you've been cooking? Quote Link to comment Share on other sites More sharing options...
quicknick Posted December 1, 2016 Author Share #29 Posted December 1, 2016 Below is the console log for installing on a VM with UEFI bootloader & PXE GNU GRUB version 2.02~beta3 +----------------------------------------------------------------------------+ | Synology PXE | | Synology DS916+ | |*Synology DS3615xs | | | Hi jun, your loader v1.01 - Nice work! Do you know the solution, PXE boot with Using GRUB2? Would be handy, thanks! Best regards & Servus, sybdata PXE isn't that hard to do. I'll incorporate into a loader I'll soon be releasing. Are you referring to the tool you were going to release a few weeks back or an entirely new loader you've been cooking? New loader w/tool. Bios/32 & 64bit EFI (need 32bit for some systems and VMware Workstation) Also will include a lot of drivers. Just taking my time with QC. Got a few more issues to iron out. PXE boot will be a separate thing. But did create the standalone EFI 32/64bit and grub cfg for this. Will test at some point after I finish the other stuff. Sent from my SM-N920T using Tapatalk Quote Link to comment Share on other sites More sharing options...
Polanskiman Posted December 2, 2016 Share #30 Posted December 2, 2016 Are you referring to the tool you were going to release a few weeks back or an entirely new loader you've been cooking? New loader w/tool. Bios/32 & 64bit EFI (need 32bit for some systems and VMware Workstation) Also will include a lot of drivers. Just taking my time with QC. Got a few more issues to iron out. PXE boot will be a separate thing. But did create the standalone EFI 32/64bit and grub cfg for this. Will test at some point after I finish the other stuff. Should you need some pre-test I'll be happy to help. Quote Link to comment Share on other sites More sharing options...
Elpee Posted December 2, 2016 Share #31 Posted December 2, 2016 New loader w/tool. Bios/32 & 64bit EFI (need 32bit for some systems and VMware Workstation) Also will include a lot of drivers. Just taking my time with QC. Got a few more issues to iron out. PXE boot will be a separate thing. But did create the standalone EFI 32/64bit and grub cfg for this. Will test at some point after I finish the other stuff. Sent from my SM-N920T using Tapatalk That's why I've been holding all updates on my Nas as well as new builds and wait until the new loader with tool comes out. Thanks for your hard working, quicknick. Pls test carefully but hope we can see it (new loader) soon. Quote Link to comment Share on other sites More sharing options...
medric Posted July 13, 2017 Share #32 Posted July 13, 2017 quote On 9/19/2016 at 7:27 PM, jun said: @oktisme sovled the problem through userland, and I want to try a different approch. I recently wrote a linux kernel module to dynamically patch the dsm kernel. With this hack, we only need to repack rd.gz to load this special module at early stage, zImage & pat is used as is, so changes are kept minimal. Now it works on latest version DSM 6.0.2-8451, sort of. I mean every feature looks healthy, but drivers for bare metals are not included, there are simply to many, and I am too lazy. These drivers can be build with the beta source, I notice there is one floating around on the github. Personally I only build a few network drivers to test on a VM, but I am pretty sure it works for other drivers. If any hacker want to test it, pls contact me. I mean peoples who comfort to build kernel modules, pack & unpack ramdisk, have serial console if want to test on bare metal. TODO: hide any trace of the module, since I am sure it will be on the blacklist if it become popular. Below is the console log for installing on a VM with UEFI bootloader & PXE GNU GRUB version 2.02~beta3 +----------------------------------------------------------------------------+ | Synology PXE | | Synology DS916+ | |*Synology DS3615xs | | | | | | | | | | | | | | | | | | | +----------------------------------------------------------------------------+ Use the ^ and v keys to select which entry is highlighted. Press enter to boot the selected OS, `e' to edit the commands before booting or `c' for a command-line. The highlighted entry will be executed automatically in 0s. Booting `Synology DS3615xs' error: no suitable video mode found. Booting in blind mode early console in decompress_kernel Decompressing Linux... Parsing ELF... done. Booting the kernel. [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 3.10.77 (root@build1) (gcc version 4.9.3 20150311 (prerelease) (crosstool-NG 1.20.0) ) #8451 SMP Wed Aug 17 05:12:41 CST 2016 [ 0.000000] Command line: BOOT_IMAGE=(tftp,192.168.200.2)/grub/../image/DS3615xs/zImage root=/dev/md0 syno_hdd_powerup_seq=0 netif_num=1 HddHotplug=0 syno_hw_version=DS3615xs vender_format_version=2 vid=0x058f pid=0x6387 console=uart,io,0x3f8,115200n8 sn=C7LWN09761 mac1=0011322CA785 withefi elevator=your_magic_elevator quiet [ 0.000000] KERNEL supported cpus: [ 0.000000] Intel GenuineIntel [ 0.000000] Disabled fast string operations [ 0.000000] e820: BIOS-provided physical RAM map: [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x0000000000000fff] ACPI NVS [ 0.000000] BIOS-e820: [mem 0x0000000000001000-0x000000000009ffff] usable [ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000000dd80fff] usable [ 0.000000] BIOS-e820: [mem 0x000000000dd81000-0x000000000dd85fff] ACPI NVS [ 0.000000] BIOS-e820: [mem 0x000000000dd86000-0x000000000ef1ffff] usable [ 0.000000] BIOS-e820: [mem 0x000000000ef20000-0x000000000ef3ffff] type 20 [ 0.000000] BIOS-e820: [mem 0x000000000ef40000-0x000000000ef8ffff] reserved [ 0.000000] BIOS-e820: [mem 0x000000000ef90000-0x000000000efabfff] ACPI data [ 0.000000] BIOS-e820: [mem 0x000000000efac000-0x000000000efaffff] ACPI NVS [ 0.000000] BIOS-e820: [mem 0x000000000efb0000-0x000000003fffffff] usable [ 0.000000] BIOS-e820: [mem 0x00000000ffc00000-0x00000000ffc17fff] reserved [ 0.000000] Early serial console at I/O port 0x3f8 (options '115200n') [ 0.000000] bootconsole [uart0] enabled START /linuxrc.syno Insert basic USB modules... :: Loading module usb-common ... [ OK ] :: Loading module usbcore ... [ OK ] :: Loading module ehci-hcd ... [ OK ] :: Loading module ehci-pci ... [ OK ] :: Loading module uhci-hcd ... [ OK ] :: Loading module xhci-hcd ... [ OK ] :: Loading module etxhci-hcd ... [ OK ] Insert net driver(Mindspeed only)... Starting /usr/syno/bin/synocfgen... /usr/syno/bin/synocfgen returns 0 Partition Version=8 /sbin/e2fsck exists, checking /dev/md0... 54 inodes used (0.03%, out of 155648) 3 non-contiguous files (5.6%) 0 non-contiguous directories (0.0%) # of inodes with ind/dind/tind blocks: 0/0/0 Extent depth histogram: 45/1 209209 blocks used (33.61%, out of 622544) 0 bad blocks 1 large file 36 regular files 9 directories 0 character device files 0 block device files 0 fifos 0 links 0 symbolic links (0 fast symbolic links) 0 sockets ------------ 45 files /sbin/e2fsck returns 0 Mounting /dev/md0 /tmpRoot ------------upgrade Begin upgrade procedure Found an upgrade file on data volume. Begin upgrade Checksum of system tarball verified. /tmpRoot//etc -> /tmpRoot/.upd@te/etc/ mv: can't rename '/tmpRoot//etc/.[^.]*': No such file or directory /tmpRoot//var -> /tmpRoot/.upd@te/var/ mv: can't rename '/tmpRoot//var/*': No such file or directory Removing /tmpRoot/.upd@te//etc/ftpusers... Removing /tmpRoot/.upd@te//etc/rc... Removing /tmpRoot/.upd@te//etc/rc.network... Removing /tmpRoot/.upd@te//usr/syno/etc/rc.atalk... Removing /tmpRoot/.upd@te//usr/syno/etc/.htpasswd... Removing /tmpRoot/.upd@te//usr/syno/etc/lpd/lpd.conf... Removing /tmpRoot/.upd@te//usr/syno/etc/printcap... Removing /tmpRoot/.upd@te//usr/syno/etc/ups.conf... Removing /tmpRoot/.upd@te//usr/syno/etc/upsd.conf... Removing /tmpRoot/.upd@te//usr/syno/etc/upsd.users... Removing /tmpRoot/.upd@te//usr/syno/etc/upsmon.conf... Removing /tmpRoot/.upd@te//usr/syno/etc/upssched.conf... Removing /tmpRoot/.upd@te//etc/lvm/lvm.conf... Removing /tmpRoot/.upd@te//usr/local/etc/rc.d/SynoEnablePersonalServices.sh... Removing /tmpRoot/.upd@te//etc/rc.network_routing... Removing /tmpRoot/.upd@te//usr/syno/etc/rc.tun... Removing /tmpRoot/.upd@te//usr/syno/etc/afpd.conf... Removing /tmpRoot/.upd@te//etc/pam.d/samba... Removing /tmpRoot/.upd@te//etc/ppp/ip-up... Removing /tmpRoot/.upd@te//etc/ppp/ip-down... Removing /tmpRoot/.upd@te//etc/ppp/ip-function... Removing /tmpRoot/.upd@te//etc/ppp/ipv6-up... Removing /tmpRoot/.upd@te//etc/ppp/ipv6-down... Removing /tmpRoot/.upd@te//etc/ppp/options... Removing /tmpRoot/.upd@te//usr/local/cups/mime.types... Removing /tmpRoot/.upd@te//usr/local/cups/mime.convs... Removing /tmpRoot/.upd@te//etc/cups/cupsd.conf... Removing /tmpRoot/.upd@te//usr/local/cups/cupsd.conf... Removing /tmpRoot/.upd@te//usr/local/cups/testprint... Removing /tmpRoot/.upd@te//usr/local/cups/filter/bannertops... Removing /tmpRoot/.upd@te//usr/local/cups/filter/commandtops... Removing /tmpRoot/.upd@te//usr/local/cups/filter/gziptoany... Removing /tmpRoot/.upd@te//usr/local/cups/filter/imagetops... Removing /tmpRoot/.upd@te//usr/local/cups/filter/imagetoraster... Removing /tmpRoot/.upd@te//usr/local/cups/filter/pdftops... Removing /tmpRoot/.upd@te//usr/local/cups/filter/pstops... Removing /tmpRoot/.upd@te//usr/local/cups/filter/rastertoepson... Removing /tmpRoot/.upd@te//usr/local/cups/filter/rastertohp... Removing /tmpRoot/.upd@te//usr/local/cups/filter/rastertolabel... Removing /tmpRoot/.upd@te//usr/local/cups/filter/rastertopwg... Removing /tmpRoot/.upd@te//usr/local/cups/filter/texttops... Removing /tmpRoot/.upd@te//usr/local/cups/filter/hpgltops... Removing /tmpRoot/.upd@te//etc/hostapd/stainfo.sh... Removing /tmpRoot/.upd@te//etc/hostapd/mac_filter/mfscript.sh... Removing /tmpRoot/.upd@te//usr/syno/etc/rfkill.sh... Removing /tmpRoot/.upd@te//usr/syno/etc/iptables_guest_net.sh... Removing /tmpRoot/.upd@te//etc/ld.so.preload... Removing /tmpRoot/.upd@te//etc/tc/default.cmd... Removing /tmpRoot/.upd@te//usr/syno/etc/ssl/mkcert.sh... Removing /tmpRoot/.upd@te//usr/syno/etc/ssl/mkcgikey.sh... Removing /tmpRoot/.upd@te//etc/logrotate.conf... Removing /tmpRoot/.upd@te//usr/syno/etc/usbmodem/wcdma_list.json... Removing /tmpRoot/.upd@te//usr/syno/etc/usbmodem/usb_modeswitch.d/*... Removing /tmpRoot/.upd@te//etc/php/php.ini... Removing /tmpRoot/.upd@te//etc/php/php-fpm.conf... Removing /tmpRoot/.upd@te//etc/php/conf.d/opcache.ini... Removing /tmpRoot/.upd@te//usr/syno/etc/synoservice.d/global.setting... Removing /tmpRoot/.upd@te//usr/syno/etc/synoservice.d/system.cfg... Removing /tmpRoot/.upd@te//usr/syno/etc/ssdp/dsm_desc.xml... Removing /tmpRoot/.upd@te//usr/syno/etc/iptables_time_ctrl.sh... Removing /tmpRoot/.upd@te//etc/profile... Removing /tmpRoot/.upd@te//etc/inputrc... Removing /tmpRoot/.upd@te//etc/dhclient/dhclient-script... Removing /tmpRoot/.upd@te//etc/dhclient/ipv4/dhclient.conf... Removing /tmpRoot/.upd@te//etc/dhclient/ipv6/dhclient.conf... Removing /tmpRoot/.upd@te//usr/syno/etc/www/SSLProfile.json... Removing /tmpRoot/.upd@te//etc/vimrc... Removing /tmpRoot/.upd@te//usr/syno/etc/cacert.pem... Removing /tmpRoot/.upd@te//usr/syno/etc/iptables_modules_list... Removing /tmpRoot/.upd@te//usr/syno/etc/iptables_chain_list... Removing /tmpRoot/.upd@te//usr/local/bin/python*... Removing /tmpRoot/.upd@te//etc/pam.d... Removing /tmpRoot/.upd@te//usr/syno/etc/vfs... Removing /tmpRoot/.upd@te//var/run... Removing /tmpRoot/.upd@te//var/state/ups... Removing /tmpRoot/.upd@te//usr/syno/etc/ups... Removing /tmpRoot/.upd@te//var/spool/postfix... Removing /tmpRoot/.upd@te//usr/local/cups/backend... Removing /tmpRoot/.upd@te//usr/local/cups/mime... Removing /tmpRoot/.upd@te//etc/fw_security/sysconf... Removing /tmpRoot/.upd@te//etc/init... Removing /tmpRoot/.upd@te//etc/logrotate.d... Removing /tmpRoot/.upd@te//etc/syslog-ng... Removing /tmpRoot/.upd@te//var/lib/dpkg... Removing /tmpRoot/.upd@te//etc/httpd/conf... Removing /tmpRoot/.upd@te//etc/postgresql... Removing /tmpRoot/.upd@te//etc/nginx... Removing /tmpRoot/.upd@te//etc/wide-dhcpv6... Removing /tmpRoot/.upd@te//etc/apparmor.d... Removing /tmpRoot/.upd@te//usr/syno/etc/synoservice.d... Removing /tmpRoot/.upd@te//var/dynlib... Removing /tmpRoot/.upd@te//etc/iproute2/script... Removing /tmpRoot/.upd@te//etc/ssl/certs... Removing /tmpRoot/.upd@te//etc/dbus-1... Removing /tmpRoot/.upd@te//usr/syno/etc/dbus-1... Removing /tmpRoot/.upd@te//etc/avahi... Removing /tmpRoot/.upd@te//usr/syno/etc/synovpnclient/scripts... Removing /tmpRoot/.upd@te//var/lib/apparmor... Removing /tmpRoot/.upd@te//usr/syno/etc/www/app.d... Removing /tmpRoot/.upd@te//usr/syno/etc/rc.d... Removing /tmpRoot/.upd@te//usr/syno/etc/bluetooth/... Removing /tmpRoot/.upd@te//usr/syno/etc/smallupdate_patch... Removing /tmpRoot/.upd@te//etc/ImageMagick-6... chmod: /tmpRoot/.upd@te/root: No such file or directory cp: can't stat '/tmpRoot/etc.defaults/VERSION': No such file or directory cp: can't stat '/tmpRoot/etc.defaults/synoinfo.conf': No such file or directory cp: can't stat '/tmpRoot/.system_info': No such file or directory Setting up swapspace version 1, size = 2147414016 bytes Untaring /tmpRoot/.SynoUpgrade.tar... cp: can't create '/tmpRoot/*': No such file or directory mknod: /dev/synobios: File exists Starting /usr/syno/bin/synohdcfgen... /usr/syno/bin/synohdcfgen returns 0 End upgrade procedure ============upgrade Wait 2 seconds for synology manufactory device Mon Sep 19 11:08:39 UTC 2016 /dev/md0 /tmpRoot ext4 rw,relatime,journal_checksum,data=ordered 0 0 none /sys/kernel/debug debugfs rw,relatime 0 0 sys /sys sysfs rw,relatime 0 0 none /dev devtmpfs rw,relatime,size=506848k,nr_inodes=126712,mode=755 0 0 proc /proc proc rw,relatime 0 0 linuxrc.syno executed successfully. Post init ==================== start udevd ==================== ===== trigger device plug event ===== Mon Sep 19 04:09:08 2016 DiskStation login: [ 428.997868] BTRFS: has skinny extents [ 429.262141] BTRFS: has skinny extents System is going to reboot. [ 655.113869] Restarting system. GNU GRUB version 2.02~beta3 +----------------------------------------------------------------------------+ | Synology PXE | | Synology DS916+ | |*Synology DS3615xs | | | | | | | | | | | | | | | | | | | +----------------------------------------------------------------------------+ Use the ^ and v keys to select which entry is highlighted. Press enter to boot the selected OS, `e' to edit the commands before booting or `c' for a command-line. The highlighted entry will be executed automatically in 0s. Booting `Synology DS3615xs' error: no suitable video mode found. Booting in blind mode early console in decompress_kernel Decompressing Linux... Parsing ELF... done. Booting the kernel. [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 3.10.77 (root@build1) (gcc version 4.9.3 20150311 (prerelease) (crosstool-NG 1.20.0) ) #8451 SMP Wed Aug 17 05:12:41 CST 2016 [ 0.000000] Command line: BOOT_IMAGE=(tftp,192.168.200.2)/grub/../image/DS3615xs/zImage root=/dev/md0 syno_hdd_powerup_seq=0 netif_num=1 HddHotplug=0 syno_hw_version=DS3615xs vender_format_version=2 vid=0x058f pid=0x6387 console=uart,io,0x3f8,115200n8 sn=C7LWN09761 mac1=0011322CA785 withefi elevator=your_magic_elevator quiet [ 0.000000] KERNEL supported cpus: [ 0.000000] Intel GenuineIntel [ 0.000000] Disabled fast string operations [ 0.000000] e820: BIOS-provided physical RAM map: [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x0000000000000fff] ACPI NVS [ 0.000000] BIOS-e820: [mem 0x0000000000001000-0x000000000009ffff] usable [ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000000dd80fff] usable [ 0.000000] BIOS-e820: [mem 0x000000000dd81000-0x000000000dd85fff] ACPI NVS [ 0.000000] BIOS-e820: [mem 0x000000000dd86000-0x000000000ef1ffff] usable [ 0.000000] BIOS-e820: [mem 0x000000000ef20000-0x000000000ef3ffff] type 20 [ 0.000000] BIOS-e820: [mem 0x000000000ef40000-0x000000000ef8ffff] reserved [ 0.000000] BIOS-e820: [mem 0x000000000ef90000-0x000000000efabfff] ACPI data [ 0.000000] BIOS-e820: [mem 0x000000000efac000-0x000000000efaffff] ACPI NVS [ 0.000000] BIOS-e820: [mem 0x000000000efb0000-0x000000003fffffff] usable [ 0.000000] BIOS-e820: [mem 0x00000000ffc00000-0x00000000ffc17fff] reserved [ 0.000000] Early serial console at I/O port 0x3f8 (options '115200n') [ 0.000000] bootconsole [uart0] enabled START /linuxrc.syno Insert basic USB modules... :: Loading module usb-common ... [ OK ] :: Loading module usbcore ... [ OK ] :: Loading module ehci-hcd ... [ OK ] :: Loading module ehci-pci ... [ OK ] :: Loading module uhci-hcd ... [ OK ] :: Loading module xhci-hcd ... [ OK ] :: Loading module etxhci-hcd ... [ OK ] Insert net driver(Mindspeed only)... Starting /usr/syno/bin/synocfgen... /usr/syno/bin/synocfgen returns 0 [ 4.501095] md: invalid raid superblock magic on sdb3 Partition Version=8 /sbin/e2fsck exists, checking /dev/md0... 28547 inodes used (18.34%, out of 155648) 11 non-contiguous files (0.0%) 9 non-contiguous directories (0.0%) # of inodes with ind/dind/tind blocks: 0/0/0 Extent depth histogram: 25896/2 222659 blocks used (35.77%, out of 622544) 0 bad blocks 1 large file 22671 regular files 2926 directories 2 character device files 0 block device files 0 fifos 1315 links 2939 symbolic links (2639 fast symbolic links) 0 sockets ------------ 29853 files /sbin/e2fsck returns 0 Mounting /dev/md0 /tmpRoot ------------upgrade Begin upgrade procedure No upgrade file exists End upgrade procedure ============upgrade Wait 2 seconds for synology manufactory device Mon Sep 19 11:20:01 UTC 2016 /dev/md0 /tmpRoot ext4 rw,relatime,journal_checksum,data=ordered 0 0 none /sys/kernel/debug debugfs rw,relatime 0 0 sys /sys sysfs rw,relatime 0 0 none /dev devtmpfs rw,relatime,size=506848k,nr_inodes=126712,mode=755 0 0 proc /proc proc rw,relatime 0 0 linuxrc.syno executed successfully. Post init ==================== start udevd ==================== ===== trigger device plug event ===== [ 31.001996] BTRFS: has skinny extents vm login: vm Password: Hide if adding an larger cpu size would break updates and other things I was wondering on a LTS image to get changing CONFIG_NR_CPUS= (>8) greater that 8 so it could work to bypass the limit and most system should not need a lot of updates anyway once in use I am asking cause the virtual option would be a win if you could actually use it without having to skimp on the vm's synology has a rs3617 that has more cpu core so it can handle virtualization properly 8 is kind of tough. Please provide your thoughts and feedback if it really needs to be a one off build if you could pass on some knowledge would be greatly appreciated been learning about compiling and i know i am close but missing a few key information i would like to run baremetal intel xeon x12 ht so i see how to get to menu and i can change from max 8 to 24 but when i am compiling this how do i make this into snynoboot file or could i use juns and edit it with my zimage ? Quote Link to comment Share on other sites More sharing options...
synogeek Posted July 13, 2017 Share #33 Posted July 13, 2017 for a second when i saw this thread updated, i thought quick nick was back... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.