Sunday, January 25, 2026

Stress test Deepin 25.01 via build CachyOS Kernel 6.18.7 (VENV)

UPDATE as of 02/10/2026

DeepinVMS31J26.qcow2 created on 01/31/26 scp'd to remote host

root@cachyos-WDS8664 images]# ls -l

total 129017284

-rw------- 1 boris boris 118129885184 Feb 10 18:46 DeepinVMS31J26.qcow2

-rw------- 1 root  root   80543154176 Feb 10 14:05 VMCachyOS02FB26.qcow2

VM deployed on remote host via scp'd qcow2 image been created on 01/31/26



















Another CachyOS Kernel build succeeded on Deepin 25.010



















END UPDATE

UPDATE as of 02/07/2026

Immutable Deepin 25.010 currently doesn't allow me to run  `sudo apt update` , no matter which commands Google's AI Assistant suggests. For example:

$ sudo deepin-immutable-writable enable && sudo reboot ;

$ sudo deepin-immutable-ctl admin exec apt update ;

It doesn't work for me.

Google's AI Assistant suggested about five versions of directives similar to $ sudo deepin-immutable-writable enable, only $ sudo deepin-immutable-ctl --help works, but it doesn't help much .

At the time of publication of "Stress test Deepin 25.010 via build CachyOS Kernel 6.18.7 (VENV)" (01/25/26) https://lxer.com/module/newswire/view/361476/index.html ,there were no problems with `sudo apt update` at all.

END UPDATE

Because Deepin is Debian-based,  we would  use the linux-cachyos-deb tool provided by the community to generate compatible .deb files.  See for instance https://itsfoss.com/news/cachyos-kernel-builder/

Notice also that current Deepin's modules names and dependencies appear to be the same as on Debian 13.3 at least during attempt to setup KVM Hypervisor, Libvirtd service and related tools as virt-manager. Cockpit Console  setup also works on Deepin pretty smoothly exactly the same way as on Debian.

Directory /persistent mounted on device /dev/vda5 should be created large enough at least 50 GB.  It's name during installation phase is "Data" storage and /var/lib/libvirt/images appears to be located on /dev/vda5










Start with Pre-installation step

$ sudo apt install build-essential

$ sudo apt install bpftool

and include /usr/sbin in system $PATH variable.

$ sudo apt install libdw-dev

Proceed with cloning https://github.com/Nitrux/linux-cachyos-deb

$ git clone https://github.com/Nitrux/linux-cachyos-deb

$  cd linux-cachyos-deb

Script installs all required packages and pops up TUI dialog to configure kernel 6.18.7 and finally proceed with building of debian kernel packages.  Proceed with CachyOS Kernel configuration in the same way as it was done in https://lxer.com/module/newswire/view/357231/index.html

$ ./cachy-kernel-deb

Upon build completition

boris@boris-VMSDeepin:~/linux-cachyos-deb$ rm -fr linux-6.18.7

boris@boris-VMSDeepin:~/linux-cachyos-deb$ ls -l

total 1613884

-rwxrwxr-x 1 boris boris      34200 Jan 25 09:57 cachy-kernel-deb

-rwxrwxr-x 1 boris boris        155 Jan 25 10:50 install.sh

-rw-rw-r-- 1 boris boris       1536 Jan 25 09:57 LICENSE

-rw-rw-r-- 1 boris boris  154327332 Jan 23 13:33 linux-6.18.7.tar.xz

-rw-r--r-- 1 boris boris    9581112 Jan 25 10:41 linux-headers-6.18.7_6.18.7-1_amd64.deb

-rw-r--r-- 1 boris boris  182415084 Jan 25 10:42 linux-image-6.18.7_6.18.7-1_amd64.deb

-rw-r--r-- 1 boris boris 1304750360 Jan 25 10:48 linux-image-6.18.7-dbg_6.18.7-1_amd64.deb

-rw-r--r-- 1 boris boris    1464980 Jan 25 10:41 linux-libc-dev_6.18.7-1_amd64.deb

-rw-rw-r-- 1 boris boris       7567 Jan 25 10:48 linux-upstream_6.18.7-1_amd64.buildinfo

-rw-rw-r-- 1 boris boris       2208 Jan 25 10:49 linux-upstream_6.18.7-1_amd64.changes

-rw-rw-r-- 1 boris boris       3466 Jan 25 09:57 README.md

boris@boris-VMSDeepin:~/linux-cachyos-deb$ cat install.sh

sudo dpkg -i linux-headers-6.18.7_6.18.7-1_amd64.deb \

            linux-image-6.18.7_6.18.7-1_amd64.deb \

            linux-libc-dev_6.18.7-1_amd64.deb

$ ./install.sh

$ sudo  grub-mkconfig -o /boot/grub/grub.cfg

$ sudo reboot



















Setup KVM and Cockpit Web Console on Deepin 25.010

==========================================

$ sudo apt install qemu-kvm libvirt-daemon-system  \

   libvirt-clients bridge-utils virtinst virt-manager -y

$ sudo adduser $USER libvirt

$ sudo adduser $USER kvm

$ sudo systemctl enable  libvirtd

$ sudo reboot

sudo virsh --connect qemu:///system

# version

# net-start default

# net-autostart default

^D

$ sudo reboot

$ sudo apt install cockpit cockpit-machines

$ sudo systemctl enable --now cockpit.socket

Enable linuix bridge bridge0 via Cockpit Web Console

$ sudo apt update

Work around  to run dist-upgade and avoid upgrading package
linux-libc-dev on Deepin 25.0.10 which was automatically
downgraded during CahyOS Kernel 6.18.7 setup

$ sudo apt-mark hold  linux-libc-dev

$ sudo apt dist-upgrade

$ sudo reboot

===========================================

Deploy any KVM Guest and verify /var/lib/libvirt/images location

===========================================

boris@boris-VMSDeepin:/var/lib/libvirt/images$ sudo su -
[sudo] password for boris: 
Verification successful
root@boris-VMSDeepin:~# cd /var/lib/libvirt/images/
root@boris-VMSDeepin:/var/lib/libvirt/images# ls -l
total 8346644
-rw------- 1 root root 32217432064 Jan 25 15:23 ArchCosmicVM.qcow2
root@boris-VMSDeepin:/var/lib/libvirt/images# df -h .
Filesystem      Size  Used Avail Use% Mounted on
/dev/vda5        70G   22G   46G  32% /var
root@boris-VMSDeepin:/var/lib/libvirt/images# df -Th
Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  7.5G     0  7.5G   0% /dev
tmpfs          tmpfs     1.6G  4.6M  1.6G   1% /run
/dev/vda4      ext4       23G  6.8G   15G  32% /
/dev/vda5      ext4       70G   22G   46G  32% /persistent
usr-overlay    overlay    70G   22G   46G  32% /usr
opt-overlay    overlay    70G   22G   46G  32% /opt
etc-overlay    overlay    70G   22G   46G  32% /etc
tmpfs          tmpfs     7.6G     0  7.6G   0% /dev/shm
tmpfs          tmpfs     5.0M  8.0K  5.0M   1% /run/lock
efivarfs       efivarfs  256K   39K  213K  16% /sys/firmware/efi/efivars
tmpfs          tmpfs     7.6G   32K  7.6G   1% /tmp
/dev/vda2      ext4      3.9G  802M  2.9G  22% /boot
/dev/vda1      vfat      296M   12M  285M   4% /boot/efi
tmpfs          tmpfs     1.6G  160K  1.6G   1% /run/user/1000

UPDATE as of 01/30/2026

====================================================
Worst case scenario to avoid upgrading   linux-libc-dev on Deepin 25.0
====================================================
Work around  to run dist-upgade and avoid upgrading package
linux-libc-dev on Deepin 25.0 which was automatically
downgraded during CahyOS Kernel 6.18.7 setup
====================================================
$ sudo apt-mark hold  linux-libc-dev
sh: 1: /var/lib/lastore/scripts/build_system_info: Exec format error
====================================================
boris@boris-vmdevz:~$ file /var/lib/lastore/scripts/build_system_info
/var/lib/lastore/scripts/build_system_info: data

Reinstall  lastore-daemon

root@boris-vmdevz:/var/lib/lastore/scripts# cd
===================================================
root@boris-vmdevz:~# apt install --reinstall lastore-daemon
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 1 not upgraded.
Need to get 9,829 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 https://community-packages.deepin.com/beige crimson/main amd64 lastore-daemon amd64 6.2.40 [9,829 kB]
Fetched 9,829 kB in 10s (953 kB/s)
(Reading database ... 192952 files and directories currently installed.)
Preparing to unpack .../lastore-daemon_6.2.40_amd64.deb ...
Unpacking lastore-daemon (6.2.40) over (6.2.40) ...
Setting up lastore-daemon (6.2.40) ...
Processing triggers for man-db (2.12.0-1) ...
Processing triggers for dbus (1.14.10-3-1deepin3) ...
Processing triggers for dde-dconfig-daemon (1.0.37.1) ...
Configuration trigger detected, reload completed successfully

root@boris-vmdevz:~# systemctl restart lastore-daemon
root@boris-vmdevz:~# apt update
Hit:1 https://community-packages.deepin.com/beige crimson InRelease
Hit:2 https://community-packages.deepin.com/driver-25 snipe InRelease
Hit:3 https://app-store-files.uniontech.com/260130171705986/appstorev23 crimson InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.


root@boris-vmdevz:~# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  linux-libc-dev
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
W: Please use `apt dist-upgrade' to upgrade your system. Using `apt upgrade' may result in incomplete upgrades.


root@boris-vmdevz:~# apt dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  linux-libc-dev
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.


root@boris-vmdevz:~#
logout
boris@boris-vmdevz:~$ sudo apt update
Hit:1 https://community-packages.deepin.com/beige crimson InRelease
Hit:2 https://community-packages.deepin.com/driver-25 snipe InRelease
Hit:3 https://app-store-files.uniontech.com/260130171705986/appstorev23 crimson InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done

 END UPDATE

 


















No comments:

Post a Comment