Debugging current linux-cacule issues

Hey, so as of yesterday or today, problems have arisen such as no audio in Youtube and kernel errors with VirtualBox and a few other things here and there like the splash screen appearing on boot up instead of the two lines showing loading kernel ramdisk and which kernel. I am on Linux-Cacule, so just wondering if something in the kernel update recently was broken?

I have restored an old snapshot where everything is working again so no issues so I don't see posting logs as useful in this situation, but will post terminal output anyway. Thanks

inxi -Faz
System:    Kernel: 5.13.9-2-cacule x86_64 bits: 64 compiler: gcc v: 11.1.0 
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-cacule root=UUID=d705e742-9d27-4001-909a-c8b33abd69ac rw 
rootflags=subvol=@ quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0 
systemd.unified_cgroup_hierarchy=1 resume=UUID=d2c6afb2-b903-4bf2-9889-2eb2819f64fa loglevel=3 
Desktop: KDE Plasma 5.22.4 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux 
base: Arch Linux 
Machine:   Type: Laptop System: ASUSTeK product: X510UA v: 1.0 serial: <filter> 
Mobo: ASUSTeK model: X510UA v: 1.0 serial: <filter> UEFI: American Megatrends v: X510UA.312 date: 04/29/2020 
Battery:   ID-1: BAT0 charge: 12.3 Wh (40.6%) condition: 30.3/42.1 Wh (72.0%) volts: 11.5 min: 11.5 
model: ASUSTeK ASUS Battery type: Li-ion serial: N/A status: Discharging cycles: 390 
CPU:       Info: Dual Core model: Intel Core i7-7500U bits: 64 type: MT MCP arch: Amber/Kaby Lake note: check family: 6 
model-id: 8E (142) stepping: 9 microcode: EA cache: L2: 4 MiB 
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 23199 
Speed: 700 MHz min/max: 400/2700 MHz Core speeds (MHz): 1: 700 2: 700 3: 700 4: 700 
Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
Type: meltdown mitigation: PTI 
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp 
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB filling 
Type: srbds mitigation: Microcode 
Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel HD Graphics 620 vendor: ASUSTeK driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:5916 
class-ID: 0300 
Device-2: IMC Networks VGA UVC WebCam type: USB driver: uvcvideo bus-ID: 1-6:3 chip-ID: 13d3:5a07 class-ID: 0e02 
serial: <filter> 
Display: x11 server: X.Org 1.20.13 compositor: kwin_x11 driver: loaded: intel unloaded: modesetting 
alternate: fbdev,vesa display-ID: :0 screens: 1 
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") s-diag: 582mm (22.9") 
Monitor-1: eDP1 res: 1920x1080 hz: 60 dpi: 143 size: 340x190mm (13.4x7.5") diag: 389mm (15.3") 
OpenGL: renderer: Mesa Intel HD Graphics 620 (KBL GT2) v: 4.6 Mesa 21.1.6 direct render: Yes 
Audio:     Device-1: Intel Sunrise Point-LP HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel alternate: snd_soc_skl 
bus-ID: 00:1f.3 chip-ID: 8086:9d71 class-ID: 0403 
Sound Server-1: ALSA v: k5.13.9-2-cacule running: yes 
Sound Server-2: JACK v: 1.9.19 running: no 
Sound Server-3: PulseAudio v: 15.0 running: no 
Sound Server-4: PipeWire v: 0.3.33 running: yes 
Network:   Device-1: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel port: f040 bus-ID: 02:00.0 chip-ID: 8086:24fd 
class-ID: 0280 
IF: wlp2s0 state: up mac: <filter> 
Bluetooth: Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8 bus-ID: 1-8:4 chip-ID: 8087:0a2b 
class-ID: e001 
Report: bt-adapter ID: hci0 rfk-id: 1 state: down bt-service: enabled,running rfk-block: hardware: no software: yes 
address: <filter> 
Drives:    Local Storage: total: 734.05 GiB used: 60.62 GiB (8.3%) 
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 870 EVO 500GB size: 465.76 GiB block-size: physical: 512 B
logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 1B6Q scheme: GPT
ID-2: /dev/sdb maj-min: 8:16 vendor: Micron model: 1100 MTFDDAV256TBN size: 238.47 GiB block-size: physical: 512 B
logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: A020 scheme: GPT
ID-3: /dev/sdc maj-min: 8:32 type: USB vendor: SanDisk model: Cruzer Force size: 29.81 GiB block-size:
physical: 512 B logical: 512 B type: N/A serial: <filter> rev: 1.00 scheme: MBR
SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition: ID-1: / raw-size: 448.43 GiB size: 448.43 GiB (100.00%) used: 60.62 GiB (13.5%) fs: btrfs dev: /dev/sda2
maj-min: 8:2
ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.45%) used: 563 KiB (0.2%) fs: vfat dev: /dev/sda1 maj-min: 8:1
ID-3: /home raw-size: 448.43 GiB size: 448.43 GiB (100.00%) used: 60.62 GiB (13.5%) fs: btrfs dev: /dev/sda2
maj-min: 8:2
ID-4: /var/log raw-size: 448.43 GiB size: 448.43 GiB (100.00%) used: 60.62 GiB (13.5%) fs: btrfs dev: /dev/sda2
maj-min: 8:2
ID-5: /var/tmp raw-size: 448.43 GiB size: 448.43 GiB (100.00%) used: 60.62 GiB (13.5%) fs: btrfs dev: /dev/sda2
maj-min: 8:2
Swap:      Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 17.07 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/sda3 maj-min: 8:3
ID-2: swap-2 type: zram size: 15.53 GiB used: 0 KiB (0.0%) priority: 100 dev: /dev/zram0
Sensors:   System Temperatures: cpu: 45.0 C mobo: N/A
Fan Speeds (RPM): cpu: 2500
Info:      Processes: 224 Uptime: 6m wakeups: 1 Memory: 15.53 GiB used: 2.51 GiB (16.2%) Init: systemd v: 249 tool: systemctl
Compilers: gcc: 11.1.0 clang: 12.0.1 Packages: pacman: 1377 lib: 340 Shell: fish v: 3.3.1 default: Bash v: 5.1.8
running-in: konsole inxi: 3.3.06

There were issues but they should solved already according to @ptr1337 :eyes:
Did you try another kernel to see if its a kernel issue?

Well I don't think they're solved as I updated like an hour ago and restored back to an old snapshot and then I updated again and same thing. But no I haven't tried another kernel yet, didn't get the time too but will now thanks. I'll let you know

Sorry I've been a while, been helping my mum as she's moved into a bungalow so been setting up art dishwasher, washing machine and unpacking and moving and lifting the heavy stuff. Anyway though, installed Zen and it's dkms package and booted into it and upgraded and it worked without any issue. No issues like on CacULE. So definitely a CacULE issue I would say

Actually, I've been holding off on 5.13.11-3 too because of problems after an update. Didn't even check the audio, everything was just too slow to work with, so I just reverted the update and added IgnorePkg = linux-cacule linux-cacule-headers to my pacman.conf. Been updating normally since then.
I was going to wait until the next major release and then compile it myself like I used to. Going by the 'use whatever works' principle here. But still, the dev should probably know about it, so posting my current inxi:

Inxi -Faz
System:    Kernel: 5.13.11-2-cacule x86_64 bits: 64 compiler: gcc v: 11.1.0
           parameters: pti=on page_alloc.shuffle=1 BOOT_IMAGE=/@/boot/vmlinuz-linux-cacule
           root=UUID=6cad94e9-4613-43c2-93f5-75cf38e257ae rw rootflags=subvol=@ quiet splash
           rd.udev.log_priority=3 vt.global_cursor_default=0 systemd.unified_cgroup_hierarchy=1
           loglevel=3
           Desktop: N/A vt: 1 dm: N/A Distro: Garuda Linux base: Arch Linux
Machine:   Type: Laptop System: LENOVO product: 81YK v: IdeaPad 5 15IIL05 serial: <filter>
           Chassis: type: 10 v: IdeaPad 5 15IIL05 serial: <filter>
           Mobo: LENOVO model: LNVNB161216 v: SDK0J40709 WIN serial: <filter> UEFI: LENOVO
           v: DPCN51WW date: 02/23/2021
Battery:   ID-1: BAT0 charge: 34.7 Wh (59.6%) condition: 58.2/57.0 Wh (102.1%) volts: 11.9
           min: 11.5 model: SMP L19M3PF6 type: Li-poly serial: <filter> status: Unknown
           cycles: 51
CPU:       Info: Quad Core model: Intel Core i7-1065G7 bits: 64 type: MT MCP arch: Ice Lake
           family: 6 model-id: 7E (126) stepping: 5 microcode: A6 cache: L2: 8 MiB
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 23961
           Speed: 1300 MHz min/max: 400/1300 MHz Core speeds (MHz): 1: 1300 2: 1145 3: 1300
           4: 1294 5: 1026 6: 1268 7: 1197 8: 1181
           Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled
           Type: l1tf status: Not affected
           Type: mds status: Not affected
           Type: meltdown status: Not affected
           Type: spec_store_bypass
           mitigation: Speculative Store Bypass disabled via prctl and seccomp
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
           Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB filling
           Type: srbds status: Not affected
           Type: tsx_async_abort status: Not affected
Graphics:  Device-1: Intel Iris Plus Graphics G7 vendor: Lenovo driver: i915 v: kernel
           bus-ID: 00:02.0 chip-ID: 8086:8a52 class-ID: 0300
           Device-2: IMC Networks Integrated Camera type: USB driver: uvcvideo bus-ID: 3-5:2
           chip-ID: 13d3:56ff class-ID: 0e02
           Display: wayland server: X.Org 1.21.1.2 compositor: wayfire driver: loaded: i915
           note: n/a (using device driver) display-ID: :0 screens: 1
           Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x286mm (20.0x11.3")
           s-diag: 583mm (23")
           Monitor-1: XWAYLAND0 res: 1920x1080 hz: 60 dpi: 143 size: 340x190mm (13.4x7.5")
           diag: 389mm (15.3")
           OpenGL: renderer: Mesa Intel Iris Plus Graphics (ICL GT2) v: 4.6 Mesa 21.1.6
           direct render: Yes
Audio:     Device-1: Intel Ice Lake-LP Smart Sound Audio vendor: Lenovo
           driver: sof-audio-pci-intel-icl alternate: snd_hda_intel,snd_sof_pci_intel_icl
           bus-ID: 00:1f.3 chip-ID: 8086:34c8 class-ID: 0401
           Sound Server-1: ALSA v: k5.13.11-2-cacule running: yes
           Sound Server-2: sndio v: N/A running: no
           Sound Server-3: JACK v: 1.9.19 running: no
           Sound Server-4: PulseAudio v: 15.0 running: no
           Sound Server-5: PipeWire v: 0.3.33 running: yes
Network:   Device-1: Intel Ice Lake-LP PCH CNVi WiFi driver: iwlwifi v: kernel port: 3000
           bus-ID: 00:14.3 chip-ID: 8086:34f0 class-ID: 0280
           IF: wlp0s20f3 state: up mac: <filter>
Bluetooth: Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 3-10:4
           chip-ID: 8087:0026 class-ID: e001
           Report: bt-adapter ID: hci0 rfk-id: 2 state: down bt-service: enabled,running
           rfk-block: hardware: no software: yes address: <filter>
Drives:    Local Storage: total: 476.94 GiB used: 16.77 GiB (3.5%)
           SMART Message: Required tool smartctl not installed. Check --recommends
           ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Lenovo model: UMIS RPJTJ512MEE1OWX
           size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4
           type: SSD serial: <filter> rev: 2.0C0628 temp: 36.9 C scheme: GPT
Partition: ID-1: / raw-size: 476.68 GiB size: 476.68 GiB (100.00%) used: 16.77 GiB (3.5%)
           fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
           ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%) used: 562 KiB (0.2%)
           fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
           ID-3: /home raw-size: 476.68 GiB size: 476.68 GiB (100.00%) used: 16.77 GiB (3.5%)
           fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
           ID-4: /var/log raw-size: 476.68 GiB size: 476.68 GiB (100.00%) used: 16.77 GiB (3.5%)
           fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
           ID-5: /var/tmp raw-size: 476.68 GiB size: 476.68 GiB (100.00%) used: 16.77 GiB (3.5%)
           fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:      Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
           ID-1: swap-1 type: zram size: 15.32 GiB used: 0 KiB (0.0%) priority: 100
           dev: /dev/zram0
Sensors:   System Temperatures: cpu: 49.0 C mobo: N/A
           Fan Speeds (RPM): N/A
Info:      Processes: 262 Uptime: 6h 38m wakeups: 4857 Memory: 15.32 GiB used: 2.89 GiB (18.9%)
           Init: systemd v: 249 tool: systemctl Compilers: gcc: 11.1.0 clang: 12.0.1 Packages:
           pacman: 1234 lib: 328 Shell: Bash v: 5.1.8 running-in: alacritty inxi: 3.3.06
1 Like

Good to know it's not just me then so thanks for posting. Outta interest, what guide if any do you follow for compiling the kernel? I know there's the arch wiki but a nice guide would be easier to follow. But yeah hopefully this issue gets fixed soon so that I can compile it for the first time.

To be honest, I’m not the one to ask. I clone it, install dependencies, and makepkg it like any other aur package. Then I select my CPU type when prompted. I’m 100% sure there are better ways. I’ve tried to flag for using all cores once and it did not go well so I do it the slow way.
Arch wiki would indeed be the best place for reading. Other than that, I’m sure there are many Youtube kernel compiling videos.

1 Like
inxi -Faz
System:    Kernel: 5.13.12-1-cacule x86_64 bits: 64 compiler: gcc v: 11.1.0 
           parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-cacule root=UUID=35075ddb-bcf7-47aa-a43a-e759a082af57 rw 
           rootflags=subvol=@ rd.udev.log_priority=3 vt.global_cursor_default=0 
           systemd.unified_cgroup_hierarchy=1 loglevel=3 
           Desktop: i3 4.19.1 info: i3bar vt: 7 dm: LightDM 1.30.0 Distro: Garuda Linux base: Arch Linux

Works.

Whats that UUID is for?

Ah, I suppose I should try that one. Didn’t realize it was already available to build

@all

For compiling your Kernel yourself, just change pull the wanted Kernel with:
paru -G linux-cacule
paru -G linux-cacule-rdb
paru -G linux-cacule-llvm
paru -G linux-cacule-rdb-llvm

cd linux-cacule-* (depends which you have pulled)
makepkg -si

the kernel will autodetect you cpu march and will optimize them.

Kernerls with *-llvm are compiled automatically with lto.

2 Likes

No question: 1 for optimized?

No clue tbh. Didn't even see it

Thanks, but any clue why I may be having issues stated in the top post? No clue what could have caused it

BTW :slight_smile:

git clone https://aur.archlinux.org/linux-cacule.git
cd linux-cacule/
makepkg -s

I never use paru.

Need more details :wink:

Yes, 1 will detect your CPU and add it to the config file.
You can also change at the PKGBUILD select*=y and remove the upper one to have the old configure.

but the autodection is running good. tested on several devices.

2 Likes

paru -G is completly working fine.

paru -G = git clone "wantedpackage"

same for yay -G

3 Likes

Try without :slight_smile:
Do you rember this partition/drive?

Just checked, that's my swap file

Anyway I'm currently compiling the kernel so it can be optimised for my CPU and to see if that fixes issues as I installed it through the setup assistant originally I think.

What about the headers? Or you can install that as usual through Pacman or paru?