• Announcements

    • Polanskiman

      DSM 6.2-23739 - WARNING   05/23/2018

      This is a MAJOR update of DSM. DO NOT UPDATE TO DSM 6.2 with Jun's loader 1.02b or earlier. Your box will be bricked.  You have been warned.   https://www.synology.com/en-global/releaseNote/DS3615xs
jun

DSM 6.x.x Loader

Recommended Posts

3 minutes ago, ericavd said:

I just tried loader v1.01 on AMD5350 & ASROCK AM1B-ITX. The loader booted, but installation of DSM failed.

 

Any way, loader v1.02b with DSM6.1.5 (DSM_DS3617xs_15254.pat) is working.

 

BTW, I just order a cheap used 8-Port SATA/PCI-X Controller SATA II 3Gbps Card (with Marvell 88SX6081 Chip). Not knowing the compatibility. I will post the results when I have it.

 

There is no need to use any other loader other than the latest unless you wish to remain below DSM 6.1.

 

Please look around the forum and post your questions in the adequate section/sub-forum. Use the search function. If needed create your own topic.

I am keeping this topic alive only for technical questions regarding the loader itself as installation questions can be addressed more efficiently in other sections.

Share this post


Link to post
Share on other sites

I have an AMD System, i tried the 1.02b but not working. The loader start booting but restart after 15~ seconds. With 5.2 loader everything works great. 

Today i saw that in the download section there is another loader by Quicknick. I tried and the synology assistant found my system. But when i try to setup, it says there is no HDD.

 

Any tip?

 

Thanks!

 

Share this post


Link to post
Share on other sites
On 3/14/2018 at 11:35 AM, ericavd said:

BTW, I just order a cheap used 8-Port SATA/PCI-X Controller SATA II 3Gbps Card (with Marvell 88SX6081 Chip). Not knowing the compatibility. I will post the results when I have it.

88SX6081

https://ata.wiki.kernel.org/index.php/SATA_hardware_features

-> sata_mv.ko

 

 

all sata_*.ko  (also (sata_mv.ko) are broken in dsm 6.1 kernel source from synology, so no luck when it comes to this controller

 

there are cheap 4-port marvel controller that use the ahci diver, if it has to be 8-port then maybe this helps

 

Share this post


Link to post
Share on other sites

Jun 1.02b seems to work fine on my old ASUS e2km1l-deluxe AMD-based machine. Are there problems to expect from running on AMD platform, or would I've hit those problem already during install if existent?

Share this post


Link to post
Share on other sites
1 hour ago, error403 said:

Jun 1.02b seems to work fine on my old ASUS e2km1l-deluxe AMD-based machine. Are there problems to expect from running on AMD platform, or would I've hit those problem already during install if existent?

No, if you've managed to install it & everything's working you should be ok.

Share this post


Link to post
Share on other sites
19 minutes ago, Dfds said:

No, if you've managed to install it & everything's working you should be ok.

thank you!

Share this post


Link to post
Share on other sites

Not booting anymore for me on VMWare Workstation with 1.02 ds3617 loader. It does say it boots, but nothing on the network.

Share this post


Link to post
Share on other sites

Is that after attempting the 6.1.6 update?  If so, you should be posting in the Critical Updates section in the 6.1.6 thread

Share this post


Link to post
Share on other sites

Just wanted to say than you for all the work being done here; I have implemented these nas setups with out fail on a couple systems.

 

But also wanted to share this info if people were interested; I have a VmWare ESXi 6.5 server running a AMD Ryzen 5 1600 cpu, and using the DS3617xs 6.1 v1.0aplha vmware images (after converting the vmware to ESXi 6.5) it booted up just fine and have had no issues; running DSM 6.1.6.

 

Here is my cpuinfo from ssh on the system:

cat /proc/cpuinfo  

 

/$ cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 23
model           : 1
model name      : AMD Ryzen 5 1600 Six-Core Processor
stepping        : 1
cpu MHz         : 3192.916
cache size      : 512 KB
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm nopl eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw arat xsaveopt fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap
bogomips        : 6385.83
TLB size        : 2560 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 43 bits physical, 48 bits virtual
power management:
processor       : 1
vendor_id       : AuthenticAMD
cpu family      : 23
model           : 1
model name      : AMD Ryzen 5 1600 Six-Core Processor
stepping        : 1
cpu MHz         : 3192.916
cache size      : 512 KB
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm nopl eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw arat xsaveopt fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap
bogomips        : 6386.84
TLB size        : 2560 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 43 bits physical, 48 bits virtual
power management:

 

Hide  

 

Share this post


Link to post
Share on other sites
3 hours ago, rikadoo said:

 

Always download manual in DSM en then i install it. I have 6 sataports on my motherboard and an M1015 SAS controller. I don`t know the exact drives that are not seen but i thought it was from my SAS card.

So it looks like you have 14 drive channels (6+8) but 12 is the default unless syno info.conf is altered but somehow it looks like your sataport edit is fixing it until update. I would check and ensure your 9 drives are connected to the first 9 channels (6 onboard and 3 sas) but you will need to determine the drive numbers/channels in DSM. If your 9 drives are on the first 9 channels seen by DSM no config changes should be needed and no rebuilds on update

Share this post


Link to post
Share on other sites
В 20.09.2016 в 17:57, jun сказал:

Loader Download: here / (link updated due to directory structure change of mega share) -- by jun 2-28

I've uploaded a 6.1 alpha build to mega, for brave guys only :smile:. (Note: AMD needs extra work.)

scripts I use to generate bootable image

https://github.com/kref/scripts

 

 

---Beginning of addition by polanskiman---

Tutorials by polanskiman:

Install/Upgrade DSM 5.2 to DSM 6.0.2 here

Install/Upgrade DSM 5.2 to DSM 6.1 here

 

Loader download mirrors:

Managed by Polanskiman. includes .iso format images made by myself. here

Managed by Trantor. This mirror is currently offline. here

 

For info:

v1.01 (DS3615xs) is for DSM 6.0.2 - AMD compatible - Latest version for DSM 6.0.2

v1.02b (DS3615xs, DS3617xs and DS916+) is for DSM 6.1 - AMD loosely compatible and with Bios tweaks - Latest version for DSM 6.1

Deprecated loaders

v1.02a (DS3615xs) is for DSM 6.1 - AMD not compatible - Deprecated
v1.02a (DS3617xs and DS916+) is for DSM 6.1 - AMD not compatible - Deprecated - ('time bomb' bug fixed in v1.02a2)
v1.02a2 (DS3617xs and DS916+) is for DSM 6.1 - AMD not compatible - Deprecated

Hide

DO NOT install DSM updates on your working machine BEFORE looking into the forum or testing the update on a test rig/vm.

 

Further explanation by jun on AMD compatibly for loader v1.02av1.02a2 and v1.02b:

---End of addition by polanskiman---

 

 

OP History

I've recently annouce that my work on a kernel mode dynamic patcher in this post

https://xpenology.com/forum/topic/6213-xpenology-developers-contact-me-for-7393-kernel-src-code/?do=findComment&comment=54105

 

Now seems everything work out of box on VMware, so it's pretty close to an everybody useable loader,

But lots of hardwares drivers are missing, to support as much hardware as possible requires some extra work,

So I hope these is some help from the community to built & test drivers, make it usable for everyone.

 

AMD users have a look 3rd Post.

 

 

I've upload a tar archive of the boot partion, it should be untar in to a usb drive's EFI System Partition.

I prefers EFI bootloader, so I used grub2-efi here, but you can install your prefered ones, even none-EFI ones.

the zImage is a vanilla synology kernel, ramdisk.lzma is repacked to add some network drivers plus my patcher.

you need change sn/mac/vid/pid as usual before installation.

 

and to make installer happy, usb drive seem should have at least 2 partitions, one for boot, and one for recovery I guess.

 

I suggest to test it on VM first, then add hardware drivers for boot on bare metals.

 

Below is how my usb drive looks like

 

$ sudo gdisk -l /dev/sdc

GPT fdisk (gdisk) version 0.8.8

 

Partition table scan:

MBR: protective

BSD: not present

APM: not present

GPT: present

 

Found valid GPT with protective MBR; using GPT.

Disk /dev/sdc: 32784384 sectors, 15.6 GiB

Logical sector size: 512 bytes

Disk identifier (GUID): 4308A165-B0A6-4EC9-8B8E-9BEFB00BF33F

Partition table holds up to 128 entries

First usable sector is 34, last usable sector is 32784350

Partitions will be aligned on 2048-sector boundaries

Total free space is 4061 sectors (2.0 MiB)

 

Number Start (sector) End (sector) Size Code Name

1 2048 31457280 15.0 GiB 8300 Linux filesystem

2 31459328 31868927 200.0 MiB 8300 Linux filesystem

3 31868928 32784350 447.0 MiB EF00 EFI System

 

 

$ mount|grep tmp1

/dev/sdc3 on /mnt/tmp1 type vfat (rw)

 

 

$ ls -l /mnt/tmp1/

total 24

drwxr-xr-x 3 root root 8192 Sep 18 17:19 EFI

drwxr-xr-x 5 root root 8192 Sep 20 21:16 grub

drwxr-xr-x 3 root root 8192 Sep 20 21:15 image

 

$ lsusb |grep Flash

Bus 001 Device 010: ID 058f:6387 Alcor Micro Corp. Flash Drive

 

link

https://mega.nz/#!c8kn3JAL!fy4a0sXuYfcv1Sx7adGbr2OS-guqMS4GLRH3TOFkNfY

 

Edit:

I add a few popular network & disk drivers, and create a boot image for VM.

Just add some scsi or sata disk, then boot, and follow normal installation process.

https://mega.nz/#!llU23QgA!oGaZQuQLe0fsx1tuGiSBoZ19DSfEQH5Aq3GJXfEjpHE

 

for esxi, pls use this link

https://mega.nz/#!Agt00ZDT!lN5blyZc4gMaj-mKt-xCxoTtle-7cLF0ui9bF6ZBnY0

 

Plus a usb boot image for bare metal in UEFI mode. pls consider it unstable, test at your own risk.

https://mega.nz/#!Z4UzWZxZ!hu9SZXpzJBTakHk7lO8pJfyHYb-YgGatI-Em9E3JXWI

 

EditEdit:

 

Many people reported that DSM ask you to reinstall forever.

It turn out that lack of a serial port caused the failure. That is really a surprise :eek: .

Anyway, I upload a new ramdisk to workaround the issue.

You should replace the image/DS3615xs/ramdisk.lzma in the boot partiton with this new one.

Edited post

The esxi and bare metal image are updated, so manually replace the ramdisk is not required.

Alternatively, VM users may add a serial port as a workaround.

Bare metal users can enable the serial port in bios if your board has one.

 

remaining problem:

Login to your DSM via ssh/telnet, your will see these messages in kernel log,

this is another consequence of lack of a serial console.


[ 1360.575754] init: tty main process (13856) terminated with status 1
[ 1360.575823] init: tty main process ended, respawning
[ 1370.591635] init: tty main process (13881) terminated with status 1
[ 1370.591755] init: tty main process ended, respawning
 

 

To stop it from spam your log, you can stop/disable the tty serivce.

 

update:

above workaround is not enough for boards without serial port,

these unlucky guys should edit following serivce config manually, replace "console output" with "console none" after installation


root@test:~# grep -r "^console output$" /usr/ 2> /dev/null
/usr/share/init/syno_poweroff_task.conf:console output
/usr/share/init/burnin_loader.conf:console output
/usr/share/init/udevtrigger.conf:console output
/usr/share/init/bs-poweroff.conf:console output
/usr/share/init/udevd.conf:console output
 

 

Another issue:

I've found a hidden check related to console,

everyone should edit grub.cfg, replace console=uart8250,io,0x3f8,115200n8 with console=ttyS0,115200n8

You have to change sn/mac/vid/pid as usual before installation !

If you don't edit vid/pid in grub.conf you will get error 13 (file corruption) during setup.

 

How to see the value of my VID & PID stick

 

 

EDIT by Trantor (10-28-2016):

 

Updated loader by Arcao latest images (10-28-2016) : https://mega.nz/#F!Oc8TCLgD!IiullNuGs95RlelM9SKd5w

Original post : https://xpenology.com/forum/topic/6253-dsm-602-loader-was-a-new-loader-for-latest-dsm/?do=findComment&comment=55903

 

Sources for dev:

quicknick : https://github.com/quiknick/7274-kernel

setsunakawa : http://setsunakawa.ddns.net/synology/dsm6/

 

 

10/29:

It's time to release a loader with a proper version number now.

Here is my loader v1.0

https://mega.nz/#F!18kB1BTB!1ft3N5Hnrcnqsneu0aQUkA

 

New features & fix:

 

Support bios & uefi boot & VMware & ESXI

Fix cmos reset issue( at least on bios mode VMware workstation)

most configurations can be done via grub command line now.

Remember last boot entry.

Autodetect synoboot partitions, not extensively tested. It is still recommended to set correct vid/pid.

AMD CPU support, not extensively tested, there are a few positive report on the forum.

Add grub menu for reinstallation.

Add grub menu to force installation when interrupted due to "Disks Disabled" message, not extensively tested

Automatically apply workaround for boards without serial port.

Fix SATA disk order remap, and allow to set SAS disk starting no, but disk order are still not deterministic between SAS disks.

Fix SAS disk naming, not extensively tested, only with one SAS2008 based HBA and synology provided mpt2sas driver.

Add ata_piix support, tested on VMware and it does not crash, only complain about "Read current link speed fail", so I

assume it works :smile:, this driver requires a bit of patching to the kernel, so I include it in the package.

 

Integrate up-to-date network drivers compiled by Arcao and Trantor.

 

 

Known issue:

When runing on a slow single core machine, there is a race condition causes the patcher loading too late.

the most obvious sign is console not working properly. I don't expected this to happen normally,

the only example is a VM on my laptop when running on battery. If anyone believes have this issue,

please send me a message.

 

Some ethernet drivers crash when set MTU above about 4096(Jumbo frame), I've not identified the culprit yet.

 

 

How to install:

 

find the vid/pid of your usb drive

Burn the image to the drive, optionally edit grub.cfg to set vid/pid and boot entry, OR

connect monitor/keyboard/serial console to your Box.

Press C during Grub boot menu to enter command line


vid 0xXXXX
pid 0xYYYY
 

to configure pid and vid ("pid" and "vid" are command, and "XXXX", "YYYY" are you usb drive's vid,pid)

(There are a few other options can be config this way, you can read grub.cfg to know more detail.)

Press Esc to go back to boot menu

Select baremeta/baremetal AMD entry, press enter to boot.

If your encounter the "disk port disabled" error during installation, try the force install menu entry.

if both option does not work, you have to fallback to SataPortMap method,

type this line in grub command line, replace XX with appropriate value.


append SataPortMap=XX
 

 

11/2:

as I promised, here is v1.01, download link is the same as v1.0

This update contains nothing fancy, mainly for inner peace,

Plus, I revert megaraid_sas mpt3sas to old version.

 

It's not shining new now, the title is obsolete

Hide

Good day, and many thanks for all boot loaders, in the future you make boot loader for 6.2?

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