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 07-12-2017, 01:40 PM   #1
SpacePlod
Member
 
Registered: Jan 2014
Distribution: Slackware
Posts: 115

Rep: Reputation: Disabled
Slackware 14.2 - boot (with initrd) no USB keyboard


I have a system that has been giving me fits. I created an initrd and the system will boot to the prompt, but the USB keyboard will not work. The keyboard works fine for navigating the bios. It also works fine for the Slackware64 boot media.

Similar to this issue, but I'm using an ASUS motherboard, and I have no access to non-usb ports for a keyboard, and the problem is not intermittent. And again, the keyboard works fine in the boot media, but not in the booted system

I'm using an initrd with ext4/usbhid/xhci* and several others I've added just to try out.
Code:
mkinitrd -c -k 4.4.14 -m ext4:usbhid:usb_storage:hid:hid_generic:xhci_hcd:xhci_pci:ehci_hcd:evdev
OK: /lib/modules/4.4.14/kernel/fs/jbd2/jbd2.ko added.
OK: /lib/modules/4.4.14/kernel/fs/mbcache.ko added.
OK: /lib/modules/4.4.14/kernel/fs/ext4/ext4.ko added.
OK: /lib/modules/4.4.14/kernel/drivers/hid/hid.ko added.
OK: /lib/modules/4.4.14/kernel/drivers/hid/usbhid/usbhid.ko added.
OK: /lib/modules/4.4.14/kernel/drivers/usb/storage/usb-storage.ko added.
OK: /lib/modules/4.4.14/kernel/drivers/hid/hid.ko added.
OK: /lib/modules/4.4.14/kernel/drivers/hid/hid.ko added.
OK: /lib/modules/4.4.14/kernel/drivers/hid/hid-generic.ko added.
OK: /lib/modules/4.4.14/kernel/drivers/usb/host/xhci-hcd.ko added.
OK: /lib/modules/4.4.14/kernel/drivers/usb/host/xhci-hcd.ko added.
OK: /lib/modules/4.4.14/kernel/drivers/usb/host/xhci-pci.ko added.
OK: /lib/modules/4.4.14/kernel/drivers/usb/host/ehci-hcd.ko added.
OK: /lib/modules/4.4.14/kernel/drivers/input/evdev.ko added.
I've messed with xhci/ehci handoff in the bios (which is set to legacy, currently) and none of the changes make any difference. Google reveals some references to iommu, but I cannot find a setting for that in the bios.

Any suggestions would be most welcome.

Thanks.
 
Old 07-12-2017, 01:50 PM   #2
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,504

Rep: Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461
Was the keyboard working with the huge kernel and no initrd?

You might try taking a look at the output of /usr/share/mkinitrd/mkinitrd_command_generator.sh to see if that will make a working initrd for your system.
 
2 members found this post helpful.
Old 07-12-2017, 02:19 PM   #3
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,177

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
I had this kind of thing last year when I plugged the keyboard into any of the USB 3.0 ports on my new motherboard. Plugging it in to another port fixed it for me. I also kept up with Asrock's UEFI firmware updates for this board.
 
Old 07-12-2017, 02:38 PM   #4
SpacePlod
Member
 
Registered: Jan 2014
Distribution: Slackware
Posts: 115

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by volkerdi View Post
Was the keyboard working with the huge kernel and no initrd?

You might try taking a look at the output of /usr/share/mkinitrd/mkinitrd_command_generator.sh to see if that will make a working initrd for your system.
Thank you for the response sir.

That did the trick. There were quite a few modules included in there that I would not have thought of (and did not see in lsmod output), but one (or a combination) of them obviously worked. System is up and running.
 
1 members found this post helpful.
  


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
Creating a new initrd image to USB boot Fedora 15 kayasaman Fedora 11 01-29-2012 09:58 AM
[SOLVED] Can't boot Slackware 12.2: need initrd JosephS Slackware 1 08-22-2009 12:08 PM
Slackware 12.2 won't boot to initrd ryerke Linux - Software 4 01-12-2009 12:52 AM
Boot USB HD without initrd gbowden Linux - Hardware 6 11-18-2006 11:09 AM
Can't boot from external USB HDD - initrd problem? RobF Slackware - Installation 2 08-07-2006 09:04 PM

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

All times are GMT -5. The time now is 07:54 PM.

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