Compile kernel from source

Jerry Geis jerry.geis at gmail.com
Wed Jan 4 22:01:14 UTC 2023


On Wed, Jan 4, 2023 at 4:52 PM Ralf Mardorf via ubuntu-users <
ubuntu-users at lists.ubuntu.com> wrote:

> What does "update-initramfs -k 6.2-rc2" return? Is the exit status "0"?
>
> What does "ls -l /boot/" return?
>
> Is the kernel named "6.2-rc2"?
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



 ls -l /boot/initrd.img*
lrwxrwxrwx 1 root root        20 Jan  4 11:17 /boot/initrd.img ->
initrd.img-6.2.0-rc2
-rw-r--r-- 1 root root 113108696 Dec  5 11:01
/boot/initrd.img-5.15.0-53-generic
-rw-r--r-- 1 root root 113215849 Dec 19 11:59
/boot/initrd.img-5.15.0-56-generic
-rw-r--r-- 1 root root 801983208 Jan  4 14:39 /boot/initrd.img-6.2.0-rc2


 update-initramfs -u -k 6.2-rc2
update-initramfs: Generating /boot/initrd.img-6.2-rc2
W: missing /lib/modules/6.2-rc2
W: Ensure all necessary drivers are built into the linux image!
depmod: ERROR: could not open directory /lib/modules/6.2-rc2: No such file
or directory
depmod: FATAL: could not search modules: No such file or directory
cat: /var/tmp/mkinitramfs_nfgJRk/lib/modules/6.2-rc2/modules.builtin: No
such file or directory
W: Can't find modules.builtin.modinfo (for locating built-in drivers'
firmware, supported in Linux >=5.2)
depmod: WARNING: could not open modules.order at
/var/tmp/mkinitramfs_nfgJRk/lib/modules/6.2-rc2: No such file or directory
depmod: WARNING: could not open modules.builtin at
/var/tmp/mkinitramfs_nfgJRk/lib/modules/6.2-rc2: No such file or directory

ls -l /lib/modules
total 12
drwxr-xr-x 5 root root 4096 Nov 21 08:48 5.15.0-53-generic
drwxr-xr-x 5 root root 4096 Dec  2 06:20 5.15.0-56-generic
drwxr-xr-x 3 root root 4096 Jan  4 14:39 6.2.0-rc2

 ls -l /lib/modules/6.2.0-rc2/
total 6444
lrwxrwxrwx  1 root root      54 Jan  4 11:08 build ->
/home/silentm/linux-6.2/linux-6.2-rc2
drwxr-xr-x 13 root root    4096 Jan  4 14:39 kernel
-rw-r--r--  1 root root 1540223 Jan  4 14:39 modules.alias
-rw-r--r--  1 root root 1509842 Jan  4 14:39 modules.alias.bin
-rw-r--r--  1 root root   11053 Jan  4 14:38 modules.builtin
-rw-r--r--  1 root root   27100 Jan  4 14:39 modules.builtin.alias.bin
-rw-r--r--  1 root root   13415 Jan  4 14:39 modules.builtin.bin
-rw-r--r--  1 root root   88255 Jan  4 14:38 modules.builtin.modinfo
-rw-r--r--  1 root root  704111 Jan  4 14:39 modules.dep
-rw-r--r--  1 root root  964490 Jan  4 14:39 modules.dep.bin
-rw-r--r--  1 root root     314 Jan  4 14:39 modules.devname
-rw-r--r--  1 root root  239711 Jan  4 14:38 modules.order
-rw-r--r--  1 root root    1611 Jan  4 14:39 modules.softdep
-rw-r--r--  1 root root  662087 Jan  4 14:39 modules.symbols
-rw-r--r--  1 root root  804409 Jan  4 14:39 modules.symbols.bin
lrwxrwxrwx  1 root root      54 Jan  4 14:38 source ->
/home/silentm/linux-6.2/linux-6.2-rc2

yes its 6.2-rc2
Thanks

Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20230104/c28df688/attachment-0001.html>


More information about the ubuntu-users mailing list