I solved the problem with setting the display resolution in X.

Thanks for the help Matt.


Everything is working well now, except I noticed a problem in grub:

When the grub menu comes up during boot, the keyboard is unresponsive.

I am using an Acer model KU-0833 USB keyboard.

It's very cheap and I imagine very common.


I noticed previously, when grub would always go to command mode, that grub was probably reading the keyboard in polled mode, because the characters echoed on the screen would often get out of sync with the keys being typed.  My remedy was to unplug/replug the keyboard before typing the very first character.

If grub command mode is indeed reading the keyboard in polled mode, maybe the grub menu reads it that way too.  However, I would expect at least some response after hitting lots of keys, like up-arrow, down-arrow, and 'c' multiple times.

This problem happens when booting from power-off, or when rebooting (shutdown -r).

My computer has USB 3.2 Gen 1 and USB 3.2 Gen 2 ports.  The problem happens with either type of port.

Any suggestions would be appreciated.
 

Best regards,

Dave

On Wednesday, July 15, 2020, 01:00:35 AM CDT, david mccooey <dmccooey@att.net> wrote:


Hi Matt,

I started from scratch (mkfs.ext4 on my file systems) and installed using the updated-iso, which gives me the 5.4.49 kernel.

I named the kernel /boot/vmlinuz-5.4.49, and grub works now.

Thanks for the help with that.


To install the nvidia driver, I did the following:

# cd /usr/ports/opt/nvidia

# pkgmk -d -i

It succeeded, and I am able to start X, but the display resolution is like it was last time, probably 1024x768.

When I used Nvidia's installer on the 4.19.48 kernel, maybe it ran nvidia-xconfig or nvidia-settings, which set the display resolution.

Best regards,

Dave

On Tuesday, July 14, 2020, 01:18:54 AM CDT, Matt Housh <jaeger@crux.ninja> wrote:


On 2020-07-13 21:06, david mccooey wrote:

> One of the files downloaded was /usr/ports/core/glibc/linux-4.19.24.tar.gz.
>
> This "pkgmk" appears to have compiled glibc with the 4.19.24 kernel
> header files.
>
> How do I make it use the 5.4.49 kernel header files?
>
> The version "4.29.24" comes from the "source" line in the Pkginfo file.
>
> Should I edit that line?

Dave,

You should not do this. You should leave the glibc package alone unless
you REALLY want to recompile everything on your system. The kernel
headers against which glibc is compiled do NOT need to match your
running kernel at all. If you DO change glibc, though, you should
recompile everything else installed to match, otherwise you're inviting
instability. I would not recommend this level of effort at all.

The only real link between your kernel and glibc in this case is the
line which reads '--enable-kernel=4.9'. This configures glibc to be able
to work with a 4.9 *or higher* version kernel. You do not need to change
this or update the headers in the glibc port to use a newer kernel.

Regards,
Matt

_______________________________________________
CRUX mailing list
CRUX@lists.crux.nu
https://lists.crux.nu/mailman/listinfo/crux
_______________________________________________
CRUX mailing list
CRUX@lists.crux.nu
https://lists.crux.nu/mailman/listinfo/crux