Найти тему
Борис Державец

День тестирования: 21 января 2024. Неделя тестирования ядер 6.7.1 && 6.7.2 на Fedora WKS (Server) 39

    С 21/01/24 до 28/01/24
С 21/01/24 до 28/01/24

UPDATE as of 31/01/24

Testing build 6.7.2 (Bare metal UEFI box 32 GB RAM)
Testing build 6.7.2 (Bare metal UEFI box 32 GB RAM)

boris@fedora39wks:~/kernel-tests$ uname -a

Linux fedora39wks.localdomain 6.7.2-200.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jan 26 13:44:47 UTC 2024 x86_64 GNU/Linux

boris@fedora39wks:~/kernel-tests$ sudo ./runtests.sh

Test suite called with default

./default/cachedrop                                              PASS

./default/insert_leap_second                               PASS

./default/libhugetlbfs                                           SKIP

./default/memfd                                                  PASS

./default/modsign                                                PASS

./default/mq-memory-corruption                       PASS

./default/paxtest                                                SKIP

./default/posix_timers                                           PASS

./default/selinux-dac-controls                              PASS

./default/stack-randomness                                 PASS

./default/sysfs-perms                                          PASS

./default/timer-overhead                                      PASS

Test suite complete                                            PASS

Your log file is located at: /home/boris/kernel-tests/logs/kernel-test-1706692499.log.txt

The following information is not submitted with your log;

it is for informational purposes only.

Vulnerability status:

/sys/devices/system/cpu/vulnerabilities/gather_data_sampling:Not affected

/sys/devices/system/cpu/vulnerabilities/itlb_multihit:Not affected

/sys/devices/system/cpu/vulnerabilities/l1tf:Not affected

/sys/devices/system/cpu/vulnerabilities/mds:Not affected

/sys/devices/system/cpu/vulnerabilities/meltdown:Not affected

/sys/devices/system/cpu/vulnerabilities/mmio_stale_data:Not affected

/sys/devices/system/cpu/vulnerabilities/retbleed:Mitigation: untrained return thunk; SMT enabled with STIBP protection

/sys/devices/system/cpu/vulnerabilities/spec_rstack_overflow:Mitigation: Safe RET

/sys/devices/system/cpu/vulnerabilities/spec_store_bypass:Mitigation: Speculative Store Bypass disabled via prctl

/sys/devices/system/cpu/vulnerabilities/spectre_v1:Mitigation: usercopy/swapgs barriers and __user pointer sanitization

/sys/devices/system/cpu/vulnerabilities/spectre_v2:Mitigation: Retpolines, IBPB: conditional, STIBP: always-on, RSB filling, PBRSB-eIBRS: Not affected

/sys/devices/system/cpu/vulnerabilities/srbds:Not affected

/sys/devices/system/cpu/vulnerabilities/tsx_async_abort:Not affected

boris@fedora39wks:~/kernel-tests$ sudo ./runtests.sh -t performance

Test suite called with performance

22423MB OK

22423MB OK

22423MB OK

egrep: warning: egrep is obsolescent; using grep -E

Using config in CONFIG.fedora39wks.localdomain

Wed Jan 31 12:18:27 PM MSK 2024

Latency measurements

Wed Jan 31 12:20:10 PM MSK 2024

Calculating file system latency

Wed Jan 31 12:20:11 PM MSK 2024

Local networking

Wed Jan 31 12:23:51 PM MSK 2024

Bandwidth measurements

Wed Jan 31 12:33:52 PM MSK 2024

Calculating context switch overhead

Wed Jan 31 12:33:56 PM MSK 2024

./performance/lmbench3                                    PASS

Test suite complete                                              PASS

Your log file is located at: /home/boris/kernel-tests/logs/kernel-test-1706692660.log.txt

The following information is not submitted with your log;

it is for informational purposes only.

Vulnerability status:

/sys/devices/system/cpu/vulnerabilities/gather_data_sampling:Not affected

/sys/devices/system/cpu/vulnerabilities/itlb_multihit:Not affected

/sys/devices/system/cpu/vulnerabilities/l1tf:Not affected

/sys/devices/system/cpu/vulnerabilities/mds:Not affected

/sys/devices/system/cpu/vulnerabilities/meltdown:Not affected

/sys/devices/system/cpu/vulnerabilities/mmio_stale_data:Not affected

/sys/devices/system/cpu/vulnerabilities/retbleed:Mitigation: untrained return thunk; SMT enabled with STIBP protection

/sys/devices/system/cpu/vulnerabilities/spec_rstack_overflow:Mitigation: Safe RET

/sys/devices/system/cpu/vulnerabilities/spec_store_bypass:Mitigation: Speculative Store Bypass disabled via prctl

/sys/devices/system/cpu/vulnerabilities/spectre_v1:Mitigation: usercopy/swapgs barriers and __user pointer sanitization

/sys/devices/system/cpu/vulnerabilities/spectre_v2:Mitigation: Retpolines, IBPB: conditional, STIBP: always-on, RSB filling, PBRSB-eIBRS: Not affected

/sys/devices/system/cpu/vulnerabilities/srbds:Not affected

/sys/devices/system/cpu/vulnerabilities/tsx_async_abort:Not affected

References

QA:Testcase kernel regression - Fedora Project Wiki

END UPDATE

Инструкции по загрузке Koji
🔗 Скачать Koji
Сборки ядра можно загрузить с koji с помощью инструмента командной строки.
🔗 Рабочая станция Fedora
Установите Koji на рабочую станцию Fedora 39, если она еще не установлена:
$ sudo dnf install koji
🔗 Fedora Silverblue, Киноит, Sericea, Onyx, CoreOS, IoT
Установите Koji в набор инструментов:
Install Koji in a toolbox:
$ toolbox create
$ toolbox enter
$ sudo dnf install koji
Or directly on the host:
$ rpm-ostree install koji
and reboot
🔗 Список доступных сборок ядра
Вы можете просмотреть доступные сборки ядра с помощью:
$ koji list-builds --package=kernel --after="2024-01-21" --pattern "kernel-6.7*"
🔗 Скачать ядро
Загрузите RPM-пакеты для сборки ядра 6.7, которую вы хотите протестировать, в тестовый каталог, например kernel-6.7.1-200.fc39 :
$ mkdir -p ~/work/kernel_test
$ cd ~/work/kernel_test
$ koji download-build --arch=$(uname -m) kernel-6.7.1-200.fc39
🔗 Install kernel
🔗 Fedora Workstation
Update your kernel:
sudo dnf update kernel-*.rpm
and reboot.

Это не обязательно, установить kernel-6.7.1-200.fc39 можно и не затирая текущего. Если технический сленг не проблема смотри прямо

Test Day:2024-01-21 Kernel 6.7 Test Week - Fedora Project Wiki

Я не делал перевод всего документа. Cмотри если надо этот фрагмент

🔗 Fedora Silverblue, Kinoite, Sericea, Onyx, CoreOS, IoT

If not done so already, download the kernel:

Download the RPMs for the 6.6 kernel build you want to test to a test directory, for example kernel-6.7.1-300.fc39:

$ mkdir -p ~/work/kernel_test
$ cd ~/work/kernel_test
$ koji download-build --arch=$(uname -m) kernel-6.7.1-300.fc39

Override the kernel:

$ rpm-ostree override replace kernel-modules-core-6*.rpm kernel-core-6*.rpm kernel-modules-6*.rpm kernel-6*.rpm kernel-modules-extra-6*.rpm

and reboot.

Ядро 6.7 будет стабилизировано на Fedora 39 в течение месяца ( из прошлого опыта ) без излишней суеты. Тест на KVM госте, как правило, дает стабильное ядро 6.7.2 спустя 3-4 недели и на bare metal . Virtual box или любой другой гипервизора 2-го типа использовать не стоит, если у Вас серьезные намерения ;)

UPDATE as of 21/01/24

Status 21/01/24
Status 21/01/24

"Не нужно бороться за чистоту, нужно подметать улицы." Ильф и Петров

Теперь Вы можете сделать  $ koji download-build --arch=$(uname -m) kernel-6.7.1-200.fc39
Теперь Вы можете сделать $ koji download-build --arch=$(uname -m) kernel-6.7.1-200.fc39

Смотри далее пошаговую инструкцию ( understanding CLI is a must unfortunately )

Koji download-build kernel-6.7.1-200.fc39
Select from grub-menu kernel 6.7.1
Select from grub-menu kernel 6.7.1
KVM Guest got loaded with the most recent official stable kernel
KVM Guest got loaded with the most recent official stable kernel