quicknick

XPEnology Developers contact me for 7393 kernel src code

Recommended Posts

Xpenology Developers: @Vortex, @Sancome, @Kali, @Jman, @Poechi,

 

I have kernel source code for 6.0.1-7393. I would like to upload it so we can get an official 6.x release. Since none of you accept pm's please reach out to me. I got the code directly from Synology.

 

@setsunakawa and I have successfully compiled kernel and modules to have successful boot utilizing 5.2 xpenoboot scripts.

Share this post


Link to post
Share on other sites
Xpenology Developers: @Vortex, @Sancome, @Kali, @Jman, @Poechi,

 

I have kernel source code for 6.0.1-7393. I would like to upload it so we can get an official 6.x release. Since none of you accept pm's please reach out to me. I got the code directly from Synology.

 

@setsunakawa and I have successfully compiled kernel and modules to have successful boot utilizing 5.2 xpenoboot scripts.

 

Thank you! This is good news! :smile:

 

P.S. Can you tell us what procedure you followed to get them to release the source? Then maybe others can follow suit too.

Share this post


Link to post
Share on other sites
Why not just upload it to Mega or share it through Dropbox?

 

I would advise against that. Synology having to publicize the source is not the same as others having the right to publicize said source they received from Synology.

Share this post


Link to post
Share on other sites

Uh...what? If they are required to disclose the source to the public, and did so, re-disclosing the unmodified source and giving Synology credit is all that is needed (US law).

Share this post


Link to post
Share on other sites

Of course, though, if Synology did not disclose the source but rather it was leaked unofficially, I would definitely not advertise that you have a copy.

Share this post


Link to post
Share on other sites

Open source is open source, and Synology is breaking the law and has been doing so since the release of DSM 6 by not sharing the modified open source software they include in their linux distro.

Share this post


Link to post
Share on other sites
Of course, though, if Synology did not disclose the source but rather it was leaked unofficially, I would definitely not advertise that you have a copy.

 

I got the impression the source code was just released to quicknick, and not yet to the public in general, so I don't know the exact conditions under which that happened (NDA? Or why just to him, while everyone and their dog have been asking for the same?). But if quicknick feels it's safe, by all means, share! :smile:

Share this post


Link to post
Share on other sites
I have no problem giving t

It to anyone. It is open source.

 

This is interesting. :smile: As you have the DSM 6.0.1-7393 source, apparently, perhaps it could be used to make an official XPenology release (along with boot menu), which can be upgraded too, without error 21.

Share this post


Link to post
Share on other sites
I got the impression the source code was just released to quicknick, and not yet to the public in general, so I don't know the exact conditions under which that happened (NDA? Or why just to him, while everyone and their dog have been asking for the same?). But if quicknick feels it's safe, by all means, share! :smile:

 

How to be sure it's safe if it isn't publically shared by Synology itself ?

However this is a good news, but I advise the developpers to check the conditions under which the code has been shared.

Share this post


Link to post
Share on other sites

Well bad news folks, this isn't 7393 like it was supposed to be. This is actually 7274 6.0 beta 2 kernel source. Please keep blasting Synology for proper source code.

 

As TBK pointed out, you can compile drivers for oktisme's version of DSM 6. This can help users who need more than the drivers supplied by him.

 

Kind Regards.

Share this post


Link to post
Share on other sites
Is it the kernel source or just the toolchain?

Toolchains are good just kernel source 7274

 

Sent from my SM-N930T using Tapatalk

Share this post


Link to post
Share on other sites

@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. :grin:

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:

Share this post


Link to post
Share on other sites
@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.

 

 

^^ If this works, you'll become my new hero! :grin:

Share this post


Link to post
Share on other sites

Pm sent. Compiling the kernel/drivers is the easy part. I have been slowly working a patchable kernel Tree so that we can move to any kernel version more easily and maintain xpenology and Synology modifications.

 

On a side note, Synology told me 6.0.2 sources will be released soon.

 

Sent from my SM-N930T using Tapatalk

Share this post


Link to post
Share on other sites
Pm sent. Compiling the kernel/drivers is the easy part. I have been slowly working a patchable kernel Tree so that we can move to any kernel version more easily and maintain xpenology and Synology modifications.

 

On a side note, Synology told me 6.0.2 sources will be released soon.

 

Sent from my SM-N930T using Tapatalk

 

I can not send PM, so I opened a thread, any question pls ask there

Share this post


Link to post
Share on other sites
Pm sent. Compiling the kernel/drivers is the easy part. I have been slowly working a patchable kernel Tree so that we can move to any kernel version more easily and maintain xpenology and Synology modifications.

 

On a side note, Synology told me 6.0.2 sources will be released soon.

 

Sent from my SM-N930T using Tapatalk

 

Hi quicknick,

 

for a patchable kernel tree, you may take my repo on github for a reference,

 

https://github.com/liwei/xpenology-3.x

 

this is the base of XPEnoboot kernel(but is the 3.2.40 version).

you can take the most commits directly from my repo, but

the synoacl part which you may reference the code of this repo:

 

https://github.com/liwei/asustor-xpenology

 

Happy hacking :smile:

Share this post


Link to post
Share on other sites
Pm sent. Compiling the kernel/drivers is the easy part. I have been slowly working a patchable kernel Tree so that we can move to any kernel version more easily and maintain xpenology and Synology modifications.

 

On a side note, Synology told me 6.0.2 sources will be released soon.

 

Sent from my SM-N930T using Tapatalk

 

Hi quicknick,

 

for a patchable kernel tree, you may take my repo on github for a reference,

 

https://github.com/liwei/xpenology-3.x

 

this is the base of XPEnoboot kernel(but is the 3.2.40 version).

you can take the most commits directly from my repo, but

the synoacl part which you may reference the code of this repo:

 

https://github.com/liwei/asustor-xpenology

 

Happy hacking :smile:

Thanks @liwei for posting! Yes, I have seen your code out there before. It appears the only part of synoacl missing from 7274 source code is the ext4 portions.

 

Specifically, just these files:

 

New/Doesn't exist:

  • /fs/ext4/syno_acl.c
    /fs/ext4/xattr.h
    /fs/ext4/syno_acl.h
    /fs/ext4/super.c
    /fs/ext4/xattr.c

 

to Modify:

  • /include/linux/fs.h
    /fs/nfsd/vfs.c

 

 

Sent from my SM-N930T using Tapatalk

Share this post


Link to post
Share on other sites
Synology Support gave me a giant middle finger when I asked about the source code for DSM 6... welp.

And that's is a violation of all the GPL programs they use (mdam, fail2ban, etc).

Share this post


Link to post
Share on other sites

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

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now