[SOLVED] Odroid-C2 uname -a and pacman -Q linux

Discussion about U-Boot and the kernel.

[SOLVED] Odroid-C2 uname -a and pacman -Q linux

Postby Sagittarius » Tue Sep 28, 2021 8:40 am

Hi and thanks to the devs,

I can not modprobe snd-usb-audio on my Odroid-C2.
I realised that uname -a and pacman -Q linux show different versions:

uname -a:
$this->bbcode_second_pass_code('', 'Linux Odroid-C2 5.11.4-1-ARCH #1 SMP Sun Mar 7 23:46:10 UTC 2021 aarch64 GNU/Linux')

pacman -Q linux:
$this->bbcode_second_pass_code('', 'linux-aarch64 5.14.8-1')

And ls /lib/modules/ gives:
5.14.8-1-ARCH extramodules-5.14-aarch64

but if I invoke # depmod -a --basedir=/usr/lib/modules/5.14.8-1-ARCH/
I get:
$this->bbcode_second_pass_code('', 'depmod: ERROR: could not open directory /usr/lib/modules/5.14.8-1-ARCH//lib/modules/5.11.4-1-ARCH: No such file or directory
depmod: FATAL: could not search modules: No such file or directory')

Reinstalling the kernel by using pacman -S linux-aarch64 does not update module dependencies either.

$this->bbcode_second_pass_code('', '(1/5) Arming ConditionNeedsUpdate...
(2/5) Updating module dependencies...
(3/5) Updating linux-aarch64 module dependencies...
(4/5) Install DKMS modules
(5/5) Updating linux-aarch64 initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux-aarch64.preset: 'default'
-> -k 5.14.8-1-ARCH -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 5.14.8-1-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
==> WARNING: No modules were added to the image. This is probably not what you want.
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-aarch64.preset: 'fallback'
-> -k 5.14.8-1-ARCH -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 5.14.8-1-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: wd719x
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img
==> Image generation successful')

So if someone has an idea how do I fix that I would appreciate.
Last edited by Sagittarius on Sun Oct 03, 2021 10:59 am, edited 2 times in total.
Dockstar / GoFlexNet booting on NFS / Odroid C1+ / Odroid C2
Sagittarius
 
Posts: 61
Joined: Mon Nov 14, 2011 9:21 pm
Location: France

Re: Odroid-C2 uname -a and pacman -Q linux

Postby robg » Tue Sep 28, 2021 2:45 pm

Could you please post the output of `pacman -Qs linux`?
(Btw, code tags, not quote tags, are the preferred way to post commands and outputs.)
robg
 
Posts: 185
Joined: Tue Jan 05, 2021 8:22 am

Re: Odroid-C2 uname -a and pacman -Q linux

Postby Sagittarius » Sun Oct 03, 2021 10:57 am

Thanks for you answer.
It is solved with latest update with kernel 5.14.9-1-ARCH
Dockstar / GoFlexNet booting on NFS / Odroid C1+ / Odroid C2
Sagittarius
 
Posts: 61
Joined: Mon Nov 14, 2011 9:21 pm
Location: France


Return to U-Boot/Kernel

Who is online

Users browsing this forum: No registered users and 4 guests