AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-1052847

Prateek's questions

Martin Hope
Prateek
Asked: 2020-03-12 21:07:18 +0800 CST

升级 DELL vostro 3583 后移除 OEM dkms 模块

  • 0

我已经购买了安装了 ubuntu 18.10 的 DELL Vosro 3583。我立即升级到 19.10。升级进展顺利,一切正常,直到我看到仍在使用的内核是旧的 4.15 内核 (vmlinuz-4.15.0-1073-oem)。

然后我使用手动升级内核

->sudo apt-get upgrade linux-kernel-generic linux-headers-generic

在执行此操作时,我看到有一个错误:

Error! The dkms.conf for this module includes a BUILD_EXCLUSIVE directive which does not match this kernel/arch. This indicates that it should not be built.  
Error! The dkms.conf for this module includes a BUILD_EXCLUSIVE directive which does not match this kernel/arch. This indicates that it should not be built.

我重新启动,一切似乎都工作正常。该盒子现在正在运行内核 5.3。

我搜索了一下,发现我可以使用以下命令列出 dkms 模块:

->dkms status

oem-ethernet-r8169-aspm-support-bionic, 3, 4.15.0-1073-oem, x86_64: installed  
oem-wifi-qualcomm-ath10k-lp1803647-4.15, 2.0, 4.15.0-1073-oem, x86_64: installed

我有一个问题:如何将这些模块更新为新的 19.10 模块?

lspci给出以下内容:

02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)  
03:00.0 Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31)

谢谢

编辑:对 heynnema 的回应:

是的,升级后wifi工作正常。反正我不使用以太网端口。

添加请求的输出。我看过 dkms.conf 文件并看到“BUILD_EXCLUSIVE_KERNEL="^4.15.*"”这一行。但是我希望升级到 19.10 后,目录本身应该升级到类似于“oem-wifi-qualcomm-ath10k-lp1803647-5.3-xx”而不是“/oem-wifi-qualcomm-ath10k-lp1803647-4.15- xx”。

$ sudo lshw -C 网络

  *-network                   
       description: Ethernet interface  
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller  
       vendor: Realtek Semiconductor Co., Ltd.  
       physical id: 0  
       bus info: pci@0000:02:00.0  
       logical name: enp2s0  
       version: 15  
       serial: 98:e7:43:0f:8d:28  
       width: 64 bits  
       clock: 33MHz  
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical  
       configuration: broadcast=yes driver=r8169 latency=0 multicast=yes  
       resources: irq:16 ioport:3000(size=256) memory:c1304000-c1304fff memory:c1300000-c1303fff  
  *-network  
       description: Wireless interface  
       product: QCA9377 802.11ac Wireless Network Adapter  
       vendor: Qualcomm Atheros  
       physical id: 0  
       bus info: pci@0000:03:00.0  
       logical name: wlp3s0  
       version: 31  
       serial: 40:23:43:44:aa:61  
       width: 64 bits  
       clock: 33MHz  
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless  
       configuration: broadcast=yes driver=ath10k_pci driverversion=5.3.0-40-generic firmware=WLAN.TF.2.1-00021-QCARMSWP-1 ip=192.168.1.47 latency=0 link=yes multicast=yes wireless=IEEE 802.11  
       resources: irq:131 memory:c1000000-c11fffff 

$ cat /usr/src/oem-wifi-qualcomm-ath10k-lp1803647-4.15-2.0/dkms.conf

PACKAGE_NAME="oem-wifi-qualcomm-ath10k-lp1803647-4.15"  
PACKAGE_VERSION="2.0"  
MAKE="'make' -C ./ KVER=$kernelver"  
CLEAN="'make' -C ./ clean"  
AUTOINSTALL="yes"  
REMAKE_INITRD="yes"  
BUILD_EXCLUSIVE_KERNEL="^4.15.*"  
BUILT_MODULE_NAME[0]="ath"  
BUILT_MODULE_LOCATION[0]="./"  
DEST_MODULE_LOCATION[0]="/updates"  

BUILT_MODULE_NAME[1]="ath10k_core"  
BUILT_MODULE_LOCATION[1]="ath10k/"  
DEST_MODULE_LOCATION[1]="/updates"  

BUILT_MODULE_NAME[2]="ath10k_pci"  
BUILT_MODULE_LOCATION[2]="ath10k/"  
DEST_MODULE_LOCATION[2]="/updates"  

BUILT_MODULE_NAME[3]="ath10k_sdio"  
BUILT_MODULE_LOCATION[3]="ath10k/"  
DEST_MODULE_LOCATION[3]="/updates"  

BUILT_MODULE_NAME[4]="ath10k_usb"  
BUILT_MODULE_LOCATION[4]="ath10k/"  
DEST_MODULE_LOCATION[4]="/updates"

$ cat /usr/src/oem-ethernet-r8169-aspm-support-bionic-3/dkms.conf

PACKAGE_NAME="oem-ethernet-r8169-aspm-support-bionic"  
PACKAGE_VERSION="3"  
MAKE="'make' -C ./ KVER=$kernelver"  
CLEAN="'make' -C ./ clean"  
AUTOINSTALL="yes"  
REMAKE_INITRD="yes"  
BUILD_EXCLUSIVE_KERNEL="^4.15.*"  
BUILT_MODULE_NAME[0]="r8169"  
BUILT_MODULE_LOCATION[0]="./"  
DEST_MODULE_LOCATION[0]="/updates"  
oem upgrade dell-vostro dkms
  • 1 个回答
  • 317 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve