Jump to content
XPEnology Community

Drivers extension for RedPill - request for comments & drivers packages


ThorGroup

Recommended Posts

22 minutes ago, D.S said:

@pocopico , just tested the atlantic driver for 918 Plus 7.0.1, it will fail to load due to file crc-itu-t.ko issue, could you update the extension? I attached the files which is works.

atlantic.zip 98.42 kB · 0 downloads

 

Hi, does it fail to load ? its is included on the extension. 

 

I see what is the problem, i will have updated the extension.

Edited by pocopico
Link to comment
Share on other sites

  • 4 weeks later...
5 hours ago, hannibal1969 said:

Anybody can fix USB support under DSM 7.0.1 I have an USB DAC which is used by Roon but it doesn't work anymore because ALSA are stripped. Anybody can help on this issue?

 

Hi,

 

if you know the modules you need i will try to compile them if available.

 

Platform (DS3615xs, DS918+) 

lsusb 

 

I have found the following : 

 

https://alsa.opensrc.org/MultipleUSBAudioDevices

 

will snd-usb-audio.ko be enough ? 

 

 

Edited by pocopico
  • Like 1
Link to comment
Share on other sites

3 hours ago, pocopico said:

 

Hi,

 

if you know the modules you need i will try to compile them if available.

 

Platform (DS3615xs, DS918+) 

lsusb 

 

I have found the following : 

 

https://alsa.opensrc.org/MultipleUSBAudioDevices

 

will snd-usb-audio.ko be enough ? 

 

 

I don't know. I encountered the DSM 7.0 no more USB Audio issue after I upgraded. I read that Synology removed these USB Sound drivers but also the drivers needed to connect an USB printer. So there is more removed. I think it's interesting to find out how to recover these feature but once again I'm a totally noob to this. I posted my question in this forum because also other missing drivers can be requested here.  

Link to comment
Share on other sites

  • 2 weeks later...

Hello!!

 

 Requesting the following to be added LSI Fusion-MPT base driver (mptbase) updated to 4.28.20.01. 

Ran sudo kmod list, lspci -vvv, and dmesg attached files.  If there is anything that I've missed I apologize. I had ran dmesg when ssh into tinycore and never did I see mptbase or the other mpt that are used come up. I know mptsas, mpt2sas, and mpt3sas are not used. I received a list of the updated modules from here. LSI MPT Fusion Modules Let me know if there is any more information you need. Thanks in advance and all the hard work.

kmod list lspci dmesg

Link to comment
Share on other sites

  • 4 weeks later...

Here is the missed kernel modules for usb audio stripped from the DSM 7.x

I've compiled it for DS918+ (XPEnology/Redpill DSM 7.0.1).

To load use this sequence:

insmod soundcore.ko
insmod snd.ko
insmod snd-hwdep.ko
insmod snd-timer.ko
insmod snd-pcm.ko
insmod snd-seq-device.ko
insmod snd-rawmidi.ko
insmod snd-usbmidi-lib.ko
insmod snd-usb-audio.ko

 

snd-usb-audio_918p_701.zip

Edited by Vortex
  • Like 2
Link to comment
Share on other sites

On 2/20/2022 at 8:48 PM, Vortex said:

Here is the missed kernel modules for usb audio stripped from the DSM 7.x

I've compiled it for DS918+ (XPEnology/Redpill DSM 7.0.1).

To load use this sequence:


insmod soundcore.ko
insmod snd.ko
insmod snd-hwdep.ko
insmod snd-timer.ko
insmod snd-pcm.ko
insmod snd-seq-device.ko
insmod snd-rawmidi.ko
insmod snd-usbmidi-lib.ko
insmod snd-usb-audio.ko

 

snd-usb-audio_918p_701.zip 188.99 kB · 1 download

How do you use the sound modules ? I’m just curious 🤨 

Link to comment
Share on other sites

this is a test driver for intel gpu's up to 12th gen - at least when it comes to using the pci id of it

the driver is still the one that comes with synology's kernel and as used in 918+/920+

instead of patching one or two id's this is a driver build from source containing all of them (taken from kernel 5.17 rc4)

syno's driver only contains code up to canon lake

i treated all comet lake gpu's as coffee lake and anything above that as canon lake

as i have no newer cpu i can't test this, in theory its should at least bring what was working with the patched driver in 6.2.3 back to life in 7.0

as its only the i915.ko file (and the firmware files)  and not extension for the rp-loader its only meant for people who can freely test, screw up there system and recover or delete and reinstall new

if the driver is copied to /lib/modules and replaces the original driver, fimrware has its own folder in /lib/ (structure in the zip as guidance)

it can happen that the system does not boot anymore (worst case scenario), you would need to delete the file manually and if dsm does not start anymore you would need to mount the system partition(s) of all disks as raid1 to remove the file again

so its meant to be used as testing with a fresh usb and a fresh disk and its meant to be thrown away after testing it

 

!!! its in the developer section on purpose !!! if you screw up your system and can't recover by yourself then i'm not going to help in any way

delete the partitions on you test disk or recover system with this https://xpenology.com/forum/topic/7004-tutorial-how-to-access-dsms-data-system-partitions/

if it works (not worst case) then the system comes up again after a reboot and there should be devices in /dev/dri/, if not it did not work, you should check /var/log/dmesg in that case and check that you replaced the i915.ko properly in /lib/modules/ and also added the firmware in /lib/firmware/i915/

 

 

the way it might be used later would be as a extension in rp-loader so if its added and fails is can be removed again by removing the extension from the loader

(but i have not talked to @pocopico if thats a way to use it in tinycore)

atm its just to play around and to get some feedback about newer gpu's like 10th/11th/12th, newer means more likely not to work but we dont know if we dont  try

 

i915_universal_918p_DSM7.zip
https://usersdrive.com/jbm5bdrnzzi8.html

 

the attached file is the patch used for synology's kernel source include, so if anyone wants to make its own driver or experiment with changing id's ...

the code has plenty of comment about the pci id's and the cpu type (as long as you understand intels shorts for the gen's like CNL, EHL, JSL TGL, ...)

 

i915_pciids.h.patch

  • Like 2
Link to comment
Share on other sites

On 2/28/2022 at 1:33 AM, IG-88 said:

this is a test driver for intel gpu's up to 12th gen - at least when it comes to using the pci id of it

the driver is still the one that comes with synology's kernel and as used in 918+/920+

instead of patching one or two id's this is a driver build from source containing all of them (taken from kernel 5.17 rc4)

syno's driver only contains code up to canon lake

i treated all comet lake gpu's as coffee lake and anything above that as canon lake

as i have no newer cpu i can't test this, in theory its should at least bring what was working with the patched driver in 6.2.3 back to life in 7.0

as its only the i915.ko file (and the firmware files)  and not extension for the rp-loader its only meant for people who can freely test, screw up there system and recover or delete and reinstall new

if the driver is copied to /lib/modules and replaces the original driver, fimrware has its own folder in /lib/ (structure in the zip as guidance)

it can happen that the system does not boot anymore (worst case scenario), you would need to delete the file manually and if dsm does not start anymore you would need to mount the system partition(s) of all disks as raid1 to remove the file again

so its meant to be used as testing with a fresh usb and a fresh disk and its meant to be thrown away after testing it

 

!!! its in the developer section on purpose !!! if you screw up your system and can't recover by yourself then i'm not going to help in any way

delete the partitions on you test disk or recover system with this https://xpenology.com/forum/topic/7004-tutorial-how-to-access-dsms-data-system-partitions/

if it works (not worst case) then the system comes up again after a reboot and there should be devices in /dev/dri/, if not it did not work, you should check /var/log/dmesg in that case and check that you replaced the i915.ko properly in /lib/modules/ and also added the firmware in /lib/firmware/i915/

 

 

the way it might be used later would be as a extension in rp-loader so if its added and fails is can be removed again by removing the extension from the loader

(but i have not talked to @pocopico if thats a way to use it in tinycore)

atm its just to play around and to get some feedback about newer gpu's like 10th/11th/12th, newer means more likely not to work but we dont know if we dont  try

 

i915_universal_918p_DSM7.zip
https://usersdrive.com/jbm5bdrnzzi8.html

 

the attached file is the patch used for synology's kernel source include, so if anyone wants to make its own driver or experiment with changing id's ...

the code has plenty of comment about the pci id's and the cpu type (as long as you understand intels shorts for the gen's like CNL, EHL, JSL TGL, ...)

 

i915_pciids.h.patch 6.02 kB · 12 downloads

 

 

 

[  125.001683] [drm] The driver support for your hardware in this kernel version is alpha quality
               See CONFIG_DRM_I915_ALPHA_SUPPORT or i915.alpha_support module parameter
               to enable support in this kernel version, or check for kernel updates.

 

the system can't boot if add i915.alpha_support=1 to grub command line

 

test platform: DS918+_7.0.1-42218 and DS920+_7.0.1-42218

 

host cpu: N5095

 

Link to comment
Share on other sites

On 2/27/2022 at 6:33 PM, IG-88 said:

this is a test driver for intel gpu's up to 12th gen - at least when it comes to using the pci id of it

the driver is still the one that comes with synology's kernel and as used in 918+/920+

instead of patching one or two id's this is a driver build from source containing all of them (taken from kernel 5.17 rc4)

syno's driver only contains code up to canon lake

i treated all comet lake gpu's as coffee lake and anything above that as canon lake

as i have no newer cpu i can't test this, in theory its should at least bring what was working with the patched driver in 6.2.3 back to life in 7.0

as its only the i915.ko file (and the firmware files)  and not extension for the rp-loader its only meant for people who can freely test, screw up there system and recover or delete and reinstall new

if the driver is copied to /lib/modules and replaces the original driver, fimrware has its own folder in /lib/ (structure in the zip as guidance)

it can happen that the system does not boot anymore (worst case scenario), you would need to delete the file manually and if dsm does not start anymore you would need to mount the system partition(s) of all disks as raid1 to remove the file again

so its meant to be used as testing with a fresh usb and a fresh disk and its meant to be thrown away after testing it

 

!!! its in the developer section on purpose !!! if you screw up your system and can't recover by yourself then i'm not going to help in any way

delete the partitions on you test disk or recover system with this https://xpenology.com/forum/topic/7004-tutorial-how-to-access-dsms-data-system-partitions/

if it works (not worst case) then the system comes up again after a reboot and there should be devices in /dev/dri/, if not it did not work, you should check /var/log/dmesg in that case and check that you replaced the i915.ko properly in /lib/modules/ and also added the firmware in /lib/firmware/i915/

 

 

the way it might be used later would be as a extension in rp-loader so if its added and fails is can be removed again by removing the extension from the loader

(but i have not talked to @pocopico if thats a way to use it in tinycore)

atm its just to play around and to get some feedback about newer gpu's like 10th/11th/12th, newer means more likely not to work but we dont know if we dont  try

 

i915_universal_918p_DSM7.zip
https://usersdrive.com/jbm5bdrnzzi8.html

 

the attached file is the patch used for synology's kernel source include, so if anyone wants to make its own driver or experiment with changing id's ...

the code has plenty of comment about the pci id's and the cpu type (as long as you understand intels shorts for the gen's like CNL, EHL, JSL TGL, ...)

 

i915_pciids.h.patch 6.02 kB · 12 downloads

No luck with this driver. I use ESXi 7 with pci pass-through of UHD Graphics 630. VM crashes the second I insmod this driver, first time I tried it on daily VM by replacing original driver 🤦‍♂️. Had to recover VM by accessing system partition and returning original driver, but lost all the settings carried over after migration from 6.2.3 and had to reinstall DSM7.

 

Here is log from test VM once I unload original and insmod this universal driver.

 

[  680.703934] Module [i915] is removed.
[  699.040010] i915 0000:1b:00.0: enabling device (0000 -> 0003)
[  699.042244] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[  699.043130] [drm] Driver supports precise vblank timestamp query.
[  699.043925] i915 0000:1b:00.0: BAR 6: can't assign [??? 0x00000000 flags 0x20000000] (bogus alignment)
[  699.045161] [drm] Failed to find VBIOS tables (VBT)
[  699.045999] vgaarb: device changed decodes: PCI:0000:1b:00.0,olddecodes=io+mem,decodes=none:owns=none
[  699.048974] [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
[  699.051325] [drm] Initialized i915 1.6.0 20171222 for 0000:1b:00.0 on minor 0
[  699.277508] [drm] Cannot find any crtc or sizes
[  699.278857] i915 0000:1b:00.0: fb0: inteldrmfb frame buffer device
[  699.579460] BUG: unable to handle kernel NULL pointer dereference at 0000000000000018
[  699.580725] IP: [<ffffffffa0ca0aee>] intel_plane_atomic_check+0xe/0x60 [i915]
[  699.581738] PGD e2a3067 PUD 737f4067 PMD 0
[  699.582378] Oops: 0000 [#1] SMP
[  699.582872] Modules linked in: i915(E) fuse 8021q vhost_scsi(O) vhost(O) tcm_loop(O) iscsi_target_mod(O) target_core_user(O) target_core_ep(O) target_core_multi_file(O) target_core_file(O) target_core_iblock(O) target_core_mod(O) syno_extent_pool(PO) rodsp_ep(O) vfat fat udf isofs loop synoacl_vfs(PO) btrfs ecryptfs zstd_decompress zstd_compress xxhash xor raid6_pq aesni_intel glue_helper lrw gf128mul ablk_helper apollolake_synobios(PO) hid_generic usbhid hid usblp drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops cfbfillrect cfbcopyarea cfbimgblt drm drm_panel_orientation_quirks iosf_mbi fb fbdev video backlight button uhci_hcd ehci_pci ehci_hcd r8168(O) i2c_algo_bit igb(O) sg dm_snapshot dm_bufio crc_itu_t crc_ccitt psnap p8022 llc hfsplus md4 hmac sit tunnel4 ipv6 flashcache_syno(O) flashcache(O) syno_flashcache_control(O) dm_mod arc4 crc32c_intel cryptd sha256_generic ecb aes_x86_64 authenc des_generic ansi_cprng cts md5 cbc cpufreq_powersave cpufreq_performance zram processor cpufreq_stats vxlan ip6_udp_tunnel udp_tunnel ip_tunnel etxhci_hcd e1000e(OE) usb_storage xhci_pci xhci_hcd usbcore usb_common [last unloaded: i915]
[  699.598705] CPU: 0 PID: 18351 Comm: kworker/0:1 Tainted: P           OE   4.4.180+ #42218
[  699.599800] Hardware name: VMware, Inc. VMware7,1/440BX Desktop Reference Platform, BIOS VMW71.00V.17369862.B64.2012240522 12/24/2020
[  699.601401] Workqueue: events output_poll_execute [drm_kms_helper]
[  699.602252] task: ffff880049228000 ti: ffff88004d920000 task.ti: ffff88004d920000
[  699.603255] RIP: 0010:[<ffffffffa0ca0aee>]  [<ffffffffa0ca0aee>] intel_plane_atomic_check+0xe/0x60 [i915]
[  699.604562] RSP: 0018:ffff88004d923ab0  EFLAGS: 00010246
[  699.605281] RAX: 0000000000000000 RBX: ffff88004f2d3c00 RCX: ffff88000e1a4000
[  699.606239] RDX: ffff88002f9e0000 RSI: ffff88000e5ef200 RDI: ffff88004f2d3c00
[  699.607195] RBP: ffff88004d923ae8 R08: 0000000000000000 R09: 0000000000000002
[  699.608153] R10: 0000000000000000 R11: 0000000000000000 R12: ffff88000e5ef200
[  699.609107] R13: 0000000000000000 R14: ffff88000db1e400 R15: ffffffffa0d1b080
[  699.610063] FS:  0000000000000000(0000) GS:ffff88007dc00000(0000) knlGS:0000000000000000
[  699.611146] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  699.611914] CR2: 0000000000000018 CR3: 00000000779a7000 CR4: 00000000003606f0
[  699.612889] Stack:
[  699.613175]  ffffffffa0475b8f 0040000000000000 ffff88000db1e400 ffff88007921a000
[  699.614246]  ffff88000d943000 ffff88002f9e0000 ffff88002f9e0000 ffff88004d923b90
[  699.615324]  ffffffffa0cbc227 ffff88002f9e0000 0000000000000000 ffff88004d923b88
[  699.616404] Call Trace:
[  699.616748]  [<ffffffffa0475b8f>] ? drm_atomic_helper_check_planes+0xcf/0x220 [drm_kms_helper]
[  699.617915]  [<ffffffffa0cbc227>] intel_atomic_check+0x427/0x11f0 [i915]
[  699.618843]  [<ffffffffa0ca0830>] ? intel_plane_duplicate_state+0x20/0x50 [i915]
[  699.619842]  [<ffffffff81577aa6>] ? __ww_mutex_lock+0x46/0x80
[  699.620626]  [<ffffffffa03fff02>] drm_atomic_check_only+0x392/0x5a0 [drm]
[  699.621542]  [<ffffffffa03ffb5e>] ? drm_atomic_add_affected_connectors+0xde/0xf0 [drm]
[  699.622630]  [<ffffffffa0400123>] drm_atomic_commit+0x13/0x60 [drm]
[  699.623475]  [<ffffffffa047e0a5>] restore_fbdev_mode_atomic+0x1a5/0x220 [drm_kms_helper]
[  699.624564]  [<ffffffffa047e31d>] restore_fbdev_mode+0x2d/0x150 [drm_kms_helper]
[  699.625568]  [<ffffffffa047e52c>] drm_fb_helper_restore_fbdev_mode_unlocked+0x4c/0xa0 [drm_kms_helper]
[  699.626815]  [<ffffffffa047e5a8>] drm_fb_helper_set_par+0x28/0x50 [drm_kms_helper]
[  699.627832]  [<ffffffffa047e67e>] drm_fb_helper_hotplug_event.part.34+0xae/0xc0 [drm_kms_helper]
[  699.629012]  [<ffffffffa047e6ac>] drm_fb_helper_hotplug_event+0x1c/0x20 [drm_kms_helper]
[  699.630102]  [<ffffffffa0cd9e1f>] intel_fbdev_output_poll_changed+0x2f/0x60 [i915]
[  699.631116]  [<ffffffffa046cd45>] drm_kms_helper_hotplug_event+0x25/0x30 [drm_kms_helper]
[  699.632214]  [<ffffffffa046ce00>] output_poll_execute+0x90/0x1b0 [drm_kms_helper]
[  699.633217]  [<ffffffff810891c6>] ? pick_next_task_fair+0x466/0x470
[  699.634063]  [<ffffffff81073ceb>] worker_run_work+0x9b/0xe0
[  699.634815]  [<ffffffffa046cd70>] ? drm_kms_helper_is_poll_worker+0x20/0x20 [drm_kms_helper]
[  699.635949]  [<ffffffff8106b2e3>] process_one_work+0x1e3/0x4f0
[  699.636728]  [<ffffffff8106b61e>] worker_thread+0x2e/0x4b0
[  699.637471]  [<ffffffff8106b5f0>] ? process_one_work+0x4f0/0x4f0
[  699.638282]  [<ffffffff810700f5>] kthread+0xd5/0xf0
[  699.638942]  [<ffffffff81070020>] ? kthread_worker_fn+0x160/0x160
[  699.639754]  [<ffffffff81579fef>] ret_from_fork+0x3f/0x80
[  699.640480]  [<ffffffff81070020>] ? kthread_worker_fn+0x160/0x160
[  699.641294] Code: c7 c2 28 cd d3 a0 be 04 00 00 00 48 c7 c7 33 b3 d2 a0 e8 c6 96 76 ff eb dc 0f 1f 40 00 8b 87 54 02 00 00 4c 8b 46 78 48 c1 e0 05 <49> 03 40 18 48 8b 50 10 48 8b 46 08 48 85 c0 74 28 55 48 8d 0e
[  699.645109] RIP  [<ffffffffa0ca0aee>] intel_plane_atomic_check+0xe/0x60 [i915]
[  699.646117]  RSP <ffff88004d923ab0>
[  699.646593] CR2: 0000000000000018
[  699.647049] ---[ end trace c1697d1dfeb185ef ]---
[  699.658817] ------------[ cut here ]------------
[  699.659455] WARNING: CPU: 0 PID: 18351 at kernel/softirq.c:150 __local_bh_enable_ip+0x61/0x90()
[  699.660622] Modules linked in: i915(E) fuse 8021q vhost_scsi(O) vhost(O) tcm_loop(O) iscsi_target_mod(O) target_core_user(O) target_core_ep(O) target_core_multi_file(O) target_core_file(O) target_core_iblock(O) target_core_mod(O) syno_extent_pool(PO) rodsp_ep(O) vfat fat udf isofs loop synoacl_vfs(PO) btrfs ecryptfs zstd_decompress zstd_compress xxhash xor raid6_pq aesni_intel glue_helper lrw gf128mul ablk_helper apollolake_synobios(PO) hid_generic usbhid hid usblp drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops cfbfillrect cfbcopyarea cfbimgblt drm drm_panel_orientation_quirks iosf_mbi fb fbdev video backlight button uhci_hcd ehci_pci ehci_hcd r8168(O) i2c_algo_bit igb(O) sg dm_snapshot dm_bufio crc_itu_t crc_ccitt psnap p8022 llc hfsplus md4 hmac sit tunnel4 ipv6 flashcache_syno(O) flashcache(O) syno_flashcache_control(O) dm_mod arc4 crc32c_intel cryptd sha256_generic ecb aes_x86_64 authenc des_generic ansi_cprng cts md5 cbc cpufreq_powersave cpufreq_performance zram processor cpufreq_stats vxlan ip6_udp_tunnel udp_tunnel ip_tunnel etxhci_hcd e1000e(OE) usb_storage xhci_pci xhci_hcd usbcore usb_common [last unloaded: i915]
[  699.676165] CPU: 0 PID: 18351 Comm: kworker/0:1 Tainted: P      D    OE   4.4.180+ #42218
[  699.677259] Hardware name: VMware, Inc. VMware7,1/440BX Desktop Reference Platform, BIOS VMW71.00V.17369862.B64.2012240522 12/24/2020
[  699.678861]  0000000000000000 ffff88004d923798 ffffffff812ef89d 0000000000000009
[  699.679933]  0000000000000000 ffff88004d9237d0 ffffffff8105255f 0000000000000200
[  699.681025]  ffff880049228000 0000000000000001 ffff880049228000 0000000000000009
[  699.682108] Call Trace:
[  699.682453]  [<ffffffff812ef89d>] dump_stack+0x4d/0x70
[  699.683145]  [<ffffffff8105255f>] warn_slowpath_common+0x7f/0xb0
[  699.683966]  [<ffffffff81052646>] warn_slowpath_null+0x16/0x20
[  699.684765]  [<ffffffff81056211>] __local_bh_enable_ip+0x61/0x90
[  699.685586]  [<ffffffff815797a5>] _raw_spin_unlock_bh+0x15/0x20
[  699.686382]  [<ffffffff810d7d23>] cgroup_exit+0x53/0xc0
[  699.687093]  [<ffffffff81054f8c>] do_exit+0x2bc/0xaa0
[  699.687781]  [<ffffffff810a1b02>] ? kmsg_dump+0x92/0xb0
[  699.688498]  [<ffffffff810082e4>] oops_end+0x84/0xb0
[  699.689174]  [<ffffffff81042272>] no_context+0x102/0x2b0
[  699.689896]  [<ffffffff8104252c>] __bad_area_nosemaphore+0x10c/0x200
[  699.690759]  [<ffffffff8104262e>] bad_area_nosemaphore+0xe/0x10
[  699.691560]  [<ffffffff81042a09>] __do_page_fault+0x1f9/0x400
[  699.692341]  [<ffffffff81042c1c>] do_page_fault+0xc/0x10
[  699.693062]  [<ffffffff8157ba52>] page_fault+0x22/0x30
[  699.693775]  [<ffffffffa0ca0aee>] ? intel_plane_atomic_check+0xe/0x60 [i915]
[  699.694731]  [<ffffffffa0475b8f>] ? drm_atomic_helper_check_planes+0xcf/0x220 [drm_kms_helper]
[  699.695903]  [<ffffffffa0cbc227>] intel_atomic_check+0x427/0x11f0 [i915]
[  699.696819]  [<ffffffffa0ca0830>] ? intel_plane_duplicate_state+0x20/0x50 [i915]
[  699.697817]  [<ffffffff81577aa6>] ? __ww_mutex_lock+0x46/0x80
[  699.698606]  [<ffffffffa03fff02>] drm_atomic_check_only+0x392/0x5a0 [drm]
[  699.699527]  [<ffffffffa03ffb5e>] ? drm_atomic_add_affected_connectors+0xde/0xf0 [drm]
[  699.700598]  [<ffffffffa0400123>] drm_atomic_commit+0x13/0x60 [drm]
[  699.701446]  [<ffffffffa047e0a5>] restore_fbdev_mode_atomic+0x1a5/0x220 [drm_kms_helper]
[  699.702542]  [<ffffffffa047e31d>] restore_fbdev_mode+0x2d/0x150 [drm_kms_helper]
[  699.703537]  [<ffffffffa047e52c>] drm_fb_helper_restore_fbdev_mode_unlocked+0x4c/0xa0 [drm_kms_helper]
[  699.704793]  [<ffffffffa047e5a8>] drm_fb_helper_set_par+0x28/0x50 [drm_kms_helper]
[  699.705819]  [<ffffffffa047e67e>] drm_fb_helper_hotplug_event.part.34+0xae/0xc0 [drm_kms_helper]
[  699.707001]  [<ffffffffa047e6ac>] drm_fb_helper_hotplug_event+0x1c/0x20 [drm_kms_helper]
[  699.708098]  [<ffffffffa0cd9e1f>] intel_fbdev_output_poll_changed+0x2f/0x60 [i915]
[  699.709124]  [<ffffffffa046cd45>] drm_kms_helper_hotplug_event+0x25/0x30 [drm_kms_helper]
[  699.710234]  [<ffffffffa046ce00>] output_poll_execute+0x90/0x1b0 [drm_kms_helper]
[  699.711249]  [<ffffffff810891c6>] ? pick_next_task_fair+0x466/0x470
[  699.712099]  [<ffffffff81073ceb>] worker_run_work+0x9b/0xe0
[  699.712860]  [<ffffffffa046cd70>] ? drm_kms_helper_is_poll_worker+0x20/0x20 [drm_kms_helper]
[  699.713995]  [<ffffffff8106b2e3>] process_one_work+0x1e3/0x4f0
[  699.714792]  [<ffffffff8106b61e>] worker_thread+0x2e/0x4b0
[  699.715548]  [<ffffffff8106b5f0>] ? process_one_work+0x4f0/0x4f0
[  699.716364]  [<ffffffff810700f5>] kthread+0xd5/0xf0
[  699.717035]  [<ffffffff81070020>] ? kthread_worker_fn+0x160/0x160
[  699.717863]  [<ffffffff81579fef>] ret_from_fork+0x3f/0x80
[  699.718600]  [<ffffffff81070020>] ? kthread_worker_fn+0x160/0x160
[  699.719426] ---[ end trace c1697d1dfeb185f0 ]---
[  699.720117] BUG: unable to handle kernel paging request at ffffffffffffffd8
[  699.721101] IP: [<ffffffff810705eb>] kthread_data+0xb/0x20
[  699.721871] PGD 420d067 PUD 420f067 PMD 0
[  699.722496] Oops: 0000 [#2] SMP
[  699.722985] Modules linked in: i915(E) fuse 8021q vhost_scsi(O) vhost(O) tcm_loop(O) iscsi_target_mod(O) target_core_user(O) target_core_ep(O) target_core_multi_file(O) target_core_file(O) target_core_iblock(O) target_core_mod(O) syno_extent_pool(PO) rodsp_ep(O) vfat fat udf isofs loop synoacl_vfs(PO) btrfs ecryptfs zstd_decompress zstd_compress xxhash xor raid6_pq aesni_intel glue_helper lrw gf128mul ablk_helper apollolake_synobios(PO) hid_generic usbhid hid usblp drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops cfbfillrect cfbcopyarea cfbimgblt drm drm_panel_orientation_quirks iosf_mbi fb fbdev video backlight button uhci_hcd ehci_pci ehci_hcd r8168(O) i2c_algo_bit igb(O) sg dm_snapshot dm_bufio crc_itu_t crc_ccitt psnap p8022 llc hfsplus md4 hmac sit tunnel4 ipv6 flashcache_syno(O) flashcache(O) syno_flashcache_control(O) dm_mod arc4 crc32c_intel cryptd sha256_generic ecb aes_x86_64 authenc des_generic ansi_cprng cts md5 cbc cpufreq_powersave cpufreq_performance zram processor cpufreq_stats vxlan ip6_udp_tunnel udp_tunnel ip_tunnel etxhci_hcd e1000e(OE) usb_storage xhci_pci xhci_hcd usbcore usb_common [last unloaded: i915]
[  699.738541] CPU: 0 PID: 18351 Comm: kworker/0:1 Tainted: P      D W  OE   4.4.180+ #42218
[  699.739636] Hardware name: VMware, Inc. VMware7,1/440BX Desktop Reference Platform, BIOS VMW71.00V.17369862.B64.2012240522 12/24/2020
[  699.741236] task: ffff880049228000 ti: ffff88004d920000 task.ti: ffff88004d920000
[  699.742230] RIP: 0010:[<ffffffff810705eb>]  [<ffffffff810705eb>] kthread_data+0xb/0x20
[  699.743316] RSP: 0018:ffff88004d9237c0  EFLAGS: 00010002
[  699.744029] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
[  699.744989] RDX: ffff88007b004080 RSI: 0000000000000000 RDI: ffff880049228000
[  699.745951] RBP: ffff88004d9237c0 R08: ffff88007dc16368 R09: 000000a2ea9194a6
[  699.746918] R10: 0000000000000000 R11: 0000000000001000 R12: ffff880049228000
[  699.747870] R13: ffff88007dc16300 R14: ffff88007dc16300 R15: 0000000000000000
[  699.748828] FS:  0000000000000000(0000) GS:ffff88007dc00000(0000) knlGS:0000000000000000
[  699.749917] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  699.750691] CR2: 0000000000000028 CR3: 000000007a75f000 CR4: 00000000003606f0
[  699.751666] Stack:
[  699.751947]  ffff88004d9237d8 ffffffff8106c37c 0000000000016300 ffff88004d923828
[  699.753027]  ffffffff81575c51 000000005c30b350 ffff88004d923820 ffff880049228000
[  699.754107]  ffff880049228000 ffff88004d923878 ffff88004d923428 ffff88007b0f0000
[  699.755182] Call Trace:
[  699.755530]  [<ffffffff8106c37c>] wq_worker_sleeping+0xc/0x90
[  699.756312]  [<ffffffff81575c51>] __schedule+0x371/0x820
[  699.757035]  [<ffffffff81576126>] schedule+0x26/0x70
[  699.757713]  [<ffffffff81055379>] do_exit+0x6a9/0xaa0
[  699.758401]  [<ffffffff810082e4>] oops_end+0x84/0xb0
[  699.759072]  [<ffffffff81042272>] no_context+0x102/0x2b0
[  699.759788]  [<ffffffff8104252c>] __bad_area_nosemaphore+0x10c/0x200
[  699.760643]  [<ffffffff8104262e>] bad_area_nosemaphore+0xe/0x10
[  699.761436]  [<ffffffff81042a09>] __do_page_fault+0x1f9/0x400
[  699.762213]  [<ffffffff81042c1c>] do_page_fault+0xc/0x10
[  699.762932]  [<ffffffff8157ba52>] page_fault+0x22/0x30
[  699.763634]  [<ffffffffa0ca0aee>] ? intel_plane_atomic_check+0xe/0x60 [i915]
[  699.764583]  [<ffffffffa0475b8f>] ? drm_atomic_helper_check_planes+0xcf/0x220 [drm_kms_helper]
[  699.765744]  [<ffffffffa0cbc227>] intel_atomic_check+0x427/0x11f0 [i915]
[  699.766649]  [<ffffffffa0ca0830>] ? intel_plane_duplicate_state+0x20/0x50 [i915]
[  699.767633]  [<ffffffff81577aa6>] ? __ww_mutex_lock+0x46/0x80
[  699.768411]  [<ffffffffa03fff02>] drm_atomic_check_only+0x392/0x5a0 [drm]
[  699.769324]  [<ffffffffa03ffb5e>] ? drm_atomic_add_affected_connectors+0xde/0xf0 [drm]
[  699.770385]  [<ffffffffa0400123>] drm_atomic_commit+0x13/0x60 [drm]
[  699.771235]  [<ffffffffa047e0a5>] restore_fbdev_mode_atomic+0x1a5/0x220 [drm_kms_helper]
[  699.772324]  [<ffffffffa047e31d>] restore_fbdev_mode+0x2d/0x150 [drm_kms_helper]
[  699.773318]  [<ffffffffa047e52c>] drm_fb_helper_restore_fbdev_mode_unlocked+0x4c/0xa0 [drm_kms_helper]
[  699.774561]  [<ffffffffa047e5a8>] drm_fb_helper_set_par+0x28/0x50 [drm_kms_helper]
[  699.775584]  [<ffffffffa047e67e>] drm_fb_helper_hotplug_event.part.34+0xae/0xc0 [drm_kms_helper]
[  699.776758]  [<ffffffffa047e6ac>] drm_fb_helper_hotplug_event+0x1c/0x20 [drm_kms_helper]
[  699.777846]  [<ffffffffa0cd9e1f>] intel_fbdev_output_poll_changed+0x2f/0x60 [i915]
[  699.778858]  [<ffffffffa046cd45>] drm_kms_helper_hotplug_event+0x25/0x30 [drm_kms_helper]
[  699.779954]  [<ffffffffa046ce00>] output_poll_execute+0x90/0x1b0 [drm_kms_helper]
[  699.780960]  [<ffffffff810891c6>] ? pick_next_task_fair+0x466/0x470
[  699.781801]  [<ffffffff81073ceb>] worker_run_work+0x9b/0xe0
[  699.782552]  [<ffffffffa046cd70>] ? drm_kms_helper_is_poll_worker+0x20/0x20 [drm_kms_helper]
[  699.783677]  [<ffffffff8106b2e3>] process_one_work+0x1e3/0x4f0
[  699.784463]  [<ffffffff8106b61e>] worker_thread+0x2e/0x4b0
[  699.785204]  [<ffffffff8106b5f0>] ? process_one_work+0x4f0/0x4f0
[  699.786018]  [<ffffffff810700f5>] kthread+0xd5/0xf0
[  699.786679]  [<ffffffff81070020>] ? kthread_worker_fn+0x160/0x160
[  699.787497]  [<ffffffff81579fef>] ret_from_fork+0x3f/0x80
[  699.788226]  [<ffffffff81070020>] ? kthread_worker_fn+0x160/0x160
[  699.789047] Code: 24 18 e8 b9 dd 50 00 49 8b 04 24 48 85 c0 75 e5 e9 03 ff ff ff 90 66 2e 0f 1f 84 00 00 00 00 00 48 8b 87 c8 04 00 00 55 48 89 e5 <48> 8b 40 d8 5d c3 0f 1f 44 00 00 66 2e 0f 1f 84 00 00 00 00 00
[  699.792882] RIP  [<ffffffff810705eb>] kthread_data+0xb/0x20
[  699.793655]  RSP <ffff88004d9237c0>
[  699.794131] CR2: ffffffffffffffd8
[  699.794588] ---[ end trace c1697d1dfeb185f1 ]---
[  699.806459] Fixing recursive fault but reboot is needed!

 

Patched driver for 6.2.3 was working great, so I tried to do the same thing here and it was working, well at least /dev/dri/... stuf gets created didn't try transcoding yet. What I did was change original pid:vid 8086:3E92 to 8086:9BC8 and removed module signature. If someone is brave enough to try module is attached.

 

[   66.740381] Module [i915] is removed.
[  340.358398] i915 0000:1b:00.0: enabling device (0000 -> 0003)
[  340.360433] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[  340.361351] [drm] Driver supports precise vblank timestamp query.
[  340.362141] i915 0000:1b:00.0: BAR 6: can't assign [??? 0x00000000 flags 0x20000000] (bogus alignment)
[  340.363311] [drm] Failed to find VBIOS tables (VBT)
[  340.364005] [drm:gen9_set_dc_state [i915]] *ERROR* DC state mismatch (0x0 -> 0x2)
[  340.365180] vgaarb: device changed decodes: PCI:0000:1b:00.0,olddecodes=io+mem,decodes=none:owns=none
[  340.368716] [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
[  340.369965] [drm] Initialized i915 1.6.0 20171222 for 0000:1b:00.0 on minor 0
[  340.598919] [drm] Cannot find any crtc or sizes
[  340.600284] i915 0000:1b:00.0: fb0: inteldrmfb frame buffer device

 

i915_mod_striped.ko

Edited by AcxA
added patched module
Link to comment
Share on other sites

  • 3 months later...
  • 2 weeks later...
On 6/20/2022 at 12:01 PM, shibby said:

any possibility to compile i915 driver for DS3622xsp DSM 7.1?

any test's i'm aware off where unsuccessful as the kernel misses parts for just "adding" the i915 modules (i915 and it's dependencies)

and as we are bound to the base kernel of the unit there is no easy way to add that feature

there might be way's to add the missing things in a special hand crafted module afterwards but that would need some hacking and extra code and someone willing to invest that amount of time

 

depending on the situation it might be easier to use dva3221 as base and use a nvidia gpu

if your hardware is still like that "HW:  Asus H170M-Plus, Core i5-6500T" then why not user 918+ or 920+?

just reconfigure the loader and ...

 

 

Link to comment
Share on other sites

  • 3 weeks later...

I've searched the net for a solution, and found at least two variants to install USB drivers to DSM7

 

the first is here, https://mariushosting.com/synology-how-to-add-usb-support-on-dsm-7/ and the idea is a short script that uses modprobe

 

I have almost zero knowledge of linux, so I just googled commands to see if they aren't malicious. Ran the script, it hasn't helped to access my DAC

 

the second option is a bit harder, so I haven't tried it yet, it can be found here https://github.com/robertklep/dsm7-usb-serial-drivers

 

I will be glad if this info helps anyone and still hope that someone will tell me a step-by-step way to recover my access to USB DAC, preferably w/o rebuilding the whole system (my meagre skills mean I may err even in simplest tasks)

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