You are not logged in.

#1 2018-03-04 14:02:47

sanjaychak01
Member
Registered: 2018-01-25
Posts: 37

No modprobe.d directory on my system

I am trying to install kvm. When I check the archwiki for kvm, it states I need to modify /etc/modprobe.d/kvm_intel.conf. But I do not have a /etc/modprobe.d directory in my system. Why is it missing?

Can I just create the directory and the kernel will read the conf files from it?


_____________________________________________
Running Gnome on Archlinux - great combo!

Offline

#2 2018-03-04 14:24:17

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: No modprobe.d directory on my system

That dir is part of the kmod package, which is required by many other important things in Arch. How did you install Arch?

Offline

#3 2018-03-04 16:06:15

sanjaychak01
Member
Registered: 2018-01-25
Posts: 37

Re: No modprobe.d directory on my system

Scimmia wrote:

That dir is part of the kmod package, which is required by many other important things in Arch. How did you install Arch?

The standard way - using the Installation Guide. There is no mention of kmod there. And if it is part of base, then it should have installed by default. Not sure how it got skipped.

So do I just install kmod?


_____________________________________________
Running Gnome on Archlinux - great combo!

Offline

#4 2018-03-04 16:44:13

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: No modprobe.d directory on my system

It's required by systemd, mkinitcpio, and all kernel packages. The real question is how do you not have it installed already?

Offline

#5 2018-03-04 16:47:40

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: No modprobe.d directory on my system

Please post the outputs of the following

pacman -Dkk
pacman -Qi kmod
pacman -Qkk
cat /var/log/pacman.log

Offline

#6 2018-03-04 18:14:29

sanjaychak01
Member
Registered: 2018-01-25
Posts: 37

Re: No modprobe.d directory on my system

Scimmia wrote:

It's required by systemd, mkinitcpio, and all kernel packages. The real question is how do you not have it installed already?

You are right. It is installed.

$ pacman -Q | grep kmod
kmod 24-1
libmikmod 3.3.11.1-1

Then why is modprobe.d absent!


_____________________________________________
Running Gnome on Archlinux - great combo!

Offline

#7 2018-03-04 18:16:42

sanjaychak01
Member
Registered: 2018-01-25
Posts: 37

Re: No modprobe.d directory on my system

loqs wrote:

Please post the outputs of the following

pacman -Dkk
pacman -Qi kmod
pacman -Qkk
cat /var/log/pacman.log

$ pacman -Dkk
$ pacman -Qi kmod
Name            : kmod
Version         : 24-1
Description     : Linux kernel module management tools and library
Architecture    : x86_64
URL             : http://git.kernel.org/?p=utils/kernel/k … ;a=summary
Licenses        : GPL2
Groups          : None
Provides        : module-init-tools=3.16  libkmod.so=2-64
Depends On      : glibc  zlib  xz
Optional Deps   : None
Required By     : libblockdev  linux  mkinitcpio  pciutils  systemd
Optional For    : None
Conflicts With  : module-init-tools
Replaces        : module-init-tools
Installed Size  : 455.00 KiB
Packager        : Christian Hesse <arch@eworm.de>
Build Date      : Fri 24 Feb 2017 07:33:06 PM IST
Install Date    : Mon 18 Dec 2017 12:57:13 PM IST
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

Outputs of the last 2 commands is huge. Do I just paste the thousands of lines here, or is there a way to attach files?


_____________________________________________
Running Gnome on Archlinux - great combo!

Offline

#8 2018-03-04 18:18:31

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: No modprobe.d directory on my system

sanjaychak01 wrote:

Outputs of the last 2 commands is huge. Do I just paste the thousands of lines here, or is there a way to attach files?

Use a pastebin client (not pastebin.com).

https://wiki.archlinux.org/index.php/Li … in_clients

Offline

#9 2018-03-04 18:29:05

sanjaychak01
Member
Registered: 2018-01-25
Posts: 37

Re: No modprobe.d directory on my system

2ManyDogs wrote:
sanjaychak01 wrote:

Outputs of the last 2 commands is huge. Do I just paste the thousands of lines here, or is there a way to attach files?

Use a pastebin client (not pastebin.com).

https://wiki.archlinux.org/index.php/Li … in_clients

Thanks for the pointer. I learnt something new and very useful.


_____________________________________________
Running Gnome on Archlinux - great combo!

Offline

#10 2018-03-04 18:30:56

sanjaychak01
Member
Registered: 2018-01-25
Posts: 37

Re: No modprobe.d directory on my system

loqs wrote:

Please post the outputs of the following

pacman -Dkk
pacman -Qi kmod
pacman -Qkk
cat /var/log/pacman.log

$ pacman -Qkk
Output at https://ptpb.pw/05cP

$ cat /var/log/pacman.log
Output at https://ptpb.pw/ygAV


_____________________________________________
Running Gnome on Archlinux - great combo!

Offline

#11 2018-03-04 19:38:16

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: No modprobe.d directory on my system

That is a lot of packages with altered files

accountsservice: 202 total files, 48 altered files
acl: 88 total files, 6 altered files
alsa-utils: 88 total files, 3 altered files
appstream-glib: 198 total files, 26 altered files
aqbanking: 367 total files, 1 altered file
aspell: 208 total files, 31 altered files
at-spi2-core: 318 total files, 71 altered files
atk: 401 total files, 114 altered files
attr: 66 total files, 8 altered files
audacity: 292 total files, 61 altered files
avahi: 346 total files, 41 altered files
baobab: 666 total files, 423 altered files
bash: 235 total files, 35 altered files
binutils: 315 total files, 116 altered files
bison: 204 total files, 66 altered files
caribou: 316 total files, 68 altered files
cheese: 894 total files, 595 altered files
claws-mail: 444 total files, 21 altered files
clutter: 573 total files, 71 altered files
clutter-gtk: 60 total files, 3 altered files
cogl: 326 total files, 56 altered files
colord: 419 total files, 50 altered files
coreutils: 429 total files, 131 altered files
cracklib: 129 total files, 35 altered files
backup file: cronie: /etc/cron.d/0hourly (Modification time mismatch)
cryptsetup: 78 total files, 16 altered files
backup file: cups: /etc/cups/printers.conf (Modification time mismatch)
backup file: cups: /etc/cups/printers.conf (Size mismatch)
backup file: cups: /etc/cups/subscriptions.conf (Modification time mismatch)
backup file: cups: /etc/cups/subscriptions.conf (Size mismatch)
cups: 872 total files, 25 altered files
cups-pk-helper: 124 total files, 34 altered files
dconf-editor: 230 total files, 61 altered files
dialog: 191 total files, 63 altered files
diffutils: 112 total files, 32 altered files
empathy: 2078 total files, 1461 altered files
eog: 1957 total files, 1515 altered files
epiphany: 729 total files, 461 altered files
evince: 3321 total files, 2644 altered files
evolution: 5933 total files, 3793 altered files
evolution-data-server: 1146 total files, 88 altered files
exiv2: 110 total files, 15 altered files
fakeroot: 44 total files, 12 altered files
file-roller: 779 total files, 517 altered files
backup file: filesystem: /etc/fstab (Modification time mismatch)
backup file: filesystem: /etc/fstab (Size mismatch)
backup file: filesystem: /etc/group (Modification time mismatch)
backup file: filesystem: /etc/group (Size mismatch)
backup file: filesystem: /etc/gshadow (Modification time mismatch)
backup file: filesystem: /etc/gshadow (Size mismatch)
backup file: filesystem: /etc/hosts (Modification time mismatch)
backup file: filesystem: /etc/hosts (Size mismatch)
backup file: filesystem: /etc/passwd (Modification time mismatch)
backup file: filesystem: /etc/passwd (Size mismatch)
backup file: filesystem: /etc/resolv.conf (Modification time mismatch)
backup file: filesystem: /etc/resolv.conf (Size mismatch)
backup file: filesystem: /etc/shadow (Modification time mismatch)
backup file: filesystem: /etc/shadow (Size mismatch)
backup file: filesystem: /etc/shells (Modification time mismatch)
backup file: filesystem: /etc/shells (Size mismatch)
findutils: 135 total files, 42 altered files
flex: 99 total files, 21 altered files
font-manager: 66 total files, 18 altered files
gawk: 124 total files, 16 altered files
gbrainy: 714 total files, 529 altered files
gcab: 130 total files, 27 altered files
gcc: 2374 total files, 40 altered files
gcc-libs: 64 total files, 2 altered files
gconf: 365 total files, 87 altered files
gcr: 516 total files, 83 altered files
gdbm: 64 total files, 11 altered files
gdk-pixbuf2: 423 total files, 133 altered files
backup file: gdm: /etc/gdm/custom.conf (Modification time mismatch)
backup file: gdm: /etc/gdm/custom.conf (Size mismatch)
gdm: 506 total files, 214 altered files
gedit: 2159 total files, 1617 altered files
gedit-plugins: 1096 total files, 612 altered files
geeqie: 258 total files, 36 altered files
gegl02: 192 total files, 5 altered files
gettext: 395 total files, 73 altered files
gimp: 2511 total files, 406 altered files
git: 781 total files, 13 altered files
glib-networking: 221 total files, 66 altered files
glib2: 689 total files, 109 altered files
backup file: glibc: /etc/locale.gen (Modification time mismatch)
backup file: glibc: /etc/locale.gen (Size mismatch)
glibc: 1596 total files, 300 altered files
gnome-backgrounds: 316 total files, 99 altered files
gnome-bluetooth: 354 total files, 89 altered files
gnome-calculator: 1228 total files, 984 altered files
gnome-color-manager: 388 total files, 171 altered files
gnome-contacts: 258 total files, 69 altered files
gnome-control-center: 614 total files, 185 altered files
gnome-desktop: 553 total files, 290 altered files
gnome-dictionary: 909 total files, 652 altered files
gnome-disk-utility: 280 total files, 74 altered files
gnome-font-viewer: 306 total files, 107 altered files
gnome-logs: 343 total files, 173 altered files
gnome-menus: 370 total files, 141 altered files
gnome-online-accounts: 423 total files, 72 altered files
gnome-screenshot: 309 total files, 103 altered files
gnome-search-tool: 367 total files, 168 altered files
gnome-session: 362 total files, 135 altered files
gnome-settings-daemon: 372 total files, 105 altered files
gnome-shell: 378 total files, 81 altered files
gnome-shell-extensions: 309 total files, 68 altered files
gnome-specimen: 110 total files, 19 altered files
gnome-system-monitor: 628 total files, 393 altered files
gnome-terminal: 802 total files, 550 altered files
gnome-tweak-tool: 264 total files, 56 altered files
gnome-user-docs: 14846 total files, 14388 altered files
gnome-user-share: 271 total files, 83 altered files
gnucash: 1465 total files, 60 altered files
gnutls: 1173 total files, 13 altered files
goffice0.8: 694 total files, 51 altered files
gparted: 312 total files, 62 altered files
grep: 143 total files, 43 altered files
grilo: 250 total files, 43 altered files
grilo-plugins: 180 total files, 40 altered files
backup file: grub: /boot/grub/grub.cfg (Modification time mismatch)
backup file: grub: /boot/grub/grub.cfg (Size mismatch)
grub: 1058 total files, 37 altered files
gsettings-desktop-schemas: 204 total files, 51 altered files
gspell: 199 total files, 42 altered files
gst-plugins-bad: 711 total files, 42 altered files
gst-plugins-base-libs: 566 total files, 38 altered files
gst-plugins-good: 555 total files, 43 altered files
gstreamer: 499 total files, 40 altered files
gthumb: 1187 total files, 564 altered files
gtk-doc: 121 total files, 56 altered files
gtk2: 819 total files, 240 altered files
gtk3: 1692 total files, 260 altered files
gtksourceview3: 523 total files, 79 altered files
gtkspell: 166 total files, 49 altered files
gtkspell3: 219 total files, 73 altered files
guake: 187 total files, 24 altered files
gucharmap: 424 total files, 201 altered files
gvfs: 354 total files, 74 altered files
gwenhywfar: 232 total files, 1 altered file
handbrake: 54 total files, 18 altered files
hugin: 634 total files, 23 altered files
hunspell: 54 total files, 1 altered file
ibus: 430 total files, 50 altered files
ibus-m17n: 19 total files, 1 altered file
iso-codes: 1089 total files, 882 altered files
java-runtime-common: 21 total files, 2 altered files
jre9-openjdk-headless: 368 total files, 10 altered files
kmod: 61 total files, 1 altered file
krb5: 202 total files, 1 altered file
libcryptui: 321 total files, 76 altered files
libexif: 108 total files, 22 altered files
libgdata: 461 total files, 59 altered files
libgksu: 89 total files, 20 altered files
libgnome-keyring: 261 total files, 74 altered files
libgnomecanvas: 330 total files, 105 altered files
libgnomekbd: 274 total files, 74 altered files
libgpg-error: 86 total files, 19 altered files
libgphoto2: 274 total files, 36 altered files
libgsf: 256 total files, 45 altered files
libgtop: 368 total files, 89 altered files
libgweather: 486 total files, 239 altered files
libidn: 163 total files, 19 altered files
libiptcdata: 56 total files, 4 altered files
libnewt: 247 total files, 80 altered files
libosinfo: 410 total files, 118 altered files
libpaper: 104 total files, 22 altered files
libpeas: 308 total files, 67 altered files
libpurple: 425 total files, 116 altered files
libpwquality: 175 total files, 51 altered files
libreoffice-still: 4905 total files, 37 altered files
libsecret: 246 total files, 48 altered files
libsoup: 338 total files, 64 altered files
libvisual: 63 total files, 6 altered files
libwnck: 340 total files, 99 altered files
libwnck3: 345 total files, 104 altered files
libx11: 1260 total files, 116 altered files
linux: 6211 total files, 9 altered files
lshw: 61 total files, 1 altered file
m17n-db: 605 total files, 4 altered files
make: 89 total files, 25 altered files
mlocate: 141 total files, 36 altered files
mono: 3102 total files, 4 altered files
mousetweaks: 228 total files, 67 altered files
nano: 170 total files, 34 altered files
nautilus: 405 total files, 155 altered files
nautilus-sendto: 268 total files, 89 altered files
neon: 215 total files, 9 altered files
networkmanager: 457 total files, 66 altered files
backup file: nfs-utils: /etc/exports (Modification time mismatch)
backup file: nfs-utils: /etc/exports (Size mismatch)
nfs-utils: 96 total files, 2 altered files
nm-connection-editor: 338 total files, 85 altered files
backup file: pacman: /etc/pacman.conf (Modification time mismatch)
backup file: pacman: /etc/pacman.conf (Size mismatch)
pacman: 349 total files, 123 altered files
backup file: pacman-mirrorlist: /etc/pacman.d/mirrorlist (Modification time mismatch)
backup file: pacman-mirrorlist: /etc/pacman.d/mirrorlist (Size mismatch)
pam: 637 total files, 161 altered files
pamac-aur: 297 total files, 110 altered files
parted: 115 total files, 27 altered files
pavucontrol: 128 total files, 38 altered files
pdfmod: 149 total files, 26 altered files
pdfshuffler: 56 total files, 9 altered files
popt: 114 total files, 34 altered files
procps-ng: 86 total files, 6 altered files
psmisc: 103 total files, 28 altered files
pulseaudio: 325 total files, 46 altered files
pulseeffects: 106 total files, 13 altered files
sed: 127 total files, 39 altered files
shadow: 558 total files, 331 altered files
shared-mime-info: 230 total files, 72 altered files
shotwell: 669 total files, 433 altered files
backup file: sudo: /etc/sudoers (Modification time mismatch)
backup file: sudo: /etc/sudoers (Size mismatch)
sudo: 189 total files, 59 altered files
sushi: 243 total files, 69 altered files
systemd: 1430 total files, 2 altered files
tar: 131 total files, 38 altered files
texinfo: 551 total files, 62 altered files
totem: 838 total files, 456 altered files
totem-plparser: 335 total files, 103 altered files
tracker: 707 total files, 57 altered files
tracker-miners: 285 total files, 56 altered files
transmission-gtk: 302 total files, 103 altered files
udisks2: 407 total files, 69 altered files
upower: 73 total files, 4 altered files
util-linux: 489 total files, 26 altered files
v4l-utils: 287 total files, 4 altered files
variety: 310 total files, 11 altered files
vino: 285 total files, 87 altered files
vlc: 1005 total files, 123 altered files
volume_key: 132 total files, 38 altered files
vte: 305 total files, 96 altered files
vte3: 356 total files, 105 altered files
webkit2gtk: 565 total files, 46 altered files
webkitgtk: 433 total files, 44 altered files
webkitgtk2: 433 total files, 44 altered files
backup file: webmin: /etc/webmin/webmin/config (Modification time mismatch)
backup file: webmin: /etc/webmin/webmin/config (Size mismatch)
webmin: 24235 total files, 80 altered files
wget: 129 total files, 38 altered files
wxgtk-common: 823 total files, 22 altered files
xdg-user-dirs: 242 total files, 81 altered files
xdg-user-dirs-gtk: 234 total files, 82 altered files
xfsprogs: 95 total files, 2 altered files
xine-lib: 252 total files, 12 altered files
xkeyboard-config: 451 total files, 43 altered files
xorg-fonts-encodings: 59 total files, 2 altered files
xsane: 244 total files, 27 altered files
xz: 119 total files, 6 altered files
yaourt: 118 total files, 33 altered files
yelp: 657 total files, 123 altered files
zenity: 1133 total files, 853 altered files
zvbi: 49 total files, 6 altered files

I recommend running fsck on the filesystems and checking S.M.A.R.T. including running a self test if the device is not NVME based.

Last edited by loqs (2018-03-04 19:52:14)

Offline

#12 2018-03-05 06:48:47

sanjaychak01
Member
Registered: 2018-01-25
Posts: 37

Re: No modprobe.d directory on my system

loqs wrote:

That is a lot of packages with altered files

I recommend running fsck on the filesystems and checking S.M.A.R.T. including running a self test if the device is not NVME based.

What does "altered files" mean?


_____________________________________________
Running Gnome on Archlinux - great combo!

Offline

#13 2018-03-05 08:14:13

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,860

Re: No modprobe.d directory on my system

It means a ton of files on your disk are not the ones shipped by the packages.
Either your HDD is dying away or you messed up the installation (by installing things bypassing the package manager)

Offline

#14 2018-03-05 08:19:47

sanjaychak01
Member
Registered: 2018-01-25
Posts: 37

Re: No modprobe.d directory on my system

I just checked that there is a directory /usr/lib/modprobe.d. There are two files in it.

/usr/lib/modprobe.d/bluetooth-usb.conf
/usr/lib/modprobe.d/systemd.conf

But there is no /etc/modprobe.d.


_____________________________________________
Running Gnome on Archlinux - great combo!

Offline

#15 2018-03-05 08:21:09

sanjaychak01
Member
Registered: 2018-01-25
Posts: 37

Re: No modprobe.d directory on my system

seth wrote:

It means a ton of files on your disk are not the ones shipped by the packages.
Either your HDD is dying away or you messed up the installation (by installing things bypassing the package manager)

Well, I have indeed used yaourt to install several packages not available in the standard repos. Could that have altered so many files?


_____________________________________________
Running Gnome on Archlinux - great combo!

Offline

#16 2018-03-05 08:38:11

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,435

Re: No modprobe.d directory on my system

Unless you installed some seriously broken packages, no, as that will ultimately use pacman for installation as well, which would complain if there were file conflicts with already existing packages.

However if you installed something random with root rights without using yaourt nor pacman, that might well be. But as already been mentioned, the most "innocent" possibility is that your harddisk is failing, run the mentioned commands to verify that.

Offline

Board footer

Powered by FluxBB