재부팅 시 modprobe.d 드라이버 오류가 발생합니다. 일반 드라이버를 블랙리스트에 추가하고 싶지 않습니다. [Ubuntu 18.04, AQuantia/Marvell 5G USB 동글]

재부팅 시 modprobe.d 드라이버 오류가 발생합니다. 일반 드라이버를 블랙리스트에 추가하고 싶지 않습니다. [Ubuntu 18.04, AQuantia/Marvell 5G USB 동글]

modprobe.d지정된 드라이버는 다시 시작한 후 사용되지 않습니다.

  • AQuantia/Marvell/Sabrent 5G USB 이더넷 USB 동글(NT-SS5G).
  • Ubuntu 서버 18.04.6 LTS(4.15.0-166-일반)

드라이버가 aqc111설치되었습니다.
/etc/modprobe.d/usbnic.conf생성된 파일:

   alias usb:v2ECApC101d0101dc00dsc00dp00icFFiscFFip00in00 aqc111
   alias usb:v2ECApC101d*dc*dsc*dp*ic02isc06ip00in*1 aqc111
   alias usb:v2ECApC101d*dc*dsc*dp*icFFisc*ip*in* aqc111

(예, 시도하는 단계에서는 첫 번째 별칭만 필요합니다.) 이더넷 어댑터를
비활성화하고 cdc_ether플러그 를 뽑은 후 다시 삽입합니다.

    $ rmmod cdc_ether

aqc111사용 중인 드라이버:

    $ lsusb -t
    /:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 10000M
        |__ Port 1: Dev 3, If 0, Class=Vendor Specific Class, Driver=aqc111, 5000M

재부팅 후 다음을 cdc_ether사용하십시오.

    $ lsusb -t
    /:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 10000M
        |__ Port 1: Dev 2, If 0, Class=Communications, Driver=cdc_ether, 5000M

블랙리스트에 오르고 싶지 않고 cdc_ether우선 순위를
정하고 공급업체/장치 ID도 일치하는지 이해해야 합니다 . 재부팅 후 드라이버가 할당 되도록 누락된 부분이 무엇입니까 ? 시간을 내어 읽어주셔서 감사합니다./etc/modprobe.d/*.conf
cdc_ether
aqc111

답변1

해결 방법은 모듈/드라이버를 에 추가하는 것입니다 /etc/modules. 블랙리스트에 추가할 필요가 없으며 cdc_ether재부팅 후 드라이버가 올바르게 사용됩니다.

$ nano /etc/modules
# /etc/modules: kernel modules to load at boot time.
aqc111
$ lsusb -t
/:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 10000M
    |__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=aqc111, 5000M

관련 정보