You are not logged in.
Pages: 1
I'm trying to install a custom kernel for the first time following : this wiki. Everything worked like a charm until I had to use mkinitcpio to generate the ram disk.
I followed both the automated and the manual method and the same result :
==> Starting build: 4.11.0-rc3-Custom
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
==> ERROR: module not found: `usbhid'
-> Running build hook: [fsck]
==> WARNING: No modules were added to the image. This is probably not what you want.Initially I thought I really don't have the usbhid module, so I did :
sudo modprobe -r usbhid
sudo modprobe usbhidwhich produced this:
[ 1671.101656] usbcore: deregistering interface driver usbhid
[ 1683.033061] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3:1.0/0003:046D:C52F.0005/input/input17
[ 1683.033336] hid-generic 0003:046D:C52F.0005: input,hidraw0: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:00:14.0-3/input0
[ 1683.035137] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3:1.1/0003:046D:C52F.0006/input/input18
[ 1683.090278] hid-generic 0003:046D:C52F.0006: input,hiddev0,hidraw1: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-3/input1
[ 1683.090348] usbcore: registered new interface driver usbhid
[ 1683.090349] usbhid: USB HID core driverI already did an
sudo pacman -Syyu and I tried reinstalling a bunch of packages pointed out by some solutions in the forum but nothing worked...
My question is : if I have the module, why does mkinitcpio fail ?
Last edited by Foryah (2017-03-29 20:29:07)
Offline
Initially I thought I really don't have the usbhid module, so I did :
sudo modprobe -r usbhid sudo modprobe usbhid
With which kernel running did you perform these commands?
What is the output of
$ modinfo -k 4.11.0-rc3-Custom usbhidPlease also post the config used for building the kernel.
Edit:
moved misplaced /quote tag
Last edited by loqs (2017-03-27 21:34:14)
Offline
What .config did you use for your kernel? Did you remember to compile the modules?
EDIT:
My question is : if I have the module, why does mkinitcpio fail ?
You have the module for the running kernel, not the custom kernel.
Last edited by WorMzy (2017-03-27 21:32:22)
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
~ modinfo -k 4.11.0-rc3-Custom usbhid
modinfo: ERROR: Module usbhid not found.@loqs Uuuups
Here's the kernel configuration.
@WorMzy I think I remembered to compile the modules. I see a folder got generated in /lib/modules/4.11.0-rc3-Custom so I guess I did compiled them, right ?
I used this method to generate the .config file.
I'm looking in the .config file and I'm seeing this :
CONFIG_USB_HID=yIsn't this the line that's suppose to enable the module ?
Offline
CONFIG_USB_HID=yIsn't this the line that's suppose to enable the module ?
It would build the module but as part of the kernel not a standalone module.
As it is not a standalone module mkinitcpio generates the warning
==> ERROR: module not found: `usbhid'From the config you provided
CONFIG_XEN_TMEM=m
CONFIG_XEN_PRIVCMD=mSo only two standalone modules would be built and those are not needed to boot so you get
==> WARNING: No modules were added to the image. This is probably not what you want.Offline
CONFIG_USB_HID=yIsn't this the line that's suppose to enable the module ?
That builds it into the kernel. It should be "m" to create a module.
(edit) snaked again.
(edit2) If you built everything into the kernel like that, you may be able to boot without an initramfs. I build my kernels to boot this way.
Last edited by 2ManyDogs (2017-03-28 18:12:35)
Offline
Thanks guys !
Last edited by Foryah (2017-03-29 20:28:48)
Offline
Pages: 1