View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007228 | Rocky-Linux-9 | kernel | public | 2024-06-17 06:46 | 2024-06-19 06:16 |
Reporter | Tom Siewert | Assigned To | Louis Abel | ||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | aarch64 | OS | Rocky Linux 9 | OS Version | 9.4 |
Summary | 0007228: 64k-dbg kernel installed by default w/ minimal configuration on aarch64 | ||||
Description | We noticed that on Rocky 9.4 aarch64, the 64k kernel is being installed by default when using the netboot ISO/PXE. The DVD image does not seem to have this issue (at least I couldn't reproduce it with it). This was also reported in the forum [1] around the release of 9.4. The problem does not seem to occur with version 9.3. | ||||
Steps To Reproduce | We have used the following kickstart file: ``` ignoredisk --only-use=sda bootloader --append="no_timer_check net.ifnames=0 console=tty1 console=ttyS0,115200n8" --location=mbr --timeout=1 --boot-drive=sda url --url https://download.rockylinux.org/pub/rocky/9/BaseOS/aarch64/os/ repo --name="AppStream" --baseurl=https://download.rockylinux.org/pub/rocky/9/AppStream/aarch64/os text skipx services --disabled="kdump" --enabled="sshd,chronyd" bootloader firewall --disabled selinux --permissive firstboot --disabled lang en_US.UTF-8 keyboard --vckeymap=us --xlayouts='de','us' timezone Etc/UTC --utc network --bootproto=dhcp --device=link --activate zerombr clearpart --all --initlabel part biosboot --fstype=biosboot --size=1 part /boot/efi --fstype="efi" --size=64 part / --fstype="ext4" --size=1500 --grow rootpw redacted #authconfig --enableshadow --passalgo=sha512 reboot %packages @^minimal-environment grub2 kexec-tools python3 rsync libselinux-python3 -biosdevname -iwl*-firmware -geopip* -trousers %end %post --erroronfail # enable fstrim timer ln -s /usr/lib/systemd/system/fstrim.timer /etc/systemd/system/timers.target.wants/fstrim.timer # this is installed by default but we don't need it in virt echo "Removing linux-firmware package." yum -C -y remove linux-firmware # Remove firewalld; it is required to be present for install/image building. echo "Removing firewalld." yum -C -y remove firewalld --setopt="clean_requirements_on_remove=1" # clean up installation logs rm -rf /var/log/yum.log rm -rf /var/lib/yum/* rm -rf /root/install.log rm -rf /root/install.log.syslog rm -rf /root/anaconda-ks.cfg rm -rf /var/log/anaconda* rm -rf /root/anac* sed -i 's/#PermitRootLogin.*/PermitRootLogin yes/' /etc/ssh/sshd_config %end ``` | ||||
Additional Information | [1] https://forums.rockylinux.org/t/arm64-pxe-installation-of-rocky-9-4-installs-un-bootable-kernel/14052/2 | ||||
Tags | No tags attached. | ||||
Thank you for the report. We are aware of the issue. It is a problem with our build system that we're working on addressing. | |
Rocky 9.4 aarch64 is missing a kernel package because arch value for it in the repo metadata says "src" as opposed to "aarch64". The implications of this can be quite broad, however what we see in our case is that when trying to build a rocky 9 system from scratch and try to install the kernel package, we get kernel-64k-debug-core instead (since that also provides "kernel"). Here is how it looks when you query for the kernel package via dnf: ---------------------------------------------------------------------- [root@50f02f38b06b /]# dnf list kernel Last metadata expiration check: 0:06:09 ago on Mon Jun 17 10:50:01 2024. Available Packages kernel.src 5.14.0-427.20.1.el9_4 baseos ---------------------------------------------------------------------- Here's how you can see the problematic metadata in the relevant xml file: $ curl -s https://download.rockylinux.org/pub/rocky/9/BaseOS/aarch64/os/repodata/80aba36a-970c-49c2-a091-8272123cbaba-PRIMARY.xml.gz | gzip -dc | xmllint --format - | grep -A2 '>kernel<' <name>kernel</name> <arch>src</arch> <version epoch="0" ver="5.14.0" rel="427.20.1.el9_4"/> In contrast here is the x86_64 one, which has the correct arch value: $ curl -s https://download.rockylinux.org/pub/rocky/9/BaseOS/x86_64/os/repodata/3f3026da-b3e3-4c7d-9739-68c6fd6a5892-PRIMARY.xml.gz | gzip -dc | xmllint --format - | grep -A2 '>kernel<' <name>kernel</name> <arch>x86_64</arch> <version epoch="0" ver="5.14.0" rel="427.20.1.el9_4"/> |
|
Yes, we are aware that is the issue, which is caused by our build system. We are working on correcting the issue. | |
Fixed with: kernel-5.14.0-427.20.1.el9_4.0.1 | |
Date Modified | Username | Field | Change |
---|---|---|---|
2024-06-17 06:46 | Tom Siewert | New Issue | |
2024-06-17 07:00 | Louis Abel | Assigned To | => Louis Abel |
2024-06-17 07:00 | Louis Abel | Status | new => acknowledged |
2024-06-17 07:00 | Louis Abel | Note Added: 0007525 | |
2024-06-17 11:03 | Yavor Atanasov | Note Added: 0007526 | |
2024-06-17 15:59 | Louis Abel | Note Added: 0007527 | |
2024-06-19 06:16 | Louis Abel | Status | acknowledged => closed |
2024-06-19 06:16 | Louis Abel | Resolution | open => fixed |
2024-06-19 06:16 | Louis Abel | Note Added: 0007566 |