You are not logged in.

#1 2012-01-22 11:55:02

nitralime
Member
Registered: 2009-12-30
Posts: 63

[SOLVED] Problems with USB keyboard and mouse after updating to kmod

Hello folks!

I have updated my system a few hours ago and after rebooting
the system the USB keyboard and mouse didn't work anymore.

The updated packages were

xkeyboard-config
kmod
udev
initscritpts
mkinitcpio

I have started the system using a rescue CD and have full access to the system.
What should be repaired and how can I do it in oder to get a functional system again?

Any help is very much appreciated!

Regards
Nik

Last edited by nitralime (2012-01-25 11:27:31)

Offline

#2 2012-01-22 12:29:37

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: [SOLVED] Problems with USB keyboard and mouse after updating to kmod

Have you got the usbinput hook in mkinitcpio.conf for the keyboard?


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#3 2012-01-22 12:53:05

nitralime
Member
Registered: 2009-12-30
Posts: 63

Re: [SOLVED] Problems with USB keyboard and mouse after updating to kmod

loafer wrote:

Have you got the usbinput hook in mkinitcpio.conf for the keyboard?

Here is my HOOKS entry in mkinitcpio.conf:

HOOKS="base udev autodetect pata scsi sata lvm2 filesystems"

I have also checked the boot messages. It seems that there is a problem with kmod
(as far as I remember during the update kmod replaced the package module-init-tools!):

..
Starting UDev Daemon [BUSY] [FAIL]
Triggering UDev uevents [BUSY] [FAIL] udevadm: error while loading shared libraries:
libkmod.so.1: cannot open shared object file: No such file or directory
Loading User-specified Modules  [BUSY] [FAIL] 
..

I suspect that the whole issue is related to kmod!

Any idea?

Regards
Nik

PS: I have added usbinput to the HOOKS but the problem still persists.
        It is definitely related to kmod!

Last edited by nitralime (2012-01-22 16:47:56)

Offline

#4 2012-01-22 14:32:06

nitralime
Member
Registered: 2009-12-30
Posts: 63

Re: [SOLVED] Problems with USB keyboard and mouse after updating to kmod

I have downgraded udev, mkinitcpio and module-init-tools to

udev-175-1
mkinitcpio-0.8.0-3
module-init-tools-3.16-3 (replacing kmod)

and everything now works properly!

Regards
Nik

PS: I suspect that anyone who upgrades to the current version of kmod
       will suffer the same problem! Be careful!

Last edited by nitralime (2012-01-22 16:20:12)

Offline

#5 2012-01-22 21:09:13

siriusb
Member
From: Hungary
Registered: 2010-01-01
Posts: 422

Re: [SOLVED] Problems with USB keyboard and mouse after updating to kmod

First of all when you change mkinitcpio.conf you have to recreate initramfs then reboot. Anyway, usbinput is needed only for boot time.

I'm sure you missed the announcement and pacman messages when updating. You have to rename modprobe.conf (it gets pacsave suffix) after m-i-t is removed and you have to make sure all your custom files in /etc/modprobe.d end with .conf.
If you make the necessary steps I'm quite sure you won't experience such problems. Actually I have USB mouse an keyboard as well, but I haven't got any issue with them and I have kmod.

Offline

#6 2012-01-22 21:46:46

Hyugga
Member
From: Santiago, Chile
Registered: 2010-03-26
Posts: 335

Re: [SOLVED] Problems with USB keyboard and mouse after updating to kmod

I get the same [FAIL] message at boot time. I dont have a modprobe.conf or modprobe.conf.pacsave file in my system... In fact, i dont have any file in /etc/modprobe.d/
What can i do?
Thanks.

Last edited by Hyugga (2012-01-22 21:49:21)

Offline

#7 2012-01-23 10:00:00

siriusb
Member
From: Hungary
Registered: 2010-01-01
Posts: 422

Re: [SOLVED] Problems with USB keyboard and mouse after updating to kmod

Offline

#8 2012-01-23 17:25:17

toflames
Member
Registered: 2009-07-20
Posts: 21

Re: [SOLVED] Problems with USB keyboard and mouse after updating to kmod

I have a very similar problem, after updating to the last version of kmod, udev and mkinitcpio I cannot use my mouse or keyboard if X is started.
I don't have any FAIL message during boot regarding module loading and even with my /etc/modprobe.d/modprobe.conf.pacsave copied as modprobe.conf, I still cant use my keyboard or mouse.
My only solution was to fall back to the previous versions of udev and mkinitcpio as well as reinstalling module-inittools.
Any ideas?

Offline

#9 2012-01-24 09:26:41

nitralime
Member
Registered: 2009-12-30
Posts: 63

Re: [SOLVED] Problems with USB keyboard and mouse after updating to kmod

siriusb wrote:

First of all when you change mkinitcpio.conf you have to recreate initramfs then reboot. Anyway, usbinput is needed only for boot time.

Of course I've done that!

siriusb wrote:

I'm sure you missed the announcement and pacman messages when updating. You have to rename modprobe.conf (it gets pacsave suffix) after m-i-t is removed and you have to make sure all your custom files in /etc/modprobe.d end with .conf.
If you make the necessary steps I'm quite sure you won't experience such problems. Actually I have USB mouse an keyboard as well, but I haven't got any issue with them and I have kmod.

I will check it!
Thank you for info!

Regards
Nik

Last edited by nitralime (2012-01-25 11:36:09)

Offline

#10 2012-01-25 11:26:51

nitralime
Member
Registered: 2009-12-30
Posts: 63

Re: [SOLVED] Problems with USB keyboard and mouse after updating to kmod

nitralime wrote:
siriusb wrote:

First of all when you change mkinitcpio.conf you have to recreate initramfs then reboot. Anyway, usbinput is needed only for boot time.

Of course I've done that!

siriusb wrote:

I'm sure you missed the announcement and pacman messages when updating. You have to rename modprobe.conf (it gets pacsave suffix) after m-i-t is removed and you have to make sure all your custom files in /etc/modprobe.d end with .conf.
If you make the necessary steps I'm quite sure you won't experience such problems. Actually I have USB mouse an keyboard as well, but I haven't got any issue with them and I have kmod.

I will check it!
Thank you for info!

Regards
Nik

My modprobe.conf was empty and has been removed atfter updatitng to kmod.
Therefore, I would say there couldn't be the cause of problem.
Anyway, I have now upgraded to kmod-4-1, udev-178-1, mkinicpio-0.8.2-1 and linux-3.2.1-2
and it works as expected. The only differences to my first try are udev-178 (instead of udev-177) 
and linux-3.2.1-2 (instead of linux-3.2.1-1)!

After updating I have encountered another problem (described here https://bbs.archlinux.org/viewtopic.php?id=134281)
because of a separate /usr filesystem which I could resolve following the links

http://mailman.archlinux.org/pipermail/ … 24124.html
https://wiki.archlinux.org/index.php/Mk … _partition


Regards
Nik

Last edited by nitralime (2012-01-25 11:35:56)

Offline

Board footer

Powered by FluxBB