Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: install driver to survive a volume1 restructuring #469

Open
phit42 opened this issue Dec 31, 2024 · 1 comment
Open

Feature request: install driver to survive a volume1 restructuring #469

phit42 opened this issue Dec 31, 2024 · 1 comment

Comments

@phit42
Copy link

phit42 commented Dec 31, 2024

Description of the problem

Feature request: due to a stupid error of mine, I had to recreate my volume1 on my Synology NAS from scratch. This can be done while keeping the NAS alive, as it stores its system (redundantly) on all drives as separate partitions.
Unfortunately the r8152 driver does not install itself into system partition, but instead only on volume1 (or selected volume when having multiple volumes), so my NAS became unreachable during the restructuring and recreation of volume1.
Is there a possibility to install the driver itself at least in a way that it would survive a volume recreation?

Description of your products

Synology DS-415+
uname: Linux myds 3.10.108 #42962 SMP Mon Aug 19 15:12:09 CST 2024 x86_64 GNU/Linux synology_avoton_415+
- DSM version 7.1
UGreen 25052 - RTL8156BG chipset

Description of your environment

Nicgiga 2.5G switch
PC: Nicgiga 2.5G pcie card

Output of dmesg command

(paste output here, or attach as a file)

Output of lsusb command

  |__3-1         0bda:8156:3104 00  3.20 5000MBit/s 256mA 1IF  (Realtek USB 10/100/1G/2.5G LAN 4013000001)

Output of ifconfig -a command

(paste output here)
@bb-qq
Copy link
Owner

bb-qq commented Jan 2, 2025

The easiest solution is to create a new, smaller volume and install the driver there. The package can be installed on any volume.

Alternatively, when rebuilding the volume, it may be a good idea to load the driver manually using the following procedure:

  1. Copy /var/packages/r8152/target/r8152/r8152.ko to /tmp
  2. Uninstall the package
  3. insmod /tmp/r8152.ko

Since my driver is focused on not modifying the system area, I do not plan to provide a way to install it in the system area.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants