<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&#39;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&#39;t work. So as of right now the ELRepo Nvidia driver is <u>not</u> installed. I figured I&#39;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&#39;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 &lt;<a href="mailto:oceanjeremy@gmail.com">oceanjeremy@gmail.com</a>&gt; 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&#39;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 &quot;Unable to find the kernel source tree for the currently running kernel&quot; error — even though I made absolutely sure that kernel-headers and kernel-devel 100% match my kernel.</div><div><br></div><div>You asked &quot;<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?&quot; And the answer is I have no idea! I&#39;ve only been using Linux for two months, and that was on a VPS I&#39;m running. I&#39;ve only had it running on a physical machine for a couple weeks. I&#39;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&#39;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&#39;t access the machine at all, I couldn&#39;t even reinstall CentOS if I wanted to. Let me get through this challenge, if I haven&#39;t completely fried the hardware, and I&#39;ll come back to you once I&#39;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 &lt;<a href="mailto:phil@elrepo.org" target="_blank">phil@elrepo.org</a>&gt; 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&#39;t have any answers for you.<br>
<br>
I assume you&#39;ve tried unplugging and re-plugging in the (USB?) keyboard <br>
to see if it&#39;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&#39;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>
&gt; Thanks for the quick response Phil!<br>
&gt; <br>
&gt; Unfortunately it&#39;s not at all the same as <br>
&gt; <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>
&gt; report while searching for answers before coming to the mailing list.)<br>
&gt; <br>
&gt; 1. Bug reporter says, &quot;After installing kmod-nvidia I only get few lines <br>
&gt; of text during boot: hid-generic: usage index exceeded hid-generic: item <br>
&gt; 0 2 2 2 parsing failed&quot; ... The bug reporter says his boot is <br>
&gt; interrupted *before* he gets the passphrase prompt. I don&#39;t get these <br>
&gt; lines of text, and I get a normal boot right up until it needs input <br>
&gt; from me. It boots like normal, it just doesn&#39;t recognize keyboard input.<br>
&gt; <br>
&gt; 2. Bug reporter says &quot;The cursor stays still after this and boot won&#39;t <br>
&gt; continue.&quot; My cursor does not stay still; it blinks. It just doesn&#39;t <br>
&gt; respond to the keyboard input. Again, if I plug in a USB drive the <br>
&gt; system reads it and spits it information about ths USB drive. The system <br>
&gt; *isn&#39;t* frozen. It just doesn&#39;t respond to the keyboard. Again, my caps <br>
&gt; lock key doesn&#39;t turn the light on and off (which it does even in the <br>
&gt; grub boot menu). The keyboard just stops working.<br>
&gt; <br>
&gt; 2. There is no rhgb quiet parameter in my grub2 settings. Never has <br>
&gt; been. I have always gone to my luks passphrase in text format. This <br>
&gt; isn&#39;t the problem.<br>
&gt; <br>
&gt; The problem is with the system recognizing keyboard input (in that it <br>
&gt; doesn&#39;t). And it started the second I installed the Nvidia driver.<br>
&gt; <br>
&gt; <br>
&gt; — Jeremy<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; On Fri, Jun 12, 2020 at 3:08 PM Phil Perry &lt;<a href="mailto:phil@elrepo.org" target="_blank">phil@elrepo.org</a> <br>
&gt; &lt;mailto:<a href="mailto:phil@elrepo.org" target="_blank">phil@elrepo.org</a>&gt;&gt; wrote:<br>
&gt; <br>
&gt;     On 12/06/2020 19:00, Jeremy Yocum wrote:<br>
&gt;      &gt; Hello ELRepo list—<br>
&gt;      &gt;<br>
&gt;      &gt; This problem started immediately after installing the ELRepo Nvidia<br>
&gt;      &gt; driver, so I&#39;m hoping one of you can help me.<br>
&gt;      &gt;<br>
&gt;      &gt; I followed the instructions for installing the ELRepo Nvidia<br>
&gt;     driver for<br>
&gt;      &gt; 340xx. Rebooted my machine, and from that moment on my keyboard<br>
&gt;     stops<br>
&gt;      &gt; functioning as soon as I leave the GRUB menu.<br>
&gt;      &gt;<br>
&gt;      &gt; Everything appears to boot correctly, but when it reaches &quot;Please<br>
&gt;     enter<br>
&gt;      &gt; passphrase for disk TOSHIBA_MK5065GSXF<br>
&gt;      &gt; (luks-long-volumename-etc-etc-etc)!:&quot; the cursor just blinks. The<br>
&gt;      &gt; keyboard is unresponsive. The caps lock light does not come on<br>
&gt;     when I<br>
&gt;      &gt; press caps lock. No number of key combinations register anything.<br>
&gt;     If I<br>
&gt;      &gt; plug in a USB drive at this time the screen displays &quot;New USB device<br>
&gt;      &gt; found [etc].&quot; So the system is alive and working, I just can&#39;t<br>
&gt;     use the<br>
&gt;      &gt; keyboard to communicate with it.<br>
&gt;      &gt;<br>
&gt;      &gt; I rebooted a few times, same issue over and over again.<br>
&gt;      &gt;<br>
&gt;      &gt; I rebooted into recovery mode from an install ISO and couldn&#39;t find<br>
&gt;      &gt; anything suspicious (to me) in the logs. So I figured I&#39;d just<br>
&gt;     undo the<br>
&gt;      &gt; only thing I&#39;d done since the last time the keyboard worked: I<br>
&gt;      &gt; uninstalled all the ELRepo Nvidia packages that were dependent on<br>
&gt;     each<br>
&gt;      &gt; other.<br>
&gt;      &gt; - kmod-nvidia-340xx-4.18.0-147.el8.x86_64.x86_64<br>
&gt;      &gt; - xorg-x11-drv-nvidia-340xx.x86_64<br>
&gt;      &gt; - xorg-x11-drv-nvidia-340xx-libs.x86_64<br>
&gt;      &gt; All removed.<br>
&gt;      &gt;<br>
&gt;      &gt; I rebooted, removed the grub parameters that the install added:<br>
&gt;      &gt; - nouveau.modeset=0 rd.driver.blacklist=nouvea video=vesa:off<br>
&gt;      &gt; ...and hit F10 to boot.<br>
&gt;      &gt;<br>
&gt;      &gt; ... and it still gets to the &quot;Please enter passphrase&quot; prompt and<br>
&gt;     the<br>
&gt;      &gt; keyboard no longer works.<br>
&gt;      &gt;<br>
&gt;      &gt; Any idea why the ELRepo Nvidia driver would cause this behavior?<br>
&gt;      &gt;<br>
&gt;      &gt; Any idea how I can get it to work again?<br>
&gt;      &gt;<br>
&gt;      &gt;<br>
&gt;      &gt; — Jeremy<br>
&gt;      &gt;<br>
&gt; <br>
&gt;     Hi Jeremy,<br>
&gt; <br>
&gt;     I wonder if you have an issue similar to described in this bug report:<br>
&gt; <br>
&gt;     <a href="https://elrepo.org/bugs/view.php?id=496" rel="noreferrer" target="_blank">https://elrepo.org/bugs/view.php?id=496</a><br>
&gt; <br>
&gt; <br>
&gt;     _______________________________________________<br>
&gt;     elrepo mailing list<br>
&gt;     <a href="mailto:elrepo@lists.elrepo.org" target="_blank">elrepo@lists.elrepo.org</a> &lt;mailto:<a href="mailto:elrepo@lists.elrepo.org" target="_blank">elrepo@lists.elrepo.org</a>&gt;<br>
&gt;     <a href="http://lists.elrepo.org/mailman/listinfo/elrepo" rel="noreferrer" target="_blank">http://lists.elrepo.org/mailman/listinfo/elrepo</a><br>
&gt; <br>
&gt; <br>
&gt; _______________________________________________<br>
&gt; elrepo mailing list<br>
&gt; <a href="mailto:elrepo@lists.elrepo.org" target="_blank">elrepo@lists.elrepo.org</a><br>
&gt; <a href="http://lists.elrepo.org/mailman/listinfo/elrepo" rel="noreferrer" target="_blank">http://lists.elrepo.org/mailman/listinfo/elrepo</a><br>
&gt; <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>