I did not see a kernel log. I looked at dmesg and didn't discern anything there. I installed kdump and it locked up my computer, so I had to chroot in and uninstall it. Dracut could not create the initrd file with kernel 5.17.4-1 either, so the problem isn't with the kernel, it's probably with Dracut. Also, there should be a /var/log/dracut.log or /tmp/dracut.log file and there isn't.