jim3ma/synology-igc

When I used this driver to copy files through SMB services, I experienced a memory overflow and the system crashed

Closed this issue · 45 comments

State
image
log
IMG_3475(20221029-115127)

I have tested in my DX4600, all is okay.
Does you use it in virtual machine ? Try it in bare metal.

In my tests, I booted on a USB flash drive, not a virtual machine

Can you provide the dmesg log, machine type, cpu&memory and so on?

I used DSM7.0.1. I want to know which version you are using

No problem. I'll test it later and collect some logs for you

Device type:mini pc
CPU model:Intel j4125
Memory size:8G DDR4 2666MHz

debug.txt
this is debug logs

I use dsm 7.1.1.
Please confirm your igc version by modinfo igc, I have updated to 1.2.0.

I have checked the igc version. it's the latest 1.2.0.
I tested DSM7.1.1 myself. The same problem arises.
image

I'm going to test it with a virtual machine

@jim3ma
image
This is screenshot of the version

Using virtual machines has the same problem. I gave up
Thank you for your reply

How many files do you copy via smb ? And size ? Do you test via scp, rsyc or ftp ?

All services are tested, including web service uploads

All files are tried, and will crash whenever the file size exceeds the memory size

How to install DSM in dx4600?
Need PVE?
Have tutorials?

How to install DSM in dx4600? Need PVE? Have tutorials?

  1. Burn TCRP, https://github.com/pocopico/tinycore-redpill
  2. Enable boot from usb, follow this: https://post.smzdm.com/talk/p/avx6rzdp/
  3. SSH to TCRP, follow the normal actions
  4. Ensure igc driver, like:
sudo bash -x ./rploader.sh ext ds920p-7.1.1-42962 add https://raw.githubusercontent.com/pocopico/rp-ext/main/igc/rpext-index.json

Good job bro

i have a quetion :
the alst verison https://github.com/pocopico/tinycore-redpill v0.9.2.9 not include the i225 driver.
so when i start up the DX4600, not found the interface
can't ssh it,How did you complete the installation?

i have a quetion : the alst verison https://github.com/pocopico/tinycore-redpill v0.9.2.9 not include the i225 driver. so when i start up the DX4600, not found the interface can't ssh it,How did you complete the installation?

Before build, add igc driver

sudo bash -x ./rploader.sh ext ds920p-7.1.1-42962 add https://raw.githubusercontent.com/pocopico/rp-ext/main/igc/rpext-index.json

@Aivenpeng I copied a 20GB file from NAS to PC,The speed is 110MB/s, and all is okay.
DSM Version: ds920p-7.1.1-42962
igc drive version: 1.2.0
RAM: 16G (2% used)

@jim3ma By the way, how can I update the igc drive?

i have a quetion : the alst verison https://github.com/pocopico/tinycore-redpill v0.9.2.9 not include the i225 driver. so when i start up the DX4600, not found the interface can't ssh it,How did you complete the installation?

Burn the image and boot form USB drive, you can check the IP form Router, the host name is "box" .
the IP same as DX4600's UGOS.

i have a quetion : the alst verison https://github.com/pocopico/tinycore-redpill v0.9.2.9 not include the i225 driver. so when i start up the DX4600, not found the interface can't ssh it,How did you complete the installation?

Burn the image and boot form USB drive, you can check the IP form Router, the host name is "box" .

The problem has been solved

@Aivenpeng I copied a 20GB file from NAS to PC,The speed is 110MB/s, and all is okay. DSM Version: ds920p-7.1.1-42962 igc drive version: 1.2.0 RAM: 16G (2% used)

@jim3ma By the way, how can I update the igc drive?

FYI
https://xpenology.com/forum/topic/65377-intel-i225i226-igc-driver-development-thread/?do=findComment&comment=359373

@Aivenpeng I copied a 20GB file from NAS to PC,The speed is 110MB/s, and all is okay. DSM Version: ds920p-7.1.1-42962 igc drive version: 1.2.0 RAM: 16G (2% used)
@jim3ma By the way, how can I update the igc drive?

FYI https://xpenology.com/forum/topic/65377-intel-i225i226-igc-driver-development-thread/?do=findComment&comment=359373

Looks like I need to know how to startup TCRP without using HDMI, thx.

@Aivenpeng I copied a 20GB file from NAS to PC,The speed is 110MB/s, and all is okay. DSM Version: ds920p-7.1.1-42962 igc drive version: 1.2.0 RAM: 16G (2% used)
@jim3ma By the way, how can I update the igc drive?

FYI https://xpenology.com/forum/topic/65377-intel-i225i226-igc-driver-development-thread/?do=findComment&comment=359373

Looks like I need to know how to startup TCRP without using HDMI, thx.

https://post.smzdm.com/talk/p/avx6rzdp/

@Aivenpeng I copied a 20GB file from NAS to PC,The speed is 110MB/s, and all is okay. DSM Version: ds920p-7.1.1-42962 igc drive version: 1.2.0 RAM: 16G (2% used)
@jim3ma By the way, how can I update the igc drive?

FYI https://xpenology.com/forum/topic/65377-intel-i225i226-igc-driver-development-thread/?do=findComment&comment=359373

Looks like I need to know how to startup TCRP without using HDMI, thx.

https://post.smzdm.com/talk/p/avx6rzdp/

Thank you, I mean Swith the boot options to “TCRP Builder”, and I knew it.

@chanssl Please try to copy the file from the computer to the NAS

@Aivenpeng Which nic do you use ? Like i225 v3 ?

@Aivenpeng Which nic do you use ? Like i225 v3 ?

image
Yes, these are my network card parameters

@chanssl Please try to copy the file from the computer to the NAS

@Aivenpeng I try to copied the file to the NAS form PC via SMB, nothing has been happened.

18

Snipaste_2022-11-07_20-43-21

@chanssl请尝试将文件从计算机复制到 NAS

@Aivenpeng我尝试通过 SMB 将文件从 PC 复制到 NAS,没有任何反应。

18

Snipaste_2022-11-07_20-43-21

What is the network port rate of your computer? 1G or 2.5G?

@Aivenpeng 1000M.

The 2.5G network interface used for my test

@jim3ma I found this problem only when the NIC connection speed was 2.5G. When I used a 1G connection speed, there was no memory overflow and it worked perfectly
i225_1G_1

I also met this problem when I trans 100GB file to my NAS(J4125, 16G RAM, bare install, not virtual env)
image

I also met this problem when I trans 100GB file to my NAS(J4125, 16G RAM, bare install, not virtual env) image

image

I also met this problem when I trans 100GB file to my NAS(J4125, 16G RAM, bare install, not virtual env) image

Can you provide a dsm in virtual machine with a virtual nic and a passthrough i225 nic ? I can ssh into the vm to debug it.

I can provide the ssh address to you for debug it, and how can I send the information to you.

I can provide the ssh address to you for debug it, and how can I send the information to you.

I can reproduce this bug, please wait the fix.

@chanssl @yanshibin @Shimon-Guo @Aivenpeng
Try latest version: https://github.com/jim3ma/synology-igc/releases/tag/1.3.0
The version fixes memory leak in all versions, please update to this version ASAP.

@chanssl @yanshibin @Shimon-Guo @Aivenpeng Try latest version: https://github.com/jim3ma/synology-igc/releases/tag/1.3.0 The version fixes memory leak in all versions, please update to this version ASAP.

great, I will try it later

@chanssl @yanshibin @Shimon-Guo @Aivenpeng Try latest version: https://github.com/jim3ma/synology-igc/releases/tag/1.3.0 The version fixes memory leak in all versions, please update to this version ASAP.

Great. I'll update it later

@chanssl @yanshibin @Shimon-Guo @Aivenpeng Try latest version: https://github.com/jim3ma/synology-igc/releases/tag/1.3.0 The version fixes memory leak in all versions, please update to this version ASAP.

I updated the driver and found no memory leaks

I am trying to install on DX4600, but the TCRP keeps sending back to the Install PAT file page after it reboots?