Jump to content
XPEnology Community

DSM 6.1.x Loader


jun

Recommended Posts

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 comment
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 comment
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 comment
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 comment
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 comment
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 comment
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 comment
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 comment
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 comment
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 comment
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 comment
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 comment
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 comment
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 comment
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 comment
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 comment
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.

×
×
  • Create New...