LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-29-2019, 08:26 PM   #1
babydr
Member
 
Registered: Aug 2015
Location: Fairbanks , Alaska
Distribution: Slackware-14.2 & 15.0
Posts: 226

Rep: Reputation: 45
kernel-4.9.189 atkbd serio0: Failed to enable keyboard on isa0060/serio0


Hello All , several days & reboots after upgrading the kernel to 4.9.189 my old Keytronic keyboard fell prey to the subject matter . Yes I've seen the new shiny 4.9.190 in the updates .

And after doing a bit of googling & seeing that someone else tried unplugging & replugging the PS/2 connector . I tried the same and to my suprise , IT WORKED . This also produce NO NEW entries in the dmesg output ... :-|

But , the very next reboot cold or warm , Then the ol' trusted keyboard doesn't get registered & I have to crawl under the desk & unplug/replug again . This is of course getting quite annoying .

I hope the below dmesg | grep ... Doesn't make the post too noisy , And if more info is requested I'll gladly do so .

Tia , JimL

slackware=14.2 , Kernel-4.9.189 compiled From HUGE-4.4.14.config .

dmesg | egrep -i '(ps/2|xhci|i8042|atkbd|serio)'
[ 4.731610] i8042: PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
[ 4.732218] i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
[ 4.733610] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 4.734329] mousedev: PS/2 mouse device common for all mice
[ 4.773157] atkbd serio0: Failed to enable keyboard on isa0060/serio0
[ 4.774154] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
[ 6.670112] xhci_hcd 0000:00:14.0: xHCI Host Controller
[ 6.670770] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1
[ 6.672355] xhci_hcd 0000:00:14.0: hcc params 0x20007181 hci version 0x100 quirks 0x0000b930
[ 6.672861] xhci_hcd 0000:00:14.0: cache line size of 64 is not supported
[ 6.674203] usb usb1: Product: xHCI Host Controller
[ 6.674692] usb usb1: Manufacturer: Linux 4.9.189 xhci-hcd
[ 6.677447] xhci_hcd 0000:00:14.0: xHCI Host Controller
[ 6.678207] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2
[ 6.679748] usb usb2: Product: xHCI Host Controller
[ 6.680221] usb usb2: Manufacturer: Linux 4.9.189 xhci-hcd
[ 6.683083] xhci_hcd 0000:04:00.0: xHCI Host Controller
[ 6.683592] xhci_hcd 0000:04:00.0: new USB bus registered, assigned bus number 3
[ 6.684610] xhci_hcd 0000:04:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x00000090
[ 6.686226] usb usb3: Product: xHCI Host Controller
[ 6.686735] usb usb3: Manufacturer: Linux 4.9.189 xhci-hcd
[ 6.689627] xhci_hcd 0000:04:00.0: xHCI Host Controller
[ 6.690476] xhci_hcd 0000:04:00.0: new USB bus registered, assigned bus number 4
[ 6.692644] usb usb4: Product: xHCI Host Controller
[ 6.693186] usb usb4: Manufacturer: Linux 4.9.189 xhci-hcd
[ 7.005499] usb 3-1: new high-speed USB device number 2 using xhci_hcd
[ 7.050498] usb 1-4: new high-speed USB device number 2 using xhci_hcd
[ 7.577507] usb 1-4.3: new high-speed USB device number 3 using xhci_hcd
[ 7.744513] usb 1-4.4: new high-speed USB device number 4 using xhci_hcd
[ 7.927989] usb 1-4.7: new high-speed USB device number 5 using xhci_hcd
[ 892.847154] usb 1-4.4: new high-speed USB device number 6 using xhci_hcd
 
Old 08-29-2019, 09:19 PM   #2
abga
Senior Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,634

Rep: Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929
On a short search on the net I found a few kernel issues related to keyboards spread along the periods 2012 - 2014 - 2017, as solutions there were some bugfixes and some workarounds.
In your dmesg snippet, you have:
Code:
[ 4.731610] i8042: PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
[ 4.732218] i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
And some workarounds I found were suggesting to add some kernel boot parameters:
Code:
i8042.dumbkbd=1
Or a combination:
Code:
i8042.nopnp=1 i8042.dumbkbd=1
Here you can find some info and a few other i8042 options.
https://www.reddit.com/r/linux/comme...hpad_work_and/

If you like to paste an entire kernel log (dmesg), you could use: https://pastebin.com/

Is your keyboard PS/2 native or do you use an USB dongle? A dmesg snippet presenting the unplug/re-plug - your "crawling" workaround could be helpful too.
If the i8042.* workarounds I presented above work, then I suggest to live with them, or, raise a bug with the kernel devs and get your hands dirty bisecting the kernel

Last edited by abga; 08-29-2019 at 09:24 PM. Reason: 2 x typo
 
Old 08-30-2019, 02:21 AM   #3
TheRealGrogan
Member
 
Registered: Oct 2010
Location: Ontario, Canada
Distribution: Slackware, LFS, Manjaro (for gaming)
Posts: 570

Rep: Reputation: 413Reputation: 413Reputation: 413Reputation: 413Reputation: 413
That first warning message about "AUX port disabled" occurs when you have PS/2 support, but you don't have anything plugged into the PS/2 mouse port (i.e. using USB mouse). Most biosen will not assign resources unless a mouse device is plugged in. (IRQ 12 is free for PCI then). Likely not an error at all, it's informational.

The PS/2 controller gets IRQ 1 for keyboard, but then serio fails to initialize it. That's where things start to get not right in that output.

Now, I have seen similar problems caused by... USB cordless mice receivers that have keyboard logic on them, even though not implemented (i.e. not a keyboard and mouse set). See if plugging in the USB MOUSE receiver only after starting X solves the problem with keyboard initialization (that would confirm it).

P.S. I'm not saying that some of those workarounds may not be applicable, just that it may be the cause of the problem. Also, it sounds like you know it's not safe to "hotplug" PS/2, it could even damage the port on the motherboard.

Last edited by TheRealGrogan; 08-30-2019 at 02:31 AM.
 
Old 08-31-2019, 08:04 PM   #4
babydr
Member
 
Registered: Aug 2015
Location: Fairbanks , Alaska
Distribution: Slackware-14.2 & 15.0
Posts: 226

Original Poster
Rep: Reputation: 45
Hello , Thank you all for your time . If this issue continues after attempting the Below (*) .

Then I will see if these options of work arounds may/will be a return to normalcy for me .

This has not been an issue on this hardware for some number of Months , Note: Months . And a few differant versions of kernel . From 4.4.14 to the 4.9.189 I am running today .

Until just a short period ago with only ONE device change , (several days & reboots after upgrading to a locally built HUGE Kernel-4.9.189) I shut off the USB drive I use for backups . Then this started .

(*)Tho I haven't tried rebooting with the drive "on" since this problem occured . I only just remembered I had shut off that device as of today . I believe I'll experimant with that first . Then try the work arounds mentioned and if these are not of help , Then report back with the findings .

Thank you all again . JimL
 
Old 09-02-2019, 03:28 PM   #5
babydr
Member
 
Registered: Aug 2015
Location: Fairbanks , Alaska
Distribution: Slackware-14.2 & 15.0
Posts: 226

Original Poster
Rep: Reputation: 45
Hello All , Having powered on the before mentioned usb drive & rebooted , My keyboard is Functional without any of the work arounds so kindly mentioned .
So Now I get to try to figureout what inter-reactions between USB & AT are causing the difficulty(ies) .

Of interest are ... at least in my opinion are ...

[ 4.731610] i8042: PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
[ 4.732218] i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
[ 4.733610] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 4.734329] mousedev: PS/2 mouse device common for all mice
[ 4.773157] atkbd serio0: Failed to enable keyboard on isa0060/serio0
[ 4.774154] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0

To note that the MOUSE Port is polled BEFORE the keyboard . On very old equipment this was not so . As there were NO Mouse technology yet developed . And all those (as AT/PS2 & I believe as USB , are still today) were serial based devices .

Thank you all for your suggestions and thoughts in this matter .
JimL

ps: As in the first but after turning ON the usb disk ...
dmesg | egrep -i '(ps/2|xhci|i8042|atkbd|serio)' [ 3.551789] i8042: PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
[ 3.552420] i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
[ 3.553875] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 3.554627] mousedev: PS/2 mouse device common for all mice
[ 3.592268] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
[ 5.495089] xhci_hcd 0000:00:14.0: xHCI Host Controller
[ 5.495625] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1
[ 5.497194] xhci_hcd 0000:00:14.0: hcc params 0x20007181 hci version 0x100 quirks 0x0000b930
[ 5.497683] xhci_hcd 0000:00:14.0: cache line size of 64 is not supported
[ 5.498723] usb usb1: Product: xHCI Host Controller
[ 5.499192] usb usb1: Manufacturer: Linux 4.9.189 xhci-hcd
[ 5.501402] xhci_hcd 0000:00:14.0: xHCI Host Controller
[ 5.501882] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2
[ 5.503305] usb usb2: Product: xHCI Host Controller
[ 5.503764] usb usb2: Manufacturer: Linux 4.9.189 xhci-hcd
[ 5.505967] xhci_hcd 0000:04:00.0: xHCI Host Controller
[ 5.506474] xhci_hcd 0000:04:00.0: new USB bus registered, assigned bus number 3
[ 5.507151] xhci_hcd 0000:04:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x00000090
[ 5.508716] usb usb3: Product: xHCI Host Controller
[ 5.509208] usb usb3: Manufacturer: Linux 4.9.189 xhci-hcd
[ 5.511294] xhci_hcd 0000:04:00.0: xHCI Host Controller
[ 5.511812] xhci_hcd 0000:04:00.0: new USB bus registered, assigned bus number 4
[ 5.513892] usb usb4: Product: xHCI Host Controller
[ 5.514416] usb usb4: Manufacturer: Linux 4.9.189 xhci-hcd
[ 5.833623] usb 3-1: new high-speed USB device number 2 using xhci_hcd
[ 5.867392] usb 1-4: new high-speed USB device number 2 using xhci_hcd
[ 6.350402] usb 1-4.3: new high-speed USB device number 3 using xhci_hcd
[ 6.533514] usb 1-4.4: new high-speed USB device number 4 using xhci_hcd
[ 6.845398] usb 1-4.5: new high-speed USB device number 5 using xhci_hcd
[ 7.514398] usb 1-4.7: new high-speed USB device number 6 using xhci_hcd
[ 219.138285] usb 1-4.4: new high-speed USB device number 7 using xhci_hcd

Last edited by babydr; 09-03-2019 at 07:25 PM. Reason: Should have added another dmesg grep'd report ...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
atkbd.c:spurious ack on isa0060/serio0...... dbrooks408 Linux - Software 0 11-26-2007 07:31 AM
atkbd.c: Spurious NAK on isa0060/serio0. Some program might be trying access hardware frenchn00b Linux - General 0 09-29-2007 01:02 PM
Kernel panic:atkbd.c Spurious ACK on isa0060/serio0 JAKK Linux - General 13 05-09-2007 08:20 AM
input: at translated set 2 keyboard on isa0060/serio0 pestie Linux - Laptop and Netbook 1 01-21-2006 12:05 AM
atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0). atkbd. satanic_linux Slackware 1 06-08-2004 02:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration