Detach the R8169 NIC Driver in Linux

Source: Internet
Author: User
I installed a Fedora system in my notebook. As a result, the NIC of my notebook is not supported and it takes only half a day to complete the installation. This may be the reason why I compared the dishes. The problem is as follows: The rtora kernel comes with the RTLr8169 NIC driver, and the notebook uses the RTLr8168 driver. Solution: normal consideration # rmmodr8169 prompt: ERROR: moduleisinusermmod-f prompts modulebusy and so on, in short, it cannot be r

I installed a Fedora system in my notebook. As a result, the NIC of my notebook is not supported and it takes only half a day to complete the installation. This may be the reason why I compared the dishes.

The problem is as follows: the RTL ora kernel comes with the RTL r8169 NIC driver, and the notebook uses the RTLr8168 driver.

Solution: normal consideration # rmmod r8169

Tip: ERROR: module is in use

Rmmod-f prompts module busy and so on. In short, it cannot be removed, and the use of RTL r8168 driver can only take effect after r8169 is uninstalled.

The deadlock cannot be solved here.

There is no way at last. Although it takes a lot of time, I decided to re-compile the kernel:

Select CONFIG_MODULE_FORCE_UNLOAD and remove r8169 from net drive in module drives.

Compilation takes about 15 + 20 + 10 times.

Reboot loads the new kernel lsmod | grep r8169

Not Displayed. Compilation successful. Reinstall the r8168 driver, find the NIC, and access the internet.

Solve the problem.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.