DSM 6.1.x Loader


Recommended Posts

I've read through the last few pages of this thread, at least since the new V1.0 loader has been released.

I can't see that anyone has created an .iso yet.

 

I want to test this with Hyper-V & that will only boot from an iso.

I've tried to create an iso by using ImgBurn to open the .img file then create an iso.

The VM would not boot.

 

From the 5.2 iso that was working OK. Copied the VID & PID and SN from the isolinux.cfg file.

Mounted the img with OSFMount and edited the grub.cfg with correct values.

Created a new iso with ImgBurn.

Still will not boot.

 

Has anyone got a valid iso they can share?

TIA

 

There's an ISO here:

 

viewtopic.php?f=2&t=20216&p=77489&hilit=hyper#p77489

 

Sadly it won't get you anywhere in Hyper-V yet, the drivers aren't compiled. It just sits there not doing a great deal.

Link to post
Share on other sites

I don't know if it can help for the UPS issue on HP microserver :

 

#4: OHCI support

 

Current releases of the XPEnology lacks OHCI USB support (remember: USB 1.1 hardware has two different driver models, UHCI and OHCI; also all USB 2.0 hosts has two drivers, one for USB 2.0 protocol (EHCI) and one for USB 1.1 (UHCI or OHCI)). This is the reason because in the HP Microserver you lack USB support for low speed devices (like keyboard, mouse, UPS, etc.). The kernel loads the correct EHCI driver, but for USB 1.1 speeds only has the UHCI driver and the system can't comunicate with your devices.

 

Here the solution: Add support for OHCI driver.

You only need to modify the config file in the kernel with:

 

CONFIG_USB_ARCH_HAS_OHCI=y
CONFIG_USB_OHCI_HCD=m
CONFIG_USB_OHCI_HCD_SSB=y

 

And this will generate the correct "ohci-hcd.ko" module. This module will be automatically loaded at boot, so you only need to copy them to "/lib/modules/".

 

WARNING:

 

After recompiling this module the module "usbcore.ko" is different. If you try to load the "ohci-hcd.ko" in a system with the original "usbcore.ko" module already loaded you receive a kernel fault. You need to replace also the "usbcore.ko" module!!! :eek:

 

FOR MICROSERVER USERS:

 

If you like to complete your USB support in your machine:

 

1) Download the extended package of kernel modules (modules-4.2-02.05.2013.tar.gz ) and copy all of them in the directory "/lib/modules/": https://docs.google.com/file/d/0B5tpWhE ... _web&pli=1

2) Download the new "usbcore.ko" and "ohci-hcd.ko" modules and copy them to "/lib/modules/": http://pastebin.com/sH4RieEj / http://pastebin.com/4vL65THx

3) Reboot and you have full USB support (all ports, USB 1.1 and USB 2.0 speeds)!

 

:grin:

 

I want to get my USB external hard drive working with my HP microserver.

 

I have a few questions:

1) do I need to do both steps? Ie add support for OHCI driver and copy across the kernel modules?

2) if so, which file do I need to modify in the kernel and how do you do this?

3) what's the best method for copying across the modules?

 

It would be great if someone could post a step by step guide to doing this?

 

Thanks

Mike

 

From viewtopic.php?f=2&t=915&start=10

Link to post
Share on other sites

hello,

 

prepared usb drive on different motherboards works without a problem dsm6.0

 

I tried to put it to the Vostro 260s but still shows me that dumb disk which can be a problem

 

I will add that dsm 5.2 running on the Vostro 260s

 

grub.cfg

 

serial --port=0x3F8 --speed=115200
terminal_input serial console
terminal_output serial console
set default='0'
set timeout='1'
set fallback='0'

menuentry 'Synology DS3615xs' --class os {
insmod	fat
linux	/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=0x0951 pid=0x1665 console=uart,io,0x3f8,115200n8 sn=C7LWN09761 mac1=0011322CA785 withefi elevator=your_magic_elevator quiet
initrd	/image/DS3615xs/ramdisk.lzma
}

Link to post
Share on other sites

Setup a brand new 6.0.2.8451 from scratch and work great so far.

My system Intel I7, 12G, internal marvell SATA (5 ports) and LSI SAS3081E-R 8 ports controller card. 10 hard drives, 5 connected to the internal SATA ports, and 5 connected to the LSI controller. Everything is fine and work normally.

 

The issue is now, as soon as I add the 11th drive to the LSI controller, synology now see it as an esata drive.... is that normal? if esata, can I added them to the disk group?

I change the sataportmap=58 and that did nothing. I tried other value but always detected as esata...

 

Any suggestion?

 

Thanks

Link to post
Share on other sites

Hello everyone,

 

Respect for all the Dev's how are doing their best so make en keep this project alive and kicking. I allready did a upgrade for my baremetal machine without any problems.

Now I want to install it on my ESXI server that is running 6.0.0 U2 and the .ova fails to deploy the vertial machine. I took the 1.0.1 version. I upload the .ova file and the vmdk. Is this correct or am I doing something wrong?

I can't find a tutorial for DSM 6. So if someone know's a good tutorial than please share.

 

Thanks in advance

 

Burner1977

Link to post
Share on other sites
Setup a brand new 6.0.2.8451 from scratch and work great so far.

My system Intel I7, 12G, internal marvell SATA (5 ports) and LSI SAS3081E-R 8 ports controller card. 10 hard drives, 5 connected to the internal SATA ports, and 5 connected to the LSI controller. Everything is fine and work normally.

 

The issue is now, as soon as I add the 11th drive to the LSI controller, synology now see it as an esata drive.... is that normal? if esata, can I added them to the disk group?

I change the sataportmap=58 and that did nothing. I tried other value but always detected as esata...

 

Any suggestion?

 

Thanks

You also need to change esata port map :wink:

Link to post
Share on other sites

WARNING:

 

After recompiling this module the module "usbcore.ko" is different. If you try to load the "ohci-hcd.ko" in a system with the original "usbcore.ko" module already loaded you receive a kernel fault. You need to replace also the "usbcore.ko" module!!! :eek:

 

FOR MICROSERVER USERS:

 

If you like to complete your USB support in your machine:

 

1) Download the extended package of kernel modules (modules-4.2-02.05.2013.tar.gz ) and copy all of them in the directory "/lib/modules/": https://docs.google.com/file/d/0B5tpWhE ... _web&pli=1

2) Download the new "usbcore.ko" and "ohci-hcd.ko" modules and copy them to "/lib/modules/": http://pastebin.com/sH4RieEj / http://pastebin.com/4vL65THx

3) Reboot and you have full USB support (all ports, USB 1.1 and USB 2.0 speeds)!

 

I have done the first step and forgetting the second step i have rebooted my G8. Now DSM doesn't start and i cannot access my NAS.

There is a way to access /lib/modules to do the second step and fix this problem?

 

Please help me,

Link to post
Share on other sites
I have done the first step and forgetting the second step i have rebooted my G8. Now DSM doesn't start and i cannot access my NAS.

There is a way to access /lib/modules to do the second step and fix this problem?

 

Please help me,

 

OMG! Kernel modules from DSM 5.2 will never work on DSM 6.0.2 kernel!!!

 

You can try to select force install DSM 6.0.2 in jun's 1.01 bootloader.

Link to post
Share on other sites

@Jun: Did you try to install DSM 6.0.2-8451 Update 3? It contains new kernel image in flashupdate_6.0-8451-s3_all.deb. I guess because of fix Dirty Cow CVE-2016-5195 vulnerability.

 

Anyway here is change log: https://www.synology.com/cs-cz/releaseNote/DS3615xs

 

Edit: I successfully updated to DSM 6.0.2-8451 Update 3.

Edited by Guest
Link to post
Share on other sites

WARNING:

 

After recompiling this module the module "usbcore.ko" is different. If you try to load the "ohci-hcd.ko" in a system with the original "usbcore.ko" module already loaded you receive a kernel fault. You need to replace also the "usbcore.ko" module!!! :eek:

 

FOR MICROSERVER USERS:

 

If you like to complete your USB support in your machine:

 

1) Download the extended package of kernel modules (modules-4.2-02.05.2013.tar.gz ) and copy all of them in the directory "/lib/modules/": https://docs.google.com/file/d/0B5tpWhE ... _web&pli=1

2) Download the new "usbcore.ko" and "ohci-hcd.ko" modules and copy them to "/lib/modules/": http://pastebin.com/sH4RieEj / http://pastebin.com/4vL65THx

3) Reboot and you have full USB support (all ports, USB 1.1 and USB 2.0 speeds)!

 

I have done the first step and forgetting the second step i have rebooted my G8. Now DSM doesn't start and i cannot access my NAS.

There is a way to access /lib/modules to do the second step and fix this problem?

 

Please help me,

 

I have my 5 TB volume mounted with a Centos live CD. I cannot find DSM system partition to access /lib/modules.

Where is located? Is accesible?

Link to post
Share on other sites
@Jun: Did you try to install DSM 6.0.2-8451 Update 3? It contains new kernel image in flashupdate_6.0-8451-s3_all.deb. I guess because of fix Dirty Cow CVE-2016-5195 vulnerability.

 

Anyway here is change log: https://www.synology.com/cs-cz/releaseNote/DS3615xs

I update my test dsm6 running on esxi and all went smooth... I'll wait few days to be sure everything is ok and then I'll update my baremetal install.

 

ciao

ema

Link to post
Share on other sites
@Jun: Did you try to install DSM 6.0.2-8451 Update 3? It contains new kernel image in flashupdate_6.0-8451-s3_all.deb. I guess because of fix Dirty Cow CVE-2016-5195 vulnerability.

 

Anyway here is change log: https://www.synology.com/cs-cz/releaseNote/DS3615xs

 

Edit: I successfully updated to DSM 6.0.2-8451 Update 3.

 

 

The new kernel will not in effect, unless manually copy it to the right place.

Since Intel machines are in fact using unmodified synology kernel, I am considering restructure the boot partition's to closely match synology's, so that new kernel will take effect automatically, but this has the potential risk of a small upgrade may break a working system.

Link to post
Share on other sites
Ok for people using the KVM (i.e. proxmox, xeserver etc) I've made a compatible image for you.

 

https://dl.dropboxusercontent.com/u/36438777/boot.rar

 

Its a straight conversion from the original synoboot.img

 

 

For anyone wanting to change the MAC, Serial etc. download OSFMount from here

http://www.osforensics.com/tools/mount-disk-images.html

 

Mount the image using OSFMount (Making sure to give read.write permissions)

 

Open the drive, edit the grub.cfg as required

 

Now find a copy of qemu-img and install it.

You can run the following command line to convert the image to the KVM compatible qcow2 format

 

qemu-img.exe convert -f raw -O qcow2 original.img output.img

 

Now create a KVM virtual machine assign an IDE hardrive with the output.img file to boot and also add a 10GB+ SATA drive second.

 

Make sure your network card type is set to Intel 1000e

 

Boot you're VM and find it using the synology assistant (Download from synology)

 

I have this working on the QNap NAS drive using their version of KVM (Virtualisation Station)

 

 

Hope this helps!!

 

I've tried with xen server 7 but didn't work. when try to start the VM didn't find any bootable system. By default the .img file is not recognise by xen server tools and I try to convert it in .vhd or .vmdk to import it into the system, but without success.

let me know if there is a way to make it workin xenserver, thanks in advance

Link to post
Share on other sites

Jun, I must preface this that I know very little about linux systems at this point, and I know little about the kernal, but can you tell us if at this point stuff is or isn't in place that this loader can recognize usb 1.1 devices? Not that I'm trying to hook some ancient thumb drive up to it, but it seems like that is what a fair amount of the ups systems are using to communicate. My bare metal system seems to be working very well and is destined to be an off site back up at my parents house, but we live in a rural area and power outages can be quite common in in-climate weather. Both my cyberpower and apc ups's that I have tried don't register as connected when I plug the usb in, and I wonder if the usb 1.1 interface are the cause. I am handy with implementing workarounds, but I haven't found something that will solve my problem yet. Any guidance would be greatly appreciated. I'm even considering getting something like a raspberry pi to create a network controlled communication between the devices, but for obvious reasons it would be much simpler to plug it straight into the nas itself. Thank you so much for your time and effort on this project, it is helping so many people!

Link to post
Share on other sites

My board is IPXCR-VN1 1037U. Lan IC is Realtek RTL8111F. But It is not install DSM6.02. MY computer can not search station. When i chceked ip address by AC68U, Although it was defined xxx.xxx.xxx.xx, it can not search. and then i chaged AC68U to T3008 of iptime. T3008 router wasn't even defined ip address of NAS.

Isn't support LAN device of IPXCR-VN1?

Link to post
Share on other sites

Ok guys, first of all BIG BIG thanx for your great hard work.

I may sound as a noob, but I wanna be very coution when upgrading to DSM 6.0.2 from the latest 5.2 DSM...

Hope someone can confirm these steps to upgrade (Baremetal - Lenovo Thinkcentre M700):

 

1 - Flash the new loader boot image 1.0.1 to the USB

2 - Change VID & PID using 0x prefix

3 - >Install DSM 6.0.2

 

Is that it ? or did I miss something ?

Big thanx in advanced :smile:

 

Keep up the great work.

Link to post
Share on other sites
I have one question ? How to run a USB DVBT tuner DMS 6. USB module is invisible in the system.

 

Thanks for advice

 

This is because Synology have removed a lot of drivers :sad:

I am trying to make working my Elgato EyeTV DTT Deluxe dongle by loading the corresponding .ko file with modprobe but without success...

Link to post
Share on other sites
I have looked everywhere on the internet and in my hp gen7 specs, i can't find how to configure the sata option for the N54L with 5 disks installed.

Is there a risk to test several ? Like 41, 50 or 401 ?

 

 

http://terfmop.co.uk/blog/2013/07/31/hp ... sata-port/

 

From the main screen go to ‘Chipset > Southbridge Configuration > SB SATA Configuration’ and make sure your settings are the same as below:

OnChip SATA Channel = Enabled

SATA PORTS 4/5 IDE mode = Disabled

SATA EPS on all PORT = Enabled

SATA Power on all PORT = Enabled

Return to the main screen then go to ‘Advanced > IDE Configuration’ and again, make sure your settings are the same as below.

Embedded SATA Link Rate = 3.0Gbps MAX

 

The above was taken from viewtopic.php?f=2&t=1316&start=30#p6904

Link to post
Share on other sites
Good to know!

Do you have any recommandations for the model?

I will consider to buy one with multi tuner DVB-T2/S2 :grin:

 

TBS ones i know they work, i use one TBS 6205, and works perfectly.

I think tbs has one multi standard equipment.

Link to post
Share on other sites

God this thread is already confusing enough without having to log in and see ( was "A new loader for latest DSM").

Making it sound like something went wrong and searching the thread for 15 min looking for info only to find nothing.

 

Yup lets make this thread a bit more of a mess to navigate :oops:

Link to post
Share on other sites
I have looked everywhere on the internet and in my hp gen7 specs, i can't find how to configure the sata option for the N54L with 5 disks installed.

Is there a risk to test several ? Like 41, 50 or 401 ?

 

 

http://terfmop.co.uk/blog/2013/07/31/hp ... sata-port/

 

From the main screen go to ‘Chipset > Southbridge Configuration > SB SATA Configuration’ and make sure your settings are the same as below:

OnChip SATA Channel = Enabled

SATA PORTS 4/5 IDE mode = Disabled

SATA EPS on all PORT = Enabled

SATA Power on all PORT = Enabled

Return to the main screen then go to ‘Advanced > IDE Configuration’ and again, make sure your settings are the same as below.

Embedded SATA Link Rate = 3.0Gbps MAX

 

The above was taken from viewtopic.php?f=2&t=1316&start=30#p6904

 

I did that years ago, i meant the sata option for this new loader, sataportmap or so.

I have already the 5 disks since long.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.