在虚拟机 4.3.8 中运行 14.04
当我在 IDE Secondary Master 中选择了 guest addeds.iso 时,无法检测到 guest addeds.iso。
没问题,所以我使用wget并将iso下载到guest ubuntu headless中。
当我尝试使用以下命令从内部加载 iso 时:
sudo mkdir /media/iso
sudo modprobe loop
sudo mount filename.iso /media/iso -t iso9660 -o loop
Run Code Online (Sandbox Code Playgroud)
在sudo modprobe loop
,我收到以下错误:
modprobe: ERROR: ../libkmod/libkmod.c:556 kmod_search_moddep() could not open moddep file '/lib/modules/3.13.0-24-generic/modules.dep.bin'
Run Code Online (Sandbox Code Playgroud)
这是我的lsb_release -a
:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04 LTS
Release: 14.04
Codename: trusty
Run Code Online (Sandbox Code Playgroud)
编辑:
当我打字时
ls /lib/modules/*/modules.dep.bin
Run Code Online (Sandbox Code Playgroud)
我回来了
/lib/modules/3.11.0-20-generic/modules.dep.bin /lib/modules/3.13.0-24-generic/mo??dules.dep.bin /lib/modules/3.5.0-49-generic/modules.dep.bin
Run Code Online (Sandbox Code Playgroud) I have a third party module to go with a frame grabber. I've downloaded the kernel source, followed the vendor's instructions to compile it, and have the resulting module, arvdrv.ko, sitting in a folder.
The vendor has supplied a script that loads the module into the kernel and it works when I run it; the module is loaded but only until the next boot. The script does not use modprobe. I can access the frame grabber when the module is …
安装 Ubuntu 13.04 x64 后,我意识到我的声音不起作用(设置中只显示耳机)。
按照本指南,我手动将我的 Dell Studio 1740 音频硬件添加到:
options snd-hda-intel model=dell-m6
Run Code Online (Sandbox Code Playgroud)
内etc/modprobe.d/alsa-base.conf
。
使用测试扬声器功能,我发现我的右扬声器(带有电源和音量旋钮的扬声器)没有声音。
我正在运行 Ubuntu 20.04,最近进行了一次 dist 升级。
uname -r: 5.8.0-34-generic
Run Code Online (Sandbox Code Playgroud)
我通过以下方式清除了 Virtualbox 和关联文件:
sudo apt-get purge "^virtualbox-.*"
Run Code Online (Sandbox Code Playgroud)
尝试重新安装任何软件后,我现在得到以下信息:
>>$ sudo apt install --reinstall linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 0 B/1,236 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 328260 files and …
Run Code Online (Sandbox Code Playgroud) 为了让我的无线适配器(在我的计算机内)启用它,我运行modprobe b43
并打开它。但是,当我重新启动时,它又回到没有设备。那么,我如何使这完全永久?
我想netconsole
在 initrd 阶段显式加载一个模块(比如,),类似于/etc/modules
在主系统启动过程中。
首先,我检查了系统中的 initrd 是否已经包含所需的模块(参见附录)。
我已经查看过/initrd.img
(这是一个压缩的 cpio 存档,所以为了快速查看它,我已经完成zcat /initrd.img > initrd.cpio
并使用 进入了它mc
)。我已经modprobe
在脚本中寻找了任何调用,并且已经发现/conf/modules
(/
这里是 initrd 的根)中列出的模块由load_modules()
函数从/scripts/functions
(由 调用/init
)自动加载。
但是 Ubuntu 系统中更新/conf/modules
initrd的标准工具是什么?
(顺便说一句,我对Ubuntu的initrd文件的代码的研究过程中,我注意到,有一些特殊的支持,netconsole
在/init
剧本,我可能会做的工作适合我的需要,但无论如何,我的问题是更普遍的,关于任何其他自定义模块.)
正如我上面所说:首先,我检查了系统中的 initrd 是否已经包含所需的模块(即netconsole
)。这是如何:
# zcat /initrd.img | cpio --extract --verbose --list | fgrep netconsole
-rw-r--r-- 1 root root 25372 Aug 31 20:59 lib/modules/3.19.0-28-generic/kernel/drivers/net/netconsole.ko
109504 blocks
#
Run Code Online (Sandbox Code Playgroud)
我还检查了它是否已经包含所需的网络驱动程序:
# ls …
Run Code Online (Sandbox Code Playgroud) VirtualBox 安装给出消息
sudo modprobe vboxdrv
modprobe: FATAL: Module vboxdrv not found.
Run Code Online (Sandbox Code Playgroud)
我已经更新了系统
sudo apt-get update
Run Code Online (Sandbox Code Playgroud)
跟着
reboot
Run Code Online (Sandbox Code Playgroud)
Ubuntu 版本:14.04 LTS
我尝试使用 GDebi 软件包安装程序进行安装,消息是-
Selecting previously unselected package virtualbox-5.1.
(Reading database ... 800789 files and directories currently installed.)
Preparing to unpack .../virtualbox-5.1_5.1.0-108711~Ubuntu~trusty_amd64.deb ...
Unpacking virtualbox-5.1 (5.1.0-108711~Ubuntu~trusty) ...
Setting up virtualbox-5.1 (5.1.0-108711~Ubuntu~trusty) ...
addgroup: The group `vboxusers' already exists as a system group. Exiting.
vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why.
There were problems setting up VirtualBox. …
Run Code Online (Sandbox Code Playgroud) 在 Ubuntu 12.10 中最后一次内核升级之后,我不得不为 Virtualbox 手动重新加载两个内核模块。
modprobe vboxdrv
和 modprobe vboxnetflt
我对系统的了解不够,无法判断这是否是一个错误,或者它是否应该是那样的,但这很不方便。作为 Ubuntu 的新用户,找出必须完成的工作是相当耗时的。
这是一个自动更新,它要求我在完成后重新启动。重新启动后,虚拟机在我重新加载模块之前不会运行。
所以我的问题是:这正常吗?其他软件包会发生这种情况,还是只是 Virtualbox?更新程序是否应该自动执行此操作?我应该提交错误报告,如果是,向谁提交?
我需要打字sudo modprobe snd-hda-intel
才能让我的声卡工作。
我需要编辑什么配置文件以及我应该进行什么编辑以便我可以在启动时加载声音驱动程序,这样我就不必每次都输入?