Jump to content
XPEnology Community

Driver extension jun 1.03b/1.04b for DSM6.2.3 for 918+ / 3615xs / 3617xs


Recommended Posts

Hello, I changed the extra.lzma for loader 1.03b ds3615 from extra3615_v0.11_test.zip to automaticaly load virtio drivers.
Virtio_net network seems to works pretty well on Proxmox and dsm 6.2.3 thanks to IG-88 driver extension v0.11_test, where networks speed can reach 13Gbps without any noticeable issue for now.

 

I would like to compile (and test) some more drivers for dsm 6.2.3 on loader 1.03b ds3615, but i cannot find linux kernel source for bromolow dsm 6.2.3 25426 and its chain tools.
Where could I find this kernel source ?
If not available, Which available older kernel source can I use to compile driver which may work for dsm 6.2.3 ?

Thanks for your time to reply.  
Cheers

Link to comment
Share on other sites

1 hour ago, arkilee said:

Hello, I changed the extra.lzma for loader 1.03b ds3615 from extra3615_v0.11_test.zip to automaticaly load virtio drivers.
Virtio_net network seems to works pretty well on Proxmox and dsm 6.2.3 thanks to IG-88 driver extension v0.11_test, where networks speed can reach 13Gbps without any noticeable issue for now.

 

i was intending to make a special version for virtio but never found time to do so (when not being able to test it myself its usually pretty time consuming so i did not start it)

did you remove some other stuff or did you just added the virtio modules?

did you test that version on baremetal too (i guess not)

anything that did not load properly, like modules throws errors or crashed?

 

 

1 hour ago, arkilee said:

I would like to compile (and test) some more drivers for dsm 6.2.3 on loader 1.03b ds3615, but i cannot find linux kernel source for bromolow dsm 6.2.3 25426 and its chain tools.

what drivers?

sadly synology did not release anything and we usually have to use older kernel code, until march we used over 2 year old beta kernel code and since then 6.2.2 kernel code, i guess better then over two year old code

 

1 hour ago, arkilee said:

Where could I find this kernel source ?
If not available, Which available older kernel source can I use to compile driver which may work for dsm 6.2.3 ?

 

https://sourceforge.net/projects/dsgpl/files/

i use 6.2.2 kernel source and toolchain

depending of what you want to do there might be some strings attached, lots of storage drivers are not working because of code changes and as long as synology does not need these drives you would need to fix that yourself, also there are issues with 918+ and scsi/sas (see 1st post)

 

 

Link to comment
Share on other sites

4 hours ago, IG-88 said:

did you remove some other stuff or did you just added the virtio modules?

No, I didn't add or removed any drivers.
I just used your extra.lzma v0.11 which already have virtio ko drivers compiled.
Then edit etc/rc.modules to add under EXTRA_MODULES: virtio virtio_ring virtio_mmio virtio_pci virtio_blk virtio_scsi virtio_net virtio_balloon

 

4 hours ago, IG-88 said:

did you test that version on baremetal too (i guess not)

No, only in proxmox kvm vm.

 

4 hours ago, IG-88 said:

anything that did not load properly, like modules throws errors or crashed?

So far, I only see virtio_balloon which is not loading with the following error:
"virtio_balloon: Unknown symbol balloon_mapping_alloc (err 0)"

Others virtio stuff seems to be ok:
- virtio_net reach 13Gbps with iperf3 between host and vm
- Virtio_blk disk seems to work as well but it's not recognised by DSM, so I didn't test much
- Same for virtio_scsi, which is not recognised by dsm

 

 

4 hours ago, IG-88 said:

i use 6.2.2 kernel source and toolchain


I read that extra drivers, you have compiled for dsm 6.2.2, seems not to work for 6.2.3 ... or maybe I didnt understant what u mean.
Well I may try with 6.2.2 then when I have time ... it was to fix virtio ballooning (but it's not a very important) and maybe add 9p net drivers.
For now, I am quite happy to get virtio network working on dsm 6.2.3.

Link to comment
Share on other sites

2 minutes ago, arkilee said:

- Virtio_blk disk seems to work as well but it's not recognised by DSM, so I didn't test much
- Same for virtio_scsi, which is not recognised by dsm

i thought that would be virtual controller of kvm like the para virtual scsi of vmware, kind of "native" virtual driver for better performance

 

11 minutes ago, arkilee said:

maybe add 9p net drivers.

i did add some 9p modules, maybe i forgot one (the stuff is scattered through the config when using "menuconfig")

i just checked and the 9p, 9pnet, 9pnet_virtio are in the 3615 and 918+ for testing, not in the 3617, i will add that to my list

 

 

4 minutes ago, arkilee said:

I read that extra drivers, you have compiled for dsm 6.2.2, seems not to work for 6.2.3 ... or maybe I didnt understant what u mean.

the modules all use the same vermagic, as the kernel from synology dictates (we have to use that binary kernel) so its 4.4.59+ for 918+ and all modules i compile be it from old beta kernel source or from 6.2.2 source

synology stay with that kernel inside a dsm line like 6.2, and then fixes and tinkers with revisions (thats the number behind that dsm 6.2.x)

if there are "bigger" changes the will release an new kernel and thats a full dsm file (~200-300MB)  like 6.2.1, 6.2.2, 6.2.3

it sure is a risk to compile drivers for a kernel you dont have source for but depending of the changes synology is doing it usually work's, its the bast we can do without the source and making a driver from vanilla kernel.org source would be the last resort

 

Link to comment
Share on other sites

@IG-88 Is the driver externsion suitable for dsm 6.2.1? I have a running dsm(6.2.1) on asrock J3455-itx, can I just enable the hardware transcoding by the following steps?


1. re place extra.lzma、extra2.lzma files in the loader udisk.

2. remove all the files from update and firmware directories.

3. reboot

Link to comment
Share on other sites

10 hours ago, IG-88 said:

i thought that would be virtual controller of kvm like the para virtual scsi of vmware, kind of "native" virtual driver for better performance

 

Yes, it's to get virtual drive with better io performance than emulated sata/pci drive.
Here, I can see virtual drive with fdisk (here 16GiB=Virtio_blk and 32GiB=VirtioScsi) but I cannot see theses drives from dsm gui :

$ sudo fdisk -l | grep "^Disk /dev"
  Disk /dev/sdg: 50 MiB, 52428800 bytes, 102400 sectors
  Disk /dev/sdh: 6 GiB, 6442450944 bytes, 12582912 sectors
  Disk /dev/md0: 2.4 GiB, 2549940224 bytes, 4980352 sectors
  Disk /dev/md1: 2 GiB, 2147418112 bytes, 4194176 sectors
  Disk /dev/zram0: 148 MiB, 155189248 bytes, 37888 sectors
  Disk /dev/zram1: 148 MiB, 155189248 bytes, 37888 sectors
  Disk /dev/vda: 16 GiB, 17179869184 bytes, 33554432 sectors
  Disk /dev/sdm: 32 GiB, 34359738368 bytes, 67108864 sectors

 

And here virtio network speed with iperf between host and vm:
 

$ iperf3 -c 192.168.0.1 -i 2
    Connecting to host 192.168.0.1, port 5201
    [  5] local 192.168.0.25 port 49499 connected to 192.168.0.1 port 5201
    [ ID] Interval           Transfer     Bitrate         Retr  Cwnd
    [  5]   0.00-2.00   sec  2.74 GBytes  11.8 Gbits/sec    0   3.06 MBytes
    [  5]   2.00-4.00   sec  3.07 GBytes  13.2 Gbits/sec    0   3.06 MBytes
    [  5]   4.00-6.00   sec  3.07 GBytes  13.2 Gbits/sec    0   3.06 MBytes
    [  5]   6.00-8.00   sec  2.97 GBytes  12.7 Gbits/sec    0   3.06 MBytes
    [  5]   8.00-10.00  sec  2.95 GBytes  12.7 Gbits/sec    0   3.06 MBytes
    - - - - - - - - - - - - - - - - - - - - - - - - -
    [ ID] Interval           Transfer     Bitrate         Retr
    [  5]   0.00-10.00  sec  14.8 GBytes  12.7 Gbits/sec    0             sender
    [  5]   0.00-10.04  sec  14.8 GBytes  12.7 Gbits/sec                  receiver

    iperf Done.

 

Great news for 9p driver ... I may try to compile some stuff with 6.2.2 kernel/chaintools aswell and check if it work on 6.2.3.

Thanks for your work.

Link to comment
Share on other sites

47 minutes ago, arkilee said:

I can see virtual drive with fdisk (here 16GiB=Virtio_blk and 32GiB=VirtioScsi)

 

Update:
- virtio_scsi drive appear in dsm as external esata drive, which cannot be used in dsm storage pool but only as external drive. It seems to work fine as external drive.
- virtio_blk drive does appear anywhere in dsm, but it can be seen in linux cmd line and create filesystem on it. As a linux filesystem, it seems to works fine.
 

Link to comment
Share on other sites

32 minutes ago, arkilee said:

- virtio_scsi drive appear in dsm as external esata drive, which cannot be used in dsm storage pool but only as external drive. It seems to work fine as external drive.

whats the number of regular disks you have in your vm? with the 12 drive default fully used a 13th disk will be seen as esata

its also possible to have external drives used as internal by meddling with the config in a way thats officially not the case

you would extend the max drives to 24 and make all the internal config covering all that (ffffff), ignoring the fact that external and usb are already might take that places, the "internal" will win and you should see that drive as internal

you might be able to have a performance comparison between the emulated and the "new" virtual drive (each configured as one volume with one drive as basic raid type)

same would then be possible if mounting the blk device as /volume2 i guess, it is possible to use it as volume as the old way of making a nvme ssd usable was to have it as virtual drive in a esxi vm and then mount it manually as data volume, not the best way but at least it would also be possible to get some performance values to see if its with any effort compared with the virt. scsi drive

Link to comment
Share on other sites

8 hours ago, kevingu said:

Is the driver externsion suitable for dsm 6.2.1? I have a running dsm(6.2.1) on asrock J3455-itx, can I just enable the hardware transcoding by the following steps?

afair the change braking the drivers was introduced in DSM 6.2.1-23824 so if you use the latest 6.2.1 it will be the same as 6.2.2

but the i915 driver in both are the same, we did not have the source jun used for this driver so it was reused in 6.2.2 and worked

so if hardware trancoding is your problem then it might be something diffrent, the best way in that case is 6.2.3, just follow the guide in that thread

the new i915 driver from synology works at least as good as jun's, does seem to have less problems with some different apollolake and geminilake boards

 

8 hours ago, kevingu said:

1. re place extra.lzma、extra2.lzma files in the loader udisk.

2. remove all the files from update and firmware directories.

3. reboot

 

i would not clean out the firmware directory as there are firmwares from synology there that does not come with the loader, i file more there does not hurt and the loader will compare and replace firmware files by itself, so any old/different files will be replaced and new file will be copied

cleaning the update folder does not hurt but is not needed usually (if so it will be written in the guide i wrote to that extra.lzma in question)

Link to comment
Share on other sites

1 hour ago, IG-88 said:

whats the number of regular disks you have in your vm?

Only 4 virtual disks:
- Sata0   : bootloader : 50MB

- Sata1   :  Dsm OS : 6GB
- Virtio2 : Disk : 16GB
- Scsci3 : Disk : 32GB (on virtio_scsi)

 

1 hour ago, IG-88 said:

you might be able to have a performance comparison between the emulated and the "new" virtual drive

 

Just did some dd speed test between disks, and I cannot see any significant speed improvement actually. LoL (Read: 545 MB/s , Write: 63.5 MB/s)
So better using virtual sata disk which is recognised by dsm. :)

Link to comment
Share on other sites

1 minute ago, arkilee said:

Just did some dd speed test between disks, and I cannot see any significant speed improvement actually. LoL (Read: 545 MB/s , Write: 63.5 MB/s)
So better using virtual sata disk which is recognised by dsm

what controller(s) are emulated? that defines the driver that must be present for this

Link to comment
Share on other sites

3 hours ago, IG-88 said:

what controller(s) are emulated? that defines the driver that must be present for this

I dont know, you cannot choose PCI controller in Proxmox but  you can choose SCSI controller.
Well it doesn't really matter now as disk performance is almost the same in virtio or not.
Or maybe my ssd disk, where virtual drives are stored, is not fast enough to make appearing any perf difference. :)

Link to comment
Share on other sites

On 8/26/2020 at 12:00 PM, ztielong said:

Hi, It seems that I have met the same problem with post id:396

 

I bought TP-LINK NG421 2.5G nic with chip RTL8125B. After updated the extra v0.11_test(http://s000.tinyupload.com/?file_id=04147311964729253115), PCIE Lan3 successfully recognized in the control panel. but dhcp failed. the ip is still 169.254.182.x, Changed to a static ip but problem still.

newly install DSM 6.2.3 25426U2 with loader 1.03b for DS3615xs

Mainboard:SuperMicro x10slv-q with 2 nic I217-V and I210-AT onboard

PCIE: TP-LINK NG421 2.5G(RTL8125B)

CPU: G3460T

please help, thanks.

I also bought TP-LINK NG421 2.5G(RTL8125B) and encountered the same problem as you but I'm using v1.03b DS3617XS. Dose anyone has newer extra.lzma that works?

Thanks for your helps

 

- DSM version prior update: DSM 6.2.3-25426

- Loader version and model: Jun's Loader v1.03b DS3617XS

- Using custom extra.lzma: extra3617_v0.11_test

 

Link to comment
Share on other sites

ok so i have an x9scl board running 3617 dsm 6.2.3 25426. i am trying to use a Supermicro AOC-SASLP-MV8 hba card....i had everything working except the card would only see 4 drives...so i modified the synoinfo file using root to have 45 drives....then the unit stopped booting and now gives me the option to migrate or install...neither of which work...any ideas here? i have another unit that is stable with a 24 drive setting but can only use 10 drives due to the fact that the 8 port card wont work in that one either...its running as a 3615

Link to comment
Share on other sites

I think there's a major difference between the drivers used for a lsi 9211 found in the original jun 1.04b loader and adding extra v0.12

Heres my findings;

I made a new usb with the extra\extra2 v0.12 applied to load 1.04b, booted and installed dsm 6.2.3u2, when trying to transfer files, it was super slow, 30-50MBps

I reflashed the same usb key and installed 1.04b untouched, loading dsm 6.2.2u6, transfer speeds 70-100MBps.

What could be the issue?

Link to comment
Share on other sites

  

On 7/14/2020 at 10:02 PM, Stan_G said:

hi  i`v bought rtl8125.also   i·v updated the extra.and i found the "lan" in the control panel.but i cant get a dhcp.the ip is still 169.254.58.x the network port light flashes.and i also set a static ip,but still can`t find the nas.why

 

On 7/16/2020 at 4:57 AM, IG-88 said:

what loader and dsm type, what mainbaord and any additional hardware like other nic's?

 

On 7/16/2020 at 9:52 PM, Stan_G said:

my loader is 1.03b  3615xs  DSM6.23 .thanks for ur new extra.and i`v updated the extra.it works well

 

On 8/26/2020 at 12:00 PM, ztielong said:

Hi, It seems that I have met the same problem with post id:396

 

I bought TP-LINK NG421 2.5G nic with chip RTL8125B. After updated the extra v0.11_test(http://s000.tinyupload.com/?file_id=04147311964729253115), PCIE Lan3 successfully recognized in the control panel. but dhcp failed. the ip is still 169.254.182.x, Changed to a static ip but problem still.

newly install DSM 6.2.3 25426U2 with loader 1.03b for DS3615xs

Mainboard:SuperMicro x10slv-q with 2 nic I217-V and I210-AT onboard

PCIE: TP-LINK NG421 2.5G(RTL8125B)

CPU: G3460T

please help, thanks.

 

On 9/4/2020 at 2:13 PM, bzfzis said:

I encountered the same problem as you. The RLT8125B chip can be used normally under DSM 918+, but DHCP fails under DSM3615x. It's a pity that I need to use LSI SAS to link SAS hard drives, and DSM 918+ system is not suitable for me.

 

On 9/4/2020 at 5:50 PM, ztielong said:

I received a new extra from Stan_G, if you need, please leave your email address, I'll forward to you.

 

@IG-88 Seems you have fixed this problem for 3615xs. Could you do the same modify to extra for 3617xs? Thank you very much.

Edited by Ezra
Link to comment
Share on other sites

14 hours ago, Ezra said:

Seems you have fixed this problem for 3615xs. Could you do the same modify to extra for 3617xs? Thank you very much.

your comment about u2 was a little misleading what you want is newer driver for realtek 8125, not anything (old) newly compiled for 6.2.3 u2

the next version will have recent drivers for realtek and intel nic's so the driver in question should be the same then for all three extra's

Link to comment
Share on other sites

On 9/26/2020 at 12:04 AM, diglam said:

 

I have similar problem with Realtek 8168 on TerraMaster F2-421.

I installed by using extra.lzma/extra2.lzma for loader 1.04b ds918+ DSM 6.2.3 v0.13.3 and everything seems ok except network speed.

Speed is unstable and slow:


admin@NasBoss:/$ iperf3 -c 10.10.2.51
Connecting to host 10.10.2.51, port 5201
[  5] local 10.10.2.11 port 35010 connected to 10.10.2.51 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.08   sec  29.0 MBytes   226 Mbits/sec    0    214 KBytes
[  5]   1.08-2.00   sec  10.0 MBytes  90.8 Mbits/sec    0    214 KBytes
[  5]   2.00-3.00   sec  9.36 MBytes  78.5 Mbits/sec    0    214 KBytes
[  5]   3.00-4.00   sec  34.6 MBytes   290 Mbits/sec    0    214 KBytes
[  5]   4.00-5.00   sec  91.9 MBytes   771 Mbits/sec    0    214 KBytes
[  5]   5.00-6.00   sec  11.1 MBytes  92.9 Mbits/sec    0    151 KBytes
[  5]   6.00-7.00   sec  8.75 MBytes  73.4 Mbits/sec    0    212 KBytes
[  5]   7.00-8.00   sec  14.9 MBytes   125 Mbits/sec    0    212 KBytes
[  5]   8.00-9.00   sec  63.1 MBytes   530 Mbits/sec    0    111 KBytes
[  5]   9.00-10.00  sec  79.0 MBytes   663 Mbits/sec    0    211 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec   352 MBytes   295 Mbits/sec    0             sender
[  5]   0.00-10.00  sec   351 MBytes   294 Mbits/sec                  receiver

iperf Done.

admin@NasBoss:/$ iperf3 -s
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from 10.10.2.51, port 58149
[  5] local 10.10.2.11 port 5201 connected to 10.10.2.51 port 58150
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  16.2 MBytes   136 Mbits/sec
[  5]   1.00-2.00   sec  6.62 MBytes  55.6 Mbits/sec
[  5]   2.00-3.00   sec  3.55 MBytes  29.8 Mbits/sec
[  5]   3.00-4.00   sec  2.53 MBytes  21.2 Mbits/sec
[  5]   4.00-5.00   sec  34.3 MBytes   288 Mbits/sec
[  5]   5.00-6.00   sec  10.9 MBytes  91.2 Mbits/sec
[  5]   6.00-7.00   sec  3.98 MBytes  33.4 Mbits/sec
[  5]   7.00-8.00   sec  32.0 MBytes   269 Mbits/sec
[  5]   8.00-9.00   sec  2.59 MBytes  21.7 Mbits/sec
[  5]   9.00-10.00  sec  75.6 MBytes   634 Mbits/sec
[  5]  10.00-10.14  sec  8.72 MBytes   539 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-10.14  sec   197 MBytes   163 Mbits/sec                  receiver

Did I use wrong drive extension?

 

Terramaster F2-421 has 4 lan port 2xRealtek 8111F (uses r8168 driver) and 2xRealtek 8152 (uses r8153 driver).

I enabled other 2 Realtek 8152 (r8153) lan ports and tested them, they behaves same like r8168.

During playing settings I noticed something strange; if I change MTU (value doesn't matter) value of LAN port on Control Panel of DSM, iperf3 reports full gigabit speed (around 949 Mbits/sec) of lan port initially. But after DSM restarts somethings (maybe some services???) again reports slow and unstable speeds.

 

-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from 10.10.2.51, port 59879
[  5] local 10.10.2.12 port 5201 connected to 10.10.2.51 port 59885
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec   108 MBytes   905 Mbits/sec
[  5]   1.00-2.00   sec   113 MBytes   949 Mbits/sec
[  5]   2.00-3.00   sec   113 MBytes   949 Mbits/sec
[  5]   3.00-4.00   sec   113 MBytes   949 Mbits/sec
[  5]   4.00-5.00   sec   111 MBytes   933 Mbits/sec
[  5]   5.00-6.00   sec  63.0 MBytes   528 Mbits/sec
[  5]   6.00-7.00   sec  10.6 MBytes  89.2 Mbits/sec
[  5]   7.00-8.00   sec  23.0 MBytes   193 Mbits/sec
[  5]   8.00-9.00   sec  2.23 MBytes  18.7 Mbits/sec
[  5]   9.00-10.00  sec  8.79 MBytes  73.8 Mbits/sec
[  5]  10.00-10.20  sec   156 KBytes  6.39 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-10.20  sec   666 MBytes   548 Mbits/sec                  receiver
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------

 

I booted F2-421 with Terramaster's official TOS and Manjaro live USB, then repeated iperf3 tests. All 4 ports of device were OK and gives full gigabit speed. So there is no hardware problem.

 

I really need help, please.

 

Thanks.

Link to comment
Share on other sites

27 minutes ago, diglam said:

Terramaster F2-421 has 4 lan port 2xRealtek 8111F (uses r8168 driver) and 2xRealtek 8152 (uses r8153 driver).

I enabled other 2 Realtek 8152 (r8153) lan ports and tested them, they behaves same like r8168.

During playing settings I noticed something strange; if I change MTU (value doesn't matter) value of LAN port on Control Panel of DSM, iperf3 reports full gigabit speed (around 949 Mbits/sec) of lan port initially. But after DSM restarts somethings (maybe some services???) again reports slow and unstable speeds.

 

did you try to use 3615 instead of 918+?

i've read complains lately that 918+ over all delvers less performace then 3615/17

Link to comment
Share on other sites

12 hours ago, IG-88 said:

your comment about u2 was a little misleading what you want is newer driver for realtek 8125, not anything (old) newly compiled for 6.2.3 u2

the next version will have recent drivers for realtek and intel nic's so the driver in question should be the same then for all three extra's

 

Thank you for your efforts. I will wait for next version. 

Link to comment
Share on other sites

None of the links is live.

 

The all are dead (tinyupload dead, gofile is just looping showing shortlink to download).

 

Please reupload, many people asked for that many times in last weeks, is there anyone else that has a copy of those files and can upload these?  We all are waiting now couple weeks and OP is AFK.

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