[elrepo] Keyboard ceases functioning after install of kmod-nvidia-340xx

Jeremy Yocum oceanjeremy at gmail.com
Tue Jun 16 11:37:02 EDT 2020


Hello Phil—

Looks like my reboot issues were hardware-related, and resolved themselves
when I just left the machine powered off for 48 hours.

So I'm back where I started — when I boot from the hard drive my keyboard
stops working the second I leave the grub menu. I can, however, access the
system through an install ISO chroot recovery mode.

Reminder: I uninstalled all the ELRepo packages to see if my system would
start booting normally afterward, and it didn't work. So as of right now
the ELRepo Nvidia driver is *not* installed. I figured I'd tackle the
keyboard issue first then try to reinstall the Nvidia driver.

So pardon my ignorance: how do I go about diagnosing if this is an
initramfs problem, and if that's indeed the issue how would I fix it?


— Jeremy




On Sat, Jun 13, 2020 at 7:39 PM Jeremy Yocum <oceanjeremy at gmail.com> wrote:

> Thanks Phil—
>
> To clarify, it's not a USB keyboard. I have CentOS 8 installed on a
> mid-2009 MacBook Pro.
>
> I was never able to install using the Nvidia .run installer from their
> website. It always gave me the "Unable to find the kernel source tree for
> the currently running kernel" error — even though I made absolutely sure
> that kernel-headers and kernel-devel 100% match my kernel.
>
> You asked "Do you think it is related to the way we regenerate the
> initramfs image?" And the answer is I have no idea! I've only been using
> Linux for two months, and that was on a VPS I'm running. I've only had it
> running on a physical machine for a couple weeks. I'm still trying to
> figure out what initramfs is.
>
> But I've got another issue now; the machine got hung during booting so I
> powered it off with the power button. Now if I try to boot into recovery
> from the ISO the screen goes black with a solid (not-blinking) cursor in
> the upper left of the screen and just completely freezes. If I try to boot
> from grub like normal (with a non-functioning keyboard) it freezes after
> about a page of boot messages and becomes 100% unresponsive with a solid
> (not-blinking) cursor.
>
> So for right now I can't access the machine at all, I couldn't even
> reinstall CentOS if I wanted to. Let me get through this challenge, if I
> haven't completely fried the hardware, and I'll come back to you once I'm
> ready to troubleshoot the ELRepo-related issue.
>
>
> — Jeremy
>
>
>
>
> On Fri, Jun 12, 2020 at 9:38 PM Phil Perry <phil at elrepo.org> wrote:
>
>> Hi Jeremy,
>>
>> Sorry I don't have any answers for you.
>>
>> I assume you've tried unplugging and re-plugging in the (USB?) keyboard
>> to see if it's then working?
>>
>> I wonder if you could try installing the nvidia drivers directly from
>> the NVIDIA installer using the .run file rather then using the elrepo
>> package, to establish if the issue is with the driver itself or if it is
>> a packaging issue that elrepo have introduced. Do you think it is
>> related to the way we regenerate the initramfs image?
>>
>> Googling turned up a few more suggestions, not sure if these will work
>> for you but maybe worth a try?
>>
>>
>> https://www.reddit.com/r/archlinux/comments/4kugnq/luks_on_lvm_locked_outside_keyboard_not_working/
>>
>>
>> https://www.reddit.com/r/archlinux/comments/6s1l6v/keyboard_stopped_working_for_luks_unlock_at_boot/
>>
>> Plenty of hits on google, but there doesn't seem to be a clear cuase or
>> solution I can find.
>>
>> Phil
>>
>> On 12/06/2020 20:38, Jeremy Yocum wrote:
>> > Thanks for the quick response Phil!
>> >
>> > Unfortunately it's not at all the same as
>> > https://elrepo.org/bugs/view.php?id=496. (I already came across this
>> bug
>> > report while searching for answers before coming to the mailing list.)
>> >
>> > 1. Bug reporter says, "After installing kmod-nvidia I only get few
>> lines
>> > of text during boot: hid-generic: usage index exceeded hid-generic:
>> item
>> > 0 2 2 2 parsing failed" ... The bug reporter says his boot is
>> > interrupted *before* he gets the passphrase prompt. I don't get these
>> > lines of text, and I get a normal boot right up until it needs input
>> > from me. It boots like normal, it just doesn't recognize keyboard input.
>> >
>> > 2. Bug reporter says "The cursor stays still after this and boot won't
>> > continue." My cursor does not stay still; it blinks. It just doesn't
>> > respond to the keyboard input. Again, if I plug in a USB drive the
>> > system reads it and spits it information about ths USB drive. The
>> system
>> > *isn't* frozen. It just doesn't respond to the keyboard. Again, my caps
>> > lock key doesn't turn the light on and off (which it does even in the
>> > grub boot menu). The keyboard just stops working.
>> >
>> > 2. There is no rhgb quiet parameter in my grub2 settings. Never has
>> > been. I have always gone to my luks passphrase in text format. This
>> > isn't the problem.
>> >
>> > The problem is with the system recognizing keyboard input (in that it
>> > doesn't). And it started the second I installed the Nvidia driver.
>> >
>> >
>> > — Jeremy
>> >
>> >
>> >
>> > On Fri, Jun 12, 2020 at 3:08 PM Phil Perry <phil at elrepo.org
>> > <mailto:phil at elrepo.org>> wrote:
>> >
>> >     On 12/06/2020 19:00, Jeremy Yocum wrote:
>> >      > Hello ELRepo list—
>> >      >
>> >      > This problem started immediately after installing the ELRepo
>> Nvidia
>> >      > driver, so I'm hoping one of you can help me.
>> >      >
>> >      > I followed the instructions for installing the ELRepo Nvidia
>> >     driver for
>> >      > 340xx. Rebooted my machine, and from that moment on my keyboard
>> >     stops
>> >      > functioning as soon as I leave the GRUB menu.
>> >      >
>> >      > Everything appears to boot correctly, but when it reaches "Please
>> >     enter
>> >      > passphrase for disk TOSHIBA_MK5065GSXF
>> >      > (luks-long-volumename-etc-etc-etc)!:" the cursor just blinks. The
>> >      > keyboard is unresponsive. The caps lock light does not come on
>> >     when I
>> >      > press caps lock. No number of key combinations register anything.
>> >     If I
>> >      > plug in a USB drive at this time the screen displays "New USB
>> device
>> >      > found [etc]." So the system is alive and working, I just can't
>> >     use the
>> >      > keyboard to communicate with it.
>> >      >
>> >      > I rebooted a few times, same issue over and over again.
>> >      >
>> >      > I rebooted into recovery mode from an install ISO and couldn't
>> find
>> >      > anything suspicious (to me) in the logs. So I figured I'd just
>> >     undo the
>> >      > only thing I'd done since the last time the keyboard worked: I
>> >      > uninstalled all the ELRepo Nvidia packages that were dependent on
>> >     each
>> >      > other.
>> >      > - kmod-nvidia-340xx-4.18.0-147.el8.x86_64.x86_64
>> >      > - xorg-x11-drv-nvidia-340xx.x86_64
>> >      > - xorg-x11-drv-nvidia-340xx-libs.x86_64
>> >      > All removed.
>> >      >
>> >      > I rebooted, removed the grub parameters that the install added:
>> >      > - nouveau.modeset=0 rd.driver.blacklist=nouvea video=vesa:off
>> >      > ...and hit F10 to boot.
>> >      >
>> >      > ... and it still gets to the "Please enter passphrase" prompt and
>> >     the
>> >      > keyboard no longer works.
>> >      >
>> >      > Any idea why the ELRepo Nvidia driver would cause this behavior?
>> >      >
>> >      > Any idea how I can get it to work again?
>> >      >
>> >      >
>> >      > — Jeremy
>> >      >
>> >
>> >     Hi Jeremy,
>> >
>> >     I wonder if you have an issue similar to described in this bug
>> report:
>> >
>> >     https://elrepo.org/bugs/view.php?id=496
>> >
>> >
>> >     _______________________________________________
>> >     elrepo mailing list
>> >     elrepo at lists.elrepo.org <mailto:elrepo at lists.elrepo.org>
>> >     http://lists.elrepo.org/mailman/listinfo/elrepo
>> >
>> >
>> > _______________________________________________
>> > elrepo mailing list
>> > elrepo at lists.elrepo.org
>> > http://lists.elrepo.org/mailman/listinfo/elrepo
>> >
>>
>> _______________________________________________
>> elrepo mailing list
>> elrepo at lists.elrepo.org
>> http://lists.elrepo.org/mailman/listinfo/elrepo
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.elrepo.org/pipermail/elrepo/attachments/20200616/baffdf37/attachment.html>


More information about the elrepo mailing list