Compile kernel from source
Ralf Mardorf
kde.lists at yahoo.com
Thu Jan 5 05:28:46 UTC 2023
On Wed, 2023-01-04 at 17:10 -0500, Paul Smith wrote:
> On Wed, 2023-01-04 at 17:01 -0500, Jerry Geis wrote:
> > # update-initramfs -u -k 6.2-rc2
> ^^^^^^^
> > depmod: ERROR: could not open directory /lib/modules/6.2-rc2: No such file or directory
> ^^^^^^^
> But:
>
> > # ls -l /lib/modules
> > drwxr-xr-x 3 root root 4096 Jan 4 14:39 6.2.0-rc2
> ^^^!!^^^^
>
> Seems pretty straightforward to me... one of these things is not like
> the other...
>
> Did you try:
>
> update-initramfs -u -k 6.2.0-rc2
> ^^
> ??
depmode errors not necessarily cause noticeable issues. However, the
discrepancy of 6.2-rc2 vs 6.2.0-rc2 is alarming. IIRC I've never seen
"depmod: FATAL", this is alarming, too.
On Wed, 2023-01-04 at 22:51 +0100, I asked:
> What does "ls -l /boot/" return?
>
> Is the kernel named "6.2-rc2"?
I did not ask to post the output of listing initrd.img, since this
doesn't show the kernel image name.
On Wed, 2023-01-04 at 17:01 -0500, Jerry Geis wrote:
> ls -l /boot/initrd.img*
I second trying to run update-initramfs against 6.2.0-rc2. OTOH
something named initrd.img-6.2.0-rc2 was build.
/lib/modules/6.2.0-rc2/ does link against 6.2-rc2
On Wed, 2023-01-04 at 17:01 -0500, Jerry Geis wrote:
> ls -l /lib/modules/6.2.0-rc2/
> lrwxrwxrwx 1 root root 54 Jan 4 14:38 source ->
> /home/silentm/linux-6.2/linux-6.2-rc2
Again, I'm not familiar with update-initramfs, but since /lib/modules is
not named 6.2-rc2, but is named 6.2.0-rc2, the .0 might matter. I still
wonder how initrd.img-6.2.0-rc2 was build.
More information about the ubuntu-users
mailing list