You are not logged in.

#1 2023-12-12 09:38:18

san2222
Member
Registered: 2023-07-03
Posts: 37

Downgrading help [SOLVED]

Hi, due to WiFI issues with kernel 6.6.5, I wish to downgrade to 6.6.3. 

The command "ls -al |grep linux | grep -v sig"  for pacman cache lists the below:

rw-r--r-- 1 root root   1197542 Nov  8 02:30 archlinux-keyring-20231107-1-any.pkg.tar.zst
-rw-r--r-- 1 root root   1201780 Nov 13 14:50 archlinux-keyring-20231113-1-any.pkg.tar.zst
-rw-r--r-- 1 root root   1206263 Nov 30 14:07 archlinux-keyring-20231130-1-any.pkg.tar.zst
-rw-r--r-- 1 root root   1208521 Dec  7 21:29 archlinux-keyring-20231207-1-any.pkg.tar.zst
-rw-r--r-- 1 root root 134872982 Nov  8 22:32 linux-6.6.1.arch1-1-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 134873451 Nov 21 06:42 linux-6.6.2.arch1-1-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 134985634 Nov 29 12:42 linux-6.6.3.arch1-1-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 135044461 Dec  8 23:33 linux-6.6.5.arch1-1-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root   1262907 Jul 30 20:39 linux-api-headers-6.4-1-any.pkg.tar.zst
-rw-r--r-- 1 root root 169907787 Nov  1 11:03 linux-firmware-20231030.2b304bfe-1-any.pkg.tar.zst
-rw-r--r-- 1 root root 208498019 Nov 22 21:38 linux-firmware-20231110.74158e7a-1-any.pkg.tar.zst
-rw-r--r-- 1 root root     32930 Nov  1 11:03 linux-firmware-whence-20231030.2b304bfe-1-any.pkg.tar.zst
-rw-r--r-- 1 root root     33268 Nov 22 21:39 linux-firmware-whence-20231110.74158e7a-1-any.pkg.tar.zst
-rw-r--r-- 1 root root  26012738 Nov  8 22:32 linux-headers-6.6.1.arch1-1-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root  25993729 Nov 21 06:42 linux-headers-6.6.2.arch1-1-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root  26018480 Nov 29 12:42 linux-headers-6.6.3.arch1-1-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root  26032529 Dec  8 23:33 linux-headers-6.6.5.arch1-1-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root   1471526 Sep  2 15:54 syslinux-6.04.pre2.r11.gbf6db5b4-4-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root   2837413 Nov  4 05:04 util-linux-2.39.2-2-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root   2904975 Dec  5 02:23 util-linux-2.39.3-1-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root    456623 Nov  4 05:04 util-linux-libs-2.39.2-2-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root    456684 Dec  5 02:23 util-linux-libs-2.39.3-1-x86_64.pkg.tar.zst

As per Arch wiki do I have to just do the following?

pacman -U file://linux-6.6.3.arch1-1-x86_64.pkg.tar.zst file://linux-headers-6.6.3.arch1-1-x86_64.pkg.tar.zst

Also I am confused by "downgrade at least linux, linux-headers and any kernel module" instruction. How do I check if any kernel modules need downgrading as well?

Thanks

Last edited by san2222 (2023-12-12 14:30:44)

Offline

#2 2023-12-12 10:59:25

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,164

Re: Downgrading help [SOLVED]

Are you using seperate kernel modules? E.g. nvidia/virtualbox or so? if not you can ignore that information.

FWIW the fix for the wifi issue is in linux 6.6.6 you could also just upgrade assuming you can get a connection.

Online

#3 2023-12-12 12:57:46

san2222
Member
Registered: 2023-07-03
Posts: 37

Re: Downgrading help [SOLVED]

I have a very basic idea of linux. Sorry. I had installed a driver for my wifi adapter. Can this be treated as a kernel module?

modinfo 88XXau  gives me this:

filename:       /lib/modules/5.15.0-91-generic/updates/dkms/88XXau.ko
import_ns:      VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver
version:        v5.6.4.2_35491.20191025
author:         Realtek Semiconductor Corp.
description:    Realtek Wireless Lan Driver

Thank you.

Offline

#4 2023-12-12 13:11:42

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,164

Re: Downgrading help [SOLVED]

It counts, but since it's a DKMS module it will be automatically rebuilt once you down-/upgrade the kernel and the kernel headers.

Last edited by V1del (2023-12-12 13:12:04)

Online

#5 2023-12-12 13:27:17

san2222
Member
Registered: 2023-07-03
Posts: 37

Re: Downgrading help [SOLVED]

I will come back to let you know how the process went.

On a side note, I tried connecting through USB tethering but it does not seem to connect. So that's the reason for me to downgrade rather than an upgrade.

Thanks

Offline

#6 2023-12-12 13:31:52

san2222
Member
Registered: 2023-07-03
Posts: 37

Re: Downgrading help [SOLVED]

Also, I am having an AMD card not Nvidia. Will that matter? lsmod gives the following in Mint, so I guess it might be somewhat same for Arch.

Module                  Size  Used by
binfmt_misc            24576  1
zfs                  4112384  6
zunicode              348160  1 zfs
zzstd                 491520  1 zfs
zlua                  163840  1 zfs
zavl                   16384  1 zfs
icp                   311296  1 zfs
zcommon               106496  2 zfs,icp
znvpair                98304  2 zfs,zcommon
spl                   118784  6 zfs,icp,zzstd,znvpair,zcommon,zavl
nls_iso8859_1          16384  1
snd_hda_codec_realtek   159744  1
snd_hda_codec_generic   102400  1 snd_hda_codec_realtek
ledtrig_audio          16384  1 snd_hda_codec_generic
snd_hda_codec_hdmi     77824  1
snd_hda_intel          53248  3
snd_intel_dspcfg       28672  1 snd_hda_intel
snd_intel_sdw_acpi     20480  1 snd_intel_dspcfg
snd_hda_codec         163840  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core          110592  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
intel_rapl_msr         20480  0
intel_rapl_common      40960  1 intel_rapl_msr
snd_hwdep              16384  1 snd_hda_codec
snd_pcm               143360  4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_seq_midi           20480  0
88XXau               2502656  0
snd_seq_midi_event     16384  1 snd_seq_midi
snd_rawmidi            49152  1 snd_seq_midi
edac_mce_amd           36864  0
cfg80211              974848  1 88XXau
snd_seq                77824  2 snd_seq_midi,snd_seq_midi_event
joydev                 32768  0
snd_seq_device         16384  3 snd_seq,snd_seq_midi,snd_rawmidi
input_leds             16384  0
snd_timer              40960  2 snd_seq,snd_pcm
eeepc_wmi              16384  0
ccp                   106496  0
snd                   106496  17 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi
kvm                  1032192  0
k10temp                16384  0
soundcore              16384  1 snd
wmi_bmof               16384  0
rapl                   20480  0
mac_hid                16384  0
sch_fq_codel           20480  5
msr                    16384  0
parport_pc             49152  0
ppdev                  24576  0
lp                     28672  0
parport                69632  3 parport_pc,lp,ppdev
efi_pstore             16384  0
ip_tables              32768  0
x_tables               53248  1 ip_tables
autofs4                49152  2
btrfs                1560576  0
blake2b_generic        20480  0
xor                    24576  1 btrfs
zstd_compress         229376  1 btrfs
raid6_pq              122880  1 btrfs
libcrc32c              16384  1 btrfs
dm_mirror              24576  0
dm_region_hash         24576  1 dm_mirror
dm_log                 20480  2 dm_region_hash,dm_mirror
ib_uverbs             163840  2
ib_core               393216  1 ib_uverbs
amdgpu              13578240  28
amddrm_ttm_helper      16384  1 amdgpu
amdttm                 94208  2 amdgpu,amddrm_ttm_helper
amdxcp                 16384  1 amdgpu
iommu_v2               24576  1 amdgpu
amddrm_buddy           20480  1 amdgpu
amd_sched              49152  1 amdgpu
hid_generic            16384  0
amdkcl                 32768  3 amd_sched,amdttm,amdgpu
i2c_algo_bit           16384  1 amdgpu
drm_kms_helper        311296  3 amdgpu
usbhid                 65536  0
syscopyarea            16384  1 drm_kms_helper
sysfillrect            20480  1 drm_kms_helper
hid                   151552  2 usbhid,hid_generic
sysimgblt              16384  1 drm_kms_helper
fb_sys_fops            16384  1 drm_kms_helper
mfd_aaeon              16384  0
cec                    61440  1 drm_kms_helper
asus_wmi               45056  2 eeepc_wmi,mfd_aaeon
rc_core                65536  1 cec
sparse_keymap          16384  1 asus_wmi
video                  65536  1 asus_wmi
crct10dif_pclmul       16384  1
crc32_pclmul           16384  0
ghash_clmulni_intel    16384  0
platform_profile       16384  1 asus_wmi
aesni_intel           376832  0
crypto_simd            16384  1 aesni_intel
cryptd                 24576  2 crypto_simd,ghash_clmulni_intel
i2c_piix4              32768  0
drm                   622592  23 drm_kms_helper,amd_sched,amdttm,amdgpu,amddrm_buddy,amdkcl,amddrm_ttm_helper,amdxcp
ahci                   45056  2
xhci_pci               24576  0
gpio_amdpt             20480  0
libahci                45056  1 ahci
xhci_pci_renesas       20480  1 xhci_pci
wmi                    32768  3 asus_wmi,wmi_bmof,mfd_aaeon
gpio_generic           20480  1 gpio_amdpt

Offline

#7 2023-12-12 14:05:59

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,164

Re: Downgrading help [SOLVED]

No it won't, amdgpu kernel modules are part of the kernel and will be inherently downgraded as well. It matters whether you installed some external kernel module knowingly and intentionally. Case in point ZFS on Arch will either be a external module or an entirely different kernel. If it's an external module and you installed the package with a -dkms suffix then the necessary module rebuild will happen for the packages you intend to downgrade.

It's only really relevant if you are using external kernel modules but did not install them as a DKMS package.

Online

#8 2023-12-12 14:29:23

san2222
Member
Registered: 2023-07-03
Posts: 37

Re: Downgrading help [SOLVED]

Thank you V1del, I successfully downgraded and then updated to 6.6.6.

Offline

Board footer

Powered by FluxBB