<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Kernel on Kenno&#39;s Open Note</title>
    <link>https://blog.khmersite.net/tags/kernel/</link>
    <description>Recent content in Kernel on Kenno&#39;s Open Note</description>
    <image>
      <title>Kenno&#39;s Open Note</title>
      <url>https://blog.khmersite.net/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</url>
      <link>https://blog.khmersite.net/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</link>
    </image>
    <generator>Hugo -- 0.154.0</generator>
    <language>en</language>
    <lastBuildDate>Wed, 21 Aug 2024 21:42:21 +1000</lastBuildDate>
    <atom:link href="https://blog.khmersite.net/tags/kernel/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>How to rebuild initramfs on Fedora</title>
      <link>https://blog.khmersite.net/p/how-to-rebuild-initramfs-on-fedora/</link>
      <pubDate>Wed, 21 Aug 2024 21:42:21 +1000</pubDate>
      <guid>https://blog.khmersite.net/p/how-to-rebuild-initramfs-on-fedora/</guid>
      <description>&lt;p&gt;Earlier today while performing the update on my Fedora desktop, I encountered an issue with the new kernel update. As a result,
the initramfs was not generated for the new installed kernel. So, I&amp;rsquo;ll share with you how to rebuild or generate the initramfs while fixing real issue on my Fedora workstation.&lt;/p&gt;
&lt;p&gt;First, here is an output showing the source of the issue. It might not be clear of what&amp;rsquo;s going on, but that&amp;rsquo;s okay as it&amp;rsquo;s not the main focus of this blog post.&lt;/p&gt;</description>
    </item>
    <item>
      <title>How to remove old kernels on Void linux</title>
      <link>https://blog.khmersite.net/p/how-to-remove-old-kernels-on-void-linux/</link>
      <pubDate>Sat, 10 Jul 2021 21:06:03 +1000</pubDate>
      <guid>https://blog.khmersite.net/p/how-to-remove-old-kernels-on-void-linux/</guid>
      <description>&lt;p&gt;I have a Void linux VM which only gets turned on once in every month. Today, when I booted up and updated the packages on this VM, I noticed that there are many old kernels installed. As a seasonal Void user, I had no clue on how to remove older kernels.&lt;/p&gt;
&lt;p&gt;Fortunately, a quick Google search pointed me to a video: &lt;a href=&#34;https://www.youtube.com/watch?v=8b_voOn3rQM&#34;&gt;VOID Linux: Removing old kernels with vkpurge&lt;/a&gt;. Basically, Void comes with a pre-installed utility program called &lt;code&gt;vkpurge&lt;/code&gt;. (&lt;code&gt;man vkpurge&lt;/code&gt; for more info.)&lt;/p&gt;</description>
    </item>
    <item>
      <title>Pairing Bluetooth Mouse on Gentoo</title>
      <link>https://blog.khmersite.net/p/pairing-bluetooth-mouse-on-gentoo/</link>
      <pubDate>Sun, 13 Sep 2020 13:27:58 +1000</pubDate>
      <guid>https://blog.khmersite.net/p/pairing-bluetooth-mouse-on-gentoo/</guid>
      <description>&lt;p&gt;Just a few a days ago, I wrote a blog post about &lt;a href=&#34;https://blog.khmersite.net/2020/09/pairing-bluetooth-mouse-on-command-line&#34;&gt;Pairing Bluetooth Mouse on Command Line&lt;/a&gt; on a Fedora laptop. So why do I need to write another post about doing the same thing on Gentoo? Well, as it turned out, I need a bit more than just turning on the &lt;strong&gt;bluetooth&lt;/strong&gt; service and pairing the mouse. My Gentoo&amp;rsquo;s installation is very minimal, and I think this gives me an excuse to document on how I&amp;rsquo;d solve or get this working on Gentoo.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Remove Kernels on Fedora</title>
      <link>https://blog.khmersite.net/p/remove-kernels-on-fedora/</link>
      <pubDate>Sun, 26 Apr 2020 00:11:01 +1000</pubDate>
      <guid>https://blog.khmersite.net/p/remove-kernels-on-fedora/</guid>
      <description>&lt;p&gt;I&amp;rsquo;m still running Fedora 31 on my main desktop though Fedora 32 beta has been out for a while. The only reason that stops me from jumping to F32 now is because ZFS 0.8.3 is not compatible with the kernel 5.6.* on F32. Rumor has it, ZFS 0.8.4 will support kernel 5.6.&lt;/p&gt;
&lt;p&gt;Tonight, while doing the system update with &lt;code&gt;sudo dnf update -y&lt;/code&gt; on F31 desktop, I noticed that the kernel for F31 is now &lt;code&gt;kernel-5.6.6-200.fc31.x86_64&lt;/code&gt;. Wait, what? I didn&amp;rsquo;t interrupt the update process, and let it run till finish.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Gentoo Luks Fails Kernel 5.6</title>
      <link>https://blog.khmersite.net/p/gentoo-luks-fails-kernel-5-6/</link>
      <pubDate>Sat, 11 Apr 2020 01:05:06 +1000</pubDate>
      <guid>https://blog.khmersite.net/p/gentoo-luks-fails-kernel-5-6/</guid>
      <description>&lt;p&gt;My Gentoo based Linux laptop which is still running the older kernel 5.3.15. A short while back, I had a failed attempt to upgrade the kernel to 5.4.2 as the disk which encrypted with &lt;a href=&#34;https://wiki.gentoo.org/wiki/Dm-crypt&#34;&gt;dm-crypt&lt;/a&gt; couldn&amp;rsquo;t be decrypted on boot. Since the older kernel 5.3.15 was working fine and free time was I what I lacked of, it seemed logical to just not doing anything about it.&lt;/p&gt;
&lt;p&gt;Today while updating all the packages on my Gentoo laptop, I notice there was a newer kernel available: 5.6.3. So let&amp;rsquo;s try to install this newest kernel again and see if the issue with Luks/dm-crypt still persists.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Upgrading Kernel Issues and Fixes on Gentoo</title>
      <link>https://blog.khmersite.net/p/upgrading-kernel-issues-and-fixes-on-gentoo/</link>
      <pubDate>Tue, 06 Aug 2019 23:33:03 +1000</pubDate>
      <guid>https://blog.khmersite.net/p/upgrading-kernel-issues-and-fixes-on-gentoo/</guid>
      <description>&lt;p&gt;Today I decided to upgrade the kernel (gentoo-sources) from 4.19.64 to 5.2.6 on my old ThinkPad X220. Apart from a few hiccups, everything went quite smoothly. I already have a blog post about &lt;a href=&#34;https://blog.khmersite.net/p/upgrade-kernel-on-gentoo/&#34;&gt;upgrading the kernel on Gentoo&lt;/a&gt;, so I&amp;rsquo;ll skip many things here.&lt;/p&gt;
&lt;p&gt;First, ensure the &lt;code&gt;sys-kernel/gentoo-sources-5.2.6&lt;/code&gt; is installed:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-console&#34; data-lang=&#34;console&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;# emerge -av &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;sys-kernel/gentoo-sources-5.26
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;After the above package installed, we should be able to list it:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-console&#34; data-lang=&#34;console&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;~ ❯❯❯ eselect kernel list
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Available kernel symlink targets:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  [1]   linux-4.14.63-gentoo-r1
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  [2]   linux-4.14.65-gentoo
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  [3]   linux-4.14.78-gentoo
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  [4]   linux-4.14.83-gentoo
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  [5]   linux-4.19.27-gentoo-r1
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  [6]   linux-4.19.44-gentoo
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  [7]   linux-4.19.52-gentoo
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  [8]   linux-4.19.57-gentoo
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  [9]   linux-4.19.64-gentoo *
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  [10]  linux-5.2.6-gentoo
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Let&amp;rsquo;s select &lt;code&gt;linux-5.2.6-gentoo&lt;/code&gt; as the version we&amp;rsquo;d like to switch to:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Upgrade Kernel on Gentoo</title>
      <link>https://blog.khmersite.net/p/upgrade-kernel-on-gentoo/</link>
      <pubDate>Mon, 14 Jan 2019 20:17:30 +1100</pubDate>
      <guid>https://blog.khmersite.net/p/upgrade-kernel-on-gentoo/</guid>
      <description>&lt;p&gt;Today I&amp;rsquo;m going to document how I built and installed kernel &lt;code&gt;4.20.1&lt;/code&gt; a Gentoo laptop, Dell XPS 15 9570.&lt;/p&gt;
&lt;p&gt;This blog post is not intended to be a tutorial or even a guide. I&amp;rsquo;m very new to Gentoo, and have been spoiled by Ubuntu and Fedora for not needing to compile my own kernel. :)&lt;/p&gt;
&lt;p&gt;Anyhow, it&amp;rsquo;s very likely that I&amp;rsquo;ll need to compile the kernel again on Gentoo, and therefore I think having some sorts of documents is better than nothing at all.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Kernel upgrading breaks my SuSE box</title>
      <link>https://blog.khmersite.net/p/upgrading-linux-kernel-break-my-suse/</link>
      <pubDate>Thu, 02 Nov 2006 07:20:47 +0000</pubDate>
      <guid>https://blog.khmersite.net/p/upgrading-linux-kernel-break-my-suse/</guid>
      <description>&lt;p&gt;The other day, my SuSE 10.1 notifies that there were updates available including bug fixes and new kernel. I thought it might be convenient if I just click on select all, and update button. So, I did that and went out to school. When I came back home, the update was nicely done. There was no indication to ask me to restart the computer (as most other OSes do), but I thought it’d be good restart it anyway.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
