Jump to content
XPEnology Community

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


Recommended Posts

8 hours ago, XiaoyaoLinghao said:

And I don't know how to replace the original file to my NAS which can not connect the network,

i did not provide a link above but meant to use the tutorial section for booting a recovery liunx and accessing the system partiton

https://xpenology.com/forum/topic/7004-tutorial-how-to-access-dsms-data-system-partitions/

if you mount the raid1 you can delete the patched i915.ko

 

8 hours ago, XiaoyaoLinghao said:

“/var/log/dmesg” from the the 1st hard disk, but I don't know how to use them.

you just use a text editor, read them or search for interesting wirds like "panic" or "fail" or some specific driver like "igb" (your network card in this case) or 9bc8 for the gpu device (that should at least be found, idependent from driver all pci devices are liste by there numbers)

[Sat Jun 19 01:52:23 2021] pci 0000:00:02.0: [8086:9bc8] type 00 class 0x030000

 

from the log files every thing looks normal, the system completely boots up and also the network drivers are loaded properly all the time, no crashes or anything

the unusual thing is the missing of the i915 (drm) driver load in the log's, its supposed to look like this

 

[Sat Jun  5 18:52:32 2021] Compat-mlnx-ofed backport release: f36c870
[Sat Jun  5 18:52:32 2021] Backport based on mlnx_ofed/mlnx-ofa_kernel-4.0.git f36c870
[Sat Jun  5 18:52:32 2021] compat.git: mlnx_ofed/mlnx-ofa_kernel-4.0.git
[Sat Jun  5 18:52:32 2021] bnx2x: QLogic 5771x/578xx 10/20-Gigabit Ethernet Driver bnx2x 1.712.30-0 (2014/02/10)
[Sat Jun  5 18:52:32 2021] bnx2x 0000:04:00.0: msix capability found
[Sat Jun  5 18:52:32 2021] bnx2x 0000:04:00.0: part number 394D4342-34383735-30345430-473030
[Sat Jun  5 18:52:32 2021] bnx2x 0000:04:00.1: msix capability found
[Sat Jun  5 18:52:32 2021] bnx2x 0000:04:00.1: part number 394D4342-34383735-30345430-473030
[Sat Jun  5 18:52:32 2021] input: Sleep Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input0
[Sat Jun  5 18:52:32 2021] ACPI: Sleep Button [SLPB]
[Sat Jun  5 18:52:32 2021] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1
[Sat Jun  5 18:52:32 2021] ACPI: Power Button [PWRB]
[Sat Jun  5 18:52:32 2021] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input2
[Sat Jun  5 18:52:32 2021] ACPI: Power Button [PWRF]
[Sat Jun  5 18:52:32 2021] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[Sat Jun  5 18:52:32 2021] [drm] Driver supports precise vblank timestamp query.
[Sat Jun  5 18:52:32 2021] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
[Sat Jun  5 18:52:32 2021] [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
[Sat Jun  5 18:52:32 2021] [drm] failed to retrieve link info, disabling eDP
[Sat Jun  5 18:52:32 2021] [drm] Initialized i915 1.6.0 20171222 for 0000:00:02.0 on minor 0
[Sat Jun  5 18:52:33 2021] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[Sat Jun  5 18:52:33 2021] acpi device:0f: registered as cooling_device4

 

atm i have no idea whats different on your system

 

Link to comment
Share on other sites

Hello, I try to read the dmesg file when the NAS that works normally(the core graphics card is not turned on). 

 

I found that even when NAS is normally working, I still can't find the i915 (drm) driver load in the log's.

 

I would like to know whether it's right, the NAS can work normally (without the core graphics card) and I can't find the i915 (drm) driver load.

 

And I want to know that, will UEFI or legacy start mode may cause this problem?

 

I found that there are other users using the b460 motherboard who have similar problems with me. Is it possible that this problem is caused by the motherboard driver or chips?

 

Thank you very much!

Link to comment
Share on other sites

5 hours ago, XiaoyaoLinghao said:

Hello, I try to read the dmesg file when the NAS that works normally(the core graphics card is not turned on). 

the internal gpu needs to be switched on in bios, intel quick sync video is part of the gpu (the pci device of the gpu was present in the log's so my assumption was the gpu is switched on in bios)

 

there where problems with some Jxxxx cpu's and jun's original i915 driver wehre it made a difference if a hdmi device was connected or not, i cant remember having heard such problems with synologys own new driver from 6.2.3 but its easy to test

but that does not explain why exchanging the i915 driver would prevent the system to be found in network, the log shows that the nic driver is loaded

it even show that one port has a 1GBit connection

[Sat Jun 19 01:52:29 2021] igb 0000:01:00.0 eth0: igb: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX

 

 

6 hours ago, XiaoyaoLinghao said:

I found that there are other users using the b460 motherboard who have similar problems with me. Is it possible that this problem is caused by the motherboard driver or chips?

not in general, the following case had a B460 and even the same cpu and he at least go the correct devices after booting (just emby seemed not to use it)

https://xpenology.com/forum/topic/28321-driver-extension-jun-103b104b-for-dsm623-for-918-3615xs-3617xs/?do=findComment&comment=154686

 

6 hours ago, XiaoyaoLinghao said:

And I want to know that, will UEFI or legacy start mode may cause this problem?

i dont think it would make a difference for the gpu and the default would always end you in uefi mode, to boot in csm legacy you would need to activate csm mode and then use the non uefi usb boot device (that usually gets a lower priority then the uefi usb boot device and when using the uefi boot device the csm/legacy option is not used even when activated in bios)

Link to comment
Share on other sites

  • 5 weeks later...

@IG-88

Have you tested any Rocket Lake iGPUs yet?

I'm looking forward hardware based hevc (h265) encoding.

 

I currently have an Asrock J4105-ITX but so far only Samsung TVs (Tizen OS) were able to play h265 through DS Video without issues, and I've tried some Roku TVs (tv brand: Hisense), some Android TVs (TCL, Sony) and Amazon Firestick 4k.

I noticed that the updated version of the app on iOS is also not working anymore.

 

I've setup Jellyfin for cases where DS Video is not an option, but it would be nice to be able to play 2160p hevc 10bit everywhere, but software transcode it's not an option now.

 

Any suggestions for a "silver bullet" streaming solution?

I haven't gone with Plex because I hate freemium solutions, I either go OSS or 🏴‍☠️ .

Link to comment
Share on other sites

On 3/23/2021 at 5:59 AM, IG-88 said:

my suggestion would have been to install with the onboard nic and after dsm is running checking the r8125

its much easier to look for problems in a running system by checking /var/log/dmesg

the alternative might be a serial console and some system dont have a com port anymore and its also more difficult to do

 

adding changing driver can be easy, copy newer extra.lzma to the loader, boot and you are done

if dsm/xpenology is to cumbersome maybe try open media vault, dsm is a closed appliance, omv is a real linux based on a major distribution

 

no, the whole thread and even the topic is about 6.2.3, there is a extra thread for 6.2.2 and in the 1st post in this 6.2.3 thread i tried to explain the difference and that its not meant to be used wit 6.2.2, when you update from 6.2.2 to 6.2.3 you will need new drivers as the 6.2.2 drivers are incompatible and the drivers (added drivers) are in the extra.lzma

i refer to the 6.2.2 as of reading it and that's about the procedure when updating or how to handle the files in general

its not a howto or tutorial more grown and pieces added,

no, might even be harder as 1.03b needs csm mode in uefi bios and also legacy/non-uefi usb boot device

https://xpenology.com/forum/topic/13333-tutorialreference-6x-loaders-and-platforms/

 

sure, the extra.lzma's from the 1st post have r8125 drivers, not the latest but at least most of the r8125 cards will work and some people use r8125 cards

 

 

 

Would u pls update the r8125 driver to latest?  I am  'some people' ^_^

J4125 + onboard r8125*4, 918+ with 0.13.3,  no lucky.

Link to comment
Share on other sites

16 hours ago, hawie said:

Would u pls update the r8125 driver to latest?  I am  'some people' ^_^

J4125 + onboard r8125*4, 918+ with 0.13.3,  no lucky.

r8125b_x4_info.thumb.jpg.9cf843a45959e45d281a387f7ce9f5c4.jpg

 

J4125 main board with 4 * RTL8125B,  hw info, arc linux works OOB.

r8169.ko drive r8125b?

 

Edited by hawie
Link to comment
Share on other sites

  • 2 weeks later...

Here's what i did:

 

mkdir ds918

cd ds918

unlzma extra.lzma

cpio -idmv < extra

find . | cpio -o > ../extra

lzma ../extra -7

 

Although i got a new "extra.lzma" and it looks the same as the original file ,but unfortunately, it does'nt work.

 

So how can i modify the extra.lzma file? Maybe i can simply edit rc.modules ,just add a word "ixgbevf" ,then the SR-IOV NIC can be recognized?

 

Please help me,THANKS!

Link to comment
Share on other sites

  • 3 weeks later...

Please excuse my poor English, so I need to use a translation program for feedback.
First of all, thank you for sharing.I'd like to give you feedback on the invalid i915 driver (both USB media Loader and proxmox virtual machine are invalid, proxmox is already configured with core graphics pass-through).
My CPU: G5905 (UHD 610, 8086:9BA8)
My motherboard: Onda H410SD4-ITX V2.0
My installation steps: Using the jun's loader 1.04b boot, I was able to successfully install DS918 6.23, upgrade to 6.23U3, and download 918plus_dsm623u3_i915_mod2.zip, use 9BA8 9BC8 - UHD 610 630 10th low end that i915.ko, copy to / usr/lib/modules/, restart, can see two files in / dev/dri.However, hardware transcoding and decoding are not possible.That is, when the hardware transcoding mode is turned on, the video cannot be played at all.
Using xterm.js of proxmox to monitor the boot-up process, can see the following information:

 

-------------------

[    3.361174] ata4: No present pin info for SATA link down event
[    3.668187] ata5: No present pin info for SATA link down event
[    3.668819] ata6: send port disabled event
[    3.669300] ata6: No present pin info for send port disabled event
[    3.669820] ata7: send port disabled event
[    3.670164] ata7: No present pin info for send port disabled event
patching file etc/rc
Hunk #1 succeeded at 184 (offset 13 lines).
patching file etc/synoinfo.conf
Hunk #1 succeeded at 137 (offset 1 line).
Hunk #2 FAILED at 266.
Hunk #3 FAILED at 285.
Hunk #4 FAILED at 311.
3 out of 4 hunks FAILED -- saving rejects to file etc/synoinfo.conf.rej
patching file linuxrc.syno
Hunk #1 FAILED at 39.
Hunk #2 succeeded at 131 (offset 32 lines).
Hunk #3 succeeded at 694 (offset 179 lines).
1 out of 3 hunks FAILED -- saving rejects to file linuxrc.syno.rej
patching file usr/sbin/init.post
START /linuxrc.syno
Insert basic USB modules...
:: Loading module usb-common ... [  OK  ]
:: Loading module usbcore ... [  OK  ]
:: Loading module ohci-hcd ... [  OK  ]
:: Loading module xhci-hcd ... [  OK  ]
:: Loading module xhci-pci ... [  OK  ]
:: Loading module usb-storage ... [  OK  ]
:: Loading module scsi_transport_spi ... [  OK  ]
:: Loading module scsi_transport_sas ... [  OK  ]
:: Loading module libsas ... [  OK  ]
:: Loading module raid_class ... [  OK  ]
:: Loading module BusLogic ... [  OK  ]
:: Loading module vmw_pvscsi ... [  OK  ]
:: Loading module megaraid_mm ... [  OK  ]
:: Loading module megaraid_mbox ... [  OK  ]
:: Loading module mptbase ... [  OK  ]
:: Loading module mptscsih ... [  OK  ]
:: Loading module mptspi ... [  OK  ]
:: Loading module mptctl ... [  OK  ]
:: Loading module megaraid ... [  OK  ]
:: Loading module megaraid_sas ... [  OK  ]
:: Loading module mptsas ... [  OK  ]
:: Loading module mpt3sas ... [  OK  ]
:: Loading module mdio ... [  OK  ]
:: Loading module rtc-cmos ... [  OK  ]
:: Loading module 3w-9xxx ... [  OK  ]
:: Loading module 3w-sas ... [  OK  ]
:: Loading module aacraid ... [  OK  ]
:: Loading module arcmsr ... [  OK  ]
:: Loading module gdth ... [  OK  ]
:: Loading module hpsa ... [  OK  ]
:: Loading module hptiop ... [  OK  ]
:: Loading module isci ... [  OK  ]
:: Loading module mvsas ... [  OK  ]
:: Loading module mvumi ... [  OK  ]
:: Loading module aic94xx ... [  OK  ]
:: Loading module sx8 ... [  OK  ]
Insert net driver(Mindspeed only)...
Starting /usr/syno/bin/synocfgen...
/usr/syno/bin/synocfgen returns 0
[    4.116110] md: invalid raid superblock magic on sda3
[    4.190112] md: invalid raid superblock magic on sdb3
Partition Version=8
 /sbin/e2fsck exists, checking /dev/md0... 
/sbin/e2fsck -pvf returns 0
Mounting /dev/md0 /tmpRoot
------------upgrade
Begin upgrade procedure
No upgrade file exists
End upgrade procedure
============upgrade
ls: /tmpRoot/usr/share/init/root-file-system.override: No such file or directory
ls: /tmpRoot/usr/share/init/hostname.override: No such file or directory
ls: /tmpRoot/usr/share/init/syslog-ng.override: No such file or directory
ls: /tmpRoot/usr/share/init/dsmupdate.override: No such file or directory
ls: /tmpRoot/usr/share/init/smallupdate.override: No such file or directory
ls: /tmpRoot/usr/share/init/rc.override: No such file or directory
Wait 2 seconds for synology manufactory device
Thr Aug 19 01:25:35 UTC 2021
/dev/md0 /tmpRoot ext4 rw,relatime,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=1011144k,nr_inodes=252786,mode=755 0 0
proc /proc proc rw,relatime 0 0
linuxrc.syno executed successfully.
Post init

==================== start udevd ====================
[   19.947538] tn40xx: Tehuti Network Driver, 0.3.6.17.2
[   19.948036] tn40xx: Supported phys : MV88X3120 MV88X3310 MV88E2010 QT2025 TLK10232 AQR105 MUSTANG 
[   20.164924] [drm:gen9_set_dc_state [i915]] *ERROR* DC state mismatch (0x0 -> 0x2)
===== trigger device plug event =====
[   20.770079] [drm:wait_panel_status [i915]] *ERROR* PPS state mismatch

DS918 login: [   41.710229] evdev: version magic '4.4.59 SMP preempt mod_unload ' should be '4.4.59+ SMP preempt mod_unload '
[   41.748201] button: version magic '4.4.59 SMP preempt mod_unload ' should be '4.4.59+ SMP preempt mod_unload '

 

-------------------

Please also help to see what's wrong with this.Thank you again.

 

 

Edit:already try 0.13.3 driver but still not working.

Edited by BingMoonCake
Link to comment
Share on other sites

  • 3 weeks later...
  • 3 weeks later...
  • 2 weeks later...
20 hours ago, havast said:

Can somebody sucessfully use vmxnet3 adapter in ESXI with the v0.11.2_test extra.lzma (DS3617XS)?

For me, unfortunatelly the added network device not recognised, only e1000e working.

 

If somebody know the trick, and tells me what to do, i would be happy :)

Nevermind, its working perfectly, just have to disable IOMMU in vm settings.

Link to comment
Share on other sites

  • 2 weeks later...

Hello everybody, 

first of all thanks for all the effort that went into this whole xpenology project, really cool stuff! 

I recently bought a used HP Microserver gen 8 with a XEON  E3-1240 and a HP P420 Raid Controller.

My plan was to run Xpenology virtualized with ESXI 6.7 and passing through the P420 controller directly to the VM. Unfortunately, I have trouble using the extra.izma from this thread because once I replace the original one, the VM does not show up in the network anymore. 

Here is what I did: 

 

- Download Juns 1.0.3b loader for ds3615

- Download the extra_izma ds3615 DSM 6.2.3 v0.11_test from this thread

- Replacing the extra.izma file in the loader

- Downloading the DSM_DS3615xs_25426.pat and replacing the rd.gz and the zImage as well

- creating and booting up the vm (tried all available network adapters including e1000e)

 

For some reason, updating the extra_izma breaks my VM (or at least the network adapter as the Vm is not coming online at all). With the original file from Jun, the VM shows up but of course my storage controller from the passthrough does not show up then. 

 

Any ideas what could have gone wrong? I spent quite some time on this now and I am already thinking about selling the P420 and doing RDM and handling SMART on ESXI level... It would be awesome, if s.o. mybe faced similar issues and can help me out!

Cheers, 

HandDampf

Link to comment
Share on other sites

3 hours ago, seanone said:

@IG-88

Can you compile i915 driver for DSM7 redpill loader, or give me same tips that how to fix the iGPU ID?  Thank you!

here is loader:

https://github.com/RedPill-TTG/redpill-load

extension(driver to insmod):

https://github.com/RedPill-TTG/redpill-extensions

and here is some drivers example:

https://github.com/pocopico/rp-ext

 

Link to comment
Share on other sites

  • 4 weeks later...

my case is.....my old server IBM x3650 (M1)...with 2 lan 1Gbps Broadcom .....i setup my server with DS1617xs with "Jun loader v1.03b"  and "DSM_DS3617xs_25426.pat", and update driver with file "extra.lzma" in "extra3617_v0.11.2_test.zip"....when setup , i come to step "manual setup" and browse to "DSM_DS3617xs_25426.pat"

But...when my server reboot, i couldn't connect to my server, i can't scaned ip by MAC address although i had setup before

Link to comment
Share on other sites

Problem with extra.lzma v0.11.2_test

 

Configuration:

Host: ESXi 7

Virtual E1000e NIC

AHCI Controller Passthrough

Loader 1.03b

DS3615xs

DSM 6.2.3-25426 Update 3

With default extra.lzma everything works fine. Now I want to add a second NIC with RTL8125 (Passthrough).

 

At the serial console output I get:

:: Loading module ata_piix BUG: unable to handle kernel NULL pointer dereference at 0000000000000008

 

After that no further modules are loaded. Starting doesn't finish. No "Starting /usr/syno/bin/synocfgen". Hard disks at the AHCI controller are obviously not present.

Is there another way just to add support for RTL8125 (not at boot time)?
 

Edited by wer
Link to comment
Share on other sites

11 hours ago, wer said:

Is there another way just to add support for RTL8125 (not at boot time)?

there would be more the one way to solve this

you could use the original and extract the rtl8125 driver from the new extra.lzma, copy it to your system, the load is manually with insmod to see if its working (there might be newer versions of that hardware not working with the driver), if that does it the you copy the *.ko file to /usr/lib/modules/update/ and add the name of the kernel module file to the /etc/rc.modules (you will see how its done when you look at the file, there are other kernel modules like vmxnet3 that are loaded there)

 

Link to comment
Share on other sites

3 hours ago, IG-88 said:

load is manually with insmod to see if its working (there might be newer versions of that hardware not working with the driver), if that does it the you copy the *.ko file to /usr/lib/modules/update/ and add the name of the kernel module file to the /etc/rc.modules

 


I can manually load it. However it's not loaded when adding it in rc.modules like the other modules (like r8169).
 

I might add it myself to extra.lzma the same way? I'm just not sure how to compress/pack it again.

Edited by wer
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...