<div dir="ltr">Hello Phil—<div><br></div><div>Looks like my reboot issues were hardware-related, and resolved themselves when I just left the machine powered off for 48 hours.</div><div><br></div><div>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.</div><div><br></div><div>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 <u>not</u> installed. I figured I'd tackle the keyboard issue first then try to reinstall the Nvidia driver.</div><div><br></div><div>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?</div><div><br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div style="color:rgb(0,0,0);font-size:12.8px"><br>— Jeremy</div></div><div style="color:rgb(0,0,0);font-size:12.8px"><br></div><div style="color:rgb(0,0,0);font-size:12.8px"><br></div></div></div></div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jun 13, 2020 at 7:39 PM Jeremy Yocum <<a href="mailto:oceanjeremy@gmail.com">oceanjeremy@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thanks Phil—<div><br></div><div>To clarify, it's not a USB keyboard. I have CentOS 8 installed on a mid-2009 MacBook Pro.</div><div><br></div><div>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.</div><div><br></div><div>You asked "<span style="color:rgb(0,0,0)">Do you think it is </span><span style="color:rgb(0,0,0)">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.</span></div><div><span style="color:rgb(0,0,0)"><br></span></div><div><span style="color:rgb(0,0,0)">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.</span></div><div><span style="color:rgb(0,0,0)"><br></span></div><div><span style="color:rgb(0,0,0)">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.</span></div><div><br clear="all"><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div style="color:rgb(0,0,0);font-size:12.8px"><br>— Jeremy</div></div><div style="color:rgb(0,0,0);font-size:12.8px"><br></div><div style="color:rgb(0,0,0);font-size:12.8px"><br></div></div></div></div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 12, 2020 at 9:38 PM Phil Perry <<a href="mailto:phil@elrepo.org" target="_blank">phil@elrepo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Jeremy,<br>
<br>
Sorry I don't have any answers for you.<br>
<br>
I assume you've tried unplugging and re-plugging in the (USB?) keyboard <br>
to see if it's then working?<br>
<br>
I wonder if you could try installing the nvidia drivers directly from <br>
the NVIDIA installer using the .run file rather then using the elrepo <br>
package, to establish if the issue is with the driver itself or if it is <br>
a packaging issue that elrepo have introduced. Do you think it is <br>
related to the way we regenerate the initramfs image?<br>
<br>
Googling turned up a few more suggestions, not sure if these will work <br>
for you but maybe worth a try?<br>
<br>
<a href="https://www.reddit.com/r/archlinux/comments/4kugnq/luks_on_lvm_locked_outside_keyboard_not_working/" rel="noreferrer" target="_blank">https://www.reddit.com/r/archlinux/comments/4kugnq/luks_on_lvm_locked_outside_keyboard_not_working/</a><br>
<br>
<a href="https://www.reddit.com/r/archlinux/comments/6s1l6v/keyboard_stopped_working_for_luks_unlock_at_boot/" rel="noreferrer" target="_blank">https://www.reddit.com/r/archlinux/comments/6s1l6v/keyboard_stopped_working_for_luks_unlock_at_boot/</a><br>
<br>
Plenty of hits on google, but there doesn't seem to be a clear cuase or <br>
solution I can find.<br>
<br>
Phil<br>
<br>
On 12/06/2020 20:38, Jeremy Yocum wrote:<br>
> Thanks for the quick response Phil!<br>
> <br>
> Unfortunately it's not at all the same as <br>
> <a href="https://elrepo.org/bugs/view.php?id=496" rel="noreferrer" target="_blank">https://elrepo.org/bugs/view.php?id=496</a>. (I already came across this bug <br>
> report while searching for answers before coming to the mailing list.)<br>
> <br>
> 1. Bug reporter says, "After installing kmod-nvidia I only get few lines <br>
> of text during boot: hid-generic: usage index exceeded hid-generic: item <br>
> 0 2 2 2 parsing failed" ... The bug reporter says his boot is <br>
> interrupted *before* he gets the passphrase prompt. I don't get these <br>
> lines of text, and I get a normal boot right up until it needs input <br>
> from me. It boots like normal, it just doesn't recognize keyboard input.<br>
> <br>
> 2. Bug reporter says "The cursor stays still after this and boot won't <br>
> continue." My cursor does not stay still; it blinks. It just doesn't <br>
> respond to the keyboard input. Again, if I plug in a USB drive the <br>
> system reads it and spits it information about ths USB drive. The system <br>
> *isn't* frozen. It just doesn't respond to the keyboard. Again, my caps <br>
> lock key doesn't turn the light on and off (which it does even in the <br>
> grub boot menu). The keyboard just stops working.<br>
> <br>
> 2. There is no rhgb quiet parameter in my grub2 settings. Never has <br>
> been. I have always gone to my luks passphrase in text format. This <br>
> isn't the problem.<br>
> <br>
> The problem is with the system recognizing keyboard input (in that it <br>
> doesn't). And it started the second I installed the Nvidia driver.<br>
> <br>
> <br>
> — Jeremy<br>
> <br>
> <br>
> <br>
> On Fri, Jun 12, 2020 at 3:08 PM Phil Perry <<a href="mailto:phil@elrepo.org" target="_blank">phil@elrepo.org</a> <br>
> <mailto:<a href="mailto:phil@elrepo.org" target="_blank">phil@elrepo.org</a>>> wrote:<br>
> <br>
> On 12/06/2020 19:00, Jeremy Yocum wrote:<br>
> > Hello ELRepo list—<br>
> ><br>
> > This problem started immediately after installing the ELRepo Nvidia<br>
> > driver, so I'm hoping one of you can help me.<br>
> ><br>
> > I followed the instructions for installing the ELRepo Nvidia<br>
> driver for<br>
> > 340xx. Rebooted my machine, and from that moment on my keyboard<br>
> stops<br>
> > functioning as soon as I leave the GRUB menu.<br>
> ><br>
> > Everything appears to boot correctly, but when it reaches "Please<br>
> enter<br>
> > passphrase for disk TOSHIBA_MK5065GSXF<br>
> > (luks-long-volumename-etc-etc-etc)!:" the cursor just blinks. The<br>
> > keyboard is unresponsive. The caps lock light does not come on<br>
> when I<br>
> > press caps lock. No number of key combinations register anything.<br>
> If I<br>
> > plug in a USB drive at this time the screen displays "New USB device<br>
> > found [etc]." So the system is alive and working, I just can't<br>
> use the<br>
> > keyboard to communicate with it.<br>
> ><br>
> > I rebooted a few times, same issue over and over again.<br>
> ><br>
> > I rebooted into recovery mode from an install ISO and couldn't find<br>
> > anything suspicious (to me) in the logs. So I figured I'd just<br>
> undo the<br>
> > only thing I'd done since the last time the keyboard worked: I<br>
> > uninstalled all the ELRepo Nvidia packages that were dependent on<br>
> each<br>
> > other.<br>
> > - kmod-nvidia-340xx-4.18.0-147.el8.x86_64.x86_64<br>
> > - xorg-x11-drv-nvidia-340xx.x86_64<br>
> > - xorg-x11-drv-nvidia-340xx-libs.x86_64<br>
> > All removed.<br>
> ><br>
> > I rebooted, removed the grub parameters that the install added:<br>
> > - nouveau.modeset=0 rd.driver.blacklist=nouvea video=vesa:off<br>
> > ...and hit F10 to boot.<br>
> ><br>
> > ... and it still gets to the "Please enter passphrase" prompt and<br>
> the<br>
> > keyboard no longer works.<br>
> ><br>
> > Any idea why the ELRepo Nvidia driver would cause this behavior?<br>
> ><br>
> > Any idea how I can get it to work again?<br>
> ><br>
> ><br>
> > — Jeremy<br>
> ><br>
> <br>
> Hi Jeremy,<br>
> <br>
> I wonder if you have an issue similar to described in this bug report:<br>
> <br>
> <a href="https://elrepo.org/bugs/view.php?id=496" rel="noreferrer" target="_blank">https://elrepo.org/bugs/view.php?id=496</a><br>
> <br>
> <br>
> _______________________________________________<br>
> elrepo mailing list<br>
> <a href="mailto:elrepo@lists.elrepo.org" target="_blank">elrepo@lists.elrepo.org</a> <mailto:<a href="mailto:elrepo@lists.elrepo.org" target="_blank">elrepo@lists.elrepo.org</a>><br>
> <a href="http://lists.elrepo.org/mailman/listinfo/elrepo" rel="noreferrer" target="_blank">http://lists.elrepo.org/mailman/listinfo/elrepo</a><br>
> <br>
> <br>
> _______________________________________________<br>
> elrepo mailing list<br>
> <a href="mailto:elrepo@lists.elrepo.org" target="_blank">elrepo@lists.elrepo.org</a><br>
> <a href="http://lists.elrepo.org/mailman/listinfo/elrepo" rel="noreferrer" target="_blank">http://lists.elrepo.org/mailman/listinfo/elrepo</a><br>
> <br>
<br>
_______________________________________________<br>
elrepo mailing list<br>
<a href="mailto:elrepo@lists.elrepo.org" target="_blank">elrepo@lists.elrepo.org</a><br>
<a href="http://lists.elrepo.org/mailman/listinfo/elrepo" rel="noreferrer" target="_blank">http://lists.elrepo.org/mailman/listinfo/elrepo</a><br>
</blockquote></div>
</blockquote></div>