Peter Suh Posted April 22, 2022 Share #151 Posted April 22, 2022 (edited) 8 minutes ago, pocopico said: When you load extension that use overlapping dependencies the initial script will fail. I modified the script to load the module only if it’s not loaded. OK, I will not use igb and ixgbe ext together. thanks. Edited April 22, 2022 by Peter Suh Quote Link to comment Share on other sites More sharing options...
Peter Suh Posted April 22, 2022 Share #152 Posted April 22, 2022 (edited) @pocopico I have been trying to use HBA for DS920+ until now. Last time, your answer was about wrong setting up the dts/dtb file I would like to ask again if there is any problem with the mpt3sas ext itself below. The logs of TC and Tool-Chain are same as follows. Do you still think it's a setup error in the dts/dtb file? ------------------------------------------------------------- SynologyNAS> cat /var/log/*rc* START /linuxrc.syno.impl '/etc.defaults/model.dtb' -> '/var/run/model.dtb' Insert basic USB modules... :: Loading module usb-common ... [ OK ] :: Loading module usbcore ... [ OK ] :: Loading module xhci-hcd ... [ OK ] :: Loading module xhci-pci ... [ OK ] :: Loading module usb-storage ... [ OK ] :: Loading kernel modules from extensions ... Loading kmod #0 "e1000e.ko" for pocopico.e1000e (args: ) Loading kmod #0 "igb.ko" for pocopico.igb (args: ) Loading kmod #0 "raid_class.ko" for pocopico.mpt3sas (args: ) Loading kmod #1 "scsi_transport_sas.ko" for pocopico.mpt3sas (args: ) Loading kmod #2 "mpt3sas.ko" for pocopico.mpt3sas (args: ) Killed ERROR: kernel extensions "mpt3sas.ko" from pocopico.mpt3sas failed to load Exit on error [99] rp ext init exec failure... Fri Apr 22 14:37:31 UTC 2022 none /sys/kernel/debug debugfs rw,relatime 0 0 SynologyNAS> /sbin/lsmod |grep -i mpt3sas|wc -l 3 SynologyNAS> /sbin/lsmod |grep -i mpt3sas mpt3sas 229935 1 scsi_transport_sas 24636 1 mpt3sas raid_class 3636 1 mpt3sas SynologyNAS> /sbin/lsmod Module Size Used by Tainted: P hid_generic 1321 0 usbhid 26319 0 hid 90279 2 hid_generic,usbhid etxhci_hcd 83892 0 geminilake_synobios 71833 0 nfsv3 26029 0 nfs 182402 1 nfsv3 lockd 77428 2 nfsv3,nfs grace 2114 1 lockd sunrpc 250707 3 nfsv3,nfs,lockd r8168 527404 0 i2c_algo_bit 5505 0 vxlan 32733 0 ip6_udp_tunnel 1967 1 vxlan udp_tunnel 2419 1 vxlan vfat 10203 0 fat 54822 1 vfat sha256_generic 10521 0 mpt3sas 229935 1 scsi_transport_sas 24636 1 mpt3sas raid_class 3636 1 mpt3sas igb 177577 0 e1000e 175552 0 usb_storage 49322 0 xhci_pci 4650 0 xhci_hcd 109843 1 xhci_pci usbcore 200460 5 usbhid,etxhci_hcd,usb_storage,xhci_pci,xhci_hcd usb_common 2829 1 usbcore redpill 119799 0 Edited April 22, 2022 by Peter Suh Quote Link to comment Share on other sites More sharing options...
RacerX Posted April 22, 2022 Share #153 Posted April 22, 2022 (edited) Here is the is info from TC lspci -v 01:00.0 Ethernet controller: Mellanox Technologies MT27700 Family [ConnectX-4] Subsystem: Mellanox Technologies Device 0039 Flags: fast devsel, IRQ 16 Memory at 2ff2000000 (64-bit, prefetchable) [size=32M] Expansion ROM at dfd00000 [disabled] [size=1M] Capabilities: <access denied> 01:00.1 Ethernet controller: Mellanox Technologies MT27700 Family [ConnectX-4] Subsystem: Mellanox Technologies Device 0039 Flags: fast devsel, IRQ 17 Memory at 2ff0000000 (64-bit, prefetchable) [size=32M] Expansion ROM at dfc00000 [disabled] [size=1M] Capabilities: <access denied> I tested it on True Nas Scale, Proxmox, and Unbuntu and they all worked fine with mlx5_core Kernel Extension If you have time please consider to add it to the extenstions. Thanks Edited April 23, 2022 by RacerX Quote Link to comment Share on other sites More sharing options...
pocopico Posted April 24, 2022 Author Share #154 Posted April 24, 2022 (edited) On 4/23/2022 at 2:40 AM, RacerX said: Here is the is info from TC lspci -v 01:00.0 Ethernet controller: Mellanox Technologies MT27700 Family [ConnectX-4] Subsystem: Mellanox Technologies Device 0039 Flags: fast devsel, IRQ 16 Memory at 2ff2000000 (64-bit, prefetchable) [size=32M] Expansion ROM at dfd00000 [disabled] [size=1M] Capabilities: <access denied> 01:00.1 Ethernet controller: Mellanox Technologies MT27700 Family [ConnectX-4] Subsystem: Mellanox Technologies Device 0039 Flags: fast devsel, IRQ 17 Memory at 2ff0000000 (64-bit, prefetchable) [size=32M] Expansion ROM at dfc00000 [disabled] [size=1M] Capabilities: <access denied> I tested it on True Nas Scale, Proxmox, and Unbuntu and they all worked fine with mlx5_core Kernel Extension If you have time please consider to add it to the extenstions. Thanks Done, can you please check if the extension is loading succesfully ? https://github.com/pocopico/rp-ext/raw/main/mlx5_core/rpext-index.json Edited April 24, 2022 by pocopico Quote Link to comment Share on other sites More sharing options...
RacerX Posted April 24, 2022 Share #155 Posted April 24, 2022 (edited) 2 hours ago, pocopico said: Done, can you please check if the extension is loading succesfully ? https://github.com/pocopico/rp-ext/raw/main/mlx5_core/rpext-index.json To clarify with MCX414-GCAT 10gb test when I first boot tinycore-redpill.v0.4.6 I don't get an ip address. I do get an address with (ubuntu, truenas scale,and proxmax) .So the workaround I had to enable onboard 1gb r8169 for the test. I build it ./rploader.sh build apollolake-7.0.1-42218 -------------------------------------------------------------------------------- ---------------- It looks that you will need the following modules : Found VGA Controller : pciid 8086d00003e92 Required Extension : i915 Searching for matching extension for i915 Found SATA Controller : pciid 8086d0000a282 Required Extension : No matching extension Found Ethernet Interface : pciid 15b3d00001013 Required Extension : mlx5_core Searching for matching extension for mlx5_core Found Ethernet Interface : pciid 15b3d00001013 Required Extension : mlx5_core Searching for matching extension for mlx5_core [#] Checking runtime for required tools... [OK] [#] Adding new extension from https://raw.githubusercontent.com/pocopico/rp-ext/ master/r8169/rpext-index.json... [#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/ma ster/r8169/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_ index.tmp_json ######################################################################## 100.0% [OK] [#] ========================================== pocopico.r8169 ================== ======================== [#] Extension name: r8169 [#] Description: Adds RealTek RTL-8169 Gigabit Ethernet driver Support [#] To get help visit: <todo> [#] Extension preparer/packer: https://github.com/pocopico/rp-ext/tree/main/r816 9 [#] Software author: https://github.com/pocopico [#] Update URL: https://raw.githubusercontent.com/pocopico/rp-ext/master/r8169/r pext-index.json [#] Platforms supported: ds1621p_42218 ds918p_41890 dva3221_42661 ds3617xs_42621 ds3617xs_42218 ds920p_42661 ds918p_42661 ds1621p_42661 ds918p_25556 dva3221_422 18 ds3615xs_42661 ds3622xsp_42661 ds3622xsp_42218 dva3221_42621 ds3615xs_41222 d s918p_42621 ds3617xs_42661 ds3615xs_25556 ds920p_42218 ds920p_42621 ds918p_42218 ds1621p_42621 ds3615xs_42621 ds3615xs_42218 ds3622xsp_42621 [#] ============================================================================ =========== Found Ethernet Interface : pciid 10ecd00008168 Required Extension : r8169 Searching for matching extension for r8169 Found matching extension : "https://raw.githubusercontent.com/pocopico/rp-ext/master/r8169/rpext-index.json " -------------------------------------------------------------------------------- I can log into R7.0.1 it defaults to only the R8169.... Thanks Edited April 24, 2022 by RacerX Quote Link to comment Share on other sites More sharing options...
pocopico Posted April 24, 2022 Author Share #156 Posted April 24, 2022 35 minutes ago, RacerX said: To clarify with MCX414-GCAT 10gb test when I first boot tinycore-redpill.v0.4.6 I don't get an ip address. I do get an address with (ubuntu, truenas scale,and proxmax) .So the workaround I had to enable onboard 1gb r8169 for the test. I build it ./rploader.sh build apollolake-7.0.1-42218 -------------------------------------------------------------------------------- ---------------- It looks that you will need the following modules : Found VGA Controller : pciid 8086d00003e92 Required Extension : i915 Searching for matching extension for i915 Found SATA Controller : pciid 8086d0000a282 Required Extension : No matching extension Found Ethernet Interface : pciid 15b3d00001013 Required Extension : mlx5_core Searching for matching extension for mlx5_core Found Ethernet Interface : pciid 15b3d00001013 Required Extension : mlx5_core Searching for matching extension for mlx5_core [#] Checking runtime for required tools... [OK] [#] Adding new extension from https://raw.githubusercontent.com/pocopico/rp-ext/ master/r8169/rpext-index.json... [#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/ma ster/r8169/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_ index.tmp_json ######################################################################## 100.0% [OK] [#] ========================================== pocopico.r8169 ================== ======================== [#] Extension name: r8169 [#] Description: Adds RealTek RTL-8169 Gigabit Ethernet driver Support [#] To get help visit: <todo> [#] Extension preparer/packer: https://github.com/pocopico/rp-ext/tree/main/r816 9 [#] Software author: https://github.com/pocopico [#] Update URL: https://raw.githubusercontent.com/pocopico/rp-ext/master/r8169/r pext-index.json [#] Platforms supported: ds1621p_42218 ds918p_41890 dva3221_42661 ds3617xs_42621 ds3617xs_42218 ds920p_42661 ds918p_42661 ds1621p_42661 ds918p_25556 dva3221_422 18 ds3615xs_42661 ds3622xsp_42661 ds3622xsp_42218 dva3221_42621 ds3615xs_41222 d s918p_42621 ds3617xs_42661 ds3615xs_25556 ds920p_42218 ds920p_42621 ds918p_42218 ds1621p_42621 ds3615xs_42621 ds3615xs_42218 ds3622xsp_42621 [#] ============================================================================ =========== Found Ethernet Interface : pciid 10ecd00008168 Required Extension : r8169 Searching for matching extension for r8169 Found matching extension : "https://raw.githubusercontent.com/pocopico/rp-ext/master/r8169/rpext-index.json " -------------------------------------------------------------------------------- I can log into R7.0.1 it defaults to only the R8169.... Thanks the extension is not added. Could you please do a fullupgrade and run again the build process ? Quote Link to comment Share on other sites More sharing options...
RacerX Posted April 24, 2022 Share #157 Posted April 24, 2022 (edited) junk Edited April 24, 2022 by RacerX Quote Link to comment Share on other sites More sharing options...
RacerX Posted April 24, 2022 Share #158 Posted April 24, 2022 (edited) It looks that you will need the following modules : Found VGA Controller : pciid 8086d00003e92 Required Extension : i915 Searching for matching extension for i915 Found SATA Controller : pciid 8086d0000a282 Required Extension : No matching extension [#] Checking runtime for required tools... [OK] [#] Adding new extension from https://raw.githubusercontent.com/pocopico/rp-ext/master/mlx5_core/rpext-index.json... [#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/mlx5_core/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ ext_index.tmp_json ######################################################################## 100.0% [OK] [#] ========================================== pocopico.mlx5_core ============= ============================ [#] Extension name: mlx5_core [#] Description: Adds Mellanox Connect-IB, ConnectX-4 core driver Support [#] To get help visit: <todo> [#] Extension preparer/packer: https://github.com/pocopico/rp-ext/tree/main/mlx5 _core [#] Software author: https://github.com/pocopico [#] Update URL: https://raw.githubusercontent.com/pocopico/rp-ext/master/mlx5_core/rpext-index.json [#] Platforms supported: ds1621p_42218 ds918p_41890 dva3221_42661 ds3617xs_42621 ds3617xs_42218 ds920p_42661 ds918p_42661 ds1621p_42661 ds918p_25556 dva3221_422 18 ds3615xs_42661 ds3622xsp_42661 ds3622xsp_42218 dva3221_42621 ds3615xs_41222 d s918p_42621 ds3617xs_42661 ds3615xs_25556 ds920p_42621 ds918p_42218 ds1621p_4262 1 ds3615xs_42621 ds3615xs_42218 ds3622xsp_42621 [#] ============================================================================ =========== Found Ethernet Interface : pciid 15b3d00001013 Required Extension : mlx5_core Searching for matching extension for mlx5_core Found matching extension : "https://raw.githubusercontent.com/pocopico/rp-ext/master/mlx5_core/rpext-index.json" [#] Checking runtime for required tools... [OK] [#] Adding new extension from https://raw.githubusercontent.com/pocopico/rp-ext/master/mlx5_core/rpext-index.json... [#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/mlx5_core/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json ######################################################################## 100.0% [!] Extension is already added (index exists at /home/tc/redpill-load/custom/extensions/pocopico.mlx5_core/pocopico.mlx5_core.json). For more info use "ext-manager.sh info pocopico.mlx5_core" *** Process will exit *** Found Ethernet Interface : pciid 15b3d00001013 Required Extension : mlx5_core Searching for matching extension for mlx5_core Found matching extension : "https://raw.githubusercontent.com/pocopico/rp-ext/master/mlx5_core/rpext-index.json" [#] Checking runtime for required tools... [OK] [#] Adding new extension from https://raw.githubusercontent.com/pocopico/rp-ext/master/r8169/rpext-index.json... [#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/r8169/rpext-index.json to /home/tc/redpill-load/cust Log into r7.1 still only r8169 thanks Edited April 24, 2022 by RacerX Quote Link to comment Share on other sites More sharing options...
RacerX Posted April 24, 2022 Share #159 Posted April 24, 2022 building 7.1 [#] Checking runtime for required tools... [OK] [#] Updating pocopico.mlx5_core extension... [#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/ma ster/mlx5_core/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ ext_index.tmp_json ######################################################################### 100.0% [#] Extension pocopico.mlx5_core index is already up to date [#] Updating pocopico.r8169 extension... [#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/ma ster/r8169/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_ index.tmp_json ######################################################################### 100.0% [#] Extension pocopico.r8169 index is already up to date [#] Updating redpill-boot-wait extension... [#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/ma ster/redpill-boot-wait/rpext-index.json to /home/tc/redpill-load/custom/extensio ns/_new_ext_index.tmp_json ######################################################################### 100.0% [#] Extension redpill-boot-wait index is already up to date [#] Updating redpill-misc extension... [#] Downloading remote file https://github.com/pocopico/redpill-load/raw/develop /redpill-misc/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_e xt_index.tmp_json ######################################################################### 100.0% ######################################################################### 100.0% [OK] [#] Checking runtime for required tools... [OK] [#] Updating ds918p_42661 platforms extensions... [#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/ma ster/mlx5_core/releases/ds918p_42218.json to /home/tc/redpill-load/custom/extens ions/_ext_new_rcp.tmp_json ######################################################################### 100.0% [#] Filling-in newly downloaded recipe for extension pocopico.mlx5_core platform ds918p_42661 [#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/ma ster/mlx5_core/releases/mlx5_core-4.4.180plus.tgz to /home/tc/redpill-load/custo m/extensions/pocopico.mlx5_core/ds918p_42661/mlx5_core-4.4.180plus.tgz ######################################################################### 100.0% [#] Verifying /home/tc/redpill-load/custom/extensions/pocopico.mlx5_core/ds918p_ 42661/mlx5_core-4.4.180plus.tgz file... [OK] [#] Unpacking files from /home/tc/redpill-load/custom/extensions/pocopico.mlx5_c ore/ds918p_42661/mlx5_core-4.4.180plus.tgz to /home/tc/redpill-load/custom/exten sions/pocopico.mlx5_core/ds918p_42661/... [OK] [#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/ma ster/mlx5_core/src/check-mlx5_core.sh to /home/tc/redpill-load/custom/extensions /pocopico.mlx5_core/ds918p_42661/check-mlx5_core.sh ######################################################################### 100.0% [#] Verifying /home/tc/redpill-load/custom/extensions/pocopico.mlx5_core/ds918p_ 42661/check-mlx5_core.sh file... [OK] [#] Successfully processed recipe for extension pocopico.mlx5_core platform ds91 8p_42661 [#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/ma ster/r8169/releases/ds918p_42218.json to /home/tc/redpill-load/custom/extensions /_ext_new_rcp.tmp_json ######################################################################### 100.0% [#] Filling-in newly downloaded recipe for extension pocopico.r8169 platform ds9 18p_42661 [#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/ma ster/r8169/releases/r8169-4.4.180plus.tgz to /home/tc/redpill-load/custom/extens ions/pocopico.r8169/ds918p_42661/r8169-4.4.180plus.tgz ######################################################################### 100.0% [#] Verifying /home/tc/redpill-load/custom/extensions/pocopico.r8169/ds918p_4266 1/r8169-4.4.180plus.tgz file... [OK] [#] Unpacking files from /home/tc/redpill-load/custom/extensions/pocopico.r8169/ ds918p_42661/r8169-4.4.180plus.tgz to /home/tc/redpill-load/custom/extensions/po copico.r8169/ds918p_42661/... [OK] [#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/ma ster/r8169/src/check-r8169.sh to /home/tc/redpill-load/custom/extensions/pocopic o.r8169/ds918p_42661/check-r8169.sh ######################################################################### 100.0% [#] Verifying /home/tc/redpill-load/custom/extensions/pocopico.r8169/ds918p_4266 1/check-r8169.sh file... [OK] [#] Successfully processed recipe for extension pocopico.r8169 platform ds918p_4 2661 [#] Downloading remote file https://github.com/RedPill-TTG/redpill-boot-wait/raw /master/recipes/universal.json to /home/tc/redpill-load/custom/extensions/_ext_n Quote Link to comment Share on other sites More sharing options...
RacerX Posted April 25, 2022 Share #160 Posted April 25, 2022 I tested DS3622 fullupgrade 7.1 on a different box The script appears clean [#] Verifying /home/tc/redpill-load/custom/extensions/pocopico.mlx5_core/ds3622xsp_42218/check-mlx5_core.sh file... [OK] [#] Successfully processed recipe for extension pocopico.mlx5_core platform ds3622xsp_42218 However, when I log into 7.1 I only see 1g Intel I210 and that's all I connected thru putty and ssh to r7.1 it doesn't seem like it loading the kernel module It might be helpful to explore adding mlx5_core to TC that might help to narrow it down further just a thought . Quote Link to comment Share on other sites More sharing options...
pocopico Posted April 26, 2022 Author Share #161 Posted April 26, 2022 6 hours ago, RacerX said: I tested DS3622 fullupgrade 7.1 on a different box The script appears clean [#] Verifying /home/tc/redpill-load/custom/extensions/pocopico.mlx5_core/ds3622xsp_42218/check-mlx5_core.sh file... [OK] [#] Successfully processed recipe for extension pocopico.mlx5_core platform ds3622xsp_42218 However, when I log into 7.1 I only see 1g Intel I210 and that's all I connected thru putty and ssh to r7.1 it doesn't seem like it loading the kernel module It might be helpful to explore adding mlx5_core to TC that might help to narrow it down further just a thought . what if you copy the module inside DSM, does it load ? What’s the issue ? Quote Link to comment Share on other sites More sharing options...
nadiva Posted April 26, 2022 Share #162 Posted April 26, 2022 On 4/22/2022 at 2:02 AM, nadiva said: [!] after update, i'm getting -1 extension instead of +1, only Atlantic passes through. Lost tg3: It looks that you will need the following modules : parse error: Expected another key-value pair at line 1209, column 3 Found VGA Controller : pciid 1002d00009874 Required Extension : amdgpu Searching for matching extension for amdgpu Found SATA Controller : pciid 1022d00007901 Required Extension : No matching extension parse error: Expected another key-value pair at line 1209, column 3 Found SATA Controller : pciid 1b4bd00009230 Required Extension : ahci Searching for matching extension for ahci parse error: Expected another key-value pair at line 1209, column 3 .. here atlantic is succesful .. Found Ethernet Interface : pciid 1d6ad000007b1 Required Extension : atlantic Searching for matching extension for atlantic Found matching extension : "https://raw.githubusercontent.com/pocopico/rp-ext/master/atlantic/rpext-index.json" parse error: Expected another key-value pair at line 1209, column 3 Found Ethernet Interface : pciid 14e4d0000165f Required Extension : tg3 Searching for matching extension for tg3 parse error: Expected another key-value pair at line 1209, column 3 Found Ethernet Interface : pciid 14e4d0000165f Required Extension : tg3 Searching for matching extension for tg3 ------------------------------------------------------------------------------------------------ [i] Before each import there's a parse error. [i] There's one unmatch - that is some ahci again. oh it's the internal 1xSATA: i didn't progress since ^above didn't catch @pocopico attention. The old mvsas indeed failed during boot so i use only the correct repo but the new mvsas isn't baked. But even without this driver, i'm in succesful installation loop. So i focused on data recovery, which took me days. Found that DSM's BTRFS is full of errors, couldn't mount in Linux, but using some magic it could be read. In the process, i've lost incredible 3 flash drives (good quality like Extreme Pro). So not just the DSM failed by not loading sometimes (probably because of BTRFS errors - never exposed via scrubs), but then 1 HDD full of BTRFS errors and overwritten by syno install, same with NVME, and then there's RAID which doesn't load on Linux(!) at all but i'm ok to lose it. And then the flash drives decide to quit right now. The rp loader flash drive locked itself read only - end of service. The Sandisk drive said "ALERT no more reserve for bad sectors" - please replace. The Lexar drive starts having big write hiccups, after just few GBs of service, and was already refunded. I'm left with the final offsite backup drive which has all the data i need. Hope it doesn't fail in the upcoming days. Desperate to get back online i was exploring other options, Truenas detected all drives but failed to boot 2nd time - middleware didn't load, network disconnected, apparently configs lost. And it was running from yet another unique flash drive. I must be lucky:) Quote Link to comment Share on other sites More sharing options...
RacerX Posted April 26, 2022 Share #163 Posted April 26, 2022 (edited) /lib/modules/5.10.3-tinycore64/kernel/drivers/net/ethernet/mellanox I created a new mlx5 subfolder from github I downloaded and unpacked mlx5_core.ko copy mlx5_core.ko to the mlx5 folder reboot no change in lspci -v but I did noticed that the darm rules auto deleted my folder mlx5 argh... Edited April 26, 2022 by RacerX Quote Link to comment Share on other sites More sharing options...
pocopico Posted April 26, 2022 Author Share #164 Posted April 26, 2022 4 hours ago, RacerX said: /lib/modules/5.10.3-tinycore64/kernel/drivers/net/ethernet/mellanox I created a new mlx5 subfolder from github I downloaded and unpacked mlx5_core.ko copy mlx5_core.ko to the mlx5 folder reboot no change in lspci -v but I did noticed that the darm rules auto deleted my folder mlx5 argh... While on DSM, could you please run an insmod mlx5_core.ko ? Quote Link to comment Share on other sites More sharing options...
RacerX Posted April 26, 2022 Share #165 Posted April 26, 2022 (edited) 1 hour ago, pocopico said: While on DSM, could you please run an insmod mlx5_core.ko ? /home/tc/ sudo insmod mlx5_core.ko insmod: can't insert 'mlx5_core.ko': invalid module format tc@box:~$ uname -r 5.10.3-tinycore64 c@box:~$ cat dmesg.log | grep mlx [ 85.033285] mlx5_core: version magic '4.4.180+ SMP mod_unload ' should be '5.10.3-tinycore64 SMP mod_unload ' Edited April 26, 2022 by RacerX Quote Link to comment Share on other sites More sharing options...
RacerX Posted April 26, 2022 Share #166 Posted April 26, 2022 (edited) junk Edited April 26, 2022 by RacerX Quote Link to comment Share on other sites More sharing options...
pocopico Posted April 27, 2022 Author Share #167 Posted April 27, 2022 23 hours ago, RacerX said: /home/tc/ sudo insmod mlx5_core.ko insmod: can't insert 'mlx5_core.ko': invalid module format tc@box:~$ uname -r 5.10.3-tinycore64 c@box:~$ cat dmesg.log | grep mlx [ 85.033285] mlx5_core: version magic '4.4.180+ SMP mod_unload ' should be '5.10.3-tinycore64 SMP mod_unload ' Not in tinycore try that on DSM Quote Link to comment Share on other sites More sharing options...
RacerX Posted May 4, 2022 Share #168 Posted May 4, 2022 (edited) in dms racerx@test71:/volume1/transfer$ ls -l total 144 drwxrwxrwx+ 3 root root 4096 May 3 23:06 @eaDir -rwxrwxrwx+ 1 racerx users 142992 Apr 24 12:46 mlx5_core.ko sudo insmod mlx5_core.ko insmod: ERROR: could not insert module mlx5_core.ko: File exists Edited May 4, 2022 by RacerX change Quote Link to comment Share on other sites More sharing options...
RacerX Posted May 4, 2022 Share #169 Posted May 4, 2022 (edited) 0000:01:00.1 Class 0200: Device 15b3:1013 Subsystem: Device 15b3:0039 Flags: bus master, fast devsel, latency 0, IRQ 17 Memory at f0000000 (64-bit, prefetchable) [size=32M] Expansion ROM at f7300000 [disabled] [size=1M] Capabilities: <access denied> Kernel driver in use: mlx5_core But the mlx5_core is not detected Edited May 4, 2022 by RacerX Quote Link to comment Share on other sites More sharing options...
RacerX Posted May 8, 2022 Share #170 Posted May 8, 2022 When I look at /etc/dhclient/ipv4 dhclient.conf dhcpcd-eth0.info dhcpcd-eth0.pid dhcpcd-eth1.info dhcpcd-eth2.info dhcpv4.leases.eth0 dhcpv4.leases.eth1 dhcpv4.leases.eth2 nano dhcpcd-eth1.info .... this is completely wrong IPADDR=169.254.183.14 NETMASK=255.255.0.0 NETWORK=169.254.0.0 BROADCAST=169.254.255.255 INTERFACE=eth1 Quote Link to comment Share on other sites More sharing options...
Peter Suh Posted May 10, 2022 Share #171 Posted May 10, 2022 (edited) @pocopico With the help of @dolbycat, I have stabilized the realtek chipset USB type, r8152 ext. DS918+/DS3622xs+/DS920+/DVA3221 out of 7 models 4 models were tested withbare metal and all succeeded. The changes were repackaged, including a stabilized r8152.ko file, for each platform distributed by bb-qq repo. Below is my ext repo location. https://github.com/PeterSuh-Q3/rp-ext/tree/main/r8152/releases What should we do? Can you update the package above to your repo? Remaining DS3615xs/DS3617xs/DS1621+ I will test the three models more. All three models failed to load r8152.ko on the junior log. Please answer. P.S : The USB-type NIC used in the test is a model U1G 1GB speed product from Korea's IPTIME brand. Edited May 10, 2022 by Peter Suh Quote Link to comment Share on other sites More sharing options...
pocopico Posted May 10, 2022 Author Share #172 Posted May 10, 2022 10 minutes ago, Peter Suh said: @pocopico With the help of @dolbycat, I have stabilized the realtek chipset USB type, r8152 ext. DS918+/DS3622xs+/DS920+/DVA3221 out of 7 models 4 models were tested withbare metal and all succeeded. The changes were repackaged, including a stabilized r8152.ko file, for each platform distributed by bb-qq repo. Below is my ext repo location. https://github.com/PeterSuh-Q3/rp-ext/tree/main/r8152/releases What should we do? Can you update the package above to your repo? Remaining DS3615xs/DS3617xs/DS1621+ I will test the three models more. All three models failed to load r8152.ko on the junior log. Please answer. What was the issue ? Quote Link to comment Share on other sites More sharing options...
Peter Suh Posted May 10, 2022 Share #173 Posted May 10, 2022 4 minutes ago, pocopico said: What was the issue ? I will post the junior log after repacking the 3 models with issues. Please wait a little bit. Quote Link to comment Share on other sites More sharing options...
pocopico Posted May 10, 2022 Author Share #174 Posted May 10, 2022 3 minutes ago, Peter Suh said: I will post the junior log after repacking the 3 models with issues. Please wait a little bit. For Geminilake, you have : "kmods": { "usbcore.ko": "", "mii.ko": "", "r8152.ko":"" }, but usbcore.ko also depends on usb-common.ko Quote Link to comment Share on other sites More sharing options...
Peter Suh Posted May 10, 2022 Share #175 Posted May 10, 2022 29 minutes ago, pocopico said: For Geminilake, you have : "kmods": { "usbcore.ko": "", "mii.ko": "", "r8152.ko":"" }, but usbcore.ko also depends on usb-common.ko This is the junior log of ds3617xs. Only r8152.ko was replaced in your package. DiskStation> cat linuxrc.syno.log START /linuxrc.syno.impl Insert Marvell 1475 SATA controller driver Insert basic USB modules... :: Loading module usb-common ... [ OK ] :: Loading module usbcore ... [ OK ] :: Loading module xhci-hcd ... [ OK ] :: Loading module xhci-pci ... [ OK ] :: Loading module usb-storage ... [ OK ] :: Loading kernel modules from extensions ... Loading kmod #0 "usbcore.ko" for PeterSuh-Q3.r8152 (args: ) Module usbcore already loaded Loading kmod #1 "mii.ko" for PeterSuh-Q3.r8152 (args: ) insmod: can't insert 'mii.ko': invalid module format ERROR: kernel extensions "mii.ko" from PeterSuh-Q3.r8152 failed to load Exit on error [99] rp ext init exec failure... Tue May 10 11:00:21 UTC 2022 none /sys/kernel/debug debugfs rw,relatime 0 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.