You are not logged in.

#1 2014-04-23 08:41:52

eoinoc333
Member
Registered: 2013-06-06
Posts: 34

[SOLVED] Am I having kernel issues due to the modular keyboard

Kernel 3.12.7-2 runs fine on my Lenovo X220 laptop.

However, any newer kernel results in my XFCE booting into a live desktop, but without control over keyboard or mouse.

Logging in via the second virtual terminal tells me:

$ systemctl --failed
netcfg.service   loaded   failed   failed   Netcfg multi-profile daemon

When running $ sudo pacman -Syu last, I received the following error message (with context):

[2014-04-23 10:32] [ALPM-SCRIPTLET] >>> Updating module dependencies. Please wait ...
[2014-04-23 10:32] [ALPM-SCRIPTLET] >>> Generating initial ramdisk, using mkinitcpio.  Please wait...
[2014-04-23 10:32] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
[2014-04-23 10:32] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
[2014-04-23 10:32] [ALPM-SCRIPTLET] ==> Starting build: 3.14.1-1-ARCH
[2014-04-23 10:32] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2014-04-23 10:32] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2014-04-23 10:32] [ALPM-SCRIPTLET]   -> Running build hook: [autodetect]
[2014-04-23 10:32] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2014-04-23 10:32] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2014-04-23 10:32] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2014-04-23 10:32] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2014-04-23 10:32] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2014-04-23 10:32] [ALPM-SCRIPTLET] ==> ERROR: module not found: `keyboard'
[2014-04-23 10:32] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2014-04-23 10:32] [ALPM-SCRIPTLET] ==> Creating gzip initcpio image: /boot/initramfs-linux.img
[2014-04-23 10:32] [ALPM-SCRIPTLET] ==> WARNING: errors were encountered during the build. The image may not be complete.
[2014-04-23 10:32] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
[2014-04-23 10:32] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
[2014-04-23 10:32] [ALPM-SCRIPTLET] ==> Starting build: 3.14.1-1-ARCH
[2014-04-23 10:32] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2014-04-23 10:32] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2014-04-23 10:32] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2014-04-23 10:32] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2014-04-23 10:32] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: aic94xx
[2014-04-23 10:32] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: smsmdtv
[2014-04-23 10:32] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2014-04-23 10:32] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2014-04-23 10:32] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2014-04-23 10:32] [ALPM-SCRIPTLET] ==> ERROR: module not found: `keyboard'
[2014-04-23 10:32] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2014-04-23 10:32] [ALPM-SCRIPTLET] ==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
[2014-04-23 10:32] [ALPM-SCRIPTLET] ==> WARNING: errors were encountered during the build. The image may not be complete.
[2014-04-23 10:32] [ALPM-SCRIPTLET] >>> WARNING: AT keyboard support is no longer built into the kernel.
[2014-04-23 10:32] [ALPM-SCRIPTLET] >>>          In order to use your keyboard during early init, you MUST
[2014-04-23 10:32] [ALPM-SCRIPTLET] >>>          include the 'keyboard' hook in your mkinitcpio.conf.

Note the "ERROR: module not found: `keyboard'".

My /etc/mkinitcpio.conf file contains:

MODULES="i915 keyboard"
BINARIES=""
FILES=""
HOOKS="base udev autodetect modconf block filesystems keyboard fsk"

Does it sound like the kernel build error for the keyboard is related to the announcement about modular keyboard support?

If so, I have not been able to further connect the dots on my own to track down the cause, which is why I'm looking for others' insights now.

Last edited by eoinoc333 (2014-04-24 08:34:55)

Offline

#2 2014-04-23 13:32:43

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: [SOLVED] Am I having kernel issues due to the modular keyboard

Is it related to this? https://www.archlinux.org/news/linux-31 … w-modular/

(Sorry if I misunderstood your question. I'm really tired. tongue)

Offline

#3 2014-04-23 13:57:55

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: [SOLVED] Am I having kernel issues due to the modular keyboard

eoinoc333 wrote:

Does it sound like the kernel build error for the keyboard is related to the announcement about modular keyboard support?

I suppose it's possible that you determined (as explained in the announcement) that you needed to add "atkbd" to the MODULES, but accidentally wrote "keyboard" instead.

Offline

#4 2014-04-24 08:32:17

eoinoc333
Member
Registered: 2013-06-06
Posts: 34

Re: [SOLVED] Am I having kernel issues due to the modular keyboard

drcouzelis wrote:

Is it related to this? https://www.archlinux.org/news/linux-31 … w-modular/

(Sorry if I misunderstood your question. I'm really tired. tongue)

Yes.

Offline

#5 2014-04-24 08:34:22

eoinoc333
Member
Registered: 2013-06-06
Posts: 34

Re: [SOLVED] Am I having kernel issues due to the modular keyboard

Raynman wrote:

I suppose it's possible that you determined (as explained in the announcement) that you needed to add "atkbd" to the MODULES, but accidentally wrote "keyboard" instead.

My computer does not have a PS/2 port, so the announcement does not apply. Not sure when/why I added the "keyboard" to MODULES.

The build error is now fixed - I removed "keyboard" from MODULES in /etc/mkinitcpio.conf .

Although I still have an unresponsive mouse and keyboard after XFCE launches.

Offline

#6 2014-04-24 12:49:05

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: [SOLVED] Am I having kernel issues due to the modular keyboard

eoinoc333 wrote:

My computer does not have a PS/2 port, so the announcement does not apply.

I'm not positive, but I think the built-in touchpads and pointer devices in laptops are usually implemented internally as PS/2.

Offline

#7 2014-04-24 13:12:31

eoinoc333
Member
Registered: 2013-06-06
Posts: 34

Re: [SOLVED] Am I having kernel issues due to the modular keyboard

To be sure, I ran the command from the announcement:

$ dmesg -t | grep '^i8042'
i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12

From my understanding, that means I don't have to take action regarding that announcement. Thanks for the comment.

Offline

#8 2014-04-25 11:44:12

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,024

Re: [SOLVED] Am I having kernel issues due to the modular keyboard

eoinoc333 wrote:

To be sure, I ran the command from the announcement:

$ dmesg -t | grep '^i8042'
i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12

From my understanding, that means I don't have to take action regarding that announcement. Thanks for the comment.

Your understanding is correct, but that also shows that many systems without a visible ps/2 port still have the controller for it !

Last edited by Lone_Wolf (2014-04-25 11:44:22)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#9 2014-04-25 13:18:03

eoinoc333
Member
Registered: 2013-06-06
Posts: 34

Re: [SOLVED] Am I having kernel issues due to the modular keyboard

Yes, that's something I wasn't aware of! Thank you all.

Offline

#10 2014-04-25 13:41:42

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: [SOLVED] Am I having kernel issues due to the modular keyboard

Lone_Wolf wrote:

Your understanding is correct, but that also shows that many systems without a visible ps/2 port still have the controller for it !

It kind of makes sense. Whatever the keyboard is connected to, it's the only thing that's ever going to be connected there. Plus, there are (or were until recently) certain limitations and considerations wrt USB kbds. Years ago, I had a distressing experience after setting up a new mobo to power on with a 'password'.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

Board footer

Powered by FluxBB