FS#8077 - [kernel26] Keyboard randomly does not work upon boot

Attached to Project: Arch Linux
Opened by Philip Nilsson (leffe) - Friday, 21 September 2007, 08:12 GMT
Last edited by Allan McRae (Allan) - Friday, 19 February 2010, 15:47 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture i686
Severity Medium
Priority Normal
Reported Version 2007.08.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

My keyboard randomly does not work upon boot of my system using the stock kernel. The fallback kernel always works. The breakage appears to occur in the kernel's initialization somehow as I can tell if the keyboard will work or not by spamming numlock and seeing if it has any effect -- when the keyboard is going to be broken, nothing happens after GRUB, while otherwise there are just some small intervals of unresponsiveness during the boot.

/etc/mkinitcpio.conf:
HOOKS="base udev autodetect pata usbinput filesystems"

/etc/rc.conf irrelevant.

Diffs between broken and working module listings:
40a41
> sd_mod 22784 6
43,45c44,46
< sd_mod 22784 6
< uhci_hcd 22416 0
< usbcore 112520 3 usb_storage,uhci_hcd
---
> usbhid 38048 0
> hid 26240 1 usbhid
> ff_memless 5256 1 usbhid
48a50,51
> uhci_hcd 22416 0
> usbcore 112520 4 usb_storage,usbhid,uhci_hcd
This task depends upon

Closed by  Allan McRae (Allan)
Friday, 19 February 2010, 15:47 GMT
Reason for closing:  Fixed
Comment by Roman Kyrylych (Romashka) - Friday, 21 September 2007, 09:38 GMT
it seems that usbhid module is not loaded by usbinput hook.
Comment by Roman Kyrylych (Romashka) - Friday, 21 September 2007, 09:44 GMT
ouch, or reverse. Which config loads usbhid - default or fallback?
Comment by Philip Nilsson (leffe) - Friday, 21 September 2007, 12:22 GMT
Both listings are from the default initfs (with the second happening rarely, about one in five bootstraps). The fallback initfs loads a whole lot of modules.

I just installed the latest kernel though, so I'll see if anything has changed, and otherwise attach the fallback module list.
Comment by Philip Nilsson (leffe) - Friday, 21 September 2007, 12:30 GMT
lsmod listings for the different states.
Comment by Tobias Powalowski (tpowa) - Saturday, 13 October 2007, 11:43 GMT
status on kernel 2.6.23?
Comment by Philip Nilsson (leffe) - Sunday, 14 October 2007, 12:38 GMT
Appears to have been fixed, haven't encountered it in three boots.
Comment by Philip Nilsson (leffe) - Monday, 22 October 2007, 16:13 GMT
Happened again just a moment ago; running 2.6.23.1-3.
Comment by Philip Nilsson (leffe) - Monday, 22 October 2007, 16:14 GMT
  • Field changed: Percent Complete (100% → 0%)
Happened again just a moment ago; running 2.6.23.1-3.
Comment by Jefferson Caldeira (Jefones) - Wednesday, 14 November 2007, 14:34 GMT
My keyboard is ps2 and have the same problem.
Comment by Jefferson Caldeira (Jefones) - Wednesday, 14 November 2007, 14:38 GMT
I'm used the last kernel version
Comment by Jefferson Caldeira (Jefones) - Wednesday, 14 November 2007, 15:15 GMT
I'm used the last kernel version
Comment by Philip Nilsson (leffe) - Friday, 07 December 2007, 19:43 GMT
Doesn't seem to work at all with 2.6.23.9-1, I only tried 4 times before using the fallback ramdisk though.
Comment by Tobias Powalowski (tpowa) - Saturday, 26 January 2008, 22:21 GMT
status on .24 kernel from testing?
Comment by Philip Nilsson (leffe) - Sunday, 27 January 2008, 11:06 GMT
Worked three times out of three with 2.6.24-2, I've switched back to the non-fallback entry as my default boot option, so I'll see if anything happens during the next week.
Comment by Philip Nilsson (leffe) - Sunday, 13 December 2009, 11:00 GMT
  • Field changed: Percent Complete (100% → 0%)
This bug is back. usbhid and hid are randomly missing upon boot, which means no input.
Comment by Philip Nilsson (leffe) - Sunday, 13 December 2009, 19:58 GMT
Current mkinitcpio.conf:
HOOKS="base udev autodetect usbinput pata sata filesystems"

All relevant hardware is different. I collected some dmesg and lsmod logs for working and broken boots, but I don't think there's anything interesting there.
Comment by Gerardo Exequiel Pozzi (djgera) - Tuesday, 26 January 2010, 16:54 GMT
status with latest 2.6.32.6?
Comment by Philip Nilsson (leffe) - Wednesday, 27 January 2010, 14:37 GMT
Reproduced in one out of seven reboots.
Comment by Philip Nilsson (leffe) - Monday, 15 February 2010, 11:55 GMT
It seems to have been fixed in mkinitcpio 6.1 (5.30 didn't work at all).

Loading...