diff --git a/Runner/init_env b/Runner/init_env new file mode 100644 index 00000000..82f5bd68 --- /dev/null +++ b/Runner/init_env @@ -0,0 +1,11 @@ +# Source this file to setup the test suite environment +if [ -e '/var/Runner' ];then + export BASEDIR='/var/Runner' + export TOOLS='/var/Runner/utils' + export SUITES='/var/Runner/suites' + export CALIBRATION='/var/Runner/calib.txt' + export FTRACE_EVENTS='/var/Runner/ftrace_events' + export PATH=$PATH:'/bin' + export PATH=$PATH:'/sbin' +fi + diff --git a/Runner/run-test.sh b/Runner/run-test.sh new file mode 100644 index 00000000..3dc14ae0 --- /dev/null +++ b/Runner/run-test.sh @@ -0,0 +1,54 @@ +#!/bin/sh +# Import test suite definitions +source /var/Runner/init_env + +#import test functions library +source $TOOLS/functestlib.sh + + +# Find test case path by name +find_test_case_by_name() { + local test_name="$1" + find /var/Runner/suites -type d -iname "$test_name" 2>/dev/null +} + +# Execute a test case +execute_test_case() { + local test_path="$1" + if [ -d "$test_path" ]; then + run_script="$test_path/run.sh" + if [ -f "$run_script" ]; then + log "Executing test case: $test_path" + sh "$run_script" 2>&1 + # if [ $? -eq 0 ]; then + # log "Test case $test_path passed." + # else + # log "Test case $test_path failed." + # fi + else + log "No run.sh found in $test_path" + fi + else + log "Test case directory not found: $test_path" + fi +} + +# Function to run a specific test case by name +run_specific_test_by_name() { + local test_name="$1" + test_path=$(find_test_case_by_name "$test_name") + if [ -z "$test_path" ]; then + log "Test case with name $test_name not found." + else + execute_test_case "$test_path" + fi +} + +# Main script logic +if [ "$#" -eq 0 ]; then + log "Usage: $0 [all | ]" + exit 1 +fi + + +run_specific_test_by_name "$1" \ No newline at end of file diff --git a/Runner/suites/Kernel/FunctionalArea/baseport/BWMON/run.sh b/Runner/suites/Kernel/FunctionalArea/baseport/BWMON/run.sh new file mode 100644 index 00000000..ddc452a8 --- /dev/null +++ b/Runner/suites/Kernel/FunctionalArea/baseport/BWMON/run.sh @@ -0,0 +1,56 @@ +#!/bin/sh +# Import test suite definitions +/var/Runner/init_env +TESTNAME="BWMON" + +#import test functions library +source $TOOLS/functestlib.sh +test_path=$(find_test_case_by_name "$TESTNAME") +log_info "--------------------------------------------------------------------------" +log_info "-------------------Starting $TESTNAME Testcase----------------------------" + +log_info "Fetching te interconnect summary" +extract_votes() { + cat /sys/kernel/debug/interconnect/interconnect_summary | grep -i pmu | awk '{print $NF}' +} +log_info "Initial vote check:" +sleep 5 +log_info "Initial vote check:" +initial_votes=$(extract_votes) +log_info "$initial_votes" +log_info "$initial_votes" + +log_info "Running bw_mem tool..." +/var/common/bins/bw_mem 4000000000 frd & + +sleep 2 + +log_info "Vote check while bw_mem tool is running:" +final_votes=$(extract_votes) +log_info "$final_votes" + +wait + +log_info "Comparing votes" + + +incremented=true +for i in $(seq 2 $(echo "$initial_votes" | wc -l)); do + initial_vote=$(echo "$initial_votes" | sed -n "${i}p") + final_vote=$(echo "$final_votes" | sed -n "${i}p") + if [ "$final_vote" -le "$initial_vote" ]; then + incremented=false + log_pass "Vote did not increment for row $i: initial=$initial_vote, final=$final_vote" + else + log_pass "Vote incremented for row $i: initial=$initial_vote, final=$final_vote" + fi +done + +if $incremented; then + log_pass "$TESTNAME : Test Passed" + echo "$TESTNAME : Test Passed" > $test_path/$TESTNAME.res +else + log_fail "$TESTNAME : Test Failed" + echo "$TESTNAME : Test Failed" > $test_path/$TESTNAME.res +fi +log_info "-------------------Completed $TESTNAME Testcase----------------------------" diff --git a/Runner/suites/Kernel/FunctionalArea/baseport/Buses/run.sh b/Runner/suites/Kernel/FunctionalArea/baseport/Buses/run.sh new file mode 100644 index 00000000..739845eb --- /dev/null +++ b/Runner/suites/Kernel/FunctionalArea/baseport/Buses/run.sh @@ -0,0 +1,23 @@ +#!/bin/sh +# Import test suite definitions +/var/Runner/init_env +TESTNAME="Buses" + +#import test functions library +source $TOOLS/functestlib.sh +test_path=$(find_test_case_by_name "$TESTNAME") +log_info "-----------------------------------------------------------------------------------------" +log_info "-------------------Starting $TESTNAME Testcase----------------------------" + +log_info "running i2c binary" +output=$(/var/common/bins/buses/i2c-msm-test -v -D /dev/i2c-0 -l | grep "ret:1") + + +if echo "$output" | grep -q "Reading"; then + log_pass "$TESTNAME : Test Passed" + echo "$TESTNAME : Test Passed" > $test_path/$TESTNAME.res +else + log_fail "$TESTNAME : Test Failed" + echo "$TESTNAME : Test Failed" > $test_path/$TESTNAME.res +fi +log_info "-------------------Completed $TESTNAME Testcase----------------------------" \ No newline at end of file diff --git a/Runner/suites/Kernel/FunctionalArea/baseport/CPUFreq_Validation/run.sh b/Runner/suites/Kernel/FunctionalArea/baseport/CPUFreq_Validation/run.sh new file mode 100644 index 00000000..222201d3 --- /dev/null +++ b/Runner/suites/Kernel/FunctionalArea/baseport/CPUFreq_Validation/run.sh @@ -0,0 +1,128 @@ +#!/bin/bash + +# CPUFreq Validator: Parallel, Colorized +/var/Runner/init_env +TESTNAME="CPUFreq_Validation" + +#import test functions library +source $TOOLS/functestlib.sh +test_path=$(find_test_case_by_name "$TESTNAME") +log_info "-----------------------------------------------------------------------------------------" +log_info "-------------------Starting $TESTNAME Testcase----------------------------" +log_info "=== CPUFreq Frequency Walker with Validation ===" + +# Color codes +GREEN="\e[32m" +RED="\e[31m" +YELLOW="\e[33m" +BLUE="\e[34m" +NC="\e[0m" # No Color + +NUM_CPUS=$(nproc) +echo -e "${YELLOW}Detected $NUM_CPUS CPU cores.${NC}" + +overall_pass=true +declare -A core_status + +validate_cpu_core() { + local cpu=$1 + local core_id=$2 + + echo -e "${BLUE}Processing $cpu...${NC}" + + if [ ! -d "$cpu/cpufreq" ]; then + echo -e "${BLUE}[SKIP]${NC} $cpu does not support cpufreq." + core_status["$core_id"]="skip" + return + fi + + available_freqs=$(cat "$cpu/cpufreq/scaling_available_frequencies" 2>/dev/null) + + if [ -z "$available_freqs" ]; then + echo -e "${YELLOW}[INFO]${NC} No available frequencies for $cpu. Skipping..." + core_status["$core_id"]="skip" + return + fi + + # Set governor to userspace + if echo "userspace" | tee "$cpu/cpufreq/scaling_governor" > /dev/null; then + echo -e "${YELLOW}[INFO]${NC} Set governor to userspace." + else + echo -e "${RED}[ERROR]${NC} Cannot set userspace governor for $cpu." + core_status["$core_id"]="fail" + return + fi + + core_status["$core_id"]="pass" # Assume pass unless a failure happens + + for freq in $available_freqs; do + log_info "Setting $cpu to frequency $freq kHz..." + if echo $freq | tee "$cpu/cpufreq/scaling_setspeed" > /dev/null; then + sleep 0.2 + actual_freq=$(cat "$cpu/cpufreq/scaling_cur_freq") + if [ "$actual_freq" == "$freq" ]; then + echo -e "${GREEN}[PASS]${NC} $cpu set to $freq kHz." + else + echo -e "${RED}[FAIL]${NC} Tried to set $cpu to $freq kHz, but current is $actual_freq kHz." + core_status["$core_id"]="fail" + fi + else + echo -e "${RED}[ERROR]${NC} Failed to set $cpu to $freq kHz." + core_status["$core_id"]="fail" + fi + done + + # Restore governor + echo "Restoring $cpu governor to 'ondemand'..." + echo "ondemand" | sudo tee "$cpu/cpufreq/scaling_governor" > /dev/null +} + +# Launch validation per CPU in parallel +cpu_index=0 +for cpu in /sys/devices/system/cpu/cpu[0-9]*; do + validate_cpu_core "$cpu" "$cpu_index" & + ((cpu_index++)) +done + +# Wait for all background jobs to finish +wait + +# Summary +log_info "" +log_info "=== Per-Core Test Summary ===" +for idx in "${!core_status[@]}"; do + status=${core_status[$idx]} + case "$status" in + pass) + echo -e "CPU$idx: ${GREEN}[PASS]${NC}" + ;; + fail) + echo -e "CPU$idx: ${RED}[FAIL]${NC}" + overall_pass=false + ;; + skip) + echo -e "CPU$idx: ${BLUE}[SKIPPED]${NC}" + ;; + *) + echo -e "CPU$idx: ${RED}[UNKNOWN STATUS]${NC}" + overall_pass=false + ;; + esac +done + +# Overall result +log_info "" +log_info "=== Overall CPUFreq Validation Result ===" +if $overall_pass; then + echo -e "${GREEN}[OVERALL PASS]${NC} All CPUs validated successfully." + log_pass "$TESTNAME : Test Passed" + echo "$TESTNAME : Test Passed" > $test_path/$TESTNAME.res + exit 0 +else + echo -e "${RED}[OVERALL FAIL]${NC} Some CPUs failed frequency validation." + log_fail "$TESTNAME : Test Failed" + echo "$TESTNAME : Test Failed" > $test_path/$TESTNAME.res + exit 1 +fi + +log_info "-------------------Completed $TESTNAME Testcase----------------------------" \ No newline at end of file diff --git a/Runner/suites/Kernel/FunctionalArea/baseport/GIC/run.sh b/Runner/suites/Kernel/FunctionalArea/baseport/GIC/run.sh new file mode 100644 index 00000000..d9b3dde9 --- /dev/null +++ b/Runner/suites/Kernel/FunctionalArea/baseport/GIC/run.sh @@ -0,0 +1,63 @@ +#!/bin/sh +# Import test suite definitions +/var/Runner/init_env +TESTNAME="GIC" + +#import test functions library +source $TOOLS/functestlib.sh +test_path=$(find_test_case_by_name "$TESTNAME") +log_info "-----------------------------------------------------------------------------------------" +log_info "-------------------Starting $TESTNAME Testcase----------------------------" + +# Function to get the timer count +get_timer_count() { + cat /proc/interrupts | grep arch_timer +} + +# Get the initial timer count +echo "Initial timer count:" +initial_count=$(get_timer_count) +echo "$initial_count" + +# Wait for 2 minutes +sleep 120 + +# Get the timer count after 2 minutes +echo "Timer count after 2 minutes:" +final_count=$(get_timer_count) +echo "$final_count" + +# Compare the initial and final counts +echo "Comparing timer counts:" +echo "$initial_count" | while read -r line; do + cpu=$(echo "$line" | awk '{print $1}') + initial_values=$(echo "$line" | awk '{for(i=2;i<=9;i++) print $i}') + final_values=$(echo "$final_count" | grep "$cpu" | awk '{for(i=2;i<=9;i++) print $i}') + + fail_test=false + initial_values_list=$(echo "$initial_values" | tr ' ' '\n') + final_values_list=$(echo "$final_values" | tr ' ' '\n') + + i=0 + echo "$initial_values_list" | while read -r initial_value; do + final_value=$(echo "$final_values_list" | sed -n "$((i+1))p") + if [ "$initial_value" -lt "$final_value" ]; then + echo "CPU $i: Timer count has incremented. Test PASSED" + log_pass "CPU $i: Timer count has incremented. Test PASSED" + else + echo "CPU $i: Timer count has not incremented. Test FAILED" + log_fail "CPU $i: Timer count has not incremented. Test FAILED" + fail_test=true + fi + i=$((i+1)) + done + echo $fail_test + if [ "$fail_test" = false ]; then + log_pass "$TESTNAME : Test Passed" + echo "$TESTNAME : Test Passed" > $test_path/$TESTNAME.res + else + log_fail "$TESTNAME : Test Failed" + echo "$TESTNAME : Test Failed" > $test_path/$TESTNAME.res + fi +done +log_info "-------------------Completed $TESTNAME Testcase----------------------------" \ No newline at end of file diff --git a/Runner/suites/Kernel/FunctionalArea/baseport/IPA/run.sh b/Runner/suites/Kernel/FunctionalArea/baseport/IPA/run.sh new file mode 100644 index 00000000..48dd295c --- /dev/null +++ b/Runner/suites/Kernel/FunctionalArea/baseport/IPA/run.sh @@ -0,0 +1,48 @@ +#!/bin/sh +# Import test suite definitions +source /var/Runner/init_env +TESTNAME="IPA" +#import test functions library +log() { + local level="$1" + shift + # echo "$(date '+%Y-%m-%d %H:%M:%S') - $message" | tee -a /var/test_framework.log + echo "[$level] $(/bin/date '+%Y-%m-%d %H:%M:%S') - $*" | /usr/bin/tee -a /var/test_output.log +} +# Find test case path by name +find_test_case_by_name() { + local test_name="$1" + find /var/Runner/suites -type d -name "$test_name" 2>/dev/null +} +# Logging levels +log_info() { log "INFO" "$@"; } +log_pass() { log "PASS" "$@"; } +log_fail() { log "FAIL" "$@"; } +log_error() { log "ERROR" "$@"; } + +test_path=$(find_test_case_by_name "$TESTNAME") +log_info "-----------------------------------------------------------------------------------------" +log_info "-------------------Starting $TESTNAME Testcase----------------------------" + +PATH=$(find / -name "ipa.ko" 2>/dev/null) + +# Check if the file was found +if [ -z "$PATH" ]; then + log_error "ipa.ko file not found." + exit 1 +fi + +# Insert the module +TEST=$(/sbin/insmod "$PATH") +log_info "output of insmod $TEST" + +if /sbin/lsmod | /bin/grep "ipa"; then + log_info "$(/sbin/lsmod | /bin/grep "ipa")" + log_pass "$TESTNAME : Test Passed" + echo "$TESTNAME : Test Passed" > $test_path/$TESTNAME.res +else + log_error "rmnet module not running" + log_fail "$TESTNAME : Test Failed" + echo "$TESTNAME : Test Failed" > $test_path/$TESTNAME.res +fi +log_info "-------------------Completed $TESTNAME Testcase----------------------------" \ No newline at end of file diff --git a/Runner/suites/Kernel/FunctionalArea/baseport/IPCC/run.sh b/Runner/suites/Kernel/FunctionalArea/baseport/IPCC/run.sh new file mode 100644 index 00000000..338a48d9 --- /dev/null +++ b/Runner/suites/Kernel/FunctionalArea/baseport/IPCC/run.sh @@ -0,0 +1,23 @@ +#!/bin/sh +# Import test suite definitions +/var/Runner/init_env +TESTNAME="IPCC" + +#import test functions library +source $TOOLS/functestlib.sh +test_path=$(find_test_case_by_name "$TESTNAME") +log_info "--------------------------------------------------------------------------" +log_info "-------------------Starting $TESTNAME Testcase----------------------------" + +output=$(cat /sys/class/remoteproc/remoteproc*/state) + +count=$(echo "$output" | grep -c "running") + +if [ $count -eq 4 ]; then + log_pass "$TESTNAME : Test Passed" + echo "$TESTNAME : Test Passed" > $test_path/$TESTNAME.res +else + log_fail "$TESTNAME : Test Failed" + echo "$TESTNAME : Test Failed" > $test_path/$TESTNAME.res +fi +log_info "-------------------Completed $TESTNAME Testcase----------------------------" diff --git a/Runner/suites/Kernel/FunctionalArea/baseport/Interrupts/run.sh b/Runner/suites/Kernel/FunctionalArea/baseport/Interrupts/run.sh new file mode 100644 index 00000000..0d45a281 --- /dev/null +++ b/Runner/suites/Kernel/FunctionalArea/baseport/Interrupts/run.sh @@ -0,0 +1,63 @@ +#!/bin/sh +# Import test suite definitions +/var/Runner/init_env +TESTNAME="Interrupts" + +#import test functions library +source $TOOLS/functestlib.sh +test_path=$(find_test_case_by_name "$TESTNAME") +log_info "-----------------------------------------------------------------------------------------" +log_info "-------------------Starting $TESTNAME Testcase----------------------------" + +# Function to get the timer count +get_timer_count() { + cat /proc/interrupts | grep arch_timer +} + +# Get the initial timer count +echo "Initial timer count:" +initial_count=$(get_timer_count) +echo "$initial_count" + +# Wait for 2 minutes +sleep 120 + +# Get the timer count after 2 minutes +echo "Timer count after 2 minutes:" +final_count=$(get_timer_count) +echo "$final_count" + +# Compare the initial and final counts +echo "Comparing timer counts:" +echo "$initial_count" | while read -r line; do + cpu=$(echo "$line" | awk '{print $1}') + initial_values=$(echo "$line" | awk '{for(i=2;i<=9;i++) print $i}') + final_values=$(echo "$final_count" | grep "$cpu" | awk '{for(i=2;i<=9;i++) print $i}') + + fail_test=false + initial_values_list=$(echo "$initial_values" | tr ' ' '\n') + final_values_list=$(echo "$final_values" | tr ' ' '\n') + + i=0 + echo "$initial_values_list" | while read -r initial_value; do + final_value=$(echo "$final_values_list" | sed -n "$((i+1))p") + if [ "$initial_value" -lt "$final_value" ]; then + echo "CPU $i: Timer count has incremented. Test PASSED" + log_pass "CPU $i: Timer count has incremented. Test PASSED" + else + echo "CPU $i: Timer count has not incremented. Test FAILED" + log_fail "CPU $i: Timer count has not incremented. Test FAILED" + fail_test=true + fi + i=$((i+1)) + done + echo $fail_test + if [ "$fail_test" = false ]; then + log_pass "$TESTNAME : Test Passed" + echo "$TESTNAME : Test Passed" > $test_path/$TESTNAME.res + else + log_fail "$TESTNAME : Test Failed" + echo "$TESTNAME : Test Failed" > $test_path/$TESTNAME.res + fi +done +log_info "-------------------Completed $TESTNAME Testcase----------------------------" \ No newline at end of file diff --git a/Runner/suites/Kernel/FunctionalArea/baseport/MEMLAT/run.sh b/Runner/suites/Kernel/FunctionalArea/baseport/MEMLAT/run.sh new file mode 100644 index 00000000..b9454d99 --- /dev/null +++ b/Runner/suites/Kernel/FunctionalArea/baseport/MEMLAT/run.sh @@ -0,0 +1,58 @@ +#!/bin/sh +# Import test suite definitions +/var/Runner/init_env +TESTNAME="MEMLAT" +#import test functions library +source $TOOLS/functestlib.sh +test_path=$(find_test_case_by_name "$TESTNAME") +test_bin_path=$(find_test_case_bin_by_name "lat_mem_rd") +log_info "-----------------------------------------------------------------------------------------" +log_info "-------------------Starting $TESTNAME Testcase----------------------------" + + +extract_votes() { + cat /sys/kernel/debug/interconnect/interconnect_summary | grep -i cpu | awk '{print $NF}' +} + +log_info "Initial vote check:" +initial_votes=$(extract_votes) +log_info "$initial_votes" + + +log_info "Running lat_mem_rd tool..." +$test_bin_path -t 128MB 16 & + +sleep 30 +log_info "Vote check while bw_mem tool is running:" +final_votes=$(extract_votes) +log_info "$final_votes" + +wait + +log_info "Comparing votes..." + +incremented=true +for i in $(seq 1 $(echo "$initial_votes" | wc -l)); do + initial_vote=$(echo "$initial_votes" | sed -n "${i}p") + final_vote=$(echo "$final_votes" | sed -n "${i}p") + if [ "$final_vote" -le "$initial_vote" ]; then + incremented=false + log_pass "Vote did not increment for row $i: initial=$initial_vote, final=$final_vote" + else + log_fail "Vote incremented for row $i: initial=$initial_vote, final=$final_vote" + fi +done + +if $incremented; then + log_pass "TEST PASSED." +else + log_fail "TEST FAILED." +fi +if $incremented; then + log_pass "$TESTNAME : Test Passed" + echo "$TESTNAME : Test Passed" > $test_path/$TESTNAME.res +else + log_fail "$TESTNAME : Test Failed" + echo "$TESTNAME : Test Failed" > $test_path/$TESTNAME.res +fi +log_info "-------------------Completed $TESTNAME Testcase----------------------------" \ No newline at end of file diff --git a/Runner/suites/Kernel/FunctionalArea/baseport/RMNET/run.sh b/Runner/suites/Kernel/FunctionalArea/baseport/RMNET/run.sh new file mode 100644 index 00000000..acd8316f --- /dev/null +++ b/Runner/suites/Kernel/FunctionalArea/baseport/RMNET/run.sh @@ -0,0 +1,47 @@ +#!/bin/sh +# Import test suite definitions +source /var/Runner/init_env +TESTNAME="RMNET" + +#import test functions library +log() { + local level="$1" + shift + # echo "$(date '+%Y-%m-%d %H:%M:%S') - $message" | tee -a /var/test_framework.log + echo "[$level] $(/bin/date '+%Y-%m-%d %H:%M:%S') - $*" | /usr/bin/tee -a /var/test_output.log +} +# Find test case path by name +find_test_case_by_name() { + local test_name="$1" + find /var/Runner/suites -type d -name "$test_name" 2>/dev/null +} +# Logging levels +log_info() { log "INFO" "$@"; } +log_pass() { log "PASS" "$@"; } +log_fail() { log "FAIL" "$@"; } +log_error() { log "ERROR" "$@"; } + +test_path=$(find_test_case_by_name "$TESTNAME") +log_info "-----------------------------------------------------------------------------------------" +log_info "-------------------Starting $TESTNAME Testcase----------------------------" + +PATH=$(find / -name "rmnet.ko" 2>/dev/null) + +if [ -z "$PATH" ]; then + log_error "rmnet.ko file not found." + exit 1 +fi + +TEST=$(/sbin/insmod "$PATH") +log_info "output of insmod $TEST" + +if /sbin/lsmod | /bin/grep "rmnet"; then + log_info "$(/sbin/lsmod | /bin/grep "rmnet")" + log_pass "$TESTNAME : Test Passed" + echo "$TESTNAME : Test Passed" > $test_path/$TESTNAME.res +else + log_error "rmnet module not running" + log_fail "$TESTNAME : Test Failed" + echo "$TESTNAME : Test Failed" > $test_path/$TESTNAME.res +fi +log_info "-------------------Completed $TESTNAME Testcase----------------------------" \ No newline at end of file diff --git a/Runner/suites/Kernel/FunctionalArea/baseport/Reboot_health_check/Readme.md b/Runner/suites/Kernel/FunctionalArea/baseport/Reboot_health_check/Readme.md new file mode 100644 index 00000000..41dbfe30 --- /dev/null +++ b/Runner/suites/Kernel/FunctionalArea/baseport/Reboot_health_check/Readme.md @@ -0,0 +1,139 @@ +Overview + +This script automates a full reboot validation and health check for any embedded Linux system. +It ensures that after each reboot, the system: + +Boots correctly to shell + +Key directories (/proc, /sys, /tmp, /dev) are available + +Kernel version is accessible + +Networking stack is functional + + +It supports auto-retry on failures, with configurable maximum retries. + +No dependency on cron, systemd, Yocto specifics — purely portable. + + +--- + +Features + +Automatic setup of a temporary boot hook + +Reboot and post-boot health validations + +Detailed logs with PASS/FAIL results + +Auto-retry mechanism up to a configurable limit + +Safe cleanup of temp files and hooks after success or failure + +Color-coded outputs for easy reading + +Lightweight and BusyBox compatible + + + +--- + +Usage + +Step 1: Copy the script to your device + +scp reboot_health_check_autoretry.sh root@:/tmp/ + +Step 2: Make it executable + +chmod +x /tmp/reboot_health_check_autoretry.sh + +Step 3: Run the script + +/tmp/reboot_health_check_autoretry.sh + +The script will automatically: + +Create a flag and self-copy to survive reboot + +Setup a temporary /etc/init.d/ hook + +Force reboot + +On reboot, validate the system + +Retry if needed + + + +--- + +Log File + +All outputs are stored in /tmp/reboot_test.log + +Summarizes all individual tests and overall result + + + +--- + +Configuration + +Modify these inside the script if needed: + + +--- + +Pass/Fail Criteria + + +--- + +Limitations + +Requires basic /bin/sh shell (ash, bash, dash supported) + +Needs writable /tmp/ and /etc/init.d/ + +Does not rely on systemd, cron, or external daemons + + + +--- + +Cleanup + +Script automatically: + +Removes temporary boot hook + +Deletes self-copy after successful completion + +Cleans retry counters + + +You don't need to manually intervene. + + +--- + +Example Run Output + +2025-04-26 19:45:20 [START] Reboot Health Test Started +2025-04-26 19:45:21 [STEP] Preparing system for reboot test... +2025-04-26 19:45:23 [INFO] System will reboot now to perform validation. +(reboots) + +2025-04-26 19:46:10 [STEP] Starting post-reboot validation... +2025-04-26 19:46:11 [PASS] Boot flag detected. System reboot successful. +2025-04-26 19:46:12 [PASS] Shell is responsive. +2025-04-26 19:46:12 [PASS] Directory /proc exists. +2025-04-26 19:46:12 [PASS] Directory /sys exists. +2025-04-26 19:46:12 [PASS] Directory /tmp exists. +2025-04-26 19:46:12 [PASS] Directory /dev exists. +2025-04-26 19:46:12 [PASS] Kernel version: 6.6.65 +2025-04-26 19:46:13 [PASS] Network stack active (ping localhost successful). +2025-04-26 19:46:13 [OVERALL PASS] Reboot + Health Check successful! + diff --git a/Runner/suites/Kernel/FunctionalArea/baseport/Reboot_health_check/run.sh b/Runner/suites/Kernel/FunctionalArea/baseport/Reboot_health_check/run.sh new file mode 100644 index 00000000..9a185da4 --- /dev/null +++ b/Runner/suites/Kernel/FunctionalArea/baseport/Reboot_health_check/run.sh @@ -0,0 +1,54 @@ +#!/bin/sh +# Import test suite definitions +/var/Runner/init_env +TESTNAME="Reboot_health_check" +#import test functions library +source $TOOLS/functestlib.sh +test_path=$(find_test_case_by_name "$TESTNAME") + +# Directory for health check files +HEALTH_DIR="/var/reboot_health" +LOG_FILE="$HEALTH_DIR/reboot_test.log" +RETRY_FILE="$HEALTH_DIR/reboot_retry_count" +MAX_RETRIES=3 + +# Make sure health directory exists +mkdir -p "$HEALTH_DIR" + +# Initialize retry count if not exist +if [ ! -f "$RETRY_FILE" ]; then + echo "0" > "$RETRY_FILE" +fi + +# Read current retry count +RETRY_COUNT=$(cat "$RETRY_FILE") + +log_info "--------------------------------------------" +log_info "Boot Health Check Started - $(date)" +log_info "Current Retry Count: $RETRY_COUNT" + +# Health Check: You can expand this check +if [ "$(whoami)" = "root" ]; then + log_pass "System booted successfully and root shell obtained." + log_info "Test Completed Successfully after $RETRY_COUNT retries." + + # Optional: clean retry counter after success + echo "0" > "$RETRY_FILE" + + exit 0 +else + log_fail "Root shell not available!" + + RETRY_COUNT=$((RETRY_COUNT + 1)) + echo "$RETRY_COUNT" > "$RETRY_FILE" + + if [ "$RETRY_COUNT" -ge "$MAX_RETRIES" ]; then + log_error "[ERROR] Maximum retries ($MAX_RETRIES) reached. Stopping test." + exit 1 + else + log_info "Rebooting system for retry #$RETRY_COUNT..." + sync + sleep 2 + reboot -f + fi +fi diff --git a/Runner/suites/Kernel/FunctionalArea/baseport/Timer/run.sh b/Runner/suites/Kernel/FunctionalArea/baseport/Timer/run.sh new file mode 100644 index 00000000..45c2f8d4 --- /dev/null +++ b/Runner/suites/Kernel/FunctionalArea/baseport/Timer/run.sh @@ -0,0 +1,28 @@ +#!/bin/sh +# Import test suite definitions +/var/Runner/init_env +TESTNAME="Timer" + +#import test functions library +source $TOOLS/functestlib.sh +test_path=$(find_test_case_by_name "$TESTNAME") +log_info "-----------------------------------------------------------------------------------------" +log_info "-------------------Starting $TESTNAME Testcase----------------------------" + +chmod -R 777 /APT/timers + +# Path to the binary +BINARY_PATH="/var/common/bins/timers/posix_timers" + +# Run the binary and capture the output +OUTPUT=$($BINARY_PATH) + +# Check if "pass:7" is in the output +if [[ $OUTPUT == *"pass:7"* ]]; then + log_pass "$TESTNAME : Test Passed" + echo "$TESTNAME : Test Passed" > $test_path/$TESTNAME.res +else + log_fail "$TESTNAME : Test Failed" + echo "$TESTNAME : Test Failed" > $test_path/$TESTNAME.res +fi +log_info "-------------------Completed $TESTNAME Testcase----------------------------" \ No newline at end of file diff --git a/Runner/suites/Kernel/FunctionalArea/baseport/adsp_remoteproc/run.sh b/Runner/suites/Kernel/FunctionalArea/baseport/adsp_remoteproc/run.sh new file mode 100644 index 00000000..490256ac --- /dev/null +++ b/Runner/suites/Kernel/FunctionalArea/baseport/adsp_remoteproc/run.sh @@ -0,0 +1,61 @@ +#!/bin/sh +# Import test suite definitions +/var/Runner/init_env +TESTNAME="adsp_remoteproc" + +#import test functions library +source $TOOLS/functestlib.sh +test_path=$(find_test_case_by_name "$TESTNAME") +log_info "--------------------------------------------------------------------------" +log_info "-------------------Starting $TESTNAME Testcase----------------------------" + +# Get the firmware output and find the position of adsp +log_info "Checking for firmware" +firmware_output=$(cat /sys/class/remoteproc/remoteproc*/firmware) +adsp_position=$(echo "$firmware_output" | grep -n "adsp" | cut -d: -f1) + +# Adjust the position to match the remoteproc numbering (starting from 0) +remoteproc_number=$((adsp_position - 1)) + +# Construct the remoteproc path based on the adsp position +remoteproc_path="/sys/class/remoteproc/remoteproc${remoteproc_number}" +log_info "Remoteproc node is $remoteproc_path" +# Execute command 1 and check if the output is "running" +state1=$(cat ${remoteproc_path}/state) + +if [ "$state1" != "running" ]; then + log_fail "$TESTNAME : Test Failed" + echo "$TESTNAME : Test Failed" > $test_path/$TESTNAME.res + exit 1 +fi + +# Execute command 2 (no output expected) +log_info "Stopping remoteproc" +echo stop > ${remoteproc_path}/state + +# Execute command 3 and check if the output is "offline" +state3=$(cat ${remoteproc_path}/state) +if [ "$state3" != "offline" ]; then + log_fail "adsp stop failed" + echo "$TESTNAME : Test Failed" > $test_path/$TESTNAME.res + exit 1 +else + log_pass "adsp stop successful" +fi +log_info "Restarting remoteproc" +# Execute command 4 (no output expected) +echo start > ${remoteproc_path}/state + +# Execute command 5 and check if the output is "running" +state5=$(cat ${remoteproc_path}/state) +if [ "$state5" != "running" ]; then + log_fail "adsp start failed" + echo "$TESTNAME : Test Failed" > $test_path/$TESTNAME.res + exit 1 +fi + +# If all checks pass, print "PASS" +echo "adsp PASS" +log_pass "adsp PASS" +echo "$TESTNAME : Test Passed" > $test_path/$TESTNAME.res +log_info "-------------------Completed $TESTNAME Testcase----------------------------" diff --git a/Runner/suites/Kernel/FunctionalArea/baseport/cdsp_remoteproc/run.sh b/Runner/suites/Kernel/FunctionalArea/baseport/cdsp_remoteproc/run.sh new file mode 100644 index 00000000..acb22368 --- /dev/null +++ b/Runner/suites/Kernel/FunctionalArea/baseport/cdsp_remoteproc/run.sh @@ -0,0 +1,59 @@ +#!/bin/sh +# Import test suite definitions +/var/Runner/init_env +TESTNAME="cdsp_remoteproc" + +#import test functions library +source $TOOLS/functestlib.sh +test_path=$(find_test_case_by_name "$TESTNAME") +log_info "-----------------------------------------------------------------------------------------" +log_info "-------------------Starting $TESTNAME Testcase----------------------------" + +# Get the firmware output and find the position of cdsp +log_info "Get the firmware output and find the position of cdsp" +firmware_output=$(cat /sys/class/remoteproc/remoteproc*/firmware) +cdsp_position=$(echo "$firmware_output" | grep -n "cdsp" | cut -d: -f1) + +# Adjust the position to match the remoteproc numbering (starting from 0) +remoteproc_number=$((cdsp_position - 1)) + +# Construct the remoteproc path based on the cdsp position +remoteproc_path="/sys/class/remoteproc/remoteproc${remoteproc_number}" + +# Execute command 1 and check if the output is "running" +state1=$(cat ${remoteproc_path}/state) +if [ "$state1" != "running" ]; then + log_fail "$TESTNAME : Test Failed" + echo "$TESTNAME : Test Failed" > $test_path/$TESTNAME.res + exit 1 +fi + +# Execute command 2 (no output expected) +echo stop > ${remoteproc_path}/state + +# Execute command 3 and check if the output is "offline" +state3=$(cat ${remoteproc_path}/state) +if [ "$state3" != "offline" ]; then + log_fail "cdsp stop failed" + echo "$TESTNAME : Test Failed" > $test_path/$TESTNAME.res + exit 1 +else + log_pass "cdsp stop successful" +fi +log_info "Restarting remoteproc" +# Execute command 4 (no output expected) +echo start > ${remoteproc_path}/state + +# Execute command 5 and check if the output is "running" +state5=$(cat ${remoteproc_path}/state) +if [ "$state5" != "running" ]; then + log_fail "cdsp start failed" + echo "$TESTNAME : Test Failed" > $test_path/$TESTNAME.res + exit 1 +fi + +# If all checks pass, print "PASS" +echo "cdsp PASS" +log_pass "cdsp PASS" +echo "$TESTNAME : Test Passed" > $test_path/$TESTNAME.res +log_info "-------------------Completed $TESTNAME Testcase----------------------------" diff --git a/Runner/suites/Kernel/FunctionalArea/baseport/hotplug/run.sh b/Runner/suites/Kernel/FunctionalArea/baseport/hotplug/run.sh new file mode 100644 index 00000000..db14105c --- /dev/null +++ b/Runner/suites/Kernel/FunctionalArea/baseport/hotplug/run.sh @@ -0,0 +1,71 @@ +#!/bin/sh +# Import test suite definitions +/var/Runner/init_env +TESTNAME="hotplug" + +#import test functions library +source $TOOLS/functestlib.sh +test_path=$(find_test_case_by_name "$TESTNAME") +log_info "--------------------------------------------------------------------------" +log_info "-------------------Starting $TESTNAME Testcase----------------------------" + +check_cpu_status() { + cat /sys/devices/system/cpu/cpu*/online +} +op=0 +offline_cpu() { + echo 0 > "/sys/devices/system/cpu/$1/online" + op=$(cat "/sys/devices/system/cpu/$1/online") + if [ "$op" -ne 1 ]; then + log_pass "/sys/devices/system/cpu/$1/online is offline as expected" + fi +} + +online_cpu() { + echo 1 > "/sys/devices/system/cpu/$1/online" + op=$(cat "/sys/devices/system/cpu/$1/online") + if [ "$op" -ne 0 ]; then + log_pass "/sys/devices/system/cpu/$1/online is online as expected" + fi +} + +log_info "Initial CPU status:" +check_cpu_status | tee -a "$LOG_FILE" + +test_passed=true +for cpu in /sys/devices/system/cpu/cpu[0-7]*; do + cpu_id=$(basename "$cpu") + + log_info "Offlining $cpu_id" + offline_cpu "$cpu_id" + sleep 1 + + online_status=$(cat /sys/devices/system/cpu/$cpu_id/online) + if [ "$online_status" -ne 0 ]; then + log_fail "Failed to offline $cpu_id" + test_passed=false + fi + + log_info "Onlining $cpu_id" + online_cpu "$cpu_id" + sleep 1 + + online_status=$(cat /sys/devices/system/cpu/$cpu_id/online) + if [ "$online_status" -ne 1 ]; then + log_fail "Failed to online $cpu_id" + test_passed=false + fi +done + +log_info "Final CPU status:" +check_cpu_status | tee -a "$LOG_FILE" + +# Print overall test result +if [ "$test_passed" = true ]; then + log_pass "$TESTNAME : Test Passed" + echo "$TESTNAME : Test Passed" > $test_path/$TESTNAME.res +else + log_fail "$TESTNAME : Test Failed" + echo "$TESTNAME : Test Failed" > $test_path/$TESTNAME.res +fi +log_info "-------------------Completed $TESTNAME Testcase----------------------------" diff --git a/Runner/suites/Kernel/FunctionalArea/baseport/iommu/run.sh b/Runner/suites/Kernel/FunctionalArea/baseport/iommu/run.sh new file mode 100644 index 00000000..fea912f3 --- /dev/null +++ b/Runner/suites/Kernel/FunctionalArea/baseport/iommu/run.sh @@ -0,0 +1,23 @@ +#!/bin/sh +# Import test suite definitions +/var/Runner/init_env +TESTNAME="iommu" + +#import test functions library +source $TOOLS/functestlib.sh +test_path=$(find_test_case_by_name "$TESTNAME") +log_info "--------------------------------------------------------------------------" +log_info "-------------------Starting $TESTNAME Testcase----------------------------" + +# Run the command and capture the output +OUTPUT=$(dmesg | grep iommu) + +# Check if the output is null +if [ -z "$OUTPUT" ]; then + log_pass "$TESTNAME : Test Passed" + echo "$TESTNAME : Test Passed" > $test_path/$TESTNAME.res +else + log_fail "$TESTNAME : Test Failed" + echo "$TESTNAME : Test Failed" > $test_path/$TESTNAME.res +fi +log_info "-------------------Completed $TESTNAME Testcase----------------------------" diff --git a/Runner/suites/Kernel/FunctionalArea/baseport/irq/run.sh b/Runner/suites/Kernel/FunctionalArea/baseport/irq/run.sh new file mode 100644 index 00000000..8c492287 --- /dev/null +++ b/Runner/suites/Kernel/FunctionalArea/baseport/irq/run.sh @@ -0,0 +1,60 @@ +#!/bin/sh +# Import test suite definitions +/var/Runner/init_env +TESTNAME="irq" + +#import test functions library +source $TOOLS/functestlib.sh +test_path=$(find_test_case_by_name "$TESTNAME") +log_info "-----------------------------------------------------------------------------------------" +log_info "-------------------Starting $TESTNAME Testcase----------------------------" +# Function to get the timer count +get_timer_count() { + cat /proc/interrupts | grep arch_timer +} + +# Get the initial timer count +log_info "Initial timer count:" +initial_count=$(get_timer_count) +log_info "$initial_count" + +# Wait for 20 seconds +sleep 20 + +# Get the timer count after 20 secs +log_info "Timer count after 20 secs:" +final_count=$(get_timer_count) +log_info "$final_count" + +# Compare the initial and final counts +log_info "Comparing timer counts:" +echo "$initial_count" | while read -r line; do + cpu=$(echo "$line" | awk '{print $1}') + initial_values=$(echo "$line" | awk '{for(i=2;i<=9;i++) print $i}') + final_values=$(echo "$final_count" | grep "$cpu" | awk '{for(i=2;i<=9;i++) print $i}') + + fail_test=false + initial_values_list=$(echo "$initial_values" | tr ' ' '\n') + final_values_list=$(echo "$final_values" | tr ' ' '\n') + + i=0 + echo "$initial_values_list" | while read -r initial_value; do + final_value=$(echo "$final_values_list" | sed -n "$((i+1))p") + if [ "$initial_value" -lt "$final_value" ]; then + log_pass "CPU $i: Timer count has incremented. Test PASSED" + else + log_fail "CPU $i: Timer count has not incremented. Test FAILED" + fail_test=true + fi + i=$((i+1)) + done + + if [ "$fail_test" = false ]; then + log_pass "$TESTNAME : Test Passed" + echo "$TESTNAME : Test Passed" > $test_path/$TESTNAME.res + else + log_fail "$TESTNAME : Test Failed" + echo "$TESTNAME : Test Failed" > $test_path/$TESTNAME.res + fi +done +log_info "-------------------Completed $TESTNAME Testcase----------------------------" diff --git a/Runner/suites/Kernel/FunctionalArea/baseport/kaslr/run.sh b/Runner/suites/Kernel/FunctionalArea/baseport/kaslr/run.sh new file mode 100644 index 00000000..6a32128f --- /dev/null +++ b/Runner/suites/Kernel/FunctionalArea/baseport/kaslr/run.sh @@ -0,0 +1,26 @@ +#!/bin/sh +# Import test suite definitions +/var/Runner/init_env +TESTNAME="kaslr" +#import test functions library +source $TOOLS/functestlib.sh +test_path=$(find_test_case_by_name "$TESTNAME") + +log_info "--------------------------------------------------------------------------" +log_info "-------------------Starting $TESTNAME Testcase----------------------------" + +output=$(cat /proc/kallsyms | grep stext) + + +value=$(echo $output | awk '{print $1}') + + + +if [ $value == "0000000000000000" ]; then + log_pass "$TESTNAME : Test Passed" + echo "$TESTNAME : Test Passed" > $test_path/$TESTNAME.res +else + log_fail "$TESTNAME : Test Failed" + echo "$TESTNAME : Test Failed" > $test_path/$TESTNAME.res +fi +log_info "-------------------Completed $TESTNAME Testcase----------------------------" diff --git a/Runner/suites/Kernel/FunctionalArea/baseport/pinctrl/run.sh b/Runner/suites/Kernel/FunctionalArea/baseport/pinctrl/run.sh new file mode 100644 index 00000000..8c717ffc --- /dev/null +++ b/Runner/suites/Kernel/FunctionalArea/baseport/pinctrl/run.sh @@ -0,0 +1,24 @@ +#!/bin/sh +# Import test suite definitions +/var/Runner/init_env +TESTNAME="pinctrl" + +#import test functions library +source $TOOLS/functestlib.sh +test_path=$(find_test_case_by_name "$TESTNAME") +log_info "-----------------------------------------------------------------------------------------" +log_info "-------------------Starting $TESTNAME Testcase----------------------------" +log_info "Mounting debugfs" +mount -t debugfs debugfs /sys/kernel/debug +# Execute the command and store the output +output=$(ls /sys/kernel/debug/pinctrl) + +# Print overall test result +if [ -z "$output" ]; then + log_fail "$TESTNAME : Test Failed" + echo "$TESTNAME : Test Failed" > $test_path/$TESTNAME.res +else + log_pass "$TESTNAME : Test Passed" + echo "$TESTNAME : Test Passed" > $test_path/$TESTNAME.res +fi +log_info "-------------------Completed $TESTNAME Testcase----------------------------" \ No newline at end of file diff --git a/Runner/suites/Kernel/FunctionalArea/baseport/qcrypto/run.sh b/Runner/suites/Kernel/FunctionalArea/baseport/qcrypto/run.sh new file mode 100644 index 00000000..b0a827e2 --- /dev/null +++ b/Runner/suites/Kernel/FunctionalArea/baseport/qcrypto/run.sh @@ -0,0 +1,28 @@ +#!/bin/sh +# Import test suite definitions +/var/Runner/init_env +TESTNAME="qcrypto" + +#import test functions library +source $TOOLS/functestlib.sh +test_path=$(find_test_case_by_name "$TESTNAME") +log_info "-----------------------------------------------------------------------------------------" +log_info "-------------------Starting $TESTNAME Testcase----------------------------" + +cp -r /kcapi/kcapi-convience /usr/bin/ + +chmod 777 /usr/bin/kcapi-convience + +/usr/bin/kcapi-convience + +echo $? + + +if [ $? -eq 0 ]; then + log_pass "$TESTNAME : Test Passed" + echo "$TESTNAME : Test Passed" > $test_path/$TESTNAME.res +else + log_fail "$TESTNAME : Test Failed" + echo "$TESTNAME : Test Failed" > $test_path/$TESTNAME.res +fi +log_info "-------------------Completed $TESTNAME Testcase----------------------------" \ No newline at end of file diff --git a/Runner/suites/Kernel/FunctionalArea/baseport/remoteproc/run.sh b/Runner/suites/Kernel/FunctionalArea/baseport/remoteproc/run.sh new file mode 100644 index 00000000..1699501b --- /dev/null +++ b/Runner/suites/Kernel/FunctionalArea/baseport/remoteproc/run.sh @@ -0,0 +1,31 @@ +#!/bin/sh +# Import test suite definitions +/var/Runner/init_env +TESTNAME="remoteproc" + +#import test functions library +source $TOOLS/functestlib.sh +test_path=$(find_test_case_by_name "$TESTNAME") +log_info "-----------------------------------------------------------------------------------------" +log_info "-------------------Starting $TESTNAME Testcase----------------------------" + +log_info "Getting the number of subsystems aavailable" +subsystem_count=$(cat /sys/class/remoteproc/remoteproc*/state | wc -l) + +# Execute the command and get the output +log_info "Checking if all the remoteprocs are in running state" +output=$(cat /sys/class/remoteproc/remoteproc*/state) + +# Count the number of "running" values +count=$(echo "$output" | grep -c "running") +log_info "rproc subsystems in running state : $count, expected subsystems : $subsystem_count" + +# Print overall test result +if [ $count -eq $subsystem_count ]; then + log_pass "$TESTNAME : Test Passed" + echo "$TESTNAME : Test Passed" > $test_path/$TESTNAME.res +else + log_fail "$TESTNAME : Test Failed" + echo "$TESTNAME : Test Failed" > $test_path/$TESTNAME.res +fi +log_info "-------------------Completed $TESTNAME Testcase----------------------------" \ No newline at end of file diff --git a/Runner/suites/Kernel/FunctionalArea/baseport/rngtest/run.sh b/Runner/suites/Kernel/FunctionalArea/baseport/rngtest/run.sh new file mode 100644 index 00000000..080cfbb2 --- /dev/null +++ b/Runner/suites/Kernel/FunctionalArea/baseport/rngtest/run.sh @@ -0,0 +1,29 @@ +#!/bin/sh +# Import test suite definitions +/var/Runner/init_env +TESTNAME="rngtest" + +#import test functions library +source $TOOLS/functestlib.sh +test_path=$(find_test_case_by_name "$TESTNAME") +log_info "-----------------------------------------------------------------------------------------" +log_info "-------------------Starting $TESTNAME Testcase----------------------------" + +chmod -R 777 /rngtest + +cd /rngtest + +cat /dev/random | rngtest -c 1000 > /tmp/rngtest_output.txt + +grep 'count of bits' /tmp/rngtest_output.txt | awk '{print $NF}' > /tmp/rngtest_value.txt + +value=$(cat /tmp/rngtest_value.txt) + +if [ "$value" -lt 10 ]; then + log_pass "$TESTNAME : Test Passed" + echo "$TESTNAME : Test Passed" > $test_path/$TESTNAME.res +else + log_fail "$TESTNAME : Test Failed" + echo "$TESTNAME : Test Failed" > $test_path/$TESTNAME.res +fi +log_info "-------------------Completed $TESTNAME Testcase----------------------------" \ No newline at end of file diff --git a/Runner/suites/Kernel/FunctionalArea/baseport/smmu/run.sh b/Runner/suites/Kernel/FunctionalArea/baseport/smmu/run.sh new file mode 100644 index 00000000..ee8ce1b5 --- /dev/null +++ b/Runner/suites/Kernel/FunctionalArea/baseport/smmu/run.sh @@ -0,0 +1,23 @@ +#!/bin/sh +# Import test suite definitions +/var/Runner/init_env +TESTNAME="smmu" + +#import test functions library +source $TOOLS/functestlib.sh +test_path=$(find_test_case_by_name "$TESTNAME") +log_info "-----------------------------------------------------------------------------------------" +log_info "-------------------Starting $TESTNAME Testcase----------------------------" + +# Run the command and capture the output +OUTPUT=$(dmesg | grep iommu) + +# Check if the output is null +if [ -z "$OUTPUT" ]; then + log_fail "$TESTNAME : Test Failed" + echo "$TESTNAME : Test Failed" > $test_path/$TESTNAME.res +else + log_pass "$TESTNAME : Test Passed" + echo "$TESTNAME : Test Passed" > $test_path/$TESTNAME.res +fi +log_info "-------------------Completed $TESTNAME Testcase----------------------------" \ No newline at end of file diff --git a/Runner/suites/Kernel/FunctionalArea/baseport/storage/run.sh b/Runner/suites/Kernel/FunctionalArea/baseport/storage/run.sh new file mode 100644 index 00000000..fc479af2 --- /dev/null +++ b/Runner/suites/Kernel/FunctionalArea/baseport/storage/run.sh @@ -0,0 +1,41 @@ +#!/bin/sh +# Import test suite definitions +/var/Runner/init_env +TESTNAME="storage" + +#import test functions library +source $TOOLS/functestlib.sh +test_path=$(find_test_case_by_name "$TESTNAME") +log_info "-----------------------------------------------------------------------------------------" +log_info "-------------------Starting $TESTNAME Testcase----------------------------" + +log_info "Run the dd command to create a file with random data" +dd if=/dev/random of=/tmp/a.txt bs=1M count=1024 + +# Check if the file is created +if [ -f /tmp/a.txt ]; then + echo "File /tmp/a.txt is created." + + # Check if the file is not empty + if [ -s /tmp/a.txt ]; then + log_pass "File /tmp/a.txt is not empty. Test Passed" + log_pass "$TESTNAME : Test Passed" + echo "$TESTNAME : Test Passed" > $test_path/$TESTNAME.res + else + log_fail "File /tmp/a.txt is empty. Test Failed." + log_fail "$TESTNAME : Test Failed" + echo "$TESTNAME : Test Failed" > $test_path/$TESTNAME.res + fi +else + log_fail "File /tmp/a.txt is not created. Test Failed" + log_fail "$TESTNAME : Test Failed" + echo "$TESTNAME : Test Failed" > $test_path/$TESTNAME.res +fi +if [ -f /tmp/a.txt ]; then + log_pass "$TESTNAME : Test Passed" + echo "$TESTNAME : Test Passed" > $test_path/$TESTNAME.res +else + log_fail "$TESTNAME : Test Failed" + echo "$TESTNAME : Test Failed" > $test_path/$TESTNAME.res +fi +log_info "-------------------Completed $TESTNAME Testcase----------------------------" \ No newline at end of file diff --git a/Runner/suites/Kernel/FunctionalArea/baseport/watchdog/run.sh b/Runner/suites/Kernel/FunctionalArea/baseport/watchdog/run.sh new file mode 100644 index 00000000..568ff5f3 --- /dev/null +++ b/Runner/suites/Kernel/FunctionalArea/baseport/watchdog/run.sh @@ -0,0 +1,21 @@ +#!/bin/sh +# Import test suite definitions +/var/Runner/init_env +TESTNAME="watchdog" + +#import test functions library +source $TOOLS/functestlib.sh +test_path=$(find_test_case_by_name "$TESTNAME") +log_info "--------------------------------------------------------------------------" +log_info "-------------------Starting $TESTNAME Testcase----------------------------" + +if [ -e /dev/watchdog ]; then + log_pass "/dev/watchdog node is present." + log_pass "$TESTNAME : Test Passed" + echo "$TESTNAME : Test Passed" > $test_path/$TESTNAME.res +else + log_fail "/dev/watchdog node is not present." + log_fail "$TESTNAME : Test Failed" + echo "$TESTNAME : Test Failed" > $test_path/$TESTNAME.res +fi +log_info "-------------------Completed $TESTNAME Testcase---------------------------" diff --git a/Runner/suites/Kernel/FunctionalArea/baseport/wpss_remoteproc/run.sh b/Runner/suites/Kernel/FunctionalArea/baseport/wpss_remoteproc/run.sh new file mode 100644 index 00000000..0af4dfa6 --- /dev/null +++ b/Runner/suites/Kernel/FunctionalArea/baseport/wpss_remoteproc/run.sh @@ -0,0 +1,58 @@ +#!/bin/sh +# Import test suite definitions +/var/Runner/init_env +TESTNAME="wpss_remoteproc" + +#import test functions library +source $TOOLS/functestlib.sh +test_path=$(find_test_case_by_name "$TESTNAME") +log_info "-----------------------------------------------------------------------------------------" +log_info "-------------------Starting $TESTNAME Testcase----------------------------" + +# Get the firmware output and find the position of wpss +firmware_output=$(cat /sys/class/remoteproc/remoteproc*/firmware) +wpss_position=$(echo "$firmware_output" | grep -n "wpss" | cut -d: -f1) + +# Adjust the position to match the remoteproc numbering (starting from 0) +remoteproc_number=$((wpss_position - 1)) + +# Construct the remoteproc path based on the wpss position +remoteproc_path="/sys/class/remoteproc/remoteproc${remoteproc_number}" + +# Execute command 1 and check if the output is "running" +state1=$(cat ${remoteproc_path}/state) +if [ "$state1" != "running" ]; then + log_fail "$TESTNAME : Test Failed" + echo "$TESTNAME : Test Failed" > $test_path/$TESTNAME.res + exit 1 +fi + +# Execute command 2 (no output expected) +echo stop > ${remoteproc_path}/state + +# Execute command 3 and check if the output is "offline" +state3=$(cat ${remoteproc_path}/state) +if [ "$state3" != "offline" ]; then + log_fail "wpss stop failed" + echo "$TESTNAME : Test Failed" > $test_path/$TESTNAME.res + exit 1 +else + log_pass "wpss stop successful" +fi + +# Execute command 4 (no output expected) +echo start > ${remoteproc_path}/state + +# Execute command 5 and check if the output is "running" +state5=$(cat ${remoteproc_path}/state) +if [ "$state5" != "running" ]; then + log_fail "wpss start failed" + echo "$TESTNAME : Test Failed" > $test_path/$TESTNAME.res + exit 1 +fi + +# If all checks pass, print "PASS" +echo "wpss PASS" +log_pass "wpss PASS" +echo "$TESTNAME : Test Passed" > $test_path/$TESTNAME.res +log_info "-------------------Completed $TESTNAME Testcase----------------------------" diff --git a/Runner/suites/Multimedia/DSP_AudioPD/run.sh b/Runner/suites/Multimedia/DSP_AudioPD/run.sh new file mode 100644 index 00000000..95e5c8d1 --- /dev/null +++ b/Runner/suites/Multimedia/DSP_AudioPD/run.sh @@ -0,0 +1,51 @@ +#!/bin/sh +# Import test suite definitions +/var/Runner/init_env +TESTNAME="DSP_AudioPD" + +#import test functions library +source $TOOLS/functestlib.sh +test_path=$(find_test_case_by_name "$TESTNAME") +log_info "--------------------------------------------------------------------------" +log_info "-------------------Starting $TESTNAME Testcase----------------------------" + +# Make the test executable +chmod -R 777 /DSP_audioPD + +export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/DSP_audioPD/libs/ + +cd /DSP_audioPD/bins/ +./adsprpcd & +PID = $! + +if [ -z "$PID" ]; then + echo "Failed to start the binary" + exit 1 +else + echo "Binary is running successfully" +fi + +check_stack_trace() { + local pid = $1 + if cat /proc/$pid/stack 2>/dev/null | grep -q "do_sys_poll" + return 0 + else + return 1 + fi +} + +# Print overall test result +if check_stack_trace "$PID"; then + log_pass "$TESTNAME : Test Passed" + echo "$TESTNAME : Test Passed" > $test_path/$TESTNAME.res +else + log_fail "$TESTNAME : Test Failed" + echo "$TESTNAME : Test Failed" > $test_path/$TESTNAME.res +fi + +log_info "Kill the process" +if kill -0 "$PID" 2>/dev/null; then + kill -9 "$PID" + wait "$PID" +fi +log_info "-------------------Completed $TESTNAME Testcase----------------------------" diff --git a/Runner/suites/Multimedia/Graphics/run.sh b/Runner/suites/Multimedia/Graphics/run.sh new file mode 100644 index 00000000..4bee5347 --- /dev/null +++ b/Runner/suites/Multimedia/Graphics/run.sh @@ -0,0 +1,31 @@ +#!/bin/sh +# Import test suite definitions +/var/Runner/init_env +TESTNAME="Graphics" + +#import test functions library +source $TOOLS/functestlib.sh +test_path=$(find_test_case_by_name "$TESTNAME") +log_info "-----------------------------------------------------------------------------------------" +log_info "-------------------Starting $TESTNAME Testcase----------------------------" + +cd /Graphics + +cp -r a660_sqe.fw /lib/firmware/ +cp -r a660_zap.mbn /lib/firmware/qcom/qcs6490/ +cp -r a660_gmu.bin /lib/firmware/ + +# Clear dmesg logs +dmesg -c + +cat /dev/dri/card0 & +OUTPUT=$(dmesg) + +if [ $OUTPUT == *"Loaded GMU firmware"* ]; then + log_pass "$TESTNAME : Test Passed" + echo "$TESTNAME : Test Passed" > $test_path/$TESTNAME.res +else + log_fail "$TESTNAME : Test Failed" + echo "$TESTNAME : Test Failed" > $test_path/$TESTNAME.res +fi +log_info "-------------------Completed $TESTNAME Testcase----------------------------" \ No newline at end of file diff --git a/Runner/suites/Multimedia/Video/iris_v4l2_video_decode/run.sh b/Runner/suites/Multimedia/Video/iris_v4l2_video_decode/run.sh new file mode 100644 index 00000000..77cdc2c5 --- /dev/null +++ b/Runner/suites/Multimedia/Video/iris_v4l2_video_decode/run.sh @@ -0,0 +1,25 @@ +#!/bin/sh +# Import test suite definitions +/var/Runner/init_env +TESTNAME="video_decode" + +#import test functions library +source $TOOLS/functestlib.sh +test_path=$(find_test_case_by_name "$TESTNAME") +log_info "-----------------------------------------------------------------------------------------" +log_info "-------------------Starting $TESTNAME Testcase----------------------------" + +# Make the test executable +chmod -R 777 /Video + +# Run the first test +/Video/iris_v4l2_test --config /Video/DEC_AVC_NV12_BASIC_CFG.json --loglevel 15 >> video_dec.txt + +if grep -q "Test Passed" "video_dec.txt"; then + log_pass "$TESTNAME : Test Passed" + echo "$TESTNAME : Test Passed" > $test_path/$TESTNAME.res +else + log_fail "$TESTNAME : Test Failed" + echo "$TESTNAME : Test Failed" > $test_path/$TESTNAME.res +fi +log_info "-------------------Completed $TESTNAME Testcase----------------------------" \ No newline at end of file diff --git a/Runner/suites/Multimedia/Video/iris_v4l2_video_encode/run.sh b/Runner/suites/Multimedia/Video/iris_v4l2_video_encode/run.sh new file mode 100644 index 00000000..a931ceb6 --- /dev/null +++ b/Runner/suites/Multimedia/Video/iris_v4l2_video_encode/run.sh @@ -0,0 +1,25 @@ +#!/bin/sh +# Import test suite definitions +/var/Runner/init_env +TESTNAME="video_encode" + +#import test functions library +source $TOOLS/functestlib.sh +test_path=$(find_test_case_by_name "$TESTNAME") +log_info "-----------------------------------------------------------------------------------------" +log_info "-------------------Starting $TESTNAME Testcase----------------------------" + +# Make the test executable +chmod -R 777 /Video + +# Run the first test +/Video/iris_v4l2_test --config /Video/ENC_AVC_NV12_BASIC_CFG.json --loglevel 15 >> video_enc.txt + +if grep -q "Test Passed" "video_enc.txt"; then + log_pass "$TESTNAME : Test Passed" + echo "$TESTNAME : Test Passed" > $test_path/$TESTNAME.res +else + log_fail "$TESTNAME : Test Failed" + echo "$TESTNAME : Test Failed" > $test_path/$TESTNAME.res +fi +log_info "-------------------Completed $TESTNAME Testcase----------------------------" \ No newline at end of file diff --git a/Runner/utils/basics.sh b/Runner/utils/basics.sh new file mode 100644 index 00000000..d0a35d66 --- /dev/null +++ b/Runner/utils/basics.sh @@ -0,0 +1,406 @@ +# Import test suite definitions +source ../../../../init_env + +#import platform +. $TOOLS/platform.sh + +#import test functions library +source $TOOLS/functestlib.sh + +# CPU_FAST CPU_SLOW FTRACE_START_MARKER are used by the ftrace libraries + +FTRACE_FILE=./trace.ftrace +LOAD_GENERATOR=$TOOLS/tasklibrary +FTRACE_ANALYZER_EXE=$TOOLS/ftrace +TRACE_CMD_EXE=$TOOLS/trace-cmd +BIG_LITTLE_SWITCH_SO=$TOOLS/libbiglittleswitch.so.1.0.0 +HOG_CPU=$TOOLS/affinity_tools +TASKSET=$TOOLS/affinity_tools +CONFIG_FTRACE_EVENTS="-e sched:*" +CONFIG_FTRACE_BUFFER_SIZE=40960 + +CPU_FAST= +CPU_SLOW= +IMPLEMENTER=0x41 +#A7 +default_little_cpulist +HMPSLOWCPUS=$__RET +littlecore=`echo $HMPSLOWCPUS|busybox awk {'print $1'}` +CONFIG_TARGET_LITTLE_CPUPART=$( cpupart $littlecore ) +PART_SLOW=`echo $CONFIG_TARGET_LITTLE_CPUPART` +#A15 +default_big_cpulist +HMPFASTCPUS=$__RET +bigcore=`echo $HMPFASTCPUS|busybox awk {'print $1'}` +CONFIG_TARGET_BIG_CPUPART=$( cpupart $bigcore ) +PART_FAST=`echo $CONFIG_TARGET_BIG_CPUPART` +commaslow= +commafast= +for cpu in 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 21 22 23 24 25 26 ; do + $TASKSET -part $cpu,$IMPLEMENTER,$PART_SLOW >/dev/null + if [ $? == 0 ] ; then + CPU_SLOW=$CPU_SLOW$commaslow$cpu + commaslow=, + fi + $TASKSET -part $cpu,$IMPLEMENTER,$PART_FAST >/dev/null + if [ $? == 0 ] ; then + CPU_FAST=$CPU_FAST$commafast$cpu + commafast=, + fi +done +echo "Fast CPU $CPU_FAST Slow CPU $CPU_SLOW" + +if [ ! -e /proc/sys/kernel/sched_upmigrate ] || [ ! -e /proc/sys/kernel/sched_downmigrate ]; then + echo "up-upmigrate and down-downmigrate values not exported. Precondition failure" + #non-zero exit signals test runner to declare this test as a failure + exit 1 +fi + +UP_THRESHOLD_1024=$(cat '/proc/sys/kernel/sched_upmigrate' | cut -f 1) +DOWN_THRESHOLD_1024=$(cat '/proc/sys/kernel/sched_downmigrate' | cut -f 1) +let UP_THRESHOLD=$UP_THRESHOLD_1024*100/1024 +let DOWN_THRESHOLD=$DOWN_THRESHOLD_1024*100/1024 +let UNDER_DOWN_THRESHOLD=$DOWN_THRESHOLD_1024*50/1024 +let LITTLE_THRESHOLD=$DOWN_THRESHOLD*70/100 +let NOCHANGE_THRESHOLD=\($DOWN_THRESHOLD_1024+$UP_THRESHOLD_1024\)*100/1024/2 +let BIG_THRESHOLD=$UP_THRESHOLD*130/100 +let THRESHOLD_TOLERANCE=15 +# separate down threshold as test load is +/- 10% accurate at best +let NODOWN_THRESHOLD=$NOCHANGE_THRESHOLD +if [ "$NODOWN_THRESHOLD" -lt "$(($DOWN_THRESHOLD+$THRESHOLD_TOLERANCE))" ] ; then + NODOWN_THRESHOLD=$(($DOWN_THRESHOLD+$THRESHOLD_TOLERANCE)) + echo "Setting NODOWN_THRESHOLD to $NODOWN_THRESHOLD" +fi +# separate up threshold as test load is +/- 10% accurate at best +let NOUP_THRESHOLD=$NOCHANGE_THRESHOLD +if [ "$NOUP_THRESHOLD" -gt "$(($UP_THRESHOLD-$THRESHOLD_TOLERANCE))" ] ; then + NOUP_THRESHOLD=$(($UP_THRESHOLD-$THRESHOLD_TOLERANCE)) + echo "Setting NOUP_THRESHOLD to $NOUP_THRESHOLD" +fi +CUTOFF_PRIORITY_GT=-5 +CUTOFF_PRIORITY_LT=2 +TIME_ERROR_MS=100 +HOG_PID= + +copy_trace_events() +{ + if [ -f $FTRACE_EVENTS/header_page ] ; then + echo "Trace events already copied" + TRACE_EVENTS_PATH=$FTRACE_EVENTS + return + fi + + echo "Copying trace events..." + odir=`pwd` + cd /sys/kernel/debug/tracing/events + mkdir $FTRACE_EVENTS + for i in * ; do + if [ -f $i ] ; then + cat $i > $FTRACE_EVENTS/$i + else + old=`pwd` + cd $i + mkdir $FTRACE_EVENTS/$i/ + for j in * ; do + if [ -f $j/format ] ; then + mkdir $FTRACE_EVENTS/$i/$j + cat $j/format > $FTRACE_EVENTS/$i/$j/format + fi + done + cd $old + fi + done + cd $odir + TRACE_EVENTS_PATH=$FTRACE_EVENTS +} + +get_uptime() +{ + _temp="`cat /proc/uptime`" +# RESULT is the second integer of /proc/uptime + for _temp1 in $_temp ; do + RESULT=$_temp1 + done +} + +hog_cpu_fast() +{ + $HOG_CPU $CPU_FAST,$CPU_FAST,$CPU_FAST & + HOG_PID="$HOG_PID $!" +} + +hog_cpu_slow() +{ + $HOG_CPU $CPU_SLOW,$CPU_SLOW,$CPU_SLOW & + HOG_PID="$HOG_PID $!" +} + +unhog_cpu() +{ + for i in $HOG_PID ; do + kill -10 $i + wait $i + done + HOG_PID= +} + +taskset_cpuslow() +{ + $TASKSET -pc $CPU_SLOW $1 +} + +taskset_cpufast() +{ + $TASKSET -pc $CPU_FAST $1 +} + +taskset_cpuany() +{ + $TASKSET -pc $CPU_FAST,$CPU_SLOW $1 +} + +CALIBRATION=${CALIBRATION:-$BASEDIR/calib.txt} +calibrate_tasklib() +{ + # share between test suites if possible + if [ ! -f $CALIBRATION ] ; then + $LOAD_GENERATOR --calibrate + mv calib.txt $CALIBRATION + fi +} + +# Force load_generator calibration each time this file is sourced. +# This ensures that the following load_generator function could find a valid +# calibration file once it is called by a test, even for the first time. +calibrate_tasklib + +load_generator() +{ + echo "Using tasklibrary calibdation file: $CALIBRATION" + $LOAD_GENERATOR --calibfile=$CALIBRATION --loadseq=$1 & + RESULT=$! + if [ "$2" == "START_SLOW" ] ; then + taskset_cpuslow $RESULT + for ii in 0 ; do sleep 1; taskset_cpuany $RESULT ; done & + fi + if [ "$2" == "START_FAST" ] ; then + taskset_cpufast $RESULT + for ii in 0 ; do sleep 1; taskset_cpuany $RESULT ; done & + fi + if [ "$2" == "STARTSTOP_SLOW" ] ; then + taskset_cpuslow $RESULT + fi + if [ "$2" == "STARTSTOP_FAST" ] ; then + taskset_cpufast $RESULT + fi + echo "#load_generator PID=$RESULT COMMAND=$1" +} + +ftrace_start() +{ + BOOST_GOVERNOR=${1:-1} + + if [ $ANDROID -eq 1 ]; then + echo "Stop all android services" + stop + fi + + if [ $BOOST_GOVERNOR -eq 1 ]; then + echo "Save current CPUFreq governors configuration" + i=0 + FTRACE_OLD_GOV="" + while [ $i != 9999 ] ; do + temp="` cat /sys/devices/system/cpu/cpu$i/cpufreq/scaling_governor 2>/dev/null`" + if [ "$temp" == "" ] ; then + i=9999 + else + let i=$i+1 + FTRACE_OLD_GOV="$FTRACE_OLD_GOV $temp" + fi + done + + echo "Set CPUFreq governor to [performance]" + i=0 + while [ $i != 9999 ] ; do + temp="` cat /sys/devices/system/cpu/cpu$i/cpufreq/scaling_governor 2>/dev/null`" + if [ "$temp" == "" ] ; then + i=9999 + else + echo performance > /sys/devices/system/cpu/cpu$i/cpufreq/scaling_governor + let i=$i+1 + fi + done + fi + + mount -t debugfs none /sys/kernel/debug/ 2>/dev/null + get_uptime + FTRACE_START_MARKER=$RESULT + + echo "Start FTrace..." + $TRACE_CMD_EXE reset + $TRACE_CMD_EXE start -b $CONFIG_FTRACE_BUFFER_SIZE $CONFIG_FTRACE_EVENTS + echo $FTRACE_START_MARKER > /sys/kernel/debug/tracing/trace_marker + echo "Tracing started @ $FTRACE_START_MARKER" +} + +ftrace_stop() +{ + RESTORE_GOVERNOR=${1:-1} + + $TRACE_CMD_EXE stop + + get_uptime + ftrace_stop_start=$RESULT + echo "Tracing stopped" + + rm $FTRACE_FILE 2>/dev/null + if [ "$CONFIG_FTRACE_BINARY" == "n" ] ; then + echo "Extracting ASCII trace buffer..." + $TRACE_CMD_EXE show > $FTRACE_FILE 2>/dev/null + else + echo "Extracting BINARY trace buffer..." + $TRACE_CMD_EXE extract -o $FTRACE_FILE 2>/dev/null + fi + get_uptime + ftrace_extract_done=$RESULT + echo "Trace analysis from $ftrace_stop_start to $ftrace_extract_done" + + if [ $RESTORE_GOVERNOR -eq 1 ]; then + echo "Restore CPUFreq governors..." + i=0 + for value in $FTRACE_OLD_GOV ; do + echo $value > /sys/devices/system/cpu/cpu$i/cpufreq/scaling_governor + let i=$i+1 + done + fi + + copy_trace_events +} + + +ftrace_check() +{ + get_uptime + ftrace_check_start=$RESULT + export TRACE_EVENTS_PATH + commandline="TRACE_EVENTS_PATH=$FTRACE_EVENTS" + export EXPECTED_TIME_IN_END_STATE_MS + commandline="$commandline EXPECTED_TIME_IN_END_STATE_MS=$EXPECTED_TIME_IN_END_STATE_MS" + export EXPECTED_CHANGE_TIME_MS_MIN + commandline="$commandline EXPECTED_CHANGE_TIME_MS_MIN=$EXPECTED_CHANGE_TIME_MS_MIN" + export EXPECTED_CHANGE_TIME_MS_MAX + commandline="$commandline EXPECTED_CHANGE_TIME_MS_MAX=$EXPECTED_CHANGE_TIME_MS_MAX" + export START_LITTLE + commandline="$commandline START_LITTLE=$START_LITTLE" + export START_LITTLE_PRIORITY + commandline="$commandline START_LITTLE_PRIORITY=$START_LITTLE_PRIORITY" + export START_BIG + commandline="$commandline START_BIG=$START_BIG" + export START_BIG_PRIORITY + commandline="$commandline START_BIG_PRIORITY=$START_BIG_PRIORITY" + export END_LITTLE + commandline="$commandline END_LITTLE=$END_LITTLE" + export END_LITTLE_PRIORITY + commandline="$commandline END_LITTLE_PRIORITY=$END_LITTLE_PRIORITY" + export END_BIG + commandline="$commandline END_BIG=$END_BIG" + export END_BIG_PRIORITY + commandline="$commandline END_BIG_PRIORITY=$END_BIG_PRIORITY" + export FTRACE_START_MARKER + commandline="$commandline FTRACE_START_MARKER=$FTRACE_START_MARKER" + export DISCARD_TIME_MS + commandline="$commandline DISCARD_TIME_MS=$DISCARD_TIME_MS" + export CPU_FAST + commandline="$commandline CPU_FAST=$CPU_FAST" + export CPU_SLOW + commandline="$commandline CPU_SLOW=$CPU_SLOW" + commandline="$commandline $FTRACE_ANALYZER_EXE -l $1 -t $FTRACE_FILE" + echo "# $commandline" + if [ "$CONFIG_FTRACE_BINARY" == "y" ] ; then + $TRACE_CMD_EXE report -i $FTRACE_FILE > trace.txt 2>/dev/null + $FTRACE_ANALYZER_EXE -l $1 -t trace.txt + RESULT0=$? + rm trace.txt + else + $FTRACE_ANALYZER_EXE -l $1 -t $FTRACE_FILE + RESULT0=$? + fi + get_uptime + ftrace_check_done=$RESULT + echo "Trace analysis run from $ftrace_check_start to $ftrace_check_done" + + # remove ftrace files if it was a success to limit + # space used on sdcard. + if [ "x$CONFIG_FTRACE_CLEANUP" == "xy" -a "$RESULT0" == "0" ] ; then + rm $FTRACE_FILE + else + gzip $FTRACE_FILE + fi + RESULT=$RESULT0 +} + +get_task_pid() { + TRACE=$1 + TASK_NAME=$2 + + TASK=`awk -v PATTERN="$TASK_NAME-([0-9]+)" '$1 ~ PATTERN {print $1; exit 0;}' $TRACE` + TASK_PID=${TASK/${TASK_NAME}-/} + + echo "Found task [$TASK_NAME] PID: $TASK_PID" + RESULT=$TASK_PID +} + +ftrace_check_tasks() +{ + get_uptime + export TRACE_TASKS + + # Generate TXT file required for analysis + if [ "$CONFIG_FTRACE_BINARY" == "y" ] ; then + $TRACE_CMD_EXE report -i $FTRACE_FILE > trace.txt 2>/dev/null + mv $FTRACE_FILE $FTRACE_FILE.bin + mv trace.txt $FTRACE_FILE + fi + + echo "Extracting tasks PIDs..." + for TASK in $TRACE_TASKS; do + get_task_pid $FTRACE_FILE $TASK + TASK_PID=$RESULT + PIDS+="$TASK_PID," + done + + echo "Computing CPUs usages for PIDs: $PIDS" + export PID=$PIDS + commandline="PID=$PID" + export CPUS_MASK + commandline="$commandline CPUS_MASK=$CPUS_MASK" + export USAGE_MIN + commandline="$commandline USAGE_MIN=$USAGE_MIN" + export USAGE_MAX + commandline="$commandline USAGE_MAX=$USAGE_MAX" + export TIME_MIN + commandline="$commandline TIME_MIN=$TIME_MIN" + export TIME_MAX + commandline="$commandline TIME_MAX=$TIME_MAX" + echo "# $commandline" + $FTRACE_ANALYZER_EXE -l libprocess_matrix.so.1.0.0 -t $FTRACE_FILE + RESULT0=$? + + # Recover original binary file + if [ "$CONFIG_FTRACE_BINARY" == "y" ] ; then + rm $FTRACE_FILE + mv $FTRACE_FILE.bin $FTRACE_FILE + fi + + # remove ftrace files if it was a success to limit + # space used on sdcard. + if [ "x$CONFIG_FTRACE_CLEANUP" == "xy" -a "$RESULT0" == "0" ] ; then + rm $FTRACE_FILE + else + gzip $FTRACE_FILE + fi + + # Return test result to testrunner + RESULT=$RESULT0 + +} diff --git a/Runner/utils/busybox b/Runner/utils/busybox new file mode 100644 index 00000000..12847aee Binary files /dev/null and b/Runner/utils/busybox differ diff --git a/Runner/utils/functestlib.sh b/Runner/utils/functestlib.sh new file mode 100644 index 00000000..e7dea594 --- /dev/null +++ b/Runner/utils/functestlib.sh @@ -0,0 +1,66 @@ +# +# Import test suite definitions +source /var/Runner/init_env +#import platform +source $TOOLS/platform.sh + +__RUNNER_SUITES_DIR="/var/Runner/suites" +__RUNNER_UTILS_BIN_DIR="/var/common" + +#This function used for test logging +log() { + local level="$1" + shift + # echo "$(date '+%Y-%m-%d %H:%M:%S') - $message" | tee -a /var/test_framework.log + echo "[$level] $(date '+%Y-%m-%d %H:%M:%S') - $*" | tee -a /var/test_output.log +} +# Find test case path by name +find_test_case_by_name() { + local test_name="$1" + find $__RUNNER_SUITES_DIR -type d -iname "$test_name" 2>/dev/null +} + +# Find test case path by name +find_test_case_bin_by_name() { + local test_name="$1" + find $__RUNNER_UTILS_BIN_DIR -type f -iname "$test_name" 2>/dev/null +} + +# Find test case path by name +find_test_case_script_by_name() { + local test_name="$1" + find $__RUNNER_UTILS_BIN_DIR -type d -iname "$test_name" 2>/dev/null +} + + +# Logging levels +log_info() { log "INFO" "$@"; } +log_pass() { log "PASS" "$@"; } +log_fail() { log "FAIL" "$@"; } +log_error() { log "ERROR" "$@"; } + + +## this doc fn comes last +FUNCTIONS="\ +log_info \ +log_pass \ +log_fail \ +log_error \ +find_test_case_by_name \ +find_test_case_bin_by_name \ +find_test_case_script_by_name \ +log \ +" + +functestlibdoc() +{ + echo "functestlib.sh" + echo "" + echo "Functions:" + for fn in $FUNCTIONS; do + echo $fn + eval $fn"_doc" + echo "" + done + echo "Note, these functions will probably not work with >=32 CPUs" +} diff --git a/Runner/utils/platform.sh b/Runner/utils/platform.sh new file mode 100644 index 00000000..4427a44f --- /dev/null +++ b/Runner/utils/platform.sh @@ -0,0 +1,17 @@ +# Detect Android userland +ANDROID_PATH=/system/build.prop +if [ -f $ANDROID_PATH ]; then + ANDROID=1 + SHELL_CMD=sh +else + ANDROID=0 + SHELL_CMD=bash +fi + +function pidkiller() +{ + if [ $ANDROID -eq 0 ]; then + disown $1 + fi + kill -9 $1 >/dev/null 2>&1 +} diff --git a/common/bins/Video/DEC_AVC_NV12_BASIC_CFG.json b/common/bins/Video/DEC_AVC_NV12_BASIC_CFG.json new file mode 100644 index 00000000..e163755c --- /dev/null +++ b/common/bins/Video/DEC_AVC_NV12_BASIC_CFG.json @@ -0,0 +1,22 @@ +{ + "ExecutionMode": "Sequential", + "TestCases": [ + { + "Name" : "Decoder TestCase", + "TestConfigs" : { + "Domain": "Decoder", + "InputPath": "/data/vendor/iris_test_app/input/FVDO_Freeway_720p.264", + "NumFrames": -1, + "CodecName": "AVC", + "PixelFormat": "NV12", + "Width": 1280, + "Height": 720, + "Outputpath": "/data/vendor/iris_test_app/output/output_FVDO_Freeway_720p.yuv", + "InputBufferCount": 16, + "OutputBufferCount": 16, + "MemoryType": "MMAP", + } + } + ] +} + diff --git a/common/bins/Video/ENC_AVC_NV12_BASIC_CFG.json b/common/bins/Video/ENC_AVC_NV12_BASIC_CFG.json new file mode 100644 index 00000000..8ec998f8 --- /dev/null +++ b/common/bins/Video/ENC_AVC_NV12_BASIC_CFG.json @@ -0,0 +1,31 @@ +{ + "ExecutionMode": "Sequential", + "TestCases": [ + { + "Name" : "Encoder Testcase", + "TestConfigs" : { + "Domain": "Encoder", + "InputPath": "/data/vendor/iris_test_app/input/1080p24_Kimono_nv12_30frms.yuv", + "NumFrames": -1, + "CodecName": "AVC", + "PixelFormat": "NV12", + "MemoryType": "MMAP", + "Width": 1920, + "Height": 1080, + "Outputpath": "/data/vendor/iris_test_app/output/output_1080p_30fps.h264", + "InputBufferCount": 4, + "OutputBufferCount": 4, + "OperatingRate": 60, + "FrameRate": 30, + "StaticControls": [ + {"Id": "Profile", "Vtype": "String", "Value": "HIGH"}, + {"Id": "Level", "Vtype": "String", "Value": "5.0"}, + {"Id": "FrameRC", "Vtype": "Int", "Value": 1}, + {"Id": "BitRate", "Vtype": "Int", "Value": 18000000}, + {"Id": "BitRateMode", "Vtype": "String", "Value": "CBR"}, + {"Id": "PrefixHeaderMode", "Vtype": "String", "Value": "JOINED"} + ] + } + } + ] +} diff --git a/common/bins/Video/ver1.15/iris_v4l2_test b/common/bins/Video/ver1.15/iris_v4l2_test new file mode 100644 index 00000000..86ee5a6d Binary files /dev/null and b/common/bins/Video/ver1.15/iris_v4l2_test differ diff --git a/common/bins/buses/i2c-msm-test b/common/bins/buses/i2c-msm-test new file mode 100644 index 00000000..b21f7f58 Binary files /dev/null and b/common/bins/buses/i2c-msm-test differ diff --git a/common/bins/buses/msm_uart_test b/common/bins/buses/msm_uart_test new file mode 100644 index 00000000..44868240 Binary files /dev/null and b/common/bins/buses/msm_uart_test differ diff --git a/common/bins/bw_mem b/common/bins/bw_mem new file mode 100644 index 00000000..384ac264 Binary files /dev/null and b/common/bins/bw_mem differ diff --git a/common/bins/cpufreq/Makefile b/common/bins/cpufreq/Makefile new file mode 100644 index 00000000..c86ca834 --- /dev/null +++ b/common/bins/cpufreq/Makefile @@ -0,0 +1,9 @@ +# SPDX-License-Identifier: GPL-2.0 +all: + +TEST_PROGS := main.sh +TEST_FILES := cpu.sh cpufreq.sh governor.sh module.sh special-tests.sh + +include ../lib.mk + +clean: diff --git a/common/bins/cpufreq/config b/common/bins/cpufreq/config new file mode 100644 index 00000000..ce5068f5 --- /dev/null +++ b/common/bins/cpufreq/config @@ -0,0 +1,7 @@ +CONFIG_CPU_FREQ=y +CONFIG_CPU_FREQ_STAT=y +CONFIG_CPU_FREQ_GOV_POWERSAVE=y +CONFIG_CPU_FREQ_GOV_USERSPACE=y +CONFIG_CPU_FREQ_GOV_ONDEMAND=y +CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y +CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y diff --git a/common/bins/cpufreq/cpu.sh b/common/bins/cpufreq/cpu.sh new file mode 100644 index 00000000..39fdcdfb --- /dev/null +++ b/common/bins/cpufreq/cpu.sh @@ -0,0 +1,85 @@ +#!/bin/bash +# SPDX-License-Identifier: GPL-2.0 +# +# CPU helpers + +# protect against multiple inclusion +if [ $FILE_CPU ]; then + return 0 +else + FILE_CPU=DONE +fi + +source cpufreq.sh + +for_each_cpu() +{ + cpus=$(ls $CPUROOT | grep "cpu[0-9].*") + for cpu in $cpus; do + $@ $cpu + done +} + +for_each_non_boot_cpu() +{ + cpus=$(ls $CPUROOT | grep "cpu[1-9].*") + for cpu in $cpus; do + $@ $cpu + done +} + +#$1: cpu +offline_cpu() +{ + printf "Offline $1\n" + echo 0 > $CPUROOT/$1/online +} + +#$1: cpu +online_cpu() +{ + printf "Online $1\n" + echo 1 > $CPUROOT/$1/online +} + +#$1: cpu +reboot_cpu() +{ + offline_cpu $1 + online_cpu $1 +} + +# Reboot CPUs +# param: number of times we want to run the loop +reboot_cpus() +{ + printf "** Test: Running ${FUNCNAME[0]} for $1 loops **\n\n" + + for i in `seq 1 $1`; do + for_each_non_boot_cpu offline_cpu + for_each_non_boot_cpu online_cpu + printf "\n" + done + + printf "\n%s\n\n" "------------------------------------------------" +} + +# Prints warning for all CPUs with missing cpufreq directory +print_unmanaged_cpus() +{ + for_each_cpu cpu_should_have_cpufreq_directory +} + +# Counts CPUs with cpufreq directories +count_cpufreq_managed_cpus() +{ + count=0; + + for cpu in `ls $CPUROOT | grep "cpu[0-9].*"`; do + if [ -d $CPUROOT/$cpu/cpufreq ]; then + let count=count+1; + fi + done + + echo $count; +} diff --git a/common/bins/cpufreq/cpufreq.sh b/common/bins/cpufreq/cpufreq.sh new file mode 100644 index 00000000..e350c521 --- /dev/null +++ b/common/bins/cpufreq/cpufreq.sh @@ -0,0 +1,256 @@ +#!/bin/bash +# SPDX-License-Identifier: GPL-2.0 + +# protect against multiple inclusion +if [ $FILE_CPUFREQ ]; then + return 0 +else + FILE_CPUFREQ=DONE +fi + +source cpu.sh + + +# $1: cpu +cpu_should_have_cpufreq_directory() +{ + if [ ! -d $CPUROOT/$1/cpufreq ]; then + printf "Warning: No cpufreq directory present for $1\n" + fi +} + +cpu_should_not_have_cpufreq_directory() +{ + if [ -d $CPUROOT/$1/cpufreq ]; then + printf "Warning: cpufreq directory present for $1\n" + fi +} + +for_each_policy() +{ + policies=$(ls $CPUFREQROOT| grep "policy[0-9].*") + for policy in $policies; do + $@ $policy + done +} + +for_each_policy_concurrent() +{ + policies=$(ls $CPUFREQROOT| grep "policy[0-9].*") + for policy in $policies; do + $@ $policy & + done +} + +# $1: Path +read_cpufreq_files_in_dir() +{ + local files=`ls $1` + + printf "Printing directory: $1\n\n" + + for file in $files; do + if [ -f $1/$file ]; then + printf "$file:" + cat $1/$file + else + printf "\n" + read_cpufreq_files_in_dir "$1/$file" + fi + done + printf "\n" +} + + +read_all_cpufreq_files() +{ + printf "** Test: Running ${FUNCNAME[0]} **\n\n" + + read_cpufreq_files_in_dir $CPUFREQROOT + + printf "%s\n\n" "------------------------------------------------" +} + + +# UPDATE CPUFREQ FILES + +# $1: directory path +update_cpufreq_files_in_dir() +{ + local files=`ls $1` + + printf "Updating directory: $1\n\n" + + for file in $files; do + if [ -f $1/$file ]; then + # file is writable ? + local wfile=$(ls -l $1/$file | awk '$1 ~ /^.*w.*/ { print $NF; }') + + if [ ! -z $wfile ]; then + # scaling_setspeed is a special file and we + # should skip updating it + if [ $file != "scaling_setspeed" ]; then + local val=$(cat $1/$file) + printf "Writing $val to: $file\n" + echo $val > $1/$file + fi + fi + else + printf "\n" + update_cpufreq_files_in_dir "$1/$file" + fi + done + + printf "\n" +} + +# Update all writable files with their existing values +update_all_cpufreq_files() +{ + printf "** Test: Running ${FUNCNAME[0]} **\n\n" + + update_cpufreq_files_in_dir $CPUFREQROOT + + printf "%s\n\n" "------------------------------------------------" +} + + +# CHANGE CPU FREQUENCIES + +# $1: policy +find_current_freq() +{ + cat $CPUFREQROOT/$1/scaling_cur_freq +} + +# $1: policy +# $2: frequency +set_cpu_frequency() +{ + printf "Change frequency for $1 to $2\n" + echo $2 > $CPUFREQROOT/$1/scaling_setspeed +} + +# $1: policy +test_all_frequencies() +{ + local filepath="$CPUFREQROOT/$1" + + backup_governor $1 + + local found=$(switch_governor $1 "userspace") + if [ $found = 1 ]; then + printf "${FUNCNAME[0]}: userspace governor not available for: $1\n" + return; + fi + + printf "Switched governor for $1 to userspace\n\n" + + local freqs=$(cat $filepath/scaling_available_frequencies) + printf "Available frequencies for $1: $freqs\n\n" + + # Set all frequencies one-by-one + for freq in $freqs; do + set_cpu_frequency $1 $freq + done + + printf "\n" + + restore_governor $1 +} + +# $1: loop count +shuffle_frequency_for_all_cpus() +{ + printf "** Test: Running ${FUNCNAME[0]} for $1 loops **\n\n" + + for i in `seq 1 $1`; do + for_each_policy test_all_frequencies + done + printf "\n%s\n\n" "------------------------------------------------" +} + +# Basic cpufreq tests +cpufreq_basic_tests() +{ + printf "*** RUNNING CPUFREQ SANITY TESTS ***\n" + printf "====================================\n\n" + + count=$(count_cpufreq_managed_cpus) + if [ $count = 0 ]; then + ktap_exit_fail_msg "No cpu is managed by cpufreq core, exiting\n" + else + printf "CPUFreq manages: $count CPUs\n\n" + fi + + # Detect & print which CPUs are not managed by cpufreq + print_unmanaged_cpus + + # read/update all cpufreq files + read_all_cpufreq_files + update_all_cpufreq_files + + # hotplug cpus + reboot_cpus 5 + + # Test all frequencies + shuffle_frequency_for_all_cpus 2 + + # Test all governors + shuffle_governors_for_all_cpus 1 +} + +# Suspend/resume +# $1: "suspend" or "hibernate", $2: loop count +do_suspend() +{ + printf "** Test: Running ${FUNCNAME[0]}: Trying $1 for $2 loops **\n\n" + + # Is the directory available + if [ ! -d $SYSFS/power/ -o ! -f $SYSFS/power/state ]; then + printf "$SYSFS/power/state not available\n" + return 1 + fi + + if [ $1 = "suspend" ]; then + filename="mem" + elif [ $1 = "hibernate" ]; then + filename="disk" + else + printf "$1 is not a valid option\n" + return 1 + fi + + if [ -n $filename ]; then + present=$(cat $SYSFS/power/state | grep $filename) + + if [ -z "$present" ]; then + printf "Tried to $1 but $filename isn't present in $SYSFS/power/state\n" + return 1; + fi + + for i in `seq 1 $2`; do + printf "Starting $1\n" + + if [ "$3" = "rtc" ]; then + if ! command -v rtcwake &> /dev/null; then + printf "rtcwake could not be found, please install it.\n" + return 1 + fi + + rtcwake -m $filename -s 15 + + if [ $? -ne 0 ]; then + printf "Failed to suspend using RTC wake alarm\n" + return 1 + fi + fi + + echo $filename > $SYSFS/power/state + printf "Came out of $1\n" + + printf "Do basic tests after finishing $1 to verify cpufreq state\n\n" + cpufreq_basic_tests + done + fi +} diff --git a/common/bins/cpufreq/cpufreq_selftest.dmesg_cpufreq.txt b/common/bins/cpufreq/cpufreq_selftest.dmesg_cpufreq.txt new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/common/bins/cpufreq/cpufreq_selftest.dmesg_cpufreq.txt @@ -0,0 +1 @@ + diff --git a/common/bins/cpufreq/cpufreq_selftest.dmesg_full.txt b/common/bins/cpufreq/cpufreq_selftest.dmesg_full.txt new file mode 100644 index 00000000..5f927617 --- /dev/null +++ b/common/bins/cpufreq/cpufreq_selftest.dmesg_full.txt @@ -0,0 +1,1899 @@ + +[ 8315.011834] audit: type=1130 audit(1729162800.500:14108): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8315.046121] audit: type=1130 audit(1729162800.536:14109): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=logrotate comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8315.046134] audit: type=1131 audit(1729162800.536:14110): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=logrotate comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8315.502111] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8316.502114] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8317.502111] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8318.228344] kauditd_printk_skb: 4 callbacks suppressed +[ 8318.228350] audit: type=1130 audit(1729162803.716:14115): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8318.228360] audit: type=1131 audit(1729162803.716:14116): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8318.258551] audit: type=1701 audit(1729162803.748:14117): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=185606 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8318.261181] audit: type=1130 audit(1729162803.752:14118): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8318.502122] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8319.502107] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8320.502117] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8321.478351] audit: type=1130 audit(1729162806.968:14119): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8321.478365] audit: type=1131 audit(1729162806.968:14120): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8321.502110] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8321.507746] audit: type=1701 audit(1729162806.996:14121): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=185671 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8321.510361] audit: type=1130 audit(1729162807.000:14122): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8322.502119] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8323.502136] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8323.755262] event_q is full: pndx=2 gndx=3 +[ 8324.502136] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8324.728367] audit: type=1130 audit(1729162810.216:14123): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8324.728381] audit: type=1131 audit(1729162810.216:14124): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8324.758178] audit: type=1701 audit(1729162810.248:14125): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=185734 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8324.760774] audit: type=1130 audit(1729162810.248:14126): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8325.502144] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8326.499483] audit: type=1131 audit(1729162811.988:14127): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8326.502146] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8326.728317] audit: type=1130 audit(1729162812.216:14128): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8326.728329] audit: type=1131 audit(1729162812.216:14129): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8326.731903] audit: type=1130 audit(1729162812.220:14130): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8327.502143] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8327.978395] audit: type=1130 audit(1729162813.468:14131): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8327.978460] audit: type=1131 audit(1729162813.468:14132): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8328.502141] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8329.502147] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8329.915492] event_q is full: pndx=5 gndx=6 +[ 8330.502145] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8331.228392] kauditd_printk_skb: 2 callbacks suppressed +[ 8331.228398] audit: type=1130 audit(1729162816.716:14135): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8331.228408] audit: type=1131 audit(1729162816.716:14136): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8331.258279] audit: type=1701 audit(1729162816.748:14137): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=185863 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8331.260865] audit: type=1130 audit(1729162816.748:14138): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8331.502169] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8332.502155] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8333.502175] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8334.478421] audit: type=1130 audit(1729162819.968:14139): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8334.478434] audit: type=1131 audit(1729162819.968:14140): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8334.502155] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8334.508611] audit: type=1701 audit(1729162819.996:14141): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=185926 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8334.511320] audit: type=1130 audit(1729162820.000:14142): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8335.502181] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8336.502164] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8336.520623] event_q is full: pndx=4 gndx=5 +[ 8336.749404] audit: type=1131 audit(1729162822.240:14143): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8336.978326] audit: type=1130 audit(1729162822.468:14144): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8336.978338] audit: type=1131 audit(1729162822.468:14145): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8336.981891] audit: type=1130 audit(1729162822.472:14146): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8337.502191] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8337.728406] audit: type=1130 audit(1729162823.216:14147): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8337.728420] audit: type=1131 audit(1729162823.216:14148): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8337.758256] audit: type=1701 audit(1729162823.248:14149): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=185992 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8337.760993] audit: type=1130 audit(1729162823.248:14150): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8338.502181] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8339.502186] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8340.502194] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8340.978460] audit: type=1130 audit(1729162826.468:14151): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8340.978473] audit: type=1131 audit(1729162826.468:14152): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8341.076066] event_q is full: pndx=1 gndx=2 +[ 8341.502202] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8342.502198] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8343.502205] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8344.228475] kauditd_printk_skb: 2 callbacks suppressed +[ 8344.228481] audit: type=1130 audit(1729162829.716:14155): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8344.228492] audit: type=1131 audit(1729162829.716:14156): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8344.258337] audit: type=1701 audit(1729162829.748:14157): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=186120 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8344.261172] audit: type=1130 audit(1729162829.752:14158): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8344.502215] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8345.502212] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8346.502221] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8346.999298] audit: type=1131 audit(1729162832.488:14159): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8347.228342] audit: type=1130 audit(1729162832.716:14160): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8347.228356] audit: type=1131 audit(1729162832.716:14161): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8347.232006] audit: type=1130 audit(1729162832.720:14162): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8347.239900] event_q is full: pndx=4 gndx=5 +[ 8347.478418] audit: type=1130 audit(1729162832.968:14163): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8347.478430] audit: type=1131 audit(1729162832.968:14164): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8347.502203] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8348.502221] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8349.502213] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8350.502234] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8350.728512] kauditd_printk_skb: 2 callbacks suppressed +[ 8350.728518] audit: type=1130 audit(1729162836.216:14167): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8350.728530] audit: type=1131 audit(1729162836.216:14168): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8350.756573] audit: type=1701 audit(1729162836.244:14169): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=186249 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8350.759344] audit: type=1130 audit(1729162836.248:14170): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8351.502223] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8352.502220] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8353.502234] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8353.978478] audit: type=1130 audit(1729162839.468:14171): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8353.978492] audit: type=1131 audit(1729162839.468:14172): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8354.008547] audit: type=1701 audit(1729162839.496:14173): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=186312 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8354.011141] audit: type=1130 audit(1729162839.500:14174): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8354.502226] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8355.502230] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8356.502232] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8357.228459] audit: type=1130 audit(1729162842.716:14175): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8357.228473] audit: type=1131 audit(1729162842.716:14176): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8357.247189] audit: type=1131 audit(1729162842.736:14177): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8357.257740] audit: type=1701 audit(1729162842.748:14178): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=186375 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8357.260419] audit: type=1130 audit(1729162842.748:14179): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8357.478386] audit: type=1130 audit(1729162842.968:14180): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8357.478399] audit: type=1131 audit(1729162842.968:14181): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8357.482006] audit: type=1130 audit(1729162842.972:14182): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8357.502246] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8358.327142] event_q is full: pndx=0 gndx=1 +[ 8358.502255] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8359.502263] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8360.478530] audit: type=1130 audit(1729162845.968:14183): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8360.478546] audit: type=1131 audit(1729162845.968:14184): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8360.502259] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8361.502269] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8362.502272] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8363.502275] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8363.728478] kauditd_printk_skb: 2 callbacks suppressed +[ 8363.728485] audit: type=1130 audit(1729162849.216:14187): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8363.728495] audit: type=1131 audit(1729162849.216:14188): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8363.758196] audit: type=1701 audit(1729162849.248:14189): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=186504 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8363.760993] audit: type=1130 audit(1729162849.248:14190): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8364.416051] event_q is full: pndx=1 gndx=2 +[ 8364.502264] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8365.502261] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8366.502281] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8366.978540] audit: type=1130 audit(1729162852.468:14191): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8366.978557] audit: type=1131 audit(1729162852.468:14192): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8367.008548] audit: type=1701 audit(1729162852.496:14193): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=186569 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8367.011296] audit: type=1130 audit(1729162852.500:14194): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8367.499932] audit: type=1131 audit(1729162852.988:14195): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8367.502284] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8367.728376] audit: type=1130 audit(1729162853.216:14196): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8368.502300] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8369.502296] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8370.228580] kauditd_printk_skb: 2 callbacks suppressed +[ 8370.228585] audit: type=1130 audit(1729162855.716:14199): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8370.228596] audit: type=1131 audit(1729162855.716:14200): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8370.258329] audit: type=1701 audit(1729162855.748:14201): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=186633 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8370.260884] audit: type=1130 audit(1729162855.748:14202): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8370.502306] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8371.502288] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8372.502305] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8373.478569] audit: type=1130 audit(1729162858.968:14203): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8373.478581] audit: type=1131 audit(1729162858.968:14204): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8373.502309] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8373.507186] audit: type=1701 audit(1729162858.996:14205): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=186698 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8373.509908] audit: type=1130 audit(1729162859.000:14206): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8374.502303] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8374.601611] event_q is full: pndx=5 gndx=6 +[ 8375.502292] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8376.502309] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8376.728548] audit: type=1130 audit(1729162862.216:14207): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8376.728565] audit: type=1131 audit(1729162862.216:14208): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8376.757919] audit: type=1701 audit(1729162862.248:14209): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=186762 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8376.760553] audit: type=1130 audit(1729162862.248:14210): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8377.502323] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8377.749681] audit: type=1131 audit(1729162863.240:14211): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8377.978406] audit: type=1130 audit(1729162863.468:14212): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8377.978423] audit: type=1131 audit(1729162863.468:14213): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8377.981905] audit: type=1130 audit(1729162863.472:14214): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8378.502323] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8379.502307] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8379.978614] audit: type=1130 audit(1729162865.468:14215): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8379.978628] audit: type=1131 audit(1729162865.468:14216): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8380.502335] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8380.693150] event_q is full: pndx=0 gndx=1 +[ 8381.502312] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8382.502322] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8383.228573] kauditd_printk_skb: 2 callbacks suppressed +[ 8383.228579] audit: type=1130 audit(1729162868.716:14219): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8383.228590] audit: type=1131 audit(1729162868.716:14220): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8383.258385] audit: type=1701 audit(1729162868.748:14221): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=186891 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8383.261108] audit: type=1130 audit(1729162868.748:14222): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8383.502320] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8384.502349] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8385.502334] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8386.478579] audit: type=1130 audit(1729162871.968:14223): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8386.478594] audit: type=1131 audit(1729162871.968:14224): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8386.502337] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8386.508536] audit: type=1701 audit(1729162871.996:14225): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=186954 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8386.511363] audit: type=1130 audit(1729162872.000:14226): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8387.502362] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8387.999501] audit: type=1131 audit(1729162873.488:14227): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8388.228483] audit: type=1130 audit(1729162873.716:14228): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8388.232123] kauditd_printk_skb: 1 callbacks suppressed +[ 8388.232129] audit: type=1130 audit(1729162873.720:14230): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8388.502350] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8389.502338] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8389.728645] audit: type=1130 audit(1729162875.216:14231): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8389.728663] audit: type=1131 audit(1729162875.216:14232): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8389.758541] audit: type=1701 audit(1729162875.248:14233): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=187020 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8389.761303] audit: type=1130 audit(1729162875.252:14234): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8390.502352] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8390.868681] event_q is full: pndx=3 gndx=4 +[ 8391.502352] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8392.502357] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8392.978569] audit: type=1130 audit(1729162878.468:14235): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8392.978583] audit: type=1131 audit(1729162878.468:14236): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8393.008561] audit: type=1701 audit(1729162878.496:14237): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=187083 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8393.011250] audit: type=1130 audit(1729162878.500:14238): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8393.502377] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8394.502364] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8395.502367] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8396.228657] audit: type=1130 audit(1729162881.716:14239): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8396.228670] audit: type=1131 audit(1729162881.716:14240): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8396.256284] audit: type=1701 audit(1729162881.744:14241): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=187148 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8396.258951] audit: type=1130 audit(1729162881.748:14242): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8396.502389] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8396.960233] event_q is full: pndx=6 gndx=7 +[ 8397.502383] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8398.249898] audit: type=1131 audit(1729162883.740:14243): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8398.478459] audit: type=1130 audit(1729162883.968:14244): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8398.478474] audit: type=1131 audit(1729162883.968:14245): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8398.481876] audit: type=1130 audit(1729162883.972:14246): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8398.502391] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8399.478635] audit: type=1130 audit(1729162884.968:14247): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8399.478649] audit: type=1131 audit(1729162884.968:14248): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8399.502373] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8400.502378] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8401.502378] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8402.502383] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8402.728642] kauditd_printk_skb: 2 callbacks suppressed +[ 8402.728648] audit: type=1130 audit(1729162888.216:14251): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8402.728659] audit: type=1131 audit(1729162888.216:14252): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8402.758590] audit: type=1701 audit(1729162888.248:14253): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=187276 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8402.761331] audit: type=1130 audit(1729162888.252:14254): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8403.502418] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8403.586308] event_q is full: pndx=4 gndx=5 +[ 8404.502402] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8405.502403] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8405.978747] audit: type=1130 audit(1729162891.468:14255): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8405.978763] audit: type=1131 audit(1729162891.468:14256): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8406.008310] audit: type=1701 audit(1729162891.496:14257): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=187341 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8406.010956] audit: type=1130 audit(1729162891.500:14258): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8406.502416] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8407.502405] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8408.157755] event_q is full: pndx=2 gndx=3 +[ 8408.499308] audit: type=1131 audit(1729162893.988:14259): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8408.502420] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8408.728478] audit: type=1130 audit(1729162894.216:14260): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8408.728491] audit: type=1131 audit(1729162894.216:14261): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8408.732109] audit: type=1130 audit(1729162894.220:14262): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8409.228632] audit: type=1130 audit(1729162894.716:14263): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8409.228647] audit: type=1131 audit(1729162894.716:14264): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8409.258265] audit: type=1701 audit(1729162894.748:14265): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=187405 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8409.260974] audit: type=1130 audit(1729162894.748:14266): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8409.502430] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8410.502427] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8411.502436] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8412.478672] audit: type=1130 audit(1729162897.968:14267): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8412.478688] audit: type=1131 audit(1729162897.968:14268): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8412.502422] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8413.502439] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8414.328672] event_q is full: pndx=5 gndx=6 +[ 8414.502441] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8415.502445] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8415.728677] kauditd_printk_skb: 2 callbacks suppressed +[ 8415.728682] audit: type=1130 audit(1729162901.216:14271): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8415.728693] audit: type=1131 audit(1729162901.216:14272): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8415.758333] audit: type=1701 audit(1729162901.248:14273): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=187533 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8415.761102] audit: type=1130 audit(1729162901.248:14274): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8416.502454] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8417.502457] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8418.502441] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8418.749920] audit: type=1131 audit(1729162904.240:14275): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8418.979537] audit: type=1130 audit(1729162904.468:14276): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8418.979551] audit: type=1131 audit(1729162904.468:14277): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8418.983189] audit: type=1130 audit(1729162904.472:14278): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8418.983467] audit: type=1130 audit(1729162904.472:14279): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8418.983476] audit: type=1131 audit(1729162904.472:14280): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8419.502459] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8420.502448] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8421.502450] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8422.228676] kauditd_printk_skb: 2 callbacks suppressed +[ 8422.228683] audit: type=1130 audit(1729162907.716:14283): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8422.228695] audit: type=1131 audit(1729162907.716:14284): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8422.258309] audit: type=1701 audit(1729162907.748:14285): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=187665 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8422.260920] audit: type=1130 audit(1729162907.748:14286): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8422.502461] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8423.502455] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8424.502464] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8425.444120] event_q is full: pndx=0 gndx=1 +[ 8425.478841] audit: type=1130 audit(1729162910.968:14287): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8425.478854] audit: type=1131 audit(1729162910.968:14288): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8425.502469] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8425.508358] audit: type=1701 audit(1729162910.996:14289): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=187729 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8425.511085] audit: type=1130 audit(1729162911.000:14290): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8426.502478] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8427.502461] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8428.502465] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8428.728695] audit: type=1130 audit(1729162914.216:14291): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8428.728708] audit: type=1131 audit(1729162914.216:14292): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8428.758412] audit: type=1701 audit(1729162914.248:14293): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=187793 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8428.761004] audit: type=1130 audit(1729162914.248:14294): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8428.997881] audit: type=1131 audit(1729162914.488:14295): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8429.228640] audit: type=1130 audit(1729162914.716:14296): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8429.228655] audit: type=1131 audit(1729162914.716:14297): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8429.232206] audit: type=1130 audit(1729162914.720:14298): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8429.502495] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8430.502497] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8431.502494] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8431.614464] event_q is full: pndx=3 gndx=4 +[ 8431.978755] audit: type=1130 audit(1729162917.468:14299): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8431.978768] audit: type=1131 audit(1729162917.468:14300): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8432.502501] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8433.502509] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8434.502511] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8435.228766] kauditd_printk_skb: 2 callbacks suppressed +[ 8435.228771] audit: type=1130 audit(1729162920.716:14303): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8435.228780] audit: type=1131 audit(1729162920.716:14304): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8435.258371] audit: type=1701 audit(1729162920.748:14305): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=187922 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8435.260846] audit: type=1130 audit(1729162920.748:14306): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8435.502516] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8436.502505] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8437.502506] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8438.199954] event_q is full: pndx=1 gndx=2 +[ 8438.478840] audit: type=1130 audit(1729162923.968:14307): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8438.478853] audit: type=1131 audit(1729162923.968:14308): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8438.502520] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8438.509190] audit: type=1701 audit(1729162923.996:14309): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=187986 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8438.512139] audit: type=1130 audit(1729162924.000:14310): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8439.247334] audit: type=1131 audit(1729162924.736:14311): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8439.479188] audit: type=1130 audit(1729162924.968:14312): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8439.502536] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8440.502534] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8441.502529] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8441.728774] kauditd_printk_skb: 2 callbacks suppressed +[ 8441.728779] audit: type=1130 audit(1729162927.216:14315): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8441.728791] audit: type=1131 audit(1729162927.216:14316): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8441.758539] audit: type=1701 audit(1729162927.248:14317): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=188053 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8441.761453] audit: type=1130 audit(1729162927.252:14318): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8442.502540] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8442.731398] event_q is full: pndx=7 gndx=0 +[ 8443.502541] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8444.502549] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8444.978848] audit: type=1130 audit(1729162930.468:14319): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8444.978861] audit: type=1131 audit(1729162930.468:14320): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8445.008899] audit: type=1701 audit(1729162930.496:14321): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=188116 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8445.011590] audit: type=1130 audit(1729162930.500:14322): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8445.502545] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8446.502539] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8447.502543] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8448.228773] audit: type=1130 audit(1729162933.716:14323): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8448.228783] audit: type=1131 audit(1729162933.716:14324): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8448.258836] audit: type=1701 audit(1729162933.748:14325): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=188180 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8448.261213] audit: type=1130 audit(1729162933.748:14326): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8448.502557] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8448.801557] event_q is full: pndx=0 gndx=1 +[ 8449.499908] audit: type=1131 audit(1729162934.988:14327): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8449.502547] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8449.728700] audit: type=1130 audit(1729162935.216:14328): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8449.728717] audit: type=1131 audit(1729162935.216:14329): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8449.732435] audit: type=1130 audit(1729162935.220:14330): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8450.502555] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8451.478815] audit: type=1130 audit(1729162936.968:14331): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8451.478830] audit: type=1131 audit(1729162936.968:14332): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8451.502567] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8452.502571] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8453.502546] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8454.502570] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8454.728815] kauditd_printk_skb: 2 callbacks suppressed +[ 8454.728821] audit: type=1130 audit(1729162940.216:14335): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8454.728830] audit: type=1131 audit(1729162940.216:14336): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8454.759118] audit: type=1701 audit(1729162940.248:14337): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=188309 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8454.761978] audit: type=1130 audit(1729162940.252:14338): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8455.502578] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8456.502554] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8457.502559] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8457.978915] audit: type=1130 audit(1729162943.468:14339): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8457.978928] audit: type=1131 audit(1729162943.468:14340): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8458.008718] audit: type=1701 audit(1729162943.496:14341): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=188374 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8458.011431] audit: type=1130 audit(1729162943.500:14342): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8458.502592] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8458.997057] event_q is full: pndx=4 gndx=5 +[ 8459.502569] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8459.743510] audit: type=1131 audit(1729162945.232:14343): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8459.978726] audit: type=1130 audit(1729162945.468:14344): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8459.978739] audit: type=1131 audit(1729162945.468:14345): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8459.982343] audit: type=1130 audit(1729162945.472:14346): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8460.502598] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8461.228806] audit: type=1130 audit(1729162946.716:14347): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8461.228821] audit: type=1131 audit(1729162946.716:14348): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8461.258887] audit: type=1701 audit(1729162946.748:14349): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=188438 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8461.261701] audit: type=1130 audit(1729162946.752:14350): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8461.502595] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8462.502585] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8463.502592] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8464.478983] audit: type=1130 audit(1729162949.968:14351): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8464.478996] audit: type=1131 audit(1729162949.968:14352): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8464.502610] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8465.158717] event_q is full: pndx=0 gndx=1 +[ 8465.502605] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8466.502595] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8467.502595] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8467.728943] kauditd_printk_skb: 2 callbacks suppressed +[ 8467.728948] audit: type=1130 audit(1729162953.216:14355): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8467.728958] audit: type=1131 audit(1729162953.216:14356): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8467.758546] audit: type=1701 audit(1729162953.248:14357): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=188566 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8467.761092] audit: type=1130 audit(1729162953.248:14358): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8468.502614] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8469.502614] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8469.995507] audit: type=1131 audit(1729162955.484:14359): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8470.228736] audit: type=1130 audit(1729162955.716:14360): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8470.228752] audit: type=1131 audit(1729162955.716:14361): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8470.232354] audit: type=1130 audit(1729162955.720:14362): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8470.502627] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8470.978816] audit: type=1130 audit(1729162956.468:14363): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8470.978827] audit: type=1131 audit(1729162956.468:14364): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8471.502629] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8472.502622] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8473.502621] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8474.228893] kauditd_printk_skb: 2 callbacks suppressed +[ 8474.228899] audit: type=1130 audit(1729162959.716:14367): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8474.228909] audit: type=1131 audit(1729162959.716:14368): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8474.258114] audit: type=1701 audit(1729162959.748:14369): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=188696 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8474.260833] audit: type=1130 audit(1729162959.748:14370): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8474.502640] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8475.502638] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8476.283701] event_q is full: pndx=4 gndx=5 +[ 8476.502639] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8477.479000] audit: type=1130 audit(1729162962.968:14371): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8477.479014] audit: type=1131 audit(1729162962.968:14372): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8477.502648] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8477.508727] audit: type=1701 audit(1729162962.996:14373): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=188759 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8477.511354] audit: type=1130 audit(1729162963.000:14374): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8478.502653] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8479.502641] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8480.249822] audit: type=1131 audit(1729162965.740:14375): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8480.478784] audit: type=1130 audit(1729162965.968:14376): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8480.478797] audit: type=1131 audit(1729162965.968:14377): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8480.482429] audit: type=1130 audit(1729162965.972:14378): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8480.502665] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8480.728829] audit: type=1130 audit(1729162966.216:14379): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8480.728840] audit: type=1131 audit(1729162966.216:14380): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8480.758886] audit: type=1701 audit(1729162966.248:14381): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=188825 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8480.761718] audit: type=1130 audit(1729162966.252:14382): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8481.502662] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8482.356514] event_q is full: pndx=5 gndx=6 +[ 8482.502653] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8483.502650] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8483.978872] audit: type=1130 audit(1729162969.468:14383): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8483.978886] audit: type=1131 audit(1729162969.468:14384): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8484.502677] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8485.502669] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8486.502670] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8487.229000] kauditd_printk_skb: 2 callbacks suppressed +[ 8487.229005] audit: type=1130 audit(1729162972.716:14387): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8487.229016] audit: type=1131 audit(1729162972.716:14388): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8487.258460] audit: type=1701 audit(1729162972.748:14389): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=188953 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8487.261057] audit: type=1130 audit(1729162972.748:14390): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8487.502683] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8488.502668] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8489.502677] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8490.478932] audit: type=1130 audit(1729162975.968:14391): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8490.478944] audit: type=1131 audit(1729162975.968:14392): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8490.502691] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8490.503254] audit: type=1131 audit(1729162975.992:14393): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8490.510039] audit: type=1701 audit(1729162975.996:14394): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=189016 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8490.511590] audit: type=1130 audit(1729162976.000:14395): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8490.728794] audit: type=1130 audit(1729162976.216:14396): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8491.502691] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8492.502673] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8492.543498] event_q is full: pndx=1 gndx=2 +[ 8493.502678] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8493.729009] kauditd_printk_skb: 2 callbacks suppressed +[ 8493.729014] audit: type=1130 audit(1729162979.216:14399): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8493.729022] audit: type=1131 audit(1729162979.216:14400): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8493.759233] audit: type=1701 audit(1729162979.248:14401): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=189082 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8493.761751] audit: type=1130 audit(1729162979.252:14402): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8494.502705] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8495.502697] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8496.502694] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8496.978947] audit: type=1130 audit(1729162982.468:14403): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8496.978962] audit: type=1131 audit(1729162982.468:14404): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8497.009514] audit: type=1701 audit(1729162982.496:14405): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=189146 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8497.012308] audit: type=1130 audit(1729162982.500:14406): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8497.502714] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8498.502690] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8498.632964] event_q is full: pndx=3 gndx=4 +[ 8499.502693] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8500.228909] audit: type=1130 audit(1729162985.716:14407): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8500.228919] audit: type=1131 audit(1729162985.716:14408): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8500.259718] audit: type=1701 audit(1729162985.748:14409): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=189209 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8500.262636] audit: type=1130 audit(1729162985.752:14410): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8500.502720] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8500.743596] audit: type=1131 audit(1729162986.232:14411): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8500.978855] audit: type=1130 audit(1729162986.468:14412): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8500.978866] audit: type=1131 audit(1729162986.468:14413): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8500.982465] audit: type=1130 audit(1729162986.472:14414): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8501.502796] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8502.502728] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8503.478982] audit: type=1130 audit(1729162988.968:14415): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8503.478999] audit: type=1131 audit(1729162988.968:14416): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8503.502721] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8504.502736] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8505.502740] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8506.502743] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8506.728933] kauditd_printk_skb: 2 callbacks suppressed +[ 8506.728938] audit: type=1130 audit(1729162992.216:14419): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8506.728948] audit: type=1131 audit(1729162992.216:14420): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8506.758935] audit: type=1701 audit(1729162992.248:14421): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=189338 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8506.761780] audit: type=1130 audit(1729162992.252:14422): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8507.502748] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8508.502753] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8508.818227] event_q is full: pndx=7 gndx=0 +[ 8509.502755] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8509.979009] audit: type=1130 audit(1729162995.468:14423): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8509.979023] audit: type=1131 audit(1729162995.468:14424): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8510.008794] audit: type=1701 audit(1729162995.496:14425): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=189403 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8510.011419] audit: type=1130 audit(1729162995.500:14426): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8510.502758] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8510.999882] audit: type=1131 audit(1729162996.488:14427): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8511.228937] audit: type=1130 audit(1729162996.716:14428): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8511.502759] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8512.502751] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8513.228926] kauditd_printk_skb: 2 callbacks suppressed +[ 8513.228932] audit: type=1130 audit(1729162998.716:14431): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8513.228945] audit: type=1131 audit(1729162998.716:14432): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8513.257967] audit: type=1701 audit(1729162998.748:14433): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=189467 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8513.260554] audit: type=1130 audit(1729162998.748:14434): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8513.502766] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8514.502746] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8514.889824] event_q is full: pndx=2 gndx=3 +[ 8515.502762] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8516.479020] audit: type=1130 audit(1729163001.968:14435): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8516.479035] audit: type=1131 audit(1729163001.968:14436): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8516.502771] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8516.507484] audit: type=1701 audit(1729163001.996:14437): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=189532 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8516.510123] audit: type=1130 audit(1729163002.000:14438): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8517.502768] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8518.502773] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8519.502783] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8519.728966] audit: type=1130 audit(1729163005.216:14439): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8519.728980] audit: type=1131 audit(1729163005.216:14440): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8519.758745] audit: type=1701 audit(1729163005.248:14441): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=189595 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8519.761291] audit: type=1130 audit(1729163005.248:14442): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8520.502774] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8521.247746] audit: type=1131 audit(1729163006.736:14443): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8521.478916] audit: type=1130 audit(1729163006.968:14444): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8521.478932] audit: type=1131 audit(1729163006.968:14445): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8521.482542] audit: type=1130 audit(1729163006.972:14446): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8521.502795] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8522.502789] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8522.978933] audit: type=1130 audit(1729163008.468:14447): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8522.978949] audit: type=1131 audit(1729163008.468:14448): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8523.502797] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8524.502779] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8525.078283] event_q is full: pndx=6 gndx=7 +[ 8525.502782] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8526.228925] kauditd_printk_skb: 2 callbacks suppressed +[ 8526.228931] audit: type=1130 audit(1729163011.716:14451): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8526.228943] audit: type=1131 audit(1729163011.716:14452): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8526.259858] audit: type=1701 audit(1729163011.748:14453): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=189724 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8526.262520] audit: type=1130 audit(1729163011.752:14454): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8526.502804] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8527.502802] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8528.502806] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8529.479092] audit: type=1130 audit(1729163014.968:14455): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8529.479108] audit: type=1131 audit(1729163014.968:14456): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8529.502817] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8529.508330] audit: type=1701 audit(1729163014.996:14457): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=189788 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8529.511247] audit: type=1130 audit(1729163015.000:14458): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8530.502823] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8531.167701] event_q is full: pndx=7 gndx=0 +[ 8531.499996] audit: type=1131 audit(1729163016.988:14459): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8531.502822] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8531.728933] audit: type=1130 audit(1729163017.216:14460): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8531.728949] audit: type=1131 audit(1729163017.216:14461): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8531.732463] audit: type=1130 audit(1729163017.220:14462): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8532.502822] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8532.729071] audit: type=1130 audit(1729163018.216:14463): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8532.729086] audit: type=1131 audit(1729163018.216:14464): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8532.758757] audit: type=1701 audit(1729163018.248:14465): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=189854 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8532.761476] audit: type=1130 audit(1729163018.248:14466): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8533.502812] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8534.502806] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8535.502827] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8535.979132] audit: type=1130 audit(1729163021.468:14467): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8535.979146] audit: type=1131 audit(1729163021.468:14468): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8536.502839] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8537.502842] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8538.502826] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8539.229375] kauditd_printk_skb: 2 callbacks suppressed +[ 8539.229381] audit: type=1130 audit(1729163024.716:14471): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8539.229392] audit: type=1131 audit(1729163024.716:14472): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8539.256844] audit: type=1701 audit(1729163024.744:14473): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=189982 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8539.259400] audit: type=1130 audit(1729163024.748:14474): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8539.502848] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8540.502839] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8541.358599] event_q is full: pndx=3 gndx=4 +[ 8541.502830] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8541.749933] audit: type=1131 audit(1729163027.240:14475): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8541.979014] audit: type=1130 audit(1729163027.468:14476): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8541.979031] audit: type=1131 audit(1729163027.468:14477): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8541.982629] audit: type=1130 audit(1729163027.472:14478): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8542.479068] audit: type=1130 audit(1729163027.968:14479): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8542.479083] audit: type=1131 audit(1729163027.968:14480): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8542.502856] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8543.502865] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8544.502868] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8545.502870] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8545.729216] kauditd_printk_skb: 2 callbacks suppressed +[ 8545.729222] audit: type=1130 audit(1729163031.216:14483): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8545.729232] audit: type=1131 audit(1729163031.216:14484): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8545.759426] audit: type=1701 audit(1729163031.248:14485): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=190109 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8545.762064] audit: type=1130 audit(1729163031.252:14486): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8546.502876] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8547.502878] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8547.529145] event_q is full: pndx=6 gndx=7 +[ 8548.502884] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8548.979184] audit: type=1130 audit(1729163034.468:14487): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8548.979198] audit: type=1131 audit(1729163034.468:14488): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8549.009072] audit: type=1701 audit(1729163034.496:14489): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=190174 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8549.011685] audit: type=1130 audit(1729163034.500:14490): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8549.502886] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8550.502887] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8551.502889] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8552.000026] audit: type=1131 audit(1729163037.488:14491): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8552.229906] audit: type=1130 audit(1729163037.720:14492): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8552.229944] audit: type=1131 audit(1729163037.720:14493): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8552.233447] audit: type=1130 audit(1729163037.720:14494): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8552.233719] audit: type=1130 audit(1729163037.720:14495): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8552.233761] audit: type=1131 audit(1729163037.720:14496): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8552.263823] audit: type=1701 audit(1729163037.752:14497): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=190238 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8552.266624] audit: type=1130 audit(1729163037.756:14498): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8552.502880] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8553.502892] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8554.502898] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8555.479139] audit: type=1130 audit(1729163040.968:14499): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8555.479156] audit: type=1131 audit(1729163040.968:14500): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8555.502888] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8556.502898] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8557.502895] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8558.502916] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8558.643155] event_q is full: pndx=2 gndx=3 +[ 8558.729099] kauditd_printk_skb: 2 callbacks suppressed +[ 8558.729104] audit: type=1130 audit(1729163044.216:14503): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8558.729113] audit: type=1131 audit(1729163044.216:14504): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8558.758921] audit: type=1701 audit(1729163044.248:14505): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=190367 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8558.761512] audit: type=1130 audit(1729163044.248:14506): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8559.502914] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8560.502916] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8561.502910] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8561.979087] audit: type=1130 audit(1729163047.468:14507): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8561.979101] audit: type=1131 audit(1729163047.468:14508): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8562.009271] audit: type=1701 audit(1729163047.496:14509): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=190432 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8562.012093] audit: type=1130 audit(1729163047.500:14510): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8562.251042] audit: type=1131 audit(1729163047.740:14511): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8562.479023] audit: type=1130 audit(1729163047.968:14512): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8562.502920] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8563.502928] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8564.502926] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8564.728261] event_q is full: pndx=4 gndx=5 +[ 8565.229098] kauditd_printk_skb: 2 callbacks suppressed +[ 8565.229103] audit: type=1130 audit(1729163050.716:14515): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8565.229113] audit: type=1131 audit(1729163050.716:14516): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8565.260171] audit: type=1701 audit(1729163050.748:14517): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=190496 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8565.262940] audit: type=1130 audit(1729163050.752:14518): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8565.502941] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8566.502941] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8567.502945] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8568.479117] audit: type=1130 audit(1729163053.968:14519): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8568.479133] audit: type=1131 audit(1729163053.968:14520): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8568.502938] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8568.508660] audit: type=1701 audit(1729163053.996:14521): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=190560 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8568.511418] audit: type=1130 audit(1729163054.000:14522): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8569.502946] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8570.502948] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8571.502928] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8571.729189] audit: type=1130 audit(1729163057.216:14523): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8571.729202] audit: type=1131 audit(1729163057.216:14524): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8571.758710] audit: type=1701 audit(1729163057.248:14525): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=190624 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8571.761469] audit: type=1130 audit(1729163057.248:14526): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8572.499990] audit: type=1131 audit(1729163057.988:14527): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8572.502946] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8572.729069] audit: type=1130 audit(1729163058.215:14528): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8572.729083] audit: type=1131 audit(1729163058.215:14529): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8572.732662] audit: type=1130 audit(1729163058.219:14530): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8573.502949] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8573.510392] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8574.502999] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8574.510474] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8574.908216] event_q is full: pndx=0 gndx=1 +[ 8574.979213] audit: type=1130 audit(1729163060.467:14531): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8574.979225] audit: type=1131 audit(1729163060.467:14532): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8575.502968] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8575.510328] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8576.503001] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8576.510387] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8577.503004] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8577.510396] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8578.229200] kauditd_printk_skb: 2 callbacks suppressed +[ 8578.229206] audit: type=1130 audit(1729163063.715:14535): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8578.229216] audit: type=1131 audit(1729163063.715:14536): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8578.258760] audit: type=1701 audit(1729163063.747:14537): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=190753 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8578.261500] audit: type=1130 audit(1729163063.747:14538): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8578.502966] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8578.510324] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8579.502981] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8579.510338] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8580.502979] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8580.510332] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8581.079975] event_q is full: pndx=3 gndx=4 +[ 8581.479281] audit: type=1130 audit(1729163066.967:14539): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8581.479293] audit: type=1131 audit(1729163066.967:14540): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8581.502962] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8581.508924] audit: type=1701 audit(1729163066.995:14541): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=190816 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8581.510291] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8581.511603] audit: type=1130 audit(1729163066.999:14542): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8582.502982] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8582.510341] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8582.750893] audit: type=1131 audit(1729163068.239:14543): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8582.979148] audit: type=1130 audit(1729163068.467:14544): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8583.502991] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8583.510344] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8584.502982] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8584.510344] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8584.729253] kauditd_printk_skb: 2 callbacks suppressed +[ 8584.729257] audit: type=1130 audit(1729163070.215:14547): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8584.729267] audit: type=1131 audit(1729163070.215:14548): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8584.758996] audit: type=1701 audit(1729163070.247:14549): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=190882 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8584.761556] audit: type=1130 audit(1729163070.247:14550): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8585.503002] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8585.510356] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8586.502985] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8586.510323] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8587.502989] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8587.510328] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8587.979231] audit: type=1130 audit(1729163073.467:14551): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8587.979246] audit: type=1131 audit(1729163073.467:14552): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8588.009547] audit: type=1701 audit(1729163073.495:14553): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=190945 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8588.012774] audit: type=1130 audit(1729163073.499:14554): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8588.503002] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8588.510362] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8589.503010] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8589.510367] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8590.503018] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8590.510370] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8591.229243] audit: type=1130 audit(1729163076.715:14555): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8591.229259] audit: type=1131 audit(1729163076.715:14556): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8591.259098] audit: type=1701 audit(1729163076.747:14557): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=191008 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8591.261760] audit: type=1130 audit(1729163076.747:14558): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8591.503020] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8591.510376] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8592.503021] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8592.510381] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8593.001155] audit: type=1131 audit(1729163078.487:14559): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8593.229138] audit: type=1130 audit(1729163078.715:14560): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8593.229151] audit: type=1131 audit(1729163078.715:14561): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8593.232715] audit: type=1130 audit(1729163078.719:14562): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8593.503022] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8593.510380] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8594.479323] audit: type=1130 audit(1729163079.967:14563): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8594.479335] audit: type=1131 audit(1729163079.967:14564): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8594.503013] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8594.510359] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8595.503015] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8595.510357] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8596.503029] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8596.510380] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8597.503019] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8597.510354] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8597.729274] kauditd_printk_skb: 2 callbacks suppressed +[ 8597.729280] audit: type=1130 audit(1729163083.215:14567): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8597.729289] audit: type=1131 audit(1729163083.215:14568): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8597.758789] audit: type=1701 audit(1729163083.247:14569): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=191138 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8597.761529] audit: type=1130 audit(1729163083.247:14570): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8598.360355] event_q is full: pndx=1 gndx=2 +[ 8598.503031] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8598.510388] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8599.503043] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8599.510423] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8600.503046] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8600.510406] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8600.979312] audit: type=1130 audit(1729163086.467:14571): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8600.979324] audit: type=1131 audit(1729163086.467:14572): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8601.009728] audit: type=1701 audit(1729163086.495:14573): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=191203 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8601.012462] audit: type=1130 audit(1729163086.499:14574): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8601.503045] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8601.510399] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8602.503052] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8602.510404] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8603.250226] audit: type=1131 audit(1729163088.739:14575): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8603.479254] audit: type=1130 audit(1729163088.967:14576): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8603.479268] audit: type=1131 audit(1729163088.967:14577): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8603.482793] audit: type=1130 audit(1729163088.971:14578): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8603.503055] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8603.510491] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8604.229339] audit: type=1130 audit(1729163089.715:14579): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8604.229352] audit: type=1131 audit(1729163089.715:14580): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8604.259068] audit: type=1701 audit(1729163089.747:14581): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=191267 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8604.261921] audit: type=1130 audit(1729163089.747:14582): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8604.503041] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8604.510480] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8605.503050] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8605.510486] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8606.503067] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8606.510509] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8607.479337] audit: type=1130 audit(1729163092.967:14583): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8607.479351] audit: type=1131 audit(1729163092.967:14584): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8607.503052] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8607.510470] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8608.503070] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8608.510521] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8609.503082] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8609.510534] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8610.503114] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8610.510589] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8610.729314] kauditd_printk_skb: 2 callbacks suppressed +[ 8610.729320] audit: type=1130 audit(1729163096.215:14587): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8610.729330] audit: type=1131 audit(1729163096.215:14588): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8610.758221] audit: type=1701 audit(1729163096.247:14589): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=191396 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8610.760747] audit: type=1130 audit(1729163096.247:14590): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8611.503081] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8611.510528] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8612.503090] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8612.510533] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8613.500159] audit: type=1131 audit(1729163098.987:14591): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8613.503082] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8613.510432] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8613.729221] audit: type=1130 audit(1729163099.215:14592): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8613.729234] audit: type=1131 audit(1729163099.215:14593): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8613.732814] audit: type=1130 audit(1729163099.219:14594): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8613.979247] audit: type=1130 audit(1729163099.467:14595): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8613.979260] audit: type=1131 audit(1729163099.467:14596): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8614.503089] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8614.510450] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8615.503087] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8615.510441] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8615.557593] event_q is full: pndx=6 gndx=7 +[ 8616.503097] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8616.510479] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8617.229312] kauditd_printk_skb: 4 callbacks suppressed +[ 8617.229317] audit: type=1130 audit(1729163102.715:14601): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8617.229329] audit: type=1131 audit(1729163102.715:14602): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8617.258503] audit: type=1701 audit(1729163102.747:14603): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=191530 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8617.261106] audit: type=1130 audit(1729163102.747:14604): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8617.503135] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8617.510524] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8618.503096] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8618.510451] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8619.503085] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8619.510510] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8620.479298] audit: type=1130 audit(1729163105.967:14605): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8620.479313] audit: type=1131 audit(1729163105.967:14606): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8620.503086] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8620.509553] audit: type=1701 audit(1729163105.995:14607): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=191593 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8620.510499] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8620.512320] audit: type=1130 audit(1729163105.999:14608): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8621.503116] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8621.510561] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8622.503115] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8622.510548] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8623.503098] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8623.510529] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8623.729316] audit: type=1130 audit(1729163109.215:14609): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8623.729331] audit: type=1131 audit(1729163109.215:14610): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8623.750134] audit: type=1131 audit(1729163109.239:14611): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8623.759001] audit: type=1701 audit(1729163109.247:14612): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=191660 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8623.761536] audit: type=1130 audit(1729163109.247:14613): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8623.979247] audit: type=1130 audit(1729163109.467:14614): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8623.979264] audit: type=1131 audit(1729163109.467:14615): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8623.982775] audit: type=1130 audit(1729163109.471:14616): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8624.503129] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8624.510576] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8625.503122] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8625.510569] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8625.742629] event_q is full: pndx=2 gndx=3 +[ 8626.503112] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8626.510535] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8626.979375] audit: type=1130 audit(1729163112.467:14617): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8626.979391] audit: type=1131 audit(1729163112.467:14618): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8627.503135] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8627.510583] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8628.503128] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8628.510574] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8629.503120] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8629.510551] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8630.229344] kauditd_printk_skb: 2 callbacks suppressed +[ 8630.229351] audit: type=1130 audit(1729163115.715:14621): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8630.229364] audit: type=1131 audit(1729163115.715:14622): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8630.259300] audit: type=1701 audit(1729163115.747:14623): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=191787 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8630.262101] audit: type=1130 audit(1729163115.751:14624): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8630.503138] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8630.510579] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8630.849736] migrate_one_irq: 690 callbacks suppressed +[ 8630.849744] IRQ330: set affinity failed(-22). +[ 8630.849748] IRQ331: set affinity failed(-22). +[ 8630.849751] IRQ332: set affinity failed(-22). +[ 8630.849753] IRQ333: set affinity failed(-22). +[ 8630.849755] IRQ334: set affinity failed(-22). +[ 8630.849758] IRQ335: set affinity failed(-22). +[ 8630.849759] IRQ336: set affinity failed(-22). +[ 8630.849762] IRQ337: set affinity failed(-22). +[ 8630.849763] IRQ338: set affinity failed(-22). +[ 8630.849765] IRQ339: set affinity failed(-22). +[ 8630.850988] psci: CPU1 killed (polled 4 ms) +[ 8630.856199] psci: CPU2 killed (polled 0 ms) +[ 8630.859447] psci: CPU3 killed (polled 0 ms) +[ 8630.862035] psci: CPU4 killed (polled 4 ms) +[ 8630.866282] psci: CPU5 killed (polled 4 ms) +[ 8630.869911] psci: CPU6 killed (polled 0 ms) +[ 8630.872457] psci: CPU7 killed (polled 0 ms) +[ 8630.885647] Detected PIPT I-cache on CPU1 +[ 8630.885672] GICv3: CPU1: found redistributor 100 region 0:0x0000000017a80000 +[ 8630.885705] CPU1: Booted secondary processor 0x0000000100 [0x410fd4b2] +[ 8630.887796] Detected PIPT I-cache on CPU2 +[ 8630.887811] GICv3: CPU2: found redistributor 200 region 0:0x0000000017aa0000 +[ 8630.887833] CPU2: Booted secondary processor 0x0000000200 [0x410fd4b2] +[ 8630.889256] Detected PIPT I-cache on CPU3 +[ 8630.889271] GICv3: CPU3: found redistributor 300 region 0:0x0000000017ac0000 +[ 8630.889291] CPU3: Booted secondary processor 0x0000000300 [0x410fd4b2] +[ 8630.891469] Detected PIPT I-cache on CPU4 +[ 8630.891497] GICv3: CPU4: found redistributor 10000 region 0:0x0000000017ae0000 +[ 8630.891529] CPU4: Booted secondary processor 0x0000010000 [0x410fd4b2] +[ 8630.893320] Detected PIPT I-cache on CPU5 +[ 8630.893341] GICv3: CPU5: found redistributor 10100 region 0:0x0000000017b00000 +[ 8630.893365] CPU5: Booted secondary processor 0x0000010100 [0x410fd4b2] +[ 8630.894740] Detected PIPT I-cache on CPU6 +[ 8630.894761] GICv3: CPU6: found redistributor 10200 region 0:0x0000000017b20000 +[ 8630.894786] CPU6: Booted secondary processor 0x0000010200 [0x410fd4b2] +[ 8630.896174] Detected PIPT I-cache on CPU7 +[ 8630.896195] GICv3: CPU7: found redistributor 10300 region 0:0x0000000017b40000 +[ 8630.896218] CPU7: Booted secondary processor 0x0000010300 [0x410fd4b2] +[ 8630.903537] psci: CPU1 killed (polled 0 ms) +[ 8630.906611] psci: CPU2 killed (polled 4 ms) +[ 8630.909244] psci: CPU3 killed (polled 0 ms) +[ 8630.911563] psci: CPU4 killed (polled 0 ms) +[ 8630.913003] psci: CPU5 killed (polled 0 ms) +[ 8630.914457] psci: CPU6 killed (polled 0 ms) +[ 8630.916782] psci: CPU7 killed (polled 0 ms) +[ 8630.925023] Detected PIPT I-cache on CPU1 +[ 8630.925047] GICv3: CPU1: found redistributor 100 region 0:0x0000000017a80000 +[ 8630.925080] CPU1: Booted secondary processor 0x0000000100 [0x410fd4b2] +[ 8630.927480] Detected PIPT I-cache on CPU2 +[ 8630.927497] GICv3: CPU2: found redistributor 200 region 0:0x0000000017aa0000 +[ 8630.927520] CPU2: Booted secondary processor 0x0000000200 [0x410fd4b2] +[ 8630.929161] Detected PIPT I-cache on CPU3 +[ 8630.929175] GICv3: CPU3: found redistributor 300 region 0:0x0000000017ac0000 +[ 8630.929195] CPU3: Booted secondary processor 0x0000000300 [0x410fd4b2] +[ 8630.931428] Detected PIPT I-cache on CPU4 +[ 8630.931455] GICv3: CPU4: found redistributor 10000 region 0:0x0000000017ae0000 +[ 8630.931487] CPU4: Booted secondary processor 0x0000010000 [0x410fd4b2] +[ 8630.933284] Detected PIPT I-cache on CPU5 +[ 8630.933306] GICv3: CPU5: found redistributor 10100 region 0:0x0000000017b00000 +[ 8630.933329] CPU5: Booted secondary processor 0x0000010100 [0x410fd4b2] +[ 8630.934684] Detected PIPT I-cache on CPU6 +[ 8630.934704] GICv3: CPU6: found redistributor 10200 region 0:0x0000000017b20000 +[ 8630.934729] CPU6: Booted secondary processor 0x0000010200 [0x410fd4b2] +[ 8630.936088] Detected PIPT I-cache on CPU7 +[ 8630.936109] GICv3: CPU7: found redistributor 10300 region 0:0x0000000017b40000 +[ 8630.936132] CPU7: Booted secondary processor 0x0000010300 [0x410fd4b2] +[ 8630.943371] psci: CPU1 killed (polled 0 ms) +[ 8630.946236] psci: CPU2 killed (polled 4 ms) +[ 8630.948773] psci: CPU3 killed (polled 0 ms) +[ 8630.951194] psci: CPU4 killed (polled 4 ms) +[ 8630.953429] psci: CPU5 killed (polled 0 ms) +[ 8630.955627] psci: CPU6 killed (polled 0 ms) +[ 8630.957098] psci: CPU7 killed (polled 0 ms) +[ 8630.968246] Detected PIPT I-cache on CPU1 +[ 8630.968273] GICv3: CPU1: found redistributor 100 region 0:0x0000000017a80000 +[ 8630.968306] CPU1: Booted secondary processor 0x0000000100 [0x410fd4b2] +[ 8630.971184] Detected PIPT I-cache on CPU2 +[ 8630.971201] GICv3: CPU2: found redistributor 200 region 0:0x0000000017aa0000 +[ 8630.971226] CPU2: Booted secondary processor 0x0000000200 [0x410fd4b2] +[ 8630.972689] Detected PIPT I-cache on CPU3 +[ 8630.972704] GICv3: CPU3: found redistributor 300 region 0:0x0000000017ac0000 +[ 8630.972726] CPU3: Booted secondary processor 0x0000000300 [0x410fd4b2] +[ 8630.974974] Detected PIPT I-cache on CPU4 +[ 8630.975001] GICv3: CPU4: found redistributor 10000 region 0:0x0000000017ae0000 +[ 8630.975032] CPU4: Booted secondary processor 0x0000010000 [0x410fd4b2] +[ 8630.976816] Detected PIPT I-cache on CPU5 +[ 8630.976836] GICv3: CPU5: found redistributor 10100 region 0:0x0000000017b00000 +[ 8630.976860] CPU5: Booted secondary processor 0x0000010100 [0x410fd4b2] +[ 8630.978288] Detected PIPT I-cache on CPU6 +[ 8630.978308] GICv3: CPU6: found redistributor 10200 region 0:0x0000000017b20000 +[ 8630.978332] CPU6: Booted secondary processor 0x0000010200 [0x410fd4b2] +[ 8630.979744] Detected PIPT I-cache on CPU7 +[ 8630.979766] GICv3: CPU7: found redistributor 10300 region 0:0x0000000017b40000 +[ 8630.979789] CPU7: Booted secondary processor 0x0000010300 [0x410fd4b2] +[ 8630.986029] psci: CPU1 killed (polled 4 ms) +[ 8630.988841] psci: CPU2 killed (polled 0 ms) +[ 8630.991612] psci: CPU3 killed (polled 0 ms) +[ 8630.993958] psci: CPU4 killed (polled 0 ms) +[ 8630.995780] psci: CPU5 killed (polled 0 ms) +[ 8630.997698] psci: CPU6 killed (polled 0 ms) +[ 8631.000196] psci: CPU7 killed (polled 0 ms) +[ 8631.012245] Detected PIPT I-cache on CPU1 +[ 8631.012272] GICv3: CPU1: found redistributor 100 region 0:0x0000000017a80000 +[ 8631.012306] CPU1: Booted secondary processor 0x0000000100 [0x410fd4b2] +[ 8631.015120] Detected PIPT I-cache on CPU2 +[ 8631.015135] GICv3: CPU2: found redistributor 200 region 0:0x0000000017aa0000 +[ 8631.015158] CPU2: Booted secondary processor 0x0000000200 [0x410fd4b2] +[ 8631.017479] Detected PIPT I-cache on CPU3 +[ 8631.017493] GICv3: CPU3: found redistributor 300 region 0:0x0000000017ac0000 +[ 8631.017514] CPU3: Booted secondary processor 0x0000000300 [0x410fd4b2] +[ 8631.019632] Detected PIPT I-cache on CPU4 +[ 8631.019656] GICv3: CPU4: found redistributor 10000 region 0:0x0000000017ae0000 +[ 8631.019685] CPU4: Booted secondary processor 0x0000010000 [0x410fd4b2] +[ 8631.021362] Detected PIPT I-cache on CPU5 +[ 8631.021385] GICv3: CPU5: found redistributor 10100 region 0:0x0000000017b00000 +[ 8631.021408] CPU5: Booted secondary processor 0x0000010100 [0x410fd4b2] +[ 8631.022762] Detected PIPT I-cache on CPU6 +[ 8631.022783] GICv3: CPU6: found redistributor 10200 region 0:0x0000000017b20000 +[ 8631.022807] CPU6: Booted secondary processor 0x0000010200 [0x410fd4b2] +[ 8631.024158] Detected PIPT I-cache on CPU7 +[ 8631.024178] GICv3: CPU7: found redistributor 10300 region 0:0x0000000017b40000 +[ 8631.024203] CPU7: Booted secondary processor 0x0000010300 [0x410fd4b2] +[ 8631.031061] psci: CPU1 killed (polled 4 ms) +[ 8631.034734] psci: CPU2 killed (polled 4 ms) +[ 8631.036597] psci: CPU3 killed (polled 0 ms) +[ 8631.039161] psci: CPU4 killed (polled 4 ms) +[ 8631.041549] psci: CPU5 killed (polled 0 ms) +[ 8631.042970] psci: CPU6 killed (polled 0 ms) +[ 8631.044470] psci: CPU7 killed (polled 0 ms) +[ 8631.055919] Detected PIPT I-cache on CPU1 +[ 8631.055945] GICv3: CPU1: found redistributor 100 region 0:0x0000000017a80000 +[ 8631.055977] CPU1: Booted secondary processor 0x0000000100 [0x410fd4b2] +[ 8631.058338] Detected PIPT I-cache on CPU2 +[ 8631.058353] GICv3: CPU2: found redistributor 200 region 0:0x0000000017aa0000 +[ 8631.058375] CPU2: Booted secondary processor 0x0000000200 [0x410fd4b2] +[ 8631.059944] Detected PIPT I-cache on CPU3 +[ 8631.059958] GICv3: CPU3: found redistributor 300 region 0:0x0000000017ac0000 +[ 8631.059979] CPU3: Booted secondary processor 0x0000000300 [0x410fd4b2] +[ 8631.061875] Detected PIPT I-cache on CPU4 +[ 8631.061898] GICv3: CPU4: found redistributor 10000 region 0:0x0000000017ae0000 +[ 8631.061925] CPU4: Booted secondary processor 0x0000010000 [0x410fd4b2] +[ 8631.063752] Detected PIPT I-cache on CPU5 +[ 8631.063772] GICv3: CPU5: found redistributor 10100 region 0:0x0000000017b00000 +[ 8631.063796] CPU5: Booted secondary processor 0x0000010100 [0x410fd4b2] +[ 8631.065580] Detected PIPT I-cache on CPU6 +[ 8631.065600] GICv3: CPU6: found redistributor 10200 region 0:0x0000000017b20000 +[ 8631.065623] CPU6: Booted secondary processor 0x0000010200 [0x410fd4b2] +[ 8631.067149] Detected PIPT I-cache on CPU7 +[ 8631.067170] GICv3: CPU7: found redistributor 10300 region 0:0x0000000017b40000 +[ 8631.067193] CPU7: Booted secondary processor 0x0000010300 [0x410fd4b2] +[ 8631.503148] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8631.510594] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8631.824513] event_q is full: pndx=5 gndx=6 +[ 8632.503150] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8632.510592] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8633.479438] audit: type=1130 audit(1729163118.967:14625): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8633.479458] audit: type=1131 audit(1729163118.967:14626): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8633.503152] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8633.510377] audit: type=1701 audit(1729163118.999:14627): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=192187 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8633.510580] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8633.513010] audit: type=1130 audit(1729163118.999:14628): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8634.000187] audit: type=1131 audit(1729163119.487:14629): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8634.229299] audit: type=1130 audit(1729163119.715:14630): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8634.503158] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8634.510602] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8635.503154] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8635.510603] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8636.503154] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8636.510587] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8636.729405] kauditd_printk_skb: 2 callbacks suppressed +[ 8636.729411] audit: type=1130 audit(1729163122.215:14633): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8636.729422] audit: type=1131 audit(1729163122.215:14634): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8636.759908] audit: type=1701 audit(1729163122.247:14635): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=192252 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8636.762613] audit: type=1130 audit(1729163122.251:14636): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8637.503164] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8637.510609] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8638.503164] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8638.510605] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8639.503159] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8639.510597] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8639.979401] audit: type=1130 audit(1729163125.467:14637): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8639.979413] audit: type=1131 audit(1729163125.467:14638): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8640.009328] audit: type=1701 audit(1729163125.495:14639): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=192317 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8640.011864] audit: type=1130 audit(1729163125.499:14640): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8640.503174] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8640.510617] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8641.503178] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8641.510622] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8642.009799] event_q is full: pndx=1 gndx=2 +[ 8642.503213] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8642.510673] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8643.229424] audit: type=1130 audit(1729163128.715:14641): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8643.229441] audit: type=1131 audit(1729163128.715:14642): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8643.259468] audit: type=1701 audit(1729163128.747:14643): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=192380 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8643.262248] audit: type=1130 audit(1729163128.751:14644): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8643.503186] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8643.510630] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8644.250766] audit: type=1131 audit(1729163129.739:14645): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8644.479367] audit: type=1130 audit(1729163129.967:14646): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8644.479380] audit: type=1131 audit(1729163129.967:14647): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8644.483019] audit: type=1130 audit(1729163129.971:14648): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8644.503190] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8644.510636] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8645.503182] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8645.510631] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8646.479592] audit: type=1130 audit(1729163131.967:14649): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8646.479607] audit: type=1131 audit(1729163131.967:14650): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8646.503197] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8646.510642] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8647.503194] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8647.510641] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8648.081826] event_q is full: pndx=3 gndx=4 +[ 8648.503184] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8648.510618] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8649.503193] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8649.510642] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8649.729379] kauditd_printk_skb: 2 callbacks suppressed +[ 8649.729384] audit: type=1130 audit(1729163135.215:14653): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8649.729396] audit: type=1131 audit(1729163135.215:14654): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8649.759737] audit: type=1701 audit(1729163135.247:14655): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=192510 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8649.762554] audit: type=1130 audit(1729163135.251:14656): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8650.503206] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8650.510648] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8651.503206] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8651.510640] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8652.503210] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8652.510650] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8652.979462] audit: type=1130 audit(1729163138.467:14657): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8652.979475] audit: type=1131 audit(1729163138.467:14658): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8653.009482] audit: type=1701 audit(1729163138.495:14659): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=192573 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8653.012405] audit: type=1130 audit(1729163138.499:14660): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8653.503220] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8653.510663] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8654.500659] audit: type=1131 audit(1729163139.987:14661): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8654.503222] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8654.510666] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8654.729336] audit: type=1130 audit(1729163140.215:14662): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8654.732936] kauditd_printk_skb: 1 callbacks suppressed +[ 8654.732941] audit: type=1130 audit(1729163140.219:14664): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8655.503228] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8655.510677] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8656.229498] audit: type=1130 audit(1729163141.715:14665): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8656.229511] audit: type=1131 audit(1729163141.715:14666): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8656.259447] audit: type=1701 audit(1729163141.747:14667): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=192639 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8656.262277] audit: type=1130 audit(1729163141.751:14668): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8656.503230] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8656.510677] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8657.503231] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8657.510678] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8658.277962] event_q is full: pndx=7 gndx=0 +[ 8658.503221] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8658.510653] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8659.479413] audit: type=1130 audit(1729163144.967:14669): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8659.479426] audit: type=1131 audit(1729163144.967:14670): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8659.503230] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8659.510013] audit: type=1701 audit(1729163144.995:14671): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=192702 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8659.510652] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8659.512807] audit: type=1130 audit(1729163144.999:14672): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8660.503237] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8660.510680] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8661.503227] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8661.510663] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8662.503240] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8662.510678] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8662.729461] audit: type=1130 audit(1729163148.219:14673): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8662.729475] audit: type=1131 audit(1729163148.219:14674): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8662.759660] audit: type=1701 audit(1729163148.247:14675): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=192767 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8662.762169] audit: type=1130 audit(1729163148.251:14676): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8663.503261] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8663.510700] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8664.359542] event_q is full: pndx=1 gndx=2 +[ 8664.503239] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8664.510663] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8664.750702] audit: type=1131 audit(1729163150.239:14677): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8664.979346] audit: type=1130 audit(1729163150.467:14678): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8664.979360] audit: type=1131 audit(1729163150.467:14679): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8664.982918] audit: type=1130 audit(1729163150.471:14680): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8665.503262] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8665.510705] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8665.979502] audit: type=1130 audit(1729163151.467:14681): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8665.979516] audit: type=1131 audit(1729163151.467:14682): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8666.503256] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8666.510698] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8667.503271] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8667.510712] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8668.503255] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8668.510701] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8669.229534] kauditd_printk_skb: 2 callbacks suppressed +[ 8669.229541] audit: type=1130 audit(1729163154.715:14685): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8669.229551] audit: type=1131 audit(1729163154.715:14686): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8669.259624] audit: type=1701 audit(1729163154.747:14687): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=192898 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8669.262177] audit: type=1130 audit(1729163154.751:14688): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8669.503272] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8669.510718] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8670.503264] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8670.510703] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8671.503275] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8671.510729] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8672.479522] audit: type=1130 audit(1729163157.967:14689): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8672.479539] audit: type=1131 audit(1729163157.967:14690): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8672.503282] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8672.508952] audit: type=1701 audit(1729163157.995:14691): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=192962 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8672.510718] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8672.511675] audit: type=1130 audit(1729163157.999:14692): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8673.503280] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8673.510728] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8674.503282] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8674.510719] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8674.536153] event_q is full: pndx=4 gndx=5 +[ 8675.001017] audit: type=1131 audit(1729163160.487:14693): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8675.229406] audit: type=1130 audit(1729163160.719:14694): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8675.229424] audit: type=1131 audit(1729163160.719:14695): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8675.232948] audit: type=1130 audit(1729163160.719:14696): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8675.503295] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8675.510736] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8675.730420] audit: type=1130 audit(1729163161.219:14697): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8675.730433] audit: type=1131 audit(1729163161.219:14698): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8675.760372] audit: type=1701 audit(1729163161.247:14699): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=193026 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8675.763183] audit: type=1130 audit(1729163161.251:14700): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8676.503295] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8676.510749] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8677.503292] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8677.510728] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8678.503294] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8678.510735] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8678.979423] audit: type=1130 audit(1729163164.467:14701): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8678.979435] audit: type=1131 audit(1729163164.467:14702): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8679.503300] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8679.510746] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8680.503299] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8680.510736] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8680.627253] event_q is full: pndx=7 gndx=0 +[ 8681.503310] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8681.510756] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8682.229484] kauditd_printk_skb: 2 callbacks suppressed +[ 8682.229490] audit: type=1130 audit(1729163167.719:14705): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8682.229504] audit: type=1131 audit(1729163167.719:14706): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8682.258890] audit: type=1701 audit(1729163167.747:14707): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=193155 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8682.261407] audit: type=1130 audit(1729163167.747:14708): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8682.503310] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8682.510752] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8683.503345] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8683.510852] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8684.503355] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8684.510820] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8685.251049] audit: type=1131 audit(1729163170.739:14709): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8685.480411] audit: type=1130 audit(1729163170.967:14710): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8685.480426] audit: type=1131 audit(1729163170.967:14711): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8685.483954] audit: type=1130 audit(1729163170.971:14712): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8685.484223] audit: type=1130 audit(1729163170.971:14713): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8685.484235] audit: type=1131 audit(1729163170.971:14714): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8685.503323] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8685.510763] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8686.503323] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8686.510775] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8687.503307] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8687.510742] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8688.503320] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8688.510757] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8688.729670] kauditd_printk_skb: 2 callbacks suppressed +[ 8688.729677] audit: type=1130 audit(1729163174.215:14717): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8688.729687] audit: type=1131 audit(1729163174.215:14718): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8688.759299] audit: type=1701 audit(1729163174.247:14719): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=193285 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8688.761976] audit: type=1130 audit(1729163174.247:14720): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8689.503336] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8689.510783] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8690.503320] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8690.510749] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8690.818255] event_q is full: pndx=3 gndx=4 +[ 8691.503334] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8691.510774] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8691.979634] audit: type=1130 audit(1729163177.467:14721): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8691.979649] audit: type=1131 audit(1729163177.467:14722): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8692.009234] audit: type=1701 audit(1729163177.495:14723): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=193349 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8692.011906] audit: type=1130 audit(1729163177.499:14724): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8692.503382] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8692.510866] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8693.503338] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8693.510772] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8694.503329] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8694.510755] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8695.229551] audit: type=1130 audit(1729163180.715:14725): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8695.229567] audit: type=1131 audit(1729163180.715:14726): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8695.259543] audit: type=1701 audit(1729163180.747:14727): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=193413 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8695.262289] audit: type=1130 audit(1729163180.751:14728): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8695.501535] audit: type=1131 audit(1729163180.987:14729): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8695.503356] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8695.510805] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8695.729511] audit: type=1130 audit(1729163181.215:14730): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8695.729525] audit: type=1131 audit(1729163181.215:14731): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8695.733093] audit: type=1130 audit(1729163181.219:14732): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8696.503356] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8696.510806] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8696.924394] event_q is full: pndx=6 gndx=7 +[ 8697.503392] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8697.510848] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8698.479721] audit: type=1130 audit(1729163183.967:14733): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8698.479737] audit: type=1131 audit(1729163183.967:14734): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8698.503361] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8698.510792] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8699.503361] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8699.510796] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8700.503364] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8700.510816] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8701.503366] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8701.510807] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8701.729583] kauditd_printk_skb: 2 callbacks suppressed +[ 8701.729589] audit: type=1130 audit(1729163187.219:14737): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8701.729599] audit: type=1131 audit(1729163187.219:14738): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8701.759557] audit: type=1701 audit(1729163187.247:14739): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=193542 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8701.762401] audit: type=1130 audit(1729163187.251:14740): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8702.503381] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8702.510826] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8703.503367] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8703.510802] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8703.570885] event_q is full: pndx=4 gndx=5 +[ 8704.503364] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8704.510779] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8704.979621] audit: type=1130 audit(1729163190.467:14741): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8704.979635] audit: type=1131 audit(1729163190.467:14742): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8705.008776] audit: type=1701 audit(1729163190.495:14743): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=193605 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8705.011485] audit: type=1130 audit(1729163190.499:14744): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8705.503386] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8705.510820] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8705.750801] audit: type=1131 audit(1729163191.239:14745): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8705.979541] audit: type=1130 audit(1729163191.467:14746): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8706.503391] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8706.510837] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8707.503379] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8707.510811] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8708.101308] event_q is full: pndx=1 gndx=2 +[ 8708.229664] kauditd_printk_skb: 2 callbacks suppressed +[ 8708.229670] audit: type=1130 audit(1729163193.719:14749): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8708.229681] audit: type=1131 audit(1729163193.719:14750): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8708.259441] audit: type=1701 audit(1729163193.747:14751): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=193671 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8708.262316] audit: type=1130 audit(1729163193.751:14752): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8708.503391] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8708.510834] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8709.503392] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8709.510826] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8710.503405] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8710.510849] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8711.479677] audit: type=1130 audit(1729163196.967:14753): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8711.479692] audit: type=1131 audit(1729163196.967:14754): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8711.503388] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8711.510165] audit: type=1701 audit(1729163196.995:14755): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=193734 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8711.510804] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8711.512939] audit: type=1130 audit(1729163196.999:14756): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8712.503410] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8712.510863] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8713.503392] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8713.510821] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8714.182256] event_q is full: pndx=4 gndx=5 +[ 8714.503412] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8714.510856] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8714.729624] audit: type=1130 audit(1729163200.215:14757): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8714.729637] audit: type=1131 audit(1729163200.215:14758): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8714.757248] audit: type=1701 audit(1729163200.243:14759): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=193800 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8714.759886] audit: type=1130 audit(1729163200.247:14760): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8715.503422] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8715.510867] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8716.000671] audit: type=1131 audit(1729163201.487:14761): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8716.229603] audit: type=1130 audit(1729163201.715:14762): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8716.229618] audit: type=1131 audit(1729163201.715:14763): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8716.233124] audit: type=1130 audit(1729163201.719:14764): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8716.503429] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8716.510873] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8717.503418] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8717.510867] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8717.979695] audit: type=1130 audit(1729163203.467:14765): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8717.979709] audit: type=1131 audit(1729163203.467:14766): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8718.503425] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8718.510874] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8719.503409] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8719.510839] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8720.503434] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8720.510884] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8721.229676] kauditd_printk_skb: 2 callbacks suppressed +[ 8721.229682] audit: type=1130 audit(1729163206.715:14769): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8721.229691] audit: type=1131 audit(1729163206.715:14770): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8721.259042] audit: type=1701 audit(1729163206.747:14771): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=193930 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8721.261916] audit: type=1130 audit(1729163206.747:14772): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8721.503431] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8721.510874] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8722.503440] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8722.510888] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8723.503436] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8723.510874] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8724.385115] event_q is full: pndx=0 gndx=1 +[ 8724.479706] audit: type=1130 audit(1729163209.967:14773): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8724.479722] audit: type=1131 audit(1729163209.967:14774): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8724.503443] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8724.509879] audit: type=1701 audit(1729163209.995:14775): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=193995 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8724.510878] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8724.512497] audit: type=1130 audit(1729163209.999:14776): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8725.503458] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8725.510903] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8726.250833] audit: type=1131 audit(1729163211.739:14777): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8726.479616] audit: type=1130 audit(1729163211.967:14778): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8726.479628] audit: type=1131 audit(1729163211.967:14779): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8726.483154] audit: type=1130 audit(1729163211.971:14780): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8726.503459] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8726.510904] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8727.503459] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8727.510907] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8727.729670] audit: type=1130 audit(1729163213.219:14781): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8727.729684] audit: type=1131 audit(1729163213.219:14782): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8727.759381] audit: type=1701 audit(1729163213.247:14783): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=194059 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8727.762170] audit: type=1130 audit(1729163213.247:14784): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8728.503464] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8728.510910] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8729.503468] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8729.510906] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8730.469799] event_q is full: pndx=2 gndx=3 +[ 8730.503466] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8730.510904] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8730.979696] audit: type=1130 audit(1729163216.467:14785): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8730.979709] audit: type=1131 audit(1729163216.467:14786): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8731.503465] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8731.510915] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8732.503471] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8732.510909] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8733.503480] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8733.510924] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8734.229741] kauditd_printk_skb: 2 callbacks suppressed +[ 8734.229748] audit: type=1130 audit(1729163219.719:14789): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8734.229759] audit: type=1131 audit(1729163219.719:14790): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8734.259236] audit: type=1701 audit(1729163219.747:14791): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=194187 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8734.261820] audit: type=1130 audit(1729163219.747:14792): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8734.503507] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8734.510978] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8735.503489] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8735.510935] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8736.496469] audit: type=1131 audit(1729163221.983:14793): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8736.503490] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8736.510924] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8736.729548] audit: type=1130 audit(1729163222.215:14794): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8736.729565] audit: type=1131 audit(1729163222.215:14795): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8736.733060] audit: type=1130 audit(1729163222.219:14796): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8737.479712] audit: type=1130 audit(1729163222.967:14797): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8737.479726] audit: type=1131 audit(1729163222.967:14798): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8737.503485] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8737.510916] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8738.503489] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8738.510928] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8739.503502] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8739.510939] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8740.503541] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8740.511000] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8740.623917] event_q is full: pndx=6 gndx=7 +[ 8740.729759] kauditd_printk_skb: 2 callbacks suppressed +[ 8740.729765] audit: type=1130 audit(1729163226.215:14801): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8740.729779] audit: type=1131 audit(1729163226.215:14802): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8740.759672] audit: type=1701 audit(1729163226.247:14803): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=194318 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8740.762299] audit: type=1130 audit(1729163226.247:14804): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8741.503500] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8741.510939] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8742.503497] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8742.510933] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8743.503498] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8743.510928] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8743.979788] audit: type=1130 audit(1729163229.467:14805): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8743.979802] audit: type=1131 audit(1729163229.467:14806): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8744.009778] audit: type=1701 audit(1729163229.495:14807): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=194381 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8744.012504] audit: type=1130 audit(1729163229.499:14808): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8744.503516] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8744.510961] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8745.503522] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8745.510962] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8746.503543] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8746.511004] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8746.694068] event_q is full: pndx=7 gndx=0 +[ 8746.750672] audit: type=1131 audit(1729163232.239:14809): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8746.979561] audit: type=1130 audit(1729163232.467:14810): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8746.979582] audit: type=1131 audit(1729163232.467:14811): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8746.983131] audit: type=1130 audit(1729163232.471:14812): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8747.229594] audit: type=1130 audit(1729163232.719:14813): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8747.229607] audit: type=1131 audit(1729163232.719:14814): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8747.258819] audit: type=1701 audit(1729163232.747:14815): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=194447 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8747.261408] audit: type=1130 audit(1729163232.747:14816): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8747.503528] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8747.510981] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8748.503512] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8748.510952] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8749.503520] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8749.510961] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8750.479794] audit: type=1130 audit(1729163235.967:14817): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8750.479811] audit: type=1131 audit(1729163235.967:14818): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8750.503506] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8750.510910] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8751.503525] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8751.510950] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8752.503526] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8752.510967] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8753.503530] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8753.510969] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8753.729829] kauditd_printk_skb: 2 callbacks suppressed +[ 8753.729835] audit: type=1130 audit(1729163239.215:14821): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8753.729845] audit: type=1131 audit(1729163239.215:14822): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8753.758111] audit: type=1701 audit(1729163239.243:14823): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=194576 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8753.760630] audit: type=1130 audit(1729163239.247:14824): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8754.503529] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8754.510972] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8755.503583] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8755.511065] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8756.503539] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8756.510976] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8756.900278] event_q is full: pndx=3 gndx=4 +[ 8756.979786] audit: type=1130 audit(1729163242.467:14825): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8756.979801] audit: type=1131 audit(1729163242.467:14826): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8757.000205] audit: type=1131 audit(1729163242.487:14827): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8757.009606] audit: type=1701 audit(1729163242.495:14828): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=194639 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8757.012190] audit: type=1130 audit(1729163242.499:14829): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8757.229698] audit: type=1130 audit(1729163242.719:14830): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8757.503557] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8757.511003] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8758.503548] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8758.510982] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8759.503558] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8759.510996] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8760.229864] kauditd_printk_skb: 2 callbacks suppressed +[ 8760.229871] audit: type=1130 audit(1729163245.719:14833): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8760.229882] audit: type=1131 audit(1729163245.719:14834): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8760.260538] audit: type=1701 audit(1729163245.747:14835): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=194703 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8760.263354] audit: type=1130 audit(1729163245.751:14836): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8760.503573] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8760.511011] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8761.503552] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8761.510980] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8762.503572] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8762.511014] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8762.991713] event_q is full: pndx=6 gndx=7 +[ 8763.479838] audit: type=1130 audit(1729163248.967:14837): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8763.479855] audit: type=1131 audit(1729163248.967:14838): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8763.503600] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8763.510563] audit: type=1701 audit(1729163248.999:14839): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=194769 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8763.511029] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8763.513251] audit: type=1130 audit(1729163248.999:14840): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8764.503581] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8764.511016] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8765.503584] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8765.511030] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8766.503586] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8766.511027] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8766.729849] audit: type=1130 audit(1729163252.219:14841): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8766.729862] audit: type=1131 audit(1729163252.219:14842): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8766.759496] audit: type=1701 audit(1729163252.247:14843): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=194832 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8766.762360] audit: type=1130 audit(1729163252.247:14844): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8767.250764] audit: type=1131 audit(1729163252.739:14845): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8767.479779] audit: type=1130 audit(1729163252.967:14846): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8767.479793] audit: type=1131 audit(1729163252.967:14847): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8767.483543] audit: type=1130 audit(1729163252.971:14848): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8767.503580] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8767.511020] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8768.503576] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8768.511010] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8769.503574] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8769.511003] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8769.979835] audit: type=1130 audit(1729163255.467:14849): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8769.979848] audit: type=1131 audit(1729163255.467:14850): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8770.503587] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8770.511014] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8771.503584] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8771.511002] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8772.503581] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8772.511004] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8773.184963] event_q is full: pndx=2 gndx=3 +[ 8773.229837] kauditd_printk_skb: 2 callbacks suppressed +[ 8773.229840] audit: type=1130 audit(1729163258.719:14853): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8773.229851] audit: type=1131 audit(1729163258.719:14854): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8773.259743] audit: type=1701 audit(1729163258.747:14855): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=194962 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8773.262283] audit: type=1130 audit(1729163258.747:14856): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8773.503595] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8773.511025] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8774.503589] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8774.511005] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8775.503600] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8775.511026] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8776.479808] audit: type=1130 audit(1729163261.967:14857): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8776.479820] audit: type=1131 audit(1729163261.967:14858): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8776.503595] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8776.508094] audit: type=1701 audit(1729163261.995:14859): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=195027 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8776.510943] audit: type=1130 audit(1729163261.999:14860): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8776.511024] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8777.496548] audit: type=1131 audit(1729163262.983:14861): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8777.503609] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8777.511040] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8777.729832] audit: type=1130 audit(1729163263.215:14862): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8778.503640] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8778.511180] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8779.290198] event_q is full: pndx=4 gndx=5 +[ 8779.503620] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8779.511052] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8779.729834] kauditd_printk_skb: 2 callbacks suppressed +[ 8779.729838] audit: type=1130 audit(1729163265.215:14865): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8779.729848] audit: type=1131 audit(1729163265.215:14866): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8779.759791] audit: type=1701 audit(1729163265.247:14867): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=195091 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8779.762316] audit: type=1130 audit(1729163265.247:14868): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8780.503627] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8780.511079] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8781.503663] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8781.511136] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8782.503641] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8782.511081] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8782.979871] audit: type=1130 audit(1729163268.467:14869): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8782.979884] audit: type=1131 audit(1729163268.467:14870): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8783.009881] audit: type=1701 audit(1729163268.495:14871): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=195154 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8783.012649] audit: type=1130 audit(1729163268.499:14872): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8783.503641] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8783.511086] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8784.503643] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8784.510999] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8785.503645] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8785.510998] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8785.896304] event_q is full: pndx=2 gndx=3 +[ 8786.229844] audit: type=1130 audit(1729163271.715:14873): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8786.229859] audit: type=1131 audit(1729163271.715:14874): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8786.259560] audit: type=1701 audit(1729163271.747:14875): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=195219 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8786.262058] audit: type=1130 audit(1729163271.747:14876): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8786.503651] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8786.511008] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8787.503639] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8787.510986] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8787.750994] audit: type=1131 audit(1729163273.239:14877): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8787.979789] audit: type=1130 audit(1729163273.467:14878): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8787.979801] audit: type=1131 audit(1729163273.467:14879): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8787.983401] audit: type=1130 audit(1729163273.471:14880): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8788.503651] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8788.511005] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8789.479893] audit: type=1130 audit(1729163274.967:14881): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8789.479906] audit: type=1131 audit(1729163274.967:14882): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8789.503639] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8789.510936] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8790.458559] event_q is full: pndx=0 gndx=1 +[ 8790.503665] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8790.511098] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8791.503669] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8791.511110] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8792.503707] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8792.511176] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8792.729933] kauditd_printk_skb: 2 callbacks suppressed +[ 8792.729939] audit: type=1130 audit(1729163278.215:14885): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8792.729950] audit: type=1131 audit(1729163278.215:14886): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8792.759427] audit: type=1701 audit(1729163278.247:14887): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=195348 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8792.762041] audit: type=1130 audit(1729163278.247:14888): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8793.503666] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8793.511115] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8794.503685] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8794.511133] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8795.503681] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8795.511135] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8795.979919] audit: type=1130 audit(1729163281.467:14889): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8795.979933] audit: type=1131 audit(1729163281.467:14890): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8796.009720] audit: type=1701 audit(1729163281.495:14891): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=195411 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8796.012408] audit: type=1130 audit(1729163281.499:14892): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8796.503728] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8796.511203] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8796.528161] event_q is full: pndx=2 gndx=3 +[ 8797.503668] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8797.511101] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8797.997569] audit: type=1131 audit(1729163283.483:14893): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8798.229867] audit: type=1130 audit(1729163283.715:14894): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8798.229881] audit: type=1131 audit(1729163283.715:14895): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8798.233441] audit: type=1130 audit(1729163283.719:14896): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8798.503672] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8798.511099] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8799.230163] audit: type=1130 audit(1729163284.719:14897): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8799.230180] audit: type=1131 audit(1729163284.719:14898): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8799.260142] audit: type=1701 audit(1729163284.747:14899): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=195476 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8799.262880] audit: type=1130 audit(1729163284.751:14900): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8799.503695] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8799.511139] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8800.503684] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8800.511123] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8801.503680] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8801.511103] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8802.479951] audit: type=1130 audit(1729163287.967:14901): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8802.479965] audit: type=1131 audit(1729163287.967:14902): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8802.503692] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8802.511131] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8803.503703] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8803.511151] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8804.503693] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8804.511127] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8805.503696] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8805.511074] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8805.729951] kauditd_printk_skb: 2 callbacks suppressed +[ 8805.729958] audit: type=1130 audit(1729163291.219:14905): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8805.729968] audit: type=1131 audit(1729163291.219:14906): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8805.759677] audit: type=1701 audit(1729163291.247:14907): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=195604 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8805.762541] audit: type=1130 audit(1729163291.247:14908): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8806.503717] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8806.511149] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8806.714254] event_q is full: pndx=6 gndx=7 +[ 8807.503702] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8807.511140] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8808.250989] audit: type=1131 audit(1729163293.739:14909): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8808.479870] audit: type=1130 audit(1729163293.967:14910): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8808.479884] audit: type=1131 audit(1729163293.967:14911): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8808.483504] audit: type=1130 audit(1729163293.971:14912): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8808.503725] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8808.511172] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8808.979931] audit: type=1130 audit(1729163294.467:14913): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8808.979946] audit: type=1131 audit(1729163294.467:14914): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8809.503703] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8809.511132] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8810.503710] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8810.511143] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8811.503713] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8811.511142] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8812.229982] kauditd_printk_skb: 2 callbacks suppressed +[ 8812.229990] audit: type=1130 audit(1729163297.715:14917): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8812.230001] audit: type=1131 audit(1729163297.715:14918): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8812.259803] audit: type=1701 audit(1729163297.747:14919): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=195735 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8812.262602] audit: type=1130 audit(1729163297.747:14920): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8812.503714] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8812.511144] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8812.864366] event_q is full: pndx=0 gndx=1 +[ 8813.503711] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8813.511126] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8814.503726] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8814.511146] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8815.479958] audit: type=1130 audit(1729163300.967:14921): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8815.479974] audit: type=1131 audit(1729163300.967:14922): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8815.503713] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8815.510009] audit: type=1701 audit(1729163300.995:14923): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=195800 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8815.511118] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8815.512818] audit: type=1130 audit(1729163300.999:14924): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8816.503740] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8816.511187] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8817.503729] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8817.511158] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8818.500914] audit: type=1131 audit(1729163303.987:14925): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8818.503750] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8818.511199] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8818.730789] audit: type=1130 audit(1729163304.219:14926): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8818.730804] audit: type=1131 audit(1729163304.219:14927): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8818.734332] audit: type=1130 audit(1729163304.219:14928): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=cdsp1rpcd comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8818.734618] audit: type=1130 audit(1729163304.219:14929): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8818.734627] audit: type=1131 audit(1729163304.223:14930): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8818.764497] audit: type=1701 audit(1729163304.251:14931): auid=4294967295 uid=988 gid=5020 ses=4294967295 subj=system_u:system_r:pulseaudio_t:s0-s15:c0.c1023 pid=195865 comm="pulseaudio" exe="/usr/bin/pulseaudio" sig=11 res=1 +[ 8818.767335] audit: type=1130 audit(1729163304.255:14932): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' +[ 8819.460242] event_q is full: pndx=7 gndx=0 +[ 8819.503748] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8819.511177] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8820.503758] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8820.511199] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8821.503759] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8821.511202] spmi spmi-0: disallowed SPMI write to sid=0, addr=0x6146 +[ 8821.674908] migrate_one_irq: 690 callbacks suppressed +[ 8821.674915] IRQ330: set affinity failed(-22). +[ 8821.674920] IRQ331: set affinity failed(-22). +[ 8821.674922] IRQ332: set affinity failed(-22). +[ 8821.674925] IRQ333: set affinity failed(-22). +[ 8821.674927] IRQ334: set affinity failed(-22). +[ 8821.674930] IRQ335: set affinity failed(-22). +[ 8821.674932] IRQ336: set affinity failed(-22). +[ 8821.674934] IRQ337: set affinity failed(-22). +[ 8821.674936] IRQ338: set affinity failed(-22). +[ 8821.674939] IRQ339: set affinity failed(-22). +[ 8821.676250] psci: CPU1 killed (polled 0 ms) +[ 8821.683365] psci: CPU2 killed (polled 4 ms) +[ 8821.685526] psci: CPU3 killed (polled 0 ms) +[ 8821.689011] psci: CPU4 killed (polled 0 ms) +[ 8821.691998] psci: CPU5 killed (polled 0 ms) +[ 8821.696129] psci: CPU6 killed (polled 0 ms) +[ 8821.698155] psci: CPU7 killed (polled 0 ms) +[ 8821.711043] Detected PIPT I-cache on CPU1 +[ 8821.711067] GICv3: CPU1: found redistributor 100 region 0:0x0000000017a80000 +[ 8821.711100] CPU1: Booted secondary processor 0x0000000100 [0x410fd4b2] +[ 8821.713744] Detected PIPT I-cache on CPU2 +[ 8821.713759] GICv3: CPU2: found redistributor 200 region 0:0x0000000017aa0000 +[ 8821.713781] CPU2: Booted secondary processor 0x0000000200 [0x410fd4b2] +[ 8821.715442] Detected PIPT I-cache on CPU3 +[ 8821.715457] GICv3: CPU3: found redistributor 300 region 0:0x0000000017ac0000 +[ 8821.715478] CPU3: Booted secondary processor 0x0000000300 [0x410fd4b2] +[ 8821.717296] Detected PIPT I-cache on CPU4 +[ 8821.717324] GICv3: CPU4: found redistributor 10000 region 0:0x0000000017ae0000 +[ 8821.717355] CPU4: Booted secondary processor 0x0000010000 [0x410fd4b2] +[ 8821.719188] Detected PIPT I-cache on CPU5 +[ 8821.719209] GICv3: CPU5: found redistributor 10100 region 0:0x0000000017b00000 +[ 8821.719233] CPU5: Booted secondary processor 0x0000010100 [0x410fd4b2] +[ 8821.720612] Detected PIPT I-cache on CPU6 +[ 8821.720633] GICv3: CPU6: found redistributor 10200 region 0:0x0000000017b20000 +[ 8821.720657] CPU6: Booted secondary processor 0x0000010200 [0x410fd4b2] +[ 8821.722035] Detected PIPT I-cache on CPU7 +[ 8821.722056] GICv3: CPU7: found redistributor 10300 region 0:0x0000000017b40000 +[ 8821.722079] CPU7: Booted secondary processor 0x0000010300 [0x410fd4b2] +[ 8821.729383] psci: CPU1 killed (polled 0 ms) +[ 8821.732121] psci: CPU2 killed (polled 0 ms) +[ 8821.734601] psci: CPU3 killed (polled 0 ms) +[ 8821.737204] psci: CPU4 killed (polled 0 ms) +[ 8821.738711] psci: CPU5 killed (polled 4 ms) +[ 8821.741405] psci: CPU6 killed (polled 0 ms) +[ 8821.742995] psci: CPU7 killed (polled 0 ms) +[ 8821.755887] Detected PIPT I-cache on CPU1 +[ 8821.755911] GICv3: CPU1: found redistributor 100 region 0:0x0000000017a80000 +[ 8821.755944] CPU1: Booted secondary processor 0x0000000100 [0x410fd4b2] +[ 8821.758376] Detected PIPT I-cache on CPU2 +[ 8821.758391] GICv3: CPU2: found redistributor 200 region 0:0x0000000017aa0000 +[ 8821.758412] CPU2: Booted secondary processor 0x0000000200 [0x410fd4b2] +[ 8821.760603] Detected PIPT I-cache on CPU3 +[ 8821.760617] GICv3: CPU3: found redistributor 300 region 0:0x0000000017ac0000 +[ 8821.760637] CPU3: Booted secondary processor 0x0000000300 [0x410fd4b2] +[ 8821.762527] Detected PIPT I-cache on CPU4 +[ 8821.762555] GICv3: CPU4: found redistributor 10000 region 0:0x0000000017ae0000 +[ 8821.762585] CPU4: Booted secondary processor 0x0000010000 [0x410fd4b2] +[ 8821.764498] Detected PIPT I-cache on CPU5 +[ 8821.764518] GICv3: CPU5: found redistributor 10100 region 0:0x0000000017b00000 +[ 8821.764543] CPU5: Booted secondary processor 0x0000010100 [0x410fd4b2] +[ 8821.766245] Detected PIPT I-cache on CPU6 +[ 8821.766267] GICv3: CPU6: found redistributor 10200 region 0:0x0000000017b20000 +[ 8821.766290] CPU6: Booted secondary processor 0x0000010200 [0x410fd4b2] +[ 8821.767898] Detected PIPT I-cache on CPU7 +[ 8821.767919] GICv3: CPU7: found redistributor 10300 region 0:0x0000000017b40000 +[ 8821.767943] CPU7: Booted secondary processor 0x0000010300 [0x410fd4b2] +[ 8821.774649] psci: CPU1 killed (polled 4 ms) +[ 8821.777325] psci: CPU2 killed (polled 0 ms) +[ 8821.779812] psci: CPU3 killed (polled 0 ms) +[ 8821.781604] psci: CPU4 killed (polled 0 ms) +[ 8821.783113] psci: CPU5 killed (polled 0 ms) +[ 8821.785134] psci: CPU6 killed (polled 0 ms) +[ 8821.787190] psci: CPU7 killed (polled 0 ms) +[ 8821.798751] Detected PIPT I-cache on CPU1 +[ 8821.798777] GICv3: CPU1: found redistributor 100 region 0:0x0000000017a80000 +[ 8821.798809] CPU1: Booted secondary processor 0x0000000100 [0x410fd4b2] +[ 8821.801215] Detected PIPT I-cache on CPU2 +[ 8821.801230] GICv3: CPU2: found redistributor 200 region 0:0x0000000017aa0000 +[ 8821.801251] CPU2: Booted secondary processor 0x0000000200 [0x410fd4b2] +[ 8821.803110] Detected PIPT I-cache on CPU3 +[ 8821.803124] GICv3: CPU3: found redistributor 300 region 0:0x0000000017ac0000 +[ 8821.803145] CPU3: Booted secondary processor 0x0000000300 [0x410fd4b2] +[ 8821.805102] Detected PIPT I-cache on CPU4 +[ 8821.805127] GICv3: CPU4: found redistributor 10000 region 0:0x0000000017ae0000 +[ 8821.805155] CPU4: Booted secondary processor 0x0000010000 [0x410fd4b2] +[ 8821.806943] Detected PIPT I-cache on CPU5 +[ 8821.806964] GICv3: CPU5: found redistributor 10100 region 0:0x0000000017b00000 +[ 8821.806989] CPU5: Booted secondary processor 0x0000010100 [0x410fd4b2] +[ 8821.808309] Detected PIPT I-cache on CPU6 +[ 8821.808330] GICv3: CPU6: found redistributor 10200 region 0:0x0000000017b20000 +[ 8821.808355] CPU6: Booted secondary processor 0x0000010200 [0x410fd4b2] +[ 8821.809704] Detected PIPT I-cache on CPU7 +[ 8821.809725] GICv3: CPU7: found redistributor 10300 region 0:0x0000000017b40000 +[ 8821.809748] CPU7: Booted secondary processor 0x0000010300 [0x410fd4b2] +[ 8821.816768] psci: CPU1 killed (polled 0 ms) +[ 8821.819646] psci: CPU2 killed (polled 4 ms) +[ 8821.822141] psci: CPU3 killed (polled 0 ms) +[ 8821.824653] psci: CPU4 killed (polled 0 ms) +[ 8821.826678] psci: CPU5 killed (polled 4 ms) +[ 8821.828797] psci: CPU6 killed (polled 0 ms) +[ 8821.830983] psci: CPU7 killed (polled 4 ms) +[ 8821.841162] Detected PIPT I-cache on CPU1 +[ 8821.841186] GICv3: CPU1: found redistributor 100 region 0:0x0000000017a80000 +[ 8821.841219] CPU1: Booted secondary processor 0x0000000100 [0x410fd4b2] +[ 8821.843108] Detected PIPT I-cache on CPU2 +[ 8821.843124] GICv3: CPU2: found redistributor 200 region 0:0x0000000017aa0000 +[ 8821.843145] CPU2: Booted secondary processor 0x0000000200 [0x410fd4b2] +[ 8821.844521] Detected PIPT I-cache on CPU3 +[ 8821.844535] GICv3: CPU3: found redistributor 300 region 0:0x0000000017ac0000 +[ 8821.844554] CPU3: Booted secondary processor 0x0000000300 [0x410fd4b2] +[ 8821.846604] Detected PIPT I-cache on CPU4 +[ 8821.846630] GICv3: CPU4: found redistributor 10000 region 0:0x0000000017ae0000 +[ 8821.846660] CPU4: Booted secondary processor 0x0000010000 [0x410fd4b2] +[ 8821.848567] Detected PIPT I-cache on CPU5 +[ 8821.848587] GICv3: CPU5: found redistributor 10100 region 0:0x0000000017b00000 +[ 8821.848611] CPU5: Booted secondary processor 0x0000010100 [0x410fd4b2] +[ 8821.850041] Detected PIPT I-cache on CPU6 +[ 8821.850061] GICv3: CPU6: found redistributor 10200 region 0:0x0000000017b20000 +[ 8821.850085] CPU6: Booted secondary processor 0x0000010200 [0x410fd4b2] +[ 8821.851554] Detected PIPT I-cache on CPU7 +[ 8821.851575] GICv3: CPU7: found redistributor 10300 region 0:0x0000000017b40000 +[ 8821.851599] CPU7: Booted secondary processor 0x0000010300 [0x410fd4b2] +[ 8821.858819] psci: CPU1 killed (polled 4 ms) +[ 8821.862436] psci: CPU2 killed (polled 0 ms) +[ 8821.865232] psci: CPU3 killed (polled 0 ms) +[ 8821.866880] psci: CPU4 killed (polled 0 ms) +[ 8821.868542] psci: CPU5 killed (polled 0 ms) +[ 8821.869894] psci: CPU6 killed (polled 0 ms) +[ 8821.875586] psci: CPU7 killed (polled 0 ms) +[ 8821.885681] Detected PIPT I-cache on CPU1 +[ 8821.885706] GICv3: CPU1: found redistributor 100 region 0:0x0000000017a80000 +[ 8821.885739] CPU1: Booted secondary processor 0x0000000100 [0x410fd4b2] +[ 8821.888480] Detected PIPT I-cache on CPU2 +[ 8821.888497] GICv3: CPU2: found redistributor 200 region 0:0x0000000017aa0000 +[ 8821.888519] CPU2: Booted secondary processor 0x0000000200 [0x410fd4b2] +[ 8821.890518] Detected PIPT I-cache on CPU3 +[ 8821.890532] GICv3: CPU3: found redistributor 300 region 0:0x0000000017ac0000 +[ 8821.890553] CPU3: Booted secondary processor 0x0000000300 [0x410fd4b2] +[ 8821.893175] Detected PIPT I-cache on CPU4 +[ 8821.893203] GICv3: CPU4: found redistributor 10000 region 0:0x0000000017ae0000 +[ 8821.893235] CPU4: Booted secondary processor 0x0000010000 [0x410fd4b2] +[ 8821.895578] Detected PIPT I-cache on CPU5 +[ 8821.895599] GICv3: CPU5: found redistributor 10100 region 0:0x0000000017b00000 +[ 8821.895622] CPU5: Booted secondary processor 0x0000010100 [0x410fd4b2] +[ 8821.897644] Detected PIPT I-cache on CPU6 +[ 8821.897664] GICv3: CPU6: found redistributor 10200 region 0:0x0000000017b20000 +[ 8821.897688] CPU6: Booted secondary processor 0x0000010200 [0x410fd4b2] +[ 8821.899255] Detected PIPT I-cache on CPU7 +[ 8821.899276] GICv3: CPU7: found redistributor 10300 region 0:0x0000000017b40000 +[ 8821.899300] CPU7: Booted secondary processor 0x0000010300 [0x410fd4b2] +[ 8821.980081] audit: type=1130 audit(1729163307.467:14933): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' +[ 8821.980091] audit: type=1131 audit(1729163307.467:14934): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0-s15:c0.c1023 msg='unit=pulseaudio comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' diff --git a/common/bins/cpufreq/cpufreq_selftest.txt b/common/bins/cpufreq/cpufreq_selftest.txt new file mode 100644 index 00000000..90c80299 --- /dev/null +++ b/common/bins/cpufreq/cpufreq_selftest.txt @@ -0,0 +1,381 @@ + +*** RUNNING CPUFREQ SANITY TESTS *** +==================================== + +CPUFreq manages: 8 CPUs + +** Test: Running read_all_cpufreq_files ** + +Printing directory: /sys/devices/system/cpu/cpufreq + + +Printing directory: /sys/devices/system/cpu/cpufreq/policy0 + +affected_cpus:0 1 2 3 +cpuinfo_cur_freq:1267200 +cpuinfo_max_freq:1939200 +cpuinfo_min_freq:1267200 +cpuinfo_transition_latency:0 +related_cpus:0 1 2 3 +scaling_available_frequencies:1267200 1363200 1459200 1536000 1632000 1708800 1785600 1862400 1939200 +scaling_available_governors:ondemand userspace performance schedutil +scaling_boost_frequencies: +scaling_cur_freq:1939200 +scaling_driver:qcom-cpufreq-hw +scaling_governor:schedutil +scaling_max_freq:1939200 +scaling_min_freq:1267200 +scaling_setspeed: + +Printing directory: /sys/devices/system/cpu/cpufreq/policy0/schedutil + +rate_limit_us:1000 + + +Printing directory: /sys/devices/system/cpu/cpufreq/policy0/stats + +reset:time_in_state:1267200 18202 +1363200 491 +1459200 106 +1536000 21 +1632000 24 +1708800 18 +1785600 10 +1862400 16 +1939200 172 +total_trans:3165 +trans_table: From : To + : 1267200 1363200 1459200 1536000 1632000 1708800 1785600 1862400 1939200 + 1267200: 0 1192 114 13 12 9 1 2 25 + 1363200: 1121 0 46 7 24 0 0 0 18 + 1459200: 110 9 0 19 9 21 0 0 12 + 1536000: 21 3 2 0 11 5 3 0 6 + 1632000: 24 3 2 1 0 9 19 3 7 + 1708800: 9 0 1 1 1 0 5 23 12 + 1785600: 7 0 0 1 0 0 0 3 25 + 1862400: 12 0 1 1 1 0 1 0 37 + 1939200: 64 9 14 7 10 8 7 22 0 + + + +Printing directory: /sys/devices/system/cpu/cpufreq/policy4 + +affected_cpus:4 5 6 7 +cpuinfo_cur_freq:1267200 +cpuinfo_max_freq:1939200 +cpuinfo_min_freq:1267200 +cpuinfo_transition_latency:0 +related_cpus:4 5 6 7 +scaling_available_frequencies:1267200 1363200 1459200 1536000 1632000 1708800 1785600 1862400 1939200 +scaling_available_governors:ondemand userspace performance schedutil +scaling_boost_frequencies: +scaling_cur_freq:1267200 +scaling_driver:qcom-cpufreq-hw +scaling_governor:schedutil +scaling_max_freq:1939200 +scaling_min_freq:1267200 +scaling_setspeed: + +Printing directory: /sys/devices/system/cpu/cpufreq/policy4/schedutil + +rate_limit_us:1000 + + +Printing directory: /sys/devices/system/cpu/cpufreq/policy4/stats + +reset:time_in_state:1267200 18657 +1363200 328 +1459200 39 +1536000 18 +1632000 5 +1708800 0 +1785600 1 +1862400 0 +1939200 6 +total_trans:2149 +trans_table: From : To + : 1267200 1363200 1459200 1536000 1632000 1708800 1785600 1862400 1939200 + 1267200: 0 989 16 15 1 0 2 0 5 + 1363200: 955 0 35 4 2 0 1 0 0 + 1459200: 47 6 0 6 4 0 0 0 0 + 1536000: 11 0 9 0 5 0 1 0 0 + 1632000: 6 1 0 1 0 3 1 0 0 + 1708800: 0 1 1 0 0 0 2 0 0 + 1785600: 1 0 1 0 0 0 0 3 2 + 1862400: 0 0 0 0 0 1 0 0 2 + 1939200: 8 0 1 0 0 0 0 0 0 + + + +------------------------------------------------ + +** Test: Running update_all_cpufreq_files ** + +Updating directory: /sys/devices/system/cpu/cpufreq + + +Updating directory: /sys/devices/system/cpu/cpufreq/policy0 + +Writing schedutil to: scaling_governor +Writing 1939200 to: scaling_max_freq +Writing 1267200 to: scaling_min_freq + +Updating directory: /sys/devices/system/cpu/cpufreq/policy0/schedutil + +Writing 1000 to: rate_limit_us + + +Updating directory: /sys/devices/system/cpu/cpufreq/policy0/stats + +Writing to: reset + + + +Updating directory: /sys/devices/system/cpu/cpufreq/policy4 + +Writing schedutil to: scaling_governor +Writing 1939200 to: scaling_max_freq +Writing 1267200 to: scaling_min_freq + +Updating directory: /sys/devices/system/cpu/cpufreq/policy4/schedutil + +Writing 1000 to: rate_limit_us + + +Updating directory: /sys/devices/system/cpu/cpufreq/policy4/stats + +Writing to: reset + + + +------------------------------------------------ + +** Test: Running reboot_cpus for 5 loops ** + +Offline cpu1 +Offline cpu2 +Offline cpu3 +Offline cpu4 +Offline cpu5 +Offline cpu6 +Offline cpu7 +Online cpu1 +Online cpu2 +Online cpu3 +Online cpu4 +Online cpu5 +Online cpu6 +Online cpu7 + +Offline cpu1 +Offline cpu2 +Offline cpu3 +Offline cpu4 +Offline cpu5 +Offline cpu6 +Offline cpu7 +Online cpu1 +Online cpu2 +Online cpu3 +Online cpu4 +Online cpu5 +Online cpu6 +Online cpu7 + +Offline cpu1 +Offline cpu2 +Offline cpu3 +Offline cpu4 +Offline cpu5 +Offline cpu6 +Offline cpu7 +Online cpu1 +Online cpu2 +Online cpu3 +Online cpu4 +Online cpu5 +Online cpu6 +Online cpu7 + +Offline cpu1 +Offline cpu2 +Offline cpu3 +Offline cpu4 +Offline cpu5 +Offline cpu6 +Offline cpu7 +Online cpu1 +Online cpu2 +Online cpu3 +Online cpu4 +Online cpu5 +Online cpu6 +Online cpu7 + +Offline cpu1 +Offline cpu2 +Offline cpu3 +Offline cpu4 +Offline cpu5 +Offline cpu6 +Offline cpu7 +Online cpu1 +Online cpu2 +Online cpu3 +Online cpu4 +Online cpu5 +Online cpu6 +Online cpu7 + + +------------------------------------------------ + +** Test: Running shuffle_frequency_for_all_cpus for 2 loops ** + +Governor backup done for policy0: schedutil + +Switched governor for policy0 to userspace + +Available frequencies for policy0: 1267200 1363200 1459200 1536000 1632000 1708800 1785600 1862400 1939200 + +Change frequency for policy0 to 1267200 +Change frequency for policy0 to 1363200 +Change frequency for policy0 to 1459200 +Change frequency for policy0 to 1536000 +Change frequency for policy0 to 1632000 +Change frequency for policy0 to 1708800 +Change frequency for policy0 to 1785600 +Change frequency for policy0 to 1862400 +Change frequency for policy0 to 1939200 + +Governor restored for policy0 to schedutil + +Governor backup done for policy4: schedutil + +Switched governor for policy4 to userspace + +Available frequencies for policy4: 1267200 1363200 1459200 1536000 1632000 1708800 1785600 1862400 1939200 + +Change frequency for policy4 to 1267200 +Change frequency for policy4 to 1363200 +Change frequency for policy4 to 1459200 +Change frequency for policy4 to 1536000 +Change frequency for policy4 to 1632000 +Change frequency for policy4 to 1708800 +Change frequency for policy4 to 1785600 +Change frequency for policy4 to 1862400 +Change frequency for policy4 to 1939200 + +Governor restored for policy4 to schedutil + +Governor backup done for policy0: schedutil + +Switched governor for policy0 to userspace + +Available frequencies for policy0: 1267200 1363200 1459200 1536000 1632000 1708800 1785600 1862400 1939200 + +Change frequency for policy0 to 1267200 +Change frequency for policy0 to 1363200 +Change frequency for policy0 to 1459200 +Change frequency for policy0 to 1536000 +Change frequency for policy0 to 1632000 +Change frequency for policy0 to 1708800 +Change frequency for policy0 to 1785600 +Change frequency for policy0 to 1862400 +Change frequency for policy0 to 1939200 + +Governor restored for policy0 to schedutil + +Governor backup done for policy4: schedutil + +Switched governor for policy4 to userspace + +Available frequencies for policy4: 1267200 1363200 1459200 1536000 1632000 1708800 1785600 1862400 1939200 + +Change frequency for policy4 to 1267200 +Change frequency for policy4 to 1363200 +Change frequency for policy4 to 1459200 +Change frequency for policy4 to 1536000 +Change frequency for policy4 to 1632000 +Change frequency for policy4 to 1708800 +Change frequency for policy4 to 1785600 +Change frequency for policy4 to 1862400 +Change frequency for policy4 to 1939200 + +Governor restored for policy4 to schedutil + + +------------------------------------------------ + +** Test: Running shuffle_governors_for_all_cpus for 1 loops ** + +Governor backup done for policy0: schedutil + +Available governors for policy0: ondemand userspace performance schedutil + +Switched governor for policy0 to ondemand + +Printing directory: /sys/devices/system/cpu/cpufreq/policy0/ondemand + +ignore_nice_load:0 +io_is_busy:0 +powersave_bias:0 +sampling_down_factor:1 +sampling_rate:8000 +up_threshold:95 + + +Switched governor for policy0 to userspace + +No files to read for userspace governor + + +Switched governor for policy0 to performance + +No files to read for performance governor + + +Switched governor for policy0 to schedutil + +Printing directory: /sys/devices/system/cpu/cpufreq/policy0/schedutil + +rate_limit_us:1000 + +Governor restored for policy0 to schedutil + +Governor backup done for policy4: schedutil + +Available governors for policy4: ondemand userspace performance schedutil + +Switched governor for policy4 to ondemand + +Printing directory: /sys/devices/system/cpu/cpufreq/policy4/ondemand + +ignore_nice_load:0 +io_is_busy:0 +powersave_bias:0 +sampling_down_factor:1 +sampling_rate:8000 +up_threshold:95 + + +Switched governor for policy4 to userspace + +No files to read for userspace governor + + +Switched governor for policy4 to performance + +No files to read for performance governor + + +Switched governor for policy4 to schedutil + +Printing directory: /sys/devices/system/cpu/cpufreq/policy4/schedutil + +rate_limit_us:1000 + +Governor restored for policy4 to schedutil + +------------------------------------------------ + diff --git a/common/bins/cpufreq/governor.sh b/common/bins/cpufreq/governor.sh new file mode 100644 index 00000000..fe37df79 --- /dev/null +++ b/common/bins/cpufreq/governor.sh @@ -0,0 +1,154 @@ +#!/bin/bash +# SPDX-License-Identifier: GPL-2.0 +# +# Test governors + +# protect against multiple inclusion +if [ $FILE_GOVERNOR ]; then + return 0 +else + FILE_GOVERNOR=DONE +fi + +source cpu.sh +source cpufreq.sh + +CUR_GOV= +CUR_FREQ= + +# Find governor's directory path +# $1: policy, $2: governor +find_gov_directory() +{ + if [ -d $CPUFREQROOT/$2 ]; then + printf "$CPUFREQROOT/$2\n" + elif [ -d $CPUFREQROOT/$1/$2 ]; then + printf "$CPUFREQROOT/$1/$2\n" + else + printf "INVALID\n" + fi +} + +# $1: policy +find_current_governor() +{ + cat $CPUFREQROOT/$1/scaling_governor +} + +# $1: policy +backup_governor() +{ + CUR_GOV=$(find_current_governor $1) + + printf "Governor backup done for $1: $CUR_GOV\n" + + if [ $CUR_GOV == "userspace" ]; then + CUR_FREQ=$(find_current_freq $1) + printf "Governor frequency backup done for $1: $CUR_FREQ\n" + fi + + printf "\n" +} + +# $1: policy +restore_governor() +{ + __switch_governor $1 $CUR_GOV + + printf "Governor restored for $1 to $CUR_GOV\n" + + if [ $CUR_GOV == "userspace" ]; then + set_cpu_frequency $1 $CUR_FREQ + printf "Governor frequency restored for $1: $CUR_FREQ\n" + fi + + printf "\n" +} + +# param: +# $1: policy, $2: governor +__switch_governor() +{ + echo $2 > $CPUFREQROOT/$1/scaling_governor +} + +# param: +# $1: cpu, $2: governor +__switch_governor_for_cpu() +{ + echo $2 > $CPUROOT/$1/cpufreq/scaling_governor +} + +# SWITCH GOVERNORS + +# $1: cpu, $2: governor +switch_governor() +{ + local filepath=$CPUFREQROOT/$1/scaling_available_governors + + # check if governor is available + local found=$(cat $filepath | grep $2 | wc -l) + if [ $found = 0 ]; then + echo 1; + return + fi + + __switch_governor $1 $2 + echo 0; +} + +# $1: policy, $2: governor +switch_show_governor() +{ + cur_gov=find_current_governor + if [ $cur_gov == "userspace" ]; then + cur_freq=find_current_freq + fi + + # switch governor + __switch_governor $1 $2 + + printf "\nSwitched governor for $1 to $2\n\n" + + if [ $2 == "userspace" -o $2 == "powersave" -o $2 == "performance" ]; then + printf "No files to read for $2 governor\n\n" + return + fi + + # show governor files + local govpath=$(find_gov_directory $1 $2) + read_cpufreq_files_in_dir $govpath +} + +# $1: function to be called, $2: policy +call_for_each_governor() +{ + local filepath=$CPUFREQROOT/$2/scaling_available_governors + + # Exit if cpu isn't managed by cpufreq core + if [ ! -f $filepath ]; then + return; + fi + + backup_governor $2 + + local governors=$(cat $filepath) + printf "Available governors for $2: $governors\n" + + for governor in $governors; do + $1 $2 $governor + done + + restore_governor $2 +} + +# $1: loop count +shuffle_governors_for_all_cpus() +{ + printf "** Test: Running ${FUNCNAME[0]} for $1 loops **\n\n" + + for i in `seq 1 $1`; do + for_each_policy call_for_each_governor switch_show_governor + done + printf "%s\n\n" "------------------------------------------------" +} diff --git a/common/bins/cpufreq/main.sh b/common/bins/cpufreq/main.sh new file mode 100644 index 00000000..bfecfb02 --- /dev/null +++ b/common/bins/cpufreq/main.sh @@ -0,0 +1,218 @@ +#!/bin/bash +# SPDX-License-Identifier: GPL-2.0 + +source cpu.sh +source cpufreq.sh +source governor.sh +source module.sh +source special-tests.sh + +DIR="$(dirname $(readlink -f "$0"))" +source "${DIR}"/../kselftest/ktap_helpers.sh + +FUNC=basic # do basic tests by default +OUTFILE=cpufreq_selftest +SYSFS= +CPUROOT= +CPUFREQROOT= + +helpme() +{ + printf "Usage: $0 [-h] [-todg args] + [-h ] + [-o ] + [-t ] + [-d \"] + [-g \"] + \n" + exit "${KSFT_FAIL}" +} + +prerequisite() +{ + msg="skip all tests:" + + if [ $UID != 0 ]; then + ktap_skip_all "$msg must be run as root" + exit "${KSFT_SKIP}" + fi + + taskset -p 01 $$ + + SYSFS=/sys + + if [ ! -d "$SYSFS" ]; then + ktap_skip_all "$msg sysfs is not mounted" + exit "${KSFT_SKIP}" + fi + + CPUROOT=$SYSFS/devices/system/cpu + CPUFREQROOT="$CPUROOT/cpufreq" + + if ! ls $CPUROOT/cpu* > /dev/null 2>&1; then + ktap_skip_all "$msg cpus not available in sysfs" + exit "${KSFT_SKIP}" + fi + + if ! ls $CPUROOT/cpufreq > /dev/null 2>&1; then + ktap_skip_all "$msg cpufreq directory not available in sysfs" + exit "${KSFT_SKIP}" + fi +} + +parse_arguments() +{ + while getopts ht:o:d:g: arg + do + case $arg in + h) # --help + helpme + ;; + + t) # --func_type (Function to perform: basic, suspend, hibernate, + # suspend_rtc, hibernate_rtc, modtest, sptest1/2/3/4 (default: basic)) + FUNC=$OPTARG + ;; + + o) # --output-file (Output file to store dumps) + OUTFILE=$OPTARG + ;; + + d) # --driver-mod-name (Name of the driver module) + DRIVER_MOD=$OPTARG + ;; + + g) # --governor-mod-name (Name of the governor module) + GOVERNOR_MOD=$OPTARG + ;; + + \?) + helpme + ;; + esac + done +} + +do_test() +{ + # Check if CPUs are managed by cpufreq or not + count=$(count_cpufreq_managed_cpus) + + if [ $count = 0 -a $FUNC != "modtest" ]; then + ktap_exit_fail_msg "No cpu is managed by cpufreq core, exiting" + fi + + case "$FUNC" in + "basic") + cpufreq_basic_tests + ;; + + "suspend") + do_suspend "suspend" 1 + ;; + + "hibernate") + do_suspend "hibernate" 1 + ;; + + "suspend_rtc") + do_suspend "suspend" 1 rtc + ;; + + "hibernate_rtc") + do_suspend "hibernate" 1 rtc + ;; + + "modtest") + # Do we have modules in place? + if [ -z $DRIVER_MOD ] && [ -z $GOVERNOR_MOD ]; then + ktap_exit_fail_msg "No driver or governor module passed with -d or -g" + fi + + if [ $DRIVER_MOD ]; then + if [ $GOVERNOR_MOD ]; then + module_test $DRIVER_MOD $GOVERNOR_MOD + else + module_driver_test $DRIVER_MOD + fi + else + if [ $count = 0 ]; then + ktap_exit_fail_msg "No cpu is managed by cpufreq core, exiting" + fi + + module_governor_test $GOVERNOR_MOD + fi + ;; + + "sptest1") + simple_lockdep + ;; + + "sptest2") + concurrent_lockdep + ;; + + "sptest3") + governor_race + ;; + + "sptest4") + hotplug_with_updates + ;; + + *) + ktap_print_msg "Invalid [-f] function type" + helpme + ;; + esac +} + +# clear dumps +# $1: file name +clear_dumps() +{ + echo "" > $1.txt + echo "" > $1.dmesg_cpufreq.txt + echo "" > $1.dmesg_full.txt +} + +# $1: output file name +dmesg_dumps() +{ + dmesg | grep cpufreq >> $1.dmesg_cpufreq.txt + + # We may need the full logs as well + dmesg >> $1.dmesg_full.txt +} + +ktap_print_header + +# Parse arguments +parse_arguments $@ + +ktap_set_plan 1 + +# Make sure all requirements are met +prerequisite + +# Run requested functions +clear_dumps $OUTFILE +do_test | tee -a $OUTFILE.txt +if [ "${PIPESTATUS[0]}" -ne 0 ]; then + exit ${PIPESTATUS[0]}; +fi +dmesg_dumps $OUTFILE + +ktap_test_pass "Completed successfully" + +ktap_print_totals +exit "${KSFT_PASS}" diff --git a/common/bins/cpufreq/module.sh b/common/bins/cpufreq/module.sh new file mode 100644 index 00000000..7f2667e0 --- /dev/null +++ b/common/bins/cpufreq/module.sh @@ -0,0 +1,242 @@ +#!/bin/bash +# SPDX-License-Identifier: GPL-2.0 +# +# Modules specific tests cases + +# protect against multiple inclusion +if [ $FILE_MODULE ]; then + return 0 +else + FILE_MODULE=DONE +fi + +source cpu.sh +source cpufreq.sh +source governor.sh + +# Check basic insmod/rmmod +# $1: module +test_basic_insmod_rmmod() +{ + printf "** Test: Running ${FUNCNAME[0]} **\n\n" + + printf "Inserting $1 module\n" + # insert module + insmod $1 + if [ $? != 0 ]; then + ktap_exit_fail_msg "Insmod $1 failed\n" + fi + + printf "Removing $1 module\n" + # remove module + rmmod $1 + if [ $? != 0 ]; then + ktap_exit_fail_msg "rmmod $1 failed\n" + fi + + printf "\n" +} + +# Insert cpufreq driver module and perform basic tests +# $1: cpufreq-driver module to insert +# $2: If we want to play with CPUs (1) or not (0) +module_driver_test_single() +{ + printf "** Test: Running ${FUNCNAME[0]} for driver $1 and cpus_hotplug=$2 **\n\n" + + if [ $2 -eq 1 ]; then + # offline all non-boot CPUs + for_each_non_boot_cpu offline_cpu + printf "\n" + fi + + # insert module + printf "Inserting $1 module\n\n" + insmod $1 + if [ $? != 0 ]; then + printf "Insmod $1 failed\n" + return; + fi + + if [ $2 -eq 1 ]; then + # online all non-boot CPUs + for_each_non_boot_cpu online_cpu + printf "\n" + fi + + # run basic tests + cpufreq_basic_tests + + # remove module + printf "Removing $1 module\n\n" + rmmod $1 + if [ $? != 0 ]; then + printf "rmmod $1 failed\n" + return; + fi + + # There shouldn't be any cpufreq directories now. + for_each_cpu cpu_should_not_have_cpufreq_directory + printf "\n" +} + +# $1: cpufreq-driver module to insert +module_driver_test() +{ + printf "** Test: Running ${FUNCNAME[0]} **\n\n" + + # check if module is present or not + ls $1 > /dev/null + if [ $? != 0 ]; then + printf "$1: not present in `pwd` folder\n" + return; + fi + + # test basic module tests + test_basic_insmod_rmmod $1 + + # Do simple module test + module_driver_test_single $1 0 + + # Remove CPUs before inserting module and then bring them back + module_driver_test_single $1 1 + printf "\n" +} + +# find governor name based on governor module name +# $1: governor module name +find_gov_name() +{ + if [ $1 = "cpufreq_ondemand.ko" ]; then + printf "ondemand" + elif [ $1 = "cpufreq_conservative.ko" ]; then + printf "conservative" + elif [ $1 = "cpufreq_userspace.ko" ]; then + printf "userspace" + elif [ $1 = "cpufreq_performance.ko" ]; then + printf "performance" + elif [ $1 = "cpufreq_powersave.ko" ]; then + printf "powersave" + elif [ $1 = "cpufreq_schedutil.ko" ]; then + printf "schedutil" + fi +} + +# $1: governor string, $2: governor module, $3: policy +# example: module_governor_test_single "ondemand" "cpufreq_ondemand.ko" 2 +module_governor_test_single() +{ + printf "** Test: Running ${FUNCNAME[0]} for $3 **\n\n" + + backup_governor $3 + + # switch to new governor + printf "Switch from $CUR_GOV to $1\n" + switch_show_governor $3 $1 + + # try removing module, it should fail as governor is used + printf "Removing $2 module\n\n" + rmmod $2 + if [ $? = 0 ]; then + printf "WARN: rmmod $2 succeeded even if governor is used\n" + insmod $2 + else + printf "Pass: unable to remove $2 while it is being used\n\n" + fi + + # switch back to old governor + printf "Switchback to $CUR_GOV from $1\n" + restore_governor $3 + printf "\n" +} + +# Insert cpufreq governor module and perform basic tests +# $1: cpufreq-governor module to insert +module_governor_test() +{ + printf "** Test: Running ${FUNCNAME[0]} **\n\n" + + # check if module is present or not + ls $1 > /dev/null + if [ $? != 0 ]; then + printf "$1: not present in `pwd` folder\n" + return; + fi + + # test basic module tests + test_basic_insmod_rmmod $1 + + # insert module + printf "Inserting $1 module\n\n" + insmod $1 + if [ $? != 0 ]; then + printf "Insmod $1 failed\n" + return; + fi + + # switch to new governor for each cpu + for_each_policy module_governor_test_single $(find_gov_name $1) $1 + + # remove module + printf "Removing $1 module\n\n" + rmmod $1 + if [ $? != 0 ]; then + printf "rmmod $1 failed\n" + return; + fi + printf "\n" +} + +# test modules: driver and governor +# $1: driver module, $2: governor module +module_test() +{ + printf "** Test: Running ${FUNCNAME[0]} **\n\n" + + # check if modules are present or not + ls $1 $2 > /dev/null + if [ $? != 0 ]; then + printf "$1 or $2: is not present in `pwd` folder\n" + return; + fi + + # TEST1: Insert gov after driver + # insert driver module + printf "Inserting $1 module\n\n" + insmod $1 + if [ $? != 0 ]; then + printf "Insmod $1 failed\n" + return; + fi + + # run governor tests + module_governor_test $2 + + # remove driver module + printf "Removing $1 module\n\n" + rmmod $1 + if [ $? != 0 ]; then + printf "rmmod $1 failed\n" + return; + fi + + # TEST2: Insert driver after governor + # insert governor module + printf "Inserting $2 module\n\n" + insmod $2 + if [ $? != 0 ]; then + printf "Insmod $2 failed\n" + return; + fi + + # run governor tests + module_driver_test $1 + + # remove driver module + printf "Removing $2 module\n\n" + rmmod $2 + if [ $? != 0 ]; then + printf "rmmod $2 failed\n" + return; + fi +} diff --git a/common/bins/cpufreq/special-tests.sh b/common/bins/cpufreq/special-tests.sh new file mode 100644 index 00000000..8d40505d --- /dev/null +++ b/common/bins/cpufreq/special-tests.sh @@ -0,0 +1,116 @@ +#!/bin/bash +# SPDX-License-Identifier: GPL-2.0 +# +# Special test cases reported by people + +# Testcase 1: Reported here: http://marc.info/?l=linux-pm&m=140618592709858&w=2 + +# protect against multiple inclusion +if [ $FILE_SPECIAL ]; then + return 0 +else + FILE_SPECIAL=DONE +fi + +source cpu.sh +source cpufreq.sh +source governor.sh + +# Test 1 +# $1: policy +__simple_lockdep() +{ + # switch to ondemand + __switch_governor $1 "ondemand" + + # cat ondemand files + local ondir=$(find_gov_directory $1 "ondemand") + if [ -z $ondir ]; then + printf "${FUNCNAME[0]}Ondemand directory not created, quit" + return + fi + + cat $ondir/* + + # switch to conservative + __switch_governor $1 "conservative" +} + +simple_lockdep() +{ + printf "** Test: Running ${FUNCNAME[0]} **\n" + + for_each_policy __simple_lockdep +} + +# Test 2 +# $1: policy +__concurrent_lockdep() +{ + for i in `seq 0 100`; do + __simple_lockdep $1 + done +} + +concurrent_lockdep() +{ + printf "** Test: Running ${FUNCNAME[0]} **\n" + + for_each_policy_concurrent __concurrent_lockdep +} + +# Test 3 +quick_shuffle() +{ + # this is called concurrently from governor_race + for I in `seq 1000` + do + echo ondemand | sudo tee $CPUFREQROOT/policy*/scaling_governor & + echo userspace | sudo tee $CPUFREQROOT/policy*/scaling_governor & + done +} + +governor_race() +{ + printf "** Test: Running ${FUNCNAME[0]} **\n" + + # run 8 concurrent instances + for I in `seq 8` + do + quick_shuffle & + done +} + +# Test 4 +# $1: cpu +hotplug_with_updates_cpu() +{ + local filepath="$CPUROOT/$1/cpufreq" + + # switch to ondemand + __switch_governor_for_cpu $1 "ondemand" + + for i in `seq 1 5000` + do + reboot_cpu $1 + done & + + local freqs=$(cat $filepath/scaling_available_frequencies) + local oldfreq=$(cat $filepath/scaling_min_freq) + + for j in `seq 1 5000` + do + # Set all frequencies one-by-one + for freq in $freqs; do + echo $freq > $filepath/scaling_min_freq + done + done + + # restore old freq + echo $oldfreq > $filepath/scaling_min_freq +} + +hotplug_with_updates() +{ + for_each_non_boot_cpu hotplug_with_updates_cpu +} diff --git a/common/bins/kselftest/ksft.py b/common/bins/kselftest/ksft.py new file mode 100644 index 00000000..bf215790 --- /dev/null +++ b/common/bins/kselftest/ksft.py @@ -0,0 +1,90 @@ +# SPDX-License-Identifier: GPL-2.0 +# +# Copyright (c) 2023 Collabora Ltd +# +# Kselftest helpers for outputting in KTAP format. Based on kselftest.h. +# + +import sys + +ksft_cnt = {"pass": 0, "fail": 0, "skip": 0} +ksft_num_tests = 0 +ksft_test_number = 1 + +KSFT_PASS = 0 +KSFT_FAIL = 1 +KSFT_SKIP = 4 + + +def print_header(): + print("TAP version 13") + + +def set_plan(num_tests): + global ksft_num_tests + ksft_num_tests = num_tests + print("1..{}".format(num_tests)) + + +def print_cnts(): + print( + f"# Totals: pass:{ksft_cnt['pass']} fail:{ksft_cnt['fail']} xfail:0 xpass:0 skip:{ksft_cnt['skip']} error:0" + ) + + +def print_msg(msg): + print(f"# {msg}") + + +def _test_print(result, description, directive=None): + if directive: + directive_str = f"# {directive}" + else: + directive_str = "" + + global ksft_test_number + print(f"{result} {ksft_test_number} {description} {directive_str}") + ksft_test_number += 1 + + +def test_result_pass(description): + _test_print("ok", description) + ksft_cnt["pass"] += 1 + + +def test_result_fail(description): + _test_print("not ok", description) + ksft_cnt["fail"] += 1 + + +def test_result_skip(description): + _test_print("ok", description, "SKIP") + ksft_cnt["skip"] += 1 + + +def test_result(condition, description=""): + if condition: + test_result_pass(description) + else: + test_result_fail(description) + + +def finished(): + if ksft_cnt["pass"] + ksft_cnt["skip"] == ksft_num_tests: + exit_code = KSFT_PASS + else: + exit_code = KSFT_FAIL + + print_cnts() + + sys.exit(exit_code) + + +def exit_fail(): + print_cnts() + sys.exit(KSFT_FAIL) + + +def exit_pass(): + print_cnts() + sys.exit(KSFT_PASS) diff --git a/common/bins/kselftest/ktap_helpers.sh b/common/bins/kselftest/ktap_helpers.sh new file mode 100644 index 00000000..79a125eb --- /dev/null +++ b/common/bins/kselftest/ktap_helpers.sh @@ -0,0 +1,111 @@ +# SPDX-License-Identifier: GPL-2.0 +# +# Copyright (c) 2023 Collabora Ltd +# +# Helpers for outputting in KTAP format +# +KTAP_TESTNO=1 +KTAP_CNT_PASS=0 +KTAP_CNT_FAIL=0 +KTAP_CNT_SKIP=0 + +KSFT_PASS=0 +KSFT_FAIL=1 +KSFT_XFAIL=2 +KSFT_XPASS=3 +KSFT_SKIP=4 + +KSFT_NUM_TESTS=0 + +ktap_print_header() { + echo "TAP version 13" +} + +ktap_print_msg() +{ + echo "#" $@ +} + +ktap_set_plan() { + KSFT_NUM_TESTS="$1" + + echo "1..$KSFT_NUM_TESTS" +} + +ktap_skip_all() { + echo -n "1..0 # SKIP " + echo $@ +} + +__ktap_test() { + result="$1" + description="$2" + directive="$3" # optional + + local directive_str= + [ ! -z "$directive" ] && directive_str="# $directive" + + echo $result $KTAP_TESTNO $description $directive_str + + KTAP_TESTNO=$((KTAP_TESTNO+1)) +} + +ktap_test_pass() { + description="$1" + + result="ok" + __ktap_test "$result" "$description" + + KTAP_CNT_PASS=$((KTAP_CNT_PASS+1)) +} + +ktap_test_skip() { + description="$1" + + result="ok" + directive="SKIP" + __ktap_test "$result" "$description" "$directive" + + KTAP_CNT_SKIP=$((KTAP_CNT_SKIP+1)) +} + +ktap_test_fail() { + description="$1" + + result="not ok" + __ktap_test "$result" "$description" + + KTAP_CNT_FAIL=$((KTAP_CNT_FAIL+1)) +} + +ktap_test_result() { + description="$1" + shift + + if $@; then + ktap_test_pass "$description" + else + ktap_test_fail "$description" + fi +} + +ktap_exit_fail_msg() { + echo "Bail out! " $@ + ktap_print_totals + + exit "$KSFT_FAIL" +} + +ktap_finished() { + ktap_print_totals + + if [ $((KTAP_CNT_PASS + KTAP_CNT_SKIP)) -eq "$KSFT_NUM_TESTS" ]; then + exit "$KSFT_PASS" + else + exit "$KSFT_FAIL" + fi +} + +ktap_print_totals() { + echo "# Totals: pass:$KTAP_CNT_PASS fail:$KTAP_CNT_FAIL xfail:0 xpass:0 skip:$KTAP_CNT_SKIP error:0" +} diff --git a/common/bins/kselftest/module.sh b/common/bins/kselftest/module.sh new file mode 100644 index 00000000..fb4733fa --- /dev/null +++ b/common/bins/kselftest/module.sh @@ -0,0 +1,84 @@ +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0+ + +# +# Runs an individual test module. +# +# kselftest expects a separate executable for each test, this can be +# created by adding a script like this: +# +# #!/bin/sh +# SPDX-License-Identifier: GPL-2.0+ +# $(dirname $0)/../kselftest/module.sh "description" module_name +# +# Example: tools/testing/selftests/lib/printf.sh + +desc="" # Output prefix. +module="" # Filename (without the .ko). +args="" # modprobe arguments. + +modprobe="/sbin/modprobe" + +main() { + parse_args "$@" + assert_root + assert_have_module + run_module +} + +parse_args() { + script=${0##*/} + + if [ $# -lt 2 ]; then + echo "Usage: $script [FAIL]" + exit 1 + fi + + desc="$1" + shift || true + module="$1" + shift || true + args="$@" +} + +assert_root() { + if [ ! -w /dev ]; then + skip "please run as root" + fi +} + +assert_have_module() { + if ! $modprobe -q -n $module; then + skip "module $module is not found" + fi +} + +run_module() { + if $modprobe -q $module $args; then + $modprobe -q -r $module + say "ok" + else + fail "" + fi +} + +say() { + echo "$desc: $1" +} + + +fail() { + say "$1 [FAIL]" >&2 + exit 1 +} + +skip() { + say "$1 [SKIP]" >&2 + # Kselftest framework requirement - SKIP code is 4. + exit 4 +} + +# +# Main script +# +main "$@" diff --git a/common/bins/kselftest/prefix.pl b/common/bins/kselftest/prefix.pl new file mode 100644 index 00000000..12a7f4ca --- /dev/null +++ b/common/bins/kselftest/prefix.pl @@ -0,0 +1,24 @@ +#!/usr/bin/env perl +# SPDX-License-Identifier: GPL-2.0 +# Prefix all lines with "# ", unbuffered. Command being piped in may need +# to have unbuffering forced with "stdbuf -i0 -o0 -e0 $cmd". +use strict; +use IO::Handle; + +binmode STDIN; +binmode STDOUT; + +STDOUT->autoflush(1); + +my $needed = 1; +while (1) { + my $char; + my $bytes = sysread(STDIN, $char, 1); + exit 0 if ($bytes == 0); + if ($needed) { + print "# "; + $needed = 0; + } + print $char; + $needed = 1 if ($char eq "\n"); +} diff --git a/common/bins/kselftest/runner.sh b/common/bins/kselftest/runner.sh new file mode 100644 index 00000000..2c3c58e6 --- /dev/null +++ b/common/bins/kselftest/runner.sh @@ -0,0 +1,197 @@ +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 +# +# Runs a set of tests in a given subdirectory. +export skip_rc=4 +export timeout_rc=124 +export logfile=/dev/stdout +export per_test_logging= +export RUN_IN_NETNS= + +# Defaults for "settings" file fields: +# "timeout" how many seconds to let each test run before running +# over our soft timeout limit. +export kselftest_default_timeout=45 + +# There isn't a shell-agnostic way to find the path of a sourced file, +# so we must rely on BASE_DIR being set to find other tools. +if [ -z "$BASE_DIR" ]; then + echo "Error: BASE_DIR must be set before sourcing." >&2 + exit 1 +fi + +TR_CMD=$(command -v tr) + +# If Perl is unavailable, we must fall back to line-at-a-time prefixing +# with sed instead of unbuffered output. +tap_prefix() +{ + if [ ! -x /usr/bin/perl ]; then + sed -e 's/^/# /' + else + "$BASE_DIR"/kselftest/prefix.pl + fi +} + +tap_timeout() +{ + # Make sure tests will time out if utility is available. + if [ -x /usr/bin/timeout ] ; then + /usr/bin/timeout --foreground "$kselftest_timeout" \ + /usr/bin/timeout "$kselftest_timeout" $1 + else + $1 + fi +} + +run_one() +{ + DIR="$1" + TEST="$2" + local test_num="$3" + + BASENAME_TEST=$(basename $TEST) + + # Reset any "settings"-file variables. + export kselftest_timeout="$kselftest_default_timeout" + + # Safe default if tr not available + kselftest_cmd_args_ref="KSELFTEST_ARGS" + + # Optional arguments for this command, possibly defined as an + # environment variable built using the test executable in all + # uppercase and sanitized substituting non acceptable shell + # variable name characters with "_" as in: + # + # KSELFTEST__ARGS="" + # + # e.g. + # + # rtctest --> KSELFTEST_RTCTEST_ARGS="/dev/rtc1" + # + # cpu-on-off-test.sh --> KSELFTEST_CPU_ON_OFF_TEST_SH_ARGS="-a -p 10" + # + if [ -n "$TR_CMD" ]; then + BASENAME_SANITIZED=$(echo "$BASENAME_TEST" | \ + $TR_CMD -d "[:blank:][:cntrl:]" | \ + $TR_CMD -c "[:alnum:]_" "_" | \ + $TR_CMD [:lower:] [:upper:]) + kselftest_cmd_args_ref="KSELFTEST_${BASENAME_SANITIZED}_ARGS" + fi + + # Load per-test-directory kselftest "settings" file. + settings="$BASE_DIR/$DIR/settings" + if [ -r "$settings" ] ; then + while read line ; do + # Skip comments. + if echo "$line" | grep -q '^#'; then + continue + fi + field=$(echo "$line" | cut -d= -f1) + value=$(echo "$line" | cut -d= -f2-) + eval "kselftest_$field"="$value" + done < "$settings" + fi + + # Command line timeout overrides the settings file + if [ -n "$kselftest_override_timeout" ]; then + kselftest_timeout="$kselftest_override_timeout" + echo "# overriding timeout to $kselftest_timeout" >> "$logfile" + else + echo "# timeout set to $kselftest_timeout" >> "$logfile" + fi + + TEST_HDR_MSG="selftests: $DIR: $BASENAME_TEST" + echo "# $TEST_HDR_MSG" + if [ ! -e "$TEST" ]; then + echo "# Warning: file $TEST is missing!" + echo "not ok $test_num $TEST_HDR_MSG" + else + if [ -x /usr/bin/stdbuf ]; then + stdbuf="/usr/bin/stdbuf --output=L " + fi + eval kselftest_cmd_args="\$${kselftest_cmd_args_ref:-}" + if [ -x "$TEST" ]; then + cmd="$stdbuf ./$BASENAME_TEST $kselftest_cmd_args" + elif [ -x "./ksft_runner.sh" ]; then + cmd="$stdbuf ./ksft_runner.sh ./$BASENAME_TEST" + else + echo "# Warning: file $TEST is not executable" + + if [ $(head -n 1 "$TEST" | cut -c -2) = "#!" ] + then + interpreter=$(head -n 1 "$TEST" | cut -c 3-) + cmd="$stdbuf $interpreter ./$BASENAME_TEST" + else + echo "not ok $test_num $TEST_HDR_MSG" + return + fi + fi + cd `dirname $TEST` > /dev/null + ((((( tap_timeout "$cmd" 2>&1; echo $? >&3) | + tap_prefix >&4) 3>&1) | + (read xs; exit $xs)) 4>>"$logfile" && + echo "ok $test_num $TEST_HDR_MSG") || + (rc=$?; \ + if [ $rc -eq $skip_rc ]; then \ + echo "ok $test_num $TEST_HDR_MSG # SKIP" + elif [ $rc -eq $timeout_rc ]; then \ + echo "#" + echo "not ok $test_num $TEST_HDR_MSG # TIMEOUT $kselftest_timeout seconds" + else + echo "not ok $test_num $TEST_HDR_MSG # exit=$rc" + fi) + cd - >/dev/null + fi +} + +in_netns() +{ + local name=$1 + ip netns exec $name bash <<-EOF + BASE_DIR=$BASE_DIR + source $BASE_DIR/kselftest/runner.sh + logfile=$logfile + run_one $DIR $TEST $test_num + EOF +} + +run_in_netns() +{ + local netns=$(mktemp -u ${BASENAME_TEST}-XXXXXX) + local tmplog="/tmp/$(mktemp -u ${BASENAME_TEST}-XXXXXX)" + ip netns add $netns + if [ $? -ne 0 ]; then + echo "# Warning: Create namespace failed for $BASENAME_TEST" + echo "not ok $test_num selftests: $DIR: $BASENAME_TEST # Create NS failed" + fi + ip -n $netns link set lo up + in_netns $netns &> $tmplog + ip netns del $netns &> /dev/null + cat $tmplog + rm -f $tmplog +} + +run_many() +{ + echo "TAP version 13" + DIR="${PWD#${BASE_DIR}/}" + test_num=0 + total=$(echo "$@" | wc -w) + echo "1..$total" + for TEST in "$@"; do + BASENAME_TEST=$(basename $TEST) + test_num=$(( test_num + 1 )) + if [ -n "$per_test_logging" ]; then + logfile="/tmp/$BASENAME_TEST" + cat /dev/null > "$logfile" + fi + if [ -n "$RUN_IN_NETNS" ]; then + run_in_netns & + else + run_one "$DIR" "$TEST" "$test_num" + fi + done + + wait +} diff --git a/common/bins/lat_mem_rd b/common/bins/lat_mem_rd new file mode 100644 index 00000000..2686b1f0 Binary files /dev/null and b/common/bins/lat_mem_rd differ diff --git a/common/bins/rngtest/rngtest b/common/bins/rngtest/rngtest new file mode 100644 index 00000000..25886239 Binary files /dev/null and b/common/bins/rngtest/rngtest differ diff --git a/common/bins/timers/.gitignore b/common/bins/timers/.gitignore new file mode 100644 index 00000000..bb5326ff --- /dev/null +++ b/common/bins/timers/.gitignore @@ -0,0 +1,22 @@ +# SPDX-License-Identifier: GPL-2.0-only +alarmtimer-suspend +change_skew +clocksource-switch +inconsistency-check +leap-a-day +leapcrash +mqueue-lat +nanosleep +nsleep-lat +posix_timers +raw_skew +rtcpie +set-2038 +set-tai +set-timer-lat +skew_consistency +threadtest +valid-adjtimex +adjtick +set-tz +freq-step diff --git a/common/bins/timers/Makefile b/common/bins/timers/Makefile new file mode 100644 index 00000000..32203593 --- /dev/null +++ b/common/bins/timers/Makefile @@ -0,0 +1,24 @@ +# SPDX-License-Identifier: GPL-2.0 +CFLAGS += -O3 -Wl,-no-as-needed -Wall -I $(top_srcdir) +LDLIBS += -lrt -lpthread -lm + +# these are all "safe" tests that don't modify +# system time or require escalated privileges +TEST_GEN_PROGS = posix_timers nanosleep nsleep-lat set-timer-lat mqueue-lat \ + inconsistency-check raw_skew threadtest rtcpie + +DESTRUCTIVE_TESTS = alarmtimer-suspend valid-adjtimex adjtick change_skew \ + skew_consistency clocksource-switch freq-step leap-a-day \ + leapcrash set-tai set-2038 set-tz + +TEST_GEN_PROGS_EXTENDED = $(DESTRUCTIVE_TESTS) + +TEST_FILES := settings + +include ../lib.mk + +# these tests require escalated privileges +# and may modify the system time or trigger +# other behavior like suspend +run_destructive_tests: run_tests + $(call RUN_TESTS, $(DESTRUCTIVE_TESTS)) diff --git a/common/bins/timers/adjtick.c b/common/bins/timers/adjtick.c new file mode 100644 index 00000000..777d9494 --- /dev/null +++ b/common/bins/timers/adjtick.c @@ -0,0 +1,207 @@ +/* adjtimex() tick adjustment test + * by: John Stultz + * (C) Copyright Linaro Limited 2015 + * Licensed under the GPLv2 + * + * To build: + * $ gcc adjtick.c -o adjtick -lrt + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ +#include +#include +#include +#include +#include +#include +#include + +#include "../kselftest.h" + +#define MILLION 1000000 + +long systick; + +long long llabs(long long val) +{ + if (val < 0) + val = -val; + return val; +} + +unsigned long long ts_to_nsec(struct timespec ts) +{ + return ts.tv_sec * NSEC_PER_SEC + ts.tv_nsec; +} + +struct timespec nsec_to_ts(long long ns) +{ + struct timespec ts; + + ts.tv_sec = ns/NSEC_PER_SEC; + ts.tv_nsec = ns%NSEC_PER_SEC; + + return ts; +} + +long long diff_timespec(struct timespec start, struct timespec end) +{ + long long start_ns, end_ns; + + start_ns = ts_to_nsec(start); + end_ns = ts_to_nsec(end); + + return end_ns - start_ns; +} + +void get_monotonic_and_raw(struct timespec *mon, struct timespec *raw) +{ + struct timespec start, mid, end; + long long diff = 0, tmp; + int i; + + clock_gettime(CLOCK_MONOTONIC, mon); + clock_gettime(CLOCK_MONOTONIC_RAW, raw); + + /* Try to get a more tightly bound pairing */ + for (i = 0; i < 3; i++) { + long long newdiff; + + clock_gettime(CLOCK_MONOTONIC, &start); + clock_gettime(CLOCK_MONOTONIC_RAW, &mid); + clock_gettime(CLOCK_MONOTONIC, &end); + + newdiff = diff_timespec(start, end); + if (diff == 0 || newdiff < diff) { + diff = newdiff; + *raw = mid; + tmp = (ts_to_nsec(start) + ts_to_nsec(end))/2; + *mon = nsec_to_ts(tmp); + } + } +} + +long long get_ppm_drift(void) +{ + struct timespec mon_start, raw_start, mon_end, raw_end; + long long delta1, delta2, eppm; + + get_monotonic_and_raw(&mon_start, &raw_start); + + sleep(15); + + get_monotonic_and_raw(&mon_end, &raw_end); + + delta1 = diff_timespec(mon_start, mon_end); + delta2 = diff_timespec(raw_start, raw_end); + + eppm = (delta1*MILLION)/delta2 - MILLION; + + return eppm; +} + +int check_tick_adj(long tickval) +{ + long long eppm, ppm; + struct timex tx1; + + tx1.modes = ADJ_TICK; + tx1.modes |= ADJ_OFFSET; + tx1.modes |= ADJ_FREQUENCY; + tx1.modes |= ADJ_STATUS; + + tx1.status = STA_PLL; + tx1.offset = 0; + tx1.freq = 0; + tx1.tick = tickval; + + adjtimex(&tx1); + + sleep(1); + + ppm = ((long long)tickval * MILLION)/systick - MILLION; + printf("Estimating tick (act: %ld usec, %lld ppm): ", tickval, ppm); + + eppm = get_ppm_drift(); + printf("%lld usec, %lld ppm", systick + (systick * eppm / MILLION), eppm); + fflush(stdout); + + tx1.modes = 0; + adjtimex(&tx1); + + if (tx1.offset || tx1.freq || tx1.tick != tickval) { + printf(" [ERROR]\n"); + printf("\tUnexpected adjtimex return values, make sure ntpd is not running.\n"); + return -1; + } + + /* + * Here we use 100ppm difference as an error bound. + * We likely should see better, but some coarse clocksources + * cannot match the HZ tick size accurately, so we have a + * internal correction factor that doesn't scale exactly + * with the adjustment, resulting in > 10ppm error during + * a 10% adjustment. 100ppm also gives us more breathing + * room for interruptions during the measurement. + */ + if (llabs(eppm - ppm) > 100) { + printf(" [FAILED]\n"); + return -1; + } + printf(" [OK]\n"); + + return 0; +} + +int main(int argc, char **argv) +{ + struct timespec raw; + long tick, max, interval, err; + struct timex tx1; + + err = 0; + setbuf(stdout, NULL); + + if (clock_gettime(CLOCK_MONOTONIC_RAW, &raw)) { + printf("ERR: NO CLOCK_MONOTONIC_RAW\n"); + return -1; + } + + printf("Each iteration takes about 15 seconds\n"); + + systick = sysconf(_SC_CLK_TCK); + systick = USEC_PER_SEC/sysconf(_SC_CLK_TCK); + max = systick/10; /* +/- 10% */ + interval = max/4; /* in 4 steps each side */ + + for (tick = (systick - max); tick < (systick + max); tick += interval) { + if (check_tick_adj(tick)) { + err = 1; + break; + } + } + + /* Reset things to zero */ + tx1.modes = ADJ_TICK; + tx1.modes |= ADJ_OFFSET; + tx1.modes |= ADJ_FREQUENCY; + + tx1.offset = 0; + tx1.freq = 0; + tx1.tick = systick; + + adjtimex(&tx1); + + if (err) + ksft_exit_fail(); + + ksft_exit_pass(); +} diff --git a/common/bins/timers/alarmtimer-suspend.c b/common/bins/timers/alarmtimer-suspend.c new file mode 100644 index 00000000..a9ef76ea --- /dev/null +++ b/common/bins/timers/alarmtimer-suspend.c @@ -0,0 +1,164 @@ +/* alarmtimer suspend test + * John Stultz (john.stultz@linaro.org) + * (C) Copyright Linaro 2013 + * Licensed under the GPLv2 + * + * This test makes sure the alarmtimer & RTC wakeup code is + * functioning. + * + * To build: + * $ gcc alarmtimer-suspend.c -o alarmtimer-suspend -lrt + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include "../kselftest.h" + +#define UNREASONABLE_LAT (NSEC_PER_SEC * 5) /* hopefully we resume in 5 secs */ + +#define SUSPEND_SECS 15 +int alarmcount; +int alarm_clock_id; +struct timespec start_time; + + +char *clockstring(int clockid) +{ + switch (clockid) { + case CLOCK_REALTIME: + return "CLOCK_REALTIME"; + case CLOCK_MONOTONIC: + return "CLOCK_MONOTONIC"; + case CLOCK_PROCESS_CPUTIME_ID: + return "CLOCK_PROCESS_CPUTIME_ID"; + case CLOCK_THREAD_CPUTIME_ID: + return "CLOCK_THREAD_CPUTIME_ID"; + case CLOCK_MONOTONIC_RAW: + return "CLOCK_MONOTONIC_RAW"; + case CLOCK_REALTIME_COARSE: + return "CLOCK_REALTIME_COARSE"; + case CLOCK_MONOTONIC_COARSE: + return "CLOCK_MONOTONIC_COARSE"; + case CLOCK_BOOTTIME: + return "CLOCK_BOOTTIME"; + case CLOCK_REALTIME_ALARM: + return "CLOCK_REALTIME_ALARM"; + case CLOCK_BOOTTIME_ALARM: + return "CLOCK_BOOTTIME_ALARM"; + case CLOCK_TAI: + return "CLOCK_TAI"; + } + return "UNKNOWN_CLOCKID"; +} + + +long long timespec_sub(struct timespec a, struct timespec b) +{ + long long ret = NSEC_PER_SEC * b.tv_sec + b.tv_nsec; + + ret -= NSEC_PER_SEC * a.tv_sec + a.tv_nsec; + return ret; +} + +int final_ret; + +void sigalarm(int signo) +{ + long long delta_ns; + struct timespec ts; + + clock_gettime(alarm_clock_id, &ts); + alarmcount++; + + delta_ns = timespec_sub(start_time, ts); + delta_ns -= NSEC_PER_SEC * SUSPEND_SECS * alarmcount; + + printf("ALARM(%i): %ld:%ld latency: %lld ns ", alarmcount, ts.tv_sec, + ts.tv_nsec, delta_ns); + + if (delta_ns > UNREASONABLE_LAT) { + printf("[FAIL]\n"); + final_ret = -1; + } else + printf("[OK]\n"); + +} + +int main(void) +{ + timer_t tm1; + struct itimerspec its1, its2; + struct sigevent se; + struct sigaction act; + int signum = SIGRTMAX; + + /* Set up signal handler: */ + sigfillset(&act.sa_mask); + act.sa_flags = 0; + act.sa_handler = sigalarm; + sigaction(signum, &act, NULL); + + /* Set up timer: */ + memset(&se, 0, sizeof(se)); + se.sigev_notify = SIGEV_SIGNAL; + se.sigev_signo = signum; + se.sigev_value.sival_int = 0; + + for (alarm_clock_id = CLOCK_REALTIME_ALARM; + alarm_clock_id <= CLOCK_BOOTTIME_ALARM; + alarm_clock_id++) { + + alarmcount = 0; + if (timer_create(alarm_clock_id, &se, &tm1) == -1) { + printf("timer_create failed, %s unsupported?: %s\n", + clockstring(alarm_clock_id), strerror(errno)); + break; + } + + clock_gettime(alarm_clock_id, &start_time); + printf("Start time (%s): %ld:%ld\n", clockstring(alarm_clock_id), + start_time.tv_sec, start_time.tv_nsec); + printf("Setting alarm for every %i seconds\n", SUSPEND_SECS); + its1.it_value = start_time; + its1.it_value.tv_sec += SUSPEND_SECS; + its1.it_interval.tv_sec = SUSPEND_SECS; + its1.it_interval.tv_nsec = 0; + + timer_settime(tm1, TIMER_ABSTIME, &its1, &its2); + + while (alarmcount < 5) + sleep(1); /* First 5 alarms, do nothing */ + + printf("Starting suspend loops\n"); + while (alarmcount < 10) { + int ret; + + sleep(3); + ret = system("echo mem > /sys/power/state"); + if (ret) + break; + } + timer_delete(tm1); + } + if (final_ret) + ksft_exit_fail(); + ksft_exit_pass(); +} diff --git a/common/bins/timers/change_skew.c b/common/bins/timers/change_skew.c new file mode 100644 index 00000000..18e794a4 --- /dev/null +++ b/common/bins/timers/change_skew.c @@ -0,0 +1,93 @@ +/* ADJ_FREQ Skew change test + * by: john stultz (johnstul@us.ibm.com) + * (C) Copyright IBM 2012 + * Licensed under the GPLv2 + * + * NOTE: This is a meta-test which cranks the ADJ_FREQ knob and + * then uses other tests to detect problems. Thus this test requires + * that the raw_skew, inconsistency-check and nanosleep tests be + * present in the same directory it is run from. + * + * To build: + * $ gcc change_skew.c -o change_skew -lrt + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + + +#include +#include +#include +#include +#include +#include "../kselftest.h" + +int change_skew_test(int ppm) +{ + struct timex tx; + int ret; + + tx.modes = ADJ_FREQUENCY; + tx.freq = ppm << 16; + + ret = adjtimex(&tx); + if (ret < 0) { + printf("Error adjusting freq\n"); + return ret; + } + + ret = system("./raw_skew"); + ret |= system("./inconsistency-check"); + ret |= system("./nanosleep"); + + return ret; +} + + +int main(int argc, char **argv) +{ + struct timex tx; + int i, ret; + + int ppm[5] = {0, 250, 500, -250, -500}; + + /* Kill ntpd */ + ret = system("killall -9 ntpd"); + + /* Make sure there's no offset adjustment going on */ + tx.modes = ADJ_OFFSET; + tx.offset = 0; + ret = adjtimex(&tx); + + if (ret < 0) { + printf("Maybe you're not running as root?\n"); + return -1; + } + + for (i = 0; i < 5; i++) { + printf("Using %i ppm adjustment\n", ppm[i]); + ret = change_skew_test(ppm[i]); + if (ret) + break; + } + + /* Set things back */ + tx.modes = ADJ_FREQUENCY; + tx.offset = 0; + adjtimex(&tx); + + if (ret) { + printf("[FAIL]"); + ksft_exit_fail(); + } + printf("[OK]"); + ksft_exit_pass(); +} diff --git a/common/bins/timers/clocksource-switch.c b/common/bins/timers/clocksource-switch.c new file mode 100644 index 00000000..c5264594 --- /dev/null +++ b/common/bins/timers/clocksource-switch.c @@ -0,0 +1,191 @@ +/* Clocksource change test + * by: john stultz (johnstul@us.ibm.com) + * (C) Copyright IBM 2012 + * Licensed under the GPLv2 + * + * NOTE: This is a meta-test which quickly changes the clocksource and + * then uses other tests to detect problems. Thus this test requires + * that the inconsistency-check and nanosleep tests be present in the + * same directory it is run from. + * + * To build: + * $ gcc clocksource-switch.c -o clocksource-switch -lrt + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include "../kselftest.h" + + +int get_clocksources(char list[][30]) +{ + int fd, i; + size_t size; + char buf[512]; + char *head, *tmp; + + fd = open("/sys/devices/system/clocksource/clocksource0/available_clocksource", O_RDONLY); + + size = read(fd, buf, 512); + + close(fd); + + for (i = 0; i < 10; i++) + list[i][0] = '\0'; + + head = buf; + i = 0; + while (head - buf < size) { + /* Find the next space */ + for (tmp = head; *tmp != ' '; tmp++) { + if (*tmp == '\n') + break; + if (*tmp == '\0') + break; + } + *tmp = '\0'; + strcpy(list[i], head); + head = tmp + 1; + i++; + } + + return i-1; +} + +int get_cur_clocksource(char *buf, size_t size) +{ + int fd; + + fd = open("/sys/devices/system/clocksource/clocksource0/current_clocksource", O_RDONLY); + + size = read(fd, buf, size); + + return 0; +} + +int change_clocksource(char *clocksource) +{ + int fd; + ssize_t size; + + fd = open("/sys/devices/system/clocksource/clocksource0/current_clocksource", O_WRONLY); + + if (fd < 0) + return -1; + + size = write(fd, clocksource, strlen(clocksource)); + + if (size < 0) + return -1; + + close(fd); + return 0; +} + + +int run_tests(int secs) +{ + int ret; + char buf[255]; + + sprintf(buf, "./inconsistency-check -t %i", secs); + ret = system(buf); + if (WIFEXITED(ret) && WEXITSTATUS(ret)) + return WEXITSTATUS(ret); + ret = system("./nanosleep"); + return WIFEXITED(ret) ? WEXITSTATUS(ret) : 0; +} + + +char clocksource_list[10][30]; + +int main(int argc, char **argv) +{ + char orig_clk[512]; + int count, i, status, opt; + int do_sanity_check = 1; + int runtime = 60; + pid_t pid; + + /* Process arguments */ + while ((opt = getopt(argc, argv, "st:")) != -1) { + switch (opt) { + case 's': + do_sanity_check = 0; + break; + case 't': + runtime = atoi(optarg); + break; + default: + printf("Usage: %s [-s] [-t ]\n", argv[0]); + printf(" -s: skip sanity checks\n"); + printf(" -t: Number of seconds to run\n"); + exit(-1); + } + } + + get_cur_clocksource(orig_clk, 512); + + count = get_clocksources(clocksource_list); + + if (change_clocksource(clocksource_list[0])) { + printf("Error: You probably need to run this as root\n"); + return -1; + } + + /* Check everything is sane before we start switching asynchronously */ + if (do_sanity_check) { + for (i = 0; i < count; i++) { + printf("Validating clocksource %s\n", + clocksource_list[i]); + if (change_clocksource(clocksource_list[i])) { + status = -1; + goto out; + } + if (run_tests(5)) { + status = -1; + goto out; + } + } + } + + printf("Running Asynchronous Switching Tests...\n"); + pid = fork(); + if (!pid) + return run_tests(runtime); + + while (pid != waitpid(pid, &status, WNOHANG)) + for (i = 0; i < count; i++) + if (change_clocksource(clocksource_list[i])) { + status = -1; + goto out; + } +out: + change_clocksource(orig_clk); + + /* Print at the end to not mix output with child process */ + ksft_print_header(); + ksft_set_plan(1); + ksft_test_result(!status, "clocksource-switch\n"); + ksft_exit(!status); +} diff --git a/common/bins/timers/freq-step.c b/common/bins/timers/freq-step.c new file mode 100644 index 00000000..73b636f8 --- /dev/null +++ b/common/bins/timers/freq-step.c @@ -0,0 +1,263 @@ +// SPDX-License-Identifier: GPL-2.0-only +/* + * This test checks the response of the system clock to frequency + * steps made with adjtimex(). The frequency error and stability of + * the CLOCK_MONOTONIC clock relative to the CLOCK_MONOTONIC_RAW clock + * is measured in two intervals following the step. The test fails if + * values from the second interval exceed specified limits. + * + * Copyright (C) Miroslav Lichvar 2017 + */ + +#include +#include +#include +#include +#include + +#include "../kselftest.h" + +#define SAMPLES 100 +#define SAMPLE_READINGS 10 +#define MEAN_SAMPLE_INTERVAL 0.1 +#define STEP_INTERVAL 1.0 +#define MAX_PRECISION 500e-9 +#define MAX_FREQ_ERROR 0.02e-6 +#define MAX_STDDEV 50e-9 + +#ifndef ADJ_SETOFFSET + #define ADJ_SETOFFSET 0x0100 +#endif + +struct sample { + double offset; + double time; +}; + +static time_t mono_raw_base; +static time_t mono_base; +static long user_hz; +static double precision; +static double mono_freq_offset; + +static double diff_timespec(struct timespec *ts1, struct timespec *ts2) +{ + return ts1->tv_sec - ts2->tv_sec + (ts1->tv_nsec - ts2->tv_nsec) / 1e9; +} + +static double get_sample(struct sample *sample) +{ + double delay, mindelay = 0.0; + struct timespec ts1, ts2, ts3; + int i; + + for (i = 0; i < SAMPLE_READINGS; i++) { + clock_gettime(CLOCK_MONOTONIC_RAW, &ts1); + clock_gettime(CLOCK_MONOTONIC, &ts2); + clock_gettime(CLOCK_MONOTONIC_RAW, &ts3); + + ts1.tv_sec -= mono_raw_base; + ts2.tv_sec -= mono_base; + ts3.tv_sec -= mono_raw_base; + + delay = diff_timespec(&ts3, &ts1); + if (delay <= 1e-9) { + i--; + continue; + } + + if (!i || delay < mindelay) { + sample->offset = diff_timespec(&ts2, &ts1); + sample->offset -= delay / 2.0; + sample->time = ts1.tv_sec + ts1.tv_nsec / 1e9; + mindelay = delay; + } + } + + return mindelay; +} + +static void reset_ntp_error(void) +{ + struct timex txc; + + txc.modes = ADJ_SETOFFSET; + txc.time.tv_sec = 0; + txc.time.tv_usec = 0; + + if (adjtimex(&txc) < 0) { + perror("[FAIL] adjtimex"); + ksft_exit_fail(); + } +} + +static void set_frequency(double freq) +{ + struct timex txc; + int tick_offset; + + tick_offset = 1e6 * freq / user_hz; + + txc.modes = ADJ_TICK | ADJ_FREQUENCY; + txc.tick = 1000000 / user_hz + tick_offset; + txc.freq = (1e6 * freq - user_hz * tick_offset) * (1 << 16); + + if (adjtimex(&txc) < 0) { + perror("[FAIL] adjtimex"); + ksft_exit_fail(); + } +} + +static void regress(struct sample *samples, int n, double *intercept, + double *slope, double *r_stddev, double *r_max) +{ + double x, y, r, x_sum, y_sum, xy_sum, x2_sum, r2_sum; + int i; + + x_sum = 0.0, y_sum = 0.0, xy_sum = 0.0, x2_sum = 0.0; + + for (i = 0; i < n; i++) { + x = samples[i].time; + y = samples[i].offset; + + x_sum += x; + y_sum += y; + xy_sum += x * y; + x2_sum += x * x; + } + + *slope = (xy_sum - x_sum * y_sum / n) / (x2_sum - x_sum * x_sum / n); + *intercept = (y_sum - *slope * x_sum) / n; + + *r_max = 0.0, r2_sum = 0.0; + + for (i = 0; i < n; i++) { + x = samples[i].time; + y = samples[i].offset; + r = fabs(x * *slope + *intercept - y); + if (*r_max < r) + *r_max = r; + r2_sum += r * r; + } + + *r_stddev = sqrt(r2_sum / n); +} + +static int run_test(int calibration, double freq_base, double freq_step) +{ + struct sample samples[SAMPLES]; + double intercept, slope, stddev1, max1, stddev2, max2; + double freq_error1, freq_error2; + int i; + + set_frequency(freq_base); + + for (i = 0; i < 10; i++) + usleep(1e6 * MEAN_SAMPLE_INTERVAL / 10); + + reset_ntp_error(); + + set_frequency(freq_base + freq_step); + + for (i = 0; i < 10; i++) + usleep(rand() % 2000000 * STEP_INTERVAL / 10); + + set_frequency(freq_base); + + for (i = 0; i < SAMPLES; i++) { + usleep(rand() % 2000000 * MEAN_SAMPLE_INTERVAL); + get_sample(&samples[i]); + } + + if (calibration) { + regress(samples, SAMPLES, &intercept, &slope, &stddev1, &max1); + mono_freq_offset = slope; + printf("CLOCK_MONOTONIC_RAW frequency offset: %11.3f ppm\n", + 1e6 * mono_freq_offset); + return 0; + } + + regress(samples, SAMPLES / 2, &intercept, &slope, &stddev1, &max1); + freq_error1 = slope * (1.0 - mono_freq_offset) - mono_freq_offset - + freq_base; + + regress(samples + SAMPLES / 2, SAMPLES / 2, &intercept, &slope, + &stddev2, &max2); + freq_error2 = slope * (1.0 - mono_freq_offset) - mono_freq_offset - + freq_base; + + printf("%6.0f %+10.3f %6.0f %7.0f %+10.3f %6.0f %7.0f\t", + 1e6 * freq_step, + 1e6 * freq_error1, 1e9 * stddev1, 1e9 * max1, + 1e6 * freq_error2, 1e9 * stddev2, 1e9 * max2); + + if (fabs(freq_error2) > MAX_FREQ_ERROR || stddev2 > MAX_STDDEV) { + printf("[FAIL]\n"); + return 1; + } + + printf("[OK]\n"); + return 0; +} + +static void init_test(void) +{ + struct timespec ts; + struct sample sample; + + if (clock_gettime(CLOCK_MONOTONIC_RAW, &ts)) { + perror("[FAIL] clock_gettime(CLOCK_MONOTONIC_RAW)"); + ksft_exit_fail(); + } + + mono_raw_base = ts.tv_sec; + + if (clock_gettime(CLOCK_MONOTONIC, &ts)) { + perror("[FAIL] clock_gettime(CLOCK_MONOTONIC)"); + ksft_exit_fail(); + } + + mono_base = ts.tv_sec; + + user_hz = sysconf(_SC_CLK_TCK); + + precision = get_sample(&sample) / 2.0; + printf("CLOCK_MONOTONIC_RAW+CLOCK_MONOTONIC precision: %.0f ns\t\t", + 1e9 * precision); + + if (precision > MAX_PRECISION) + ksft_exit_skip("precision: %.0f ns > MAX_PRECISION: %.0f ns\n", + 1e9 * precision, 1e9 * MAX_PRECISION); + + printf("[OK]\n"); + srand(ts.tv_sec ^ ts.tv_nsec); + + run_test(1, 0.0, 0.0); +} + +int main(int argc, char **argv) +{ + double freq_base, freq_step; + int i, j, fails = 0; + + init_test(); + + printf("Checking response to frequency step:\n"); + printf(" Step 1st interval 2nd interval\n"); + printf(" Freq Dev Max Freq Dev Max\n"); + + for (i = 2; i >= 0; i--) { + for (j = 0; j < 5; j++) { + freq_base = (rand() % (1 << 24) - (1 << 23)) / 65536e6; + freq_step = 10e-6 * (1 << (6 * i)); + fails += run_test(0, freq_base, freq_step); + } + } + + set_frequency(0.0); + + if (fails) + ksft_exit_fail(); + + ksft_exit_pass(); +} diff --git a/common/bins/timers/inconsistency-check.c b/common/bins/timers/inconsistency-check.c new file mode 100644 index 00000000..9d157376 --- /dev/null +++ b/common/bins/timers/inconsistency-check.c @@ -0,0 +1,186 @@ +/* Time inconsistency check test + * by: john stultz (johnstul@us.ibm.com) + * (C) Copyright IBM 2003, 2004, 2005, 2012 + * (C) Copyright Linaro Limited 2015 + * Licensed under the GPLv2 + * + * To build: + * $ gcc inconsistency-check.c -o inconsistency-check -lrt + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + + + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include "../kselftest.h" + +/* CLOCK_HWSPECIFIC == CLOCK_SGI_CYCLE (Deprecated) */ +#define CLOCK_HWSPECIFIC 10 + +#define CALLS_PER_LOOP 64 + +char *clockstring(int clockid) +{ + switch (clockid) { + case CLOCK_REALTIME: + return "CLOCK_REALTIME"; + case CLOCK_MONOTONIC: + return "CLOCK_MONOTONIC"; + case CLOCK_PROCESS_CPUTIME_ID: + return "CLOCK_PROCESS_CPUTIME_ID"; + case CLOCK_THREAD_CPUTIME_ID: + return "CLOCK_THREAD_CPUTIME_ID"; + case CLOCK_MONOTONIC_RAW: + return "CLOCK_MONOTONIC_RAW"; + case CLOCK_REALTIME_COARSE: + return "CLOCK_REALTIME_COARSE"; + case CLOCK_MONOTONIC_COARSE: + return "CLOCK_MONOTONIC_COARSE"; + case CLOCK_BOOTTIME: + return "CLOCK_BOOTTIME"; + case CLOCK_REALTIME_ALARM: + return "CLOCK_REALTIME_ALARM"; + case CLOCK_BOOTTIME_ALARM: + return "CLOCK_BOOTTIME_ALARM"; + case CLOCK_TAI: + return "CLOCK_TAI"; + } + return "UNKNOWN_CLOCKID"; +} + +/* returns 1 if a <= b, 0 otherwise */ +static inline int in_order(struct timespec a, struct timespec b) +{ + /* use unsigned to avoid false positives on 2038 rollover */ + if ((unsigned long)a.tv_sec < (unsigned long)b.tv_sec) + return 1; + if ((unsigned long)a.tv_sec > (unsigned long)b.tv_sec) + return 0; + if (a.tv_nsec > b.tv_nsec) + return 0; + return 1; +} + + + +int consistency_test(int clock_type, unsigned long seconds) +{ + struct timespec list[CALLS_PER_LOOP]; + int i, inconsistent; + long now, then; + time_t t; + char *start_str; + + clock_gettime(clock_type, &list[0]); + now = then = list[0].tv_sec; + + /* timestamp start of test */ + t = time(0); + start_str = ctime(&t); + + while (seconds == -1 || now - then < seconds) { + inconsistent = -1; + + /* Fill list */ + for (i = 0; i < CALLS_PER_LOOP; i++) + clock_gettime(clock_type, &list[i]); + + /* Check for inconsistencies */ + for (i = 0; i < CALLS_PER_LOOP - 1; i++) + if (!in_order(list[i], list[i+1])) + inconsistent = i; + + /* display inconsistency */ + if (inconsistent >= 0) { + unsigned long long delta; + + ksft_print_msg("\%s\n", start_str); + for (i = 0; i < CALLS_PER_LOOP; i++) { + if (i == inconsistent) + ksft_print_msg("--------------------\n"); + ksft_print_msg("%lu:%lu\n", list[i].tv_sec, + list[i].tv_nsec); + if (i == inconsistent + 1) + ksft_print_msg("--------------------\n"); + } + delta = list[inconsistent].tv_sec * NSEC_PER_SEC; + delta += list[inconsistent].tv_nsec; + delta -= list[inconsistent+1].tv_sec * NSEC_PER_SEC; + delta -= list[inconsistent+1].tv_nsec; + ksft_print_msg("Delta: %llu ns\n", delta); + fflush(0); + /* timestamp inconsistency*/ + t = time(0); + ksft_print_msg("%s\n", ctime(&t)); + return -1; + } + now = list[0].tv_sec; + } + return 0; +} + + +int main(int argc, char *argv[]) +{ + int clockid, opt; + int userclock = CLOCK_REALTIME; + int maxclocks = CLOCK_TAI + 1; + int runtime = 10; + struct timespec ts; + + /* Process arguments */ + while ((opt = getopt(argc, argv, "t:c:")) != -1) { + switch (opt) { + case 't': + runtime = atoi(optarg); + break; + case 'c': + userclock = atoi(optarg); + maxclocks = userclock + 1; + break; + default: + printf("Usage: %s [-t ] [-c ]\n", argv[0]); + printf(" -t: Number of seconds to run\n"); + printf(" -c: clockid to use (default, all clockids)\n"); + exit(-1); + } + } + + setbuf(stdout, NULL); + + ksft_print_header(); + ksft_set_plan(maxclocks - userclock); + + for (clockid = userclock; clockid < maxclocks; clockid++) { + + if (clockid == CLOCK_HWSPECIFIC || clock_gettime(clockid, &ts)) { + ksft_test_result_skip("%-31s\n", clockstring(clockid)); + continue; + } + + if (consistency_test(clockid, runtime)) { + ksft_test_result_fail("%-31s\n", clockstring(clockid)); + ksft_exit_fail(); + } else { + ksft_test_result_pass("%-31s\n", clockstring(clockid)); + } + } + ksft_exit_pass(); +} diff --git a/common/bins/timers/leap-a-day.c b/common/bins/timers/leap-a-day.c new file mode 100644 index 00000000..04004a7c --- /dev/null +++ b/common/bins/timers/leap-a-day.c @@ -0,0 +1,378 @@ +/* Leap second stress test + * by: John Stultz (john.stultz@linaro.org) + * (C) Copyright IBM 2012 + * (C) Copyright 2013, 2015 Linaro Limited + * Licensed under the GPLv2 + * + * This test signals the kernel to insert a leap second + * every day at midnight GMT. This allows for stressing the + * kernel's leap-second behavior, as well as how well applications + * handle the leap-second discontinuity. + * + * Usage: leap-a-day [-s] [-i ] + * + * Options: + * -s: Each iteration, set the date to 10 seconds before midnight GMT. + * This speeds up the number of leapsecond transitions tested, + * but because it calls settimeofday frequently, advancing the + * time by 24 hours every ~16 seconds, it may cause application + * disruption. + * + * -i: Number of iterations to run (default: infinite) + * + * Other notes: Disabling NTP prior to running this is advised, as the two + * may conflict in their commands to the kernel. + * + * To build: + * $ gcc leap-a-day.c -o leap-a-day -lrt + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + + + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include "../kselftest.h" + +#define CLOCK_TAI 11 + +time_t next_leap; +int error_found; + +/* returns 1 if a <= b, 0 otherwise */ +static inline int in_order(struct timespec a, struct timespec b) +{ + if (a.tv_sec < b.tv_sec) + return 1; + if (a.tv_sec > b.tv_sec) + return 0; + if (a.tv_nsec > b.tv_nsec) + return 0; + return 1; +} + +struct timespec timespec_add(struct timespec ts, unsigned long long ns) +{ + ts.tv_nsec += ns; + while (ts.tv_nsec >= NSEC_PER_SEC) { + ts.tv_nsec -= NSEC_PER_SEC; + ts.tv_sec++; + } + return ts; +} + +char *time_state_str(int state) +{ + switch (state) { + case TIME_OK: return "TIME_OK"; + case TIME_INS: return "TIME_INS"; + case TIME_DEL: return "TIME_DEL"; + case TIME_OOP: return "TIME_OOP"; + case TIME_WAIT: return "TIME_WAIT"; + case TIME_BAD: return "TIME_BAD"; + } + return "ERROR"; +} + +/* clear NTP time_status & time_state */ +int clear_time_state(void) +{ + struct timex tx; + int ret; + + /* + * We have to call adjtime twice here, as kernels + * prior to 6b1859dba01c7 (included in 3.5 and + * -stable), had an issue with the state machine + * and wouldn't clear the STA_INS/DEL flag directly. + */ + tx.modes = ADJ_STATUS; + tx.status = STA_PLL; + ret = adjtimex(&tx); + + /* Clear maxerror, as it can cause UNSYNC to be set */ + tx.modes = ADJ_MAXERROR; + tx.maxerror = 0; + ret = adjtimex(&tx); + + /* Clear the status */ + tx.modes = ADJ_STATUS; + tx.status = 0; + ret = adjtimex(&tx); + + return ret; +} + +/* Make sure we cleanup on ctrl-c */ +void handler(int unused) +{ + clear_time_state(); + exit(0); +} + +void sigalarm(int signo) +{ + struct timex tx; + int ret; + + tx.modes = 0; + ret = adjtimex(&tx); + + if (tx.time.tv_sec < next_leap) { + printf("Error: Early timer expiration! (Should be %ld)\n", next_leap); + error_found = 1; + printf("adjtimex: %10ld sec + %6ld us (%i)\t%s\n", + tx.time.tv_sec, + tx.time.tv_usec, + tx.tai, + time_state_str(ret)); + } + if (ret != TIME_WAIT) { + printf("Error: Timer seeing incorrect NTP state? (Should be TIME_WAIT)\n"); + error_found = 1; + printf("adjtimex: %10ld sec + %6ld us (%i)\t%s\n", + tx.time.tv_sec, + tx.time.tv_usec, + tx.tai, + time_state_str(ret)); + } +} + + +/* Test for known hrtimer failure */ +void test_hrtimer_failure(void) +{ + struct timespec now, target; + + clock_gettime(CLOCK_REALTIME, &now); + target = timespec_add(now, NSEC_PER_SEC/2); + clock_nanosleep(CLOCK_REALTIME, TIMER_ABSTIME, &target, NULL); + clock_gettime(CLOCK_REALTIME, &now); + + if (!in_order(target, now)) { + printf("ERROR: hrtimer early expiration failure observed.\n"); + error_found = 1; + } +} + +int main(int argc, char **argv) +{ + timer_t tm1; + struct itimerspec its1; + struct sigevent se; + struct sigaction act; + int signum = SIGRTMAX; + int settime = 1; + int tai_time = 0; + int insert = 1; + int iterations = 10; + int opt; + + /* Process arguments */ + while ((opt = getopt(argc, argv, "sti:")) != -1) { + switch (opt) { + case 'w': + printf("Only setting leap-flag, not changing time. It could take up to a day for leap to trigger.\n"); + settime = 0; + break; + case 'i': + iterations = atoi(optarg); + break; + case 't': + tai_time = 1; + break; + default: + printf("Usage: %s [-w] [-i ]\n", argv[0]); + printf(" -w: Set flag and wait for leap second each iteration"); + printf(" (default sets time to right before leapsecond)\n"); + printf(" -i: Number of iterations (-1 = infinite, default is 10)\n"); + printf(" -t: Print TAI time\n"); + exit(-1); + } + } + + /* Make sure TAI support is present if -t was used */ + if (tai_time) { + struct timespec ts; + + if (clock_gettime(CLOCK_TAI, &ts)) { + printf("System doesn't support CLOCK_TAI\n"); + ksft_exit_fail(); + } + } + + signal(SIGINT, handler); + signal(SIGKILL, handler); + + /* Set up timer signal handler: */ + sigfillset(&act.sa_mask); + act.sa_flags = 0; + act.sa_handler = sigalarm; + sigaction(signum, &act, NULL); + + if (iterations < 0) + printf("This runs continuously. Press ctrl-c to stop\n"); + else + printf("Running for %i iterations. Press ctrl-c to stop\n", iterations); + + printf("\n"); + while (1) { + int ret; + struct timespec ts; + struct timex tx; + time_t now; + + /* Get the current time */ + clock_gettime(CLOCK_REALTIME, &ts); + + /* Calculate the next possible leap second 23:59:60 GMT */ + next_leap = ts.tv_sec; + next_leap += 86400 - (next_leap % 86400); + + if (settime) { + struct timeval tv; + + tv.tv_sec = next_leap - 10; + tv.tv_usec = 0; + settimeofday(&tv, NULL); + printf("Setting time to %s", ctime(&tv.tv_sec)); + } + + /* Reset NTP time state */ + clear_time_state(); + + /* Set the leap second insert flag */ + tx.modes = ADJ_STATUS; + if (insert) + tx.status = STA_INS; + else + tx.status = STA_DEL; + ret = adjtimex(&tx); + if (ret < 0) { + printf("Error: Problem setting STA_INS/STA_DEL!: %s\n", + time_state_str(ret)); + ksft_exit_fail(); + } + + /* Validate STA_INS was set */ + tx.modes = 0; + ret = adjtimex(&tx); + if (tx.status != STA_INS && tx.status != STA_DEL) { + printf("Error: STA_INS/STA_DEL not set!: %s\n", + time_state_str(ret)); + ksft_exit_fail(); + } + + if (tai_time) { + printf("Using TAI time," + " no inconsistencies should be seen!\n"); + } + + printf("Scheduling leap second for %s", ctime(&next_leap)); + + /* Set up timer */ + printf("Setting timer for %ld - %s", next_leap, ctime(&next_leap)); + memset(&se, 0, sizeof(se)); + se.sigev_notify = SIGEV_SIGNAL; + se.sigev_signo = signum; + se.sigev_value.sival_int = 0; + if (timer_create(CLOCK_REALTIME, &se, &tm1) == -1) { + printf("Error: timer_create failed\n"); + ksft_exit_fail(); + } + its1.it_value.tv_sec = next_leap; + its1.it_value.tv_nsec = 0; + its1.it_interval.tv_sec = 0; + its1.it_interval.tv_nsec = 0; + timer_settime(tm1, TIMER_ABSTIME, &its1, NULL); + + /* Wake up 3 seconds before leap */ + ts.tv_sec = next_leap - 3; + ts.tv_nsec = 0; + + + while (clock_nanosleep(CLOCK_REALTIME, TIMER_ABSTIME, &ts, NULL)) + printf("Something woke us up, returning to sleep\n"); + + /* Validate STA_INS is still set */ + tx.modes = 0; + ret = adjtimex(&tx); + if (tx.status != STA_INS && tx.status != STA_DEL) { + printf("Something cleared STA_INS/STA_DEL, setting it again.\n"); + tx.modes = ADJ_STATUS; + if (insert) + tx.status = STA_INS; + else + tx.status = STA_DEL; + ret = adjtimex(&tx); + } + + /* Check adjtimex output every half second */ + now = tx.time.tv_sec; + while (now < next_leap + 2) { + char buf[26]; + struct timespec tai; + int ret; + + tx.modes = 0; + ret = adjtimex(&tx); + + if (tai_time) { + clock_gettime(CLOCK_TAI, &tai); + printf("%ld sec, %9ld ns\t%s\n", + tai.tv_sec, + tai.tv_nsec, + time_state_str(ret)); + } else { + ctime_r(&tx.time.tv_sec, buf); + buf[strlen(buf)-1] = 0; /*remove trailing\n */ + + printf("%s + %6ld us (%i)\t%s\n", + buf, + tx.time.tv_usec, + tx.tai, + time_state_str(ret)); + } + now = tx.time.tv_sec; + /* Sleep for another half second */ + ts.tv_sec = 0; + ts.tv_nsec = NSEC_PER_SEC / 2; + clock_nanosleep(CLOCK_MONOTONIC, 0, &ts, NULL); + } + /* Switch to using other mode */ + insert = !insert; + + /* Note if kernel has known hrtimer failure */ + test_hrtimer_failure(); + + printf("Leap complete\n"); + if (error_found) { + printf("Errors observed\n"); + clear_time_state(); + ksft_exit_fail(); + } + printf("\n"); + if ((iterations != -1) && !(--iterations)) + break; + } + + clear_time_state(); + ksft_exit_pass(); +} diff --git a/common/bins/timers/leapcrash.c b/common/bins/timers/leapcrash.c new file mode 100644 index 00000000..8fd065ee --- /dev/null +++ b/common/bins/timers/leapcrash.c @@ -0,0 +1,108 @@ +/* Demo leapsecond deadlock + * by: John Stultz (john.stultz@linaro.org) + * (C) Copyright IBM 2012 + * (C) Copyright 2013, 2015 Linaro Limited + * Licensed under the GPL + * + * This test demonstrates leapsecond deadlock that is possible + * on kernels from 2.6.26 to 3.3. + * + * WARNING: THIS WILL LIKELY HARD HANG SYSTEMS AND MAY LOSE DATA + * RUN AT YOUR OWN RISK! + * To build: + * $ gcc leapcrash.c -o leapcrash -lrt + */ + + + +#include +#include +#include +#include +#include +#include +#include +#include "../kselftest.h" + +/* clear NTP time_status & time_state */ +int clear_time_state(void) +{ + struct timex tx; + int ret; + + /* + * We have to call adjtime twice here, as kernels + * prior to 6b1859dba01c7 (included in 3.5 and + * -stable), had an issue with the state machine + * and wouldn't clear the STA_INS/DEL flag directly. + */ + tx.modes = ADJ_STATUS; + tx.status = STA_PLL; + ret = adjtimex(&tx); + + tx.modes = ADJ_STATUS; + tx.status = 0; + ret = adjtimex(&tx); + + return ret; +} + +/* Make sure we cleanup on ctrl-c */ +void handler(int unused) +{ + clear_time_state(); + exit(0); +} + + +int main(void) +{ + struct timex tx; + struct timespec ts; + time_t next_leap; + int count = 0; + + setbuf(stdout, NULL); + + signal(SIGINT, handler); + signal(SIGKILL, handler); + printf("This runs for a few minutes. Press ctrl-c to stop\n"); + + clear_time_state(); + + + /* Get the current time */ + clock_gettime(CLOCK_REALTIME, &ts); + + /* Calculate the next possible leap second 23:59:60 GMT */ + next_leap = ts.tv_sec; + next_leap += 86400 - (next_leap % 86400); + + for (count = 0; count < 20; count++) { + struct timeval tv; + + + /* set the time to 2 seconds before the leap */ + tv.tv_sec = next_leap - 2; + tv.tv_usec = 0; + if (settimeofday(&tv, NULL)) { + printf("Error: You're likely not running with proper (ie: root) permissions\n"); + ksft_exit_fail(); + } + tx.modes = 0; + adjtimex(&tx); + + /* hammer on adjtime w/ STA_INS */ + while (tx.time.tv_sec < next_leap + 1) { + /* Set the leap second insert flag */ + tx.modes = ADJ_STATUS; + tx.status = STA_INS; + adjtimex(&tx); + } + clear_time_state(); + printf("."); + fflush(stdout); + } + printf("[OK]\n"); + ksft_exit_pass(); +} diff --git a/common/bins/timers/mqueue-lat.c b/common/bins/timers/mqueue-lat.c new file mode 100644 index 00000000..63de2334 --- /dev/null +++ b/common/bins/timers/mqueue-lat.c @@ -0,0 +1,114 @@ +/* Measure mqueue timeout latency + * by: john stultz (john.stultz@linaro.org) + * (C) Copyright Linaro 2013 + * + * Inspired with permission from example test by: + * Romain Francoise + * Licensed under the GPLv2 + * + * To build: + * $ gcc mqueue-lat.c -o mqueue-lat -lrt + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include "../kselftest.h" + + +#define TARGET_TIMEOUT 100000000 /* 100ms in nanoseconds */ +#define UNRESONABLE_LATENCY 40000000 /* 40ms in nanosecs */ + + +long long timespec_sub(struct timespec a, struct timespec b) +{ + long long ret = NSEC_PER_SEC * b.tv_sec + b.tv_nsec; + + ret -= NSEC_PER_SEC * a.tv_sec + a.tv_nsec; + return ret; +} + +struct timespec timespec_add(struct timespec ts, unsigned long long ns) +{ + ts.tv_nsec += ns; + while (ts.tv_nsec >= NSEC_PER_SEC) { + ts.tv_nsec -= NSEC_PER_SEC; + ts.tv_sec++; + } + return ts; +} + +int mqueue_lat_test(void) +{ + + mqd_t q; + struct mq_attr attr; + struct timespec start, end, now, target; + int i, count, ret; + + q = mq_open("/foo", O_CREAT | O_RDONLY, 0666, NULL); + if (q < 0) { + perror("mq_open"); + return -1; + } + mq_getattr(q, &attr); + + + count = 100; + clock_gettime(CLOCK_MONOTONIC, &start); + + for (i = 0; i < count; i++) { + char buf[attr.mq_msgsize]; + + clock_gettime(CLOCK_REALTIME, &now); + target = now; + target = timespec_add(now, TARGET_TIMEOUT); /* 100ms */ + + ret = mq_timedreceive(q, buf, sizeof(buf), NULL, &target); + if (ret < 0 && errno != ETIMEDOUT) { + perror("mq_timedreceive"); + return -1; + } + } + clock_gettime(CLOCK_MONOTONIC, &end); + + mq_close(q); + + if ((timespec_sub(start, end)/count) > TARGET_TIMEOUT + UNRESONABLE_LATENCY) + return -1; + + return 0; +} + +int main(int argc, char **argv) +{ + int ret; + + printf("Mqueue latency : "); + fflush(stdout); + + ret = mqueue_lat_test(); + if (ret < 0) { + printf("[FAILED]\n"); + ksft_exit_fail(); + } + printf("[OK]\n"); + ksft_exit_pass(); +} diff --git a/common/bins/timers/nanosleep.c b/common/bins/timers/nanosleep.c new file mode 100644 index 00000000..252c6308 --- /dev/null +++ b/common/bins/timers/nanosleep.c @@ -0,0 +1,158 @@ +/* Make sure timers don't return early + * by: john stultz (johnstul@us.ibm.com) + * John Stultz (john.stultz@linaro.org) + * (C) Copyright IBM 2012 + * (C) Copyright Linaro 2013 2015 + * Licensed under the GPLv2 + * + * To build: + * $ gcc nanosleep.c -o nanosleep -lrt + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include "../kselftest.h" + +/* CLOCK_HWSPECIFIC == CLOCK_SGI_CYCLE (Deprecated) */ +#define CLOCK_HWSPECIFIC 10 + +#define UNSUPPORTED 0xf00f + +char *clockstring(int clockid) +{ + switch (clockid) { + case CLOCK_REALTIME: + return "CLOCK_REALTIME"; + case CLOCK_MONOTONIC: + return "CLOCK_MONOTONIC"; + case CLOCK_PROCESS_CPUTIME_ID: + return "CLOCK_PROCESS_CPUTIME_ID"; + case CLOCK_THREAD_CPUTIME_ID: + return "CLOCK_THREAD_CPUTIME_ID"; + case CLOCK_MONOTONIC_RAW: + return "CLOCK_MONOTONIC_RAW"; + case CLOCK_REALTIME_COARSE: + return "CLOCK_REALTIME_COARSE"; + case CLOCK_MONOTONIC_COARSE: + return "CLOCK_MONOTONIC_COARSE"; + case CLOCK_BOOTTIME: + return "CLOCK_BOOTTIME"; + case CLOCK_REALTIME_ALARM: + return "CLOCK_REALTIME_ALARM"; + case CLOCK_BOOTTIME_ALARM: + return "CLOCK_BOOTTIME_ALARM"; + case CLOCK_TAI: + return "CLOCK_TAI"; + }; + return "UNKNOWN_CLOCKID"; +} + +/* returns 1 if a <= b, 0 otherwise */ +static inline int in_order(struct timespec a, struct timespec b) +{ + if (a.tv_sec < b.tv_sec) + return 1; + if (a.tv_sec > b.tv_sec) + return 0; + if (a.tv_nsec > b.tv_nsec) + return 0; + return 1; +} + +struct timespec timespec_add(struct timespec ts, unsigned long long ns) +{ + ts.tv_nsec += ns; + while (ts.tv_nsec >= NSEC_PER_SEC) { + ts.tv_nsec -= NSEC_PER_SEC; + ts.tv_sec++; + } + return ts; +} + +int nanosleep_test(int clockid, long long ns) +{ + struct timespec now, target, rel; + + /* First check abs time */ + if (clock_gettime(clockid, &now)) + return UNSUPPORTED; + target = timespec_add(now, ns); + + if (clock_nanosleep(clockid, TIMER_ABSTIME, &target, NULL)) + return UNSUPPORTED; + clock_gettime(clockid, &now); + + if (!in_order(target, now)) + return -1; + + /* Second check reltime */ + clock_gettime(clockid, &now); + rel.tv_sec = 0; + rel.tv_nsec = 0; + rel = timespec_add(rel, ns); + target = timespec_add(now, ns); + clock_nanosleep(clockid, 0, &rel, NULL); + clock_gettime(clockid, &now); + + if (!in_order(target, now)) + return -1; + return 0; +} + +int main(int argc, char **argv) +{ + long long length; + int clockid, ret; + int max_clocks = CLOCK_TAI + 1; + + ksft_print_header(); + ksft_set_plan(max_clocks); + + for (clockid = CLOCK_REALTIME; clockid < max_clocks; clockid++) { + + /* Skip cputime clockids since nanosleep won't increment cputime */ + if (clockid == CLOCK_PROCESS_CPUTIME_ID || + clockid == CLOCK_THREAD_CPUTIME_ID || + clockid == CLOCK_HWSPECIFIC) { + ksft_test_result_skip("%-31s\n", clockstring(clockid)); + continue; + } + + fflush(stdout); + + length = 10; + while (length <= (NSEC_PER_SEC * 10)) { + ret = nanosleep_test(clockid, length); + if (ret == UNSUPPORTED) { + ksft_test_result_skip("%-31s\n", clockstring(clockid)); + goto next; + } + if (ret < 0) { + ksft_test_result_fail("%-31s\n", clockstring(clockid)); + ksft_exit_fail(); + } + length *= 100; + } + ksft_test_result_pass("%-31s\n", clockstring(clockid)); +next: + ret = 0; + } + ksft_exit_pass(); +} diff --git a/common/bins/timers/nsleep-lat.c b/common/bins/timers/nsleep-lat.c new file mode 100644 index 00000000..de23dc0c --- /dev/null +++ b/common/bins/timers/nsleep-lat.c @@ -0,0 +1,166 @@ +/* Measure nanosleep timer latency + * by: john stultz (john.stultz@linaro.org) + * (C) Copyright Linaro 2013 + * Licensed under the GPLv2 + * + * To build: + * $ gcc nsleep-lat.c -o nsleep-lat -lrt + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include "../kselftest.h" + +#define UNRESONABLE_LATENCY 40000000 /* 40ms in nanosecs */ + +/* CLOCK_HWSPECIFIC == CLOCK_SGI_CYCLE (Deprecated) */ +#define CLOCK_HWSPECIFIC 10 + +#define UNSUPPORTED 0xf00f + +char *clockstring(int clockid) +{ + switch (clockid) { + case CLOCK_REALTIME: + return "CLOCK_REALTIME"; + case CLOCK_MONOTONIC: + return "CLOCK_MONOTONIC"; + case CLOCK_PROCESS_CPUTIME_ID: + return "CLOCK_PROCESS_CPUTIME_ID"; + case CLOCK_THREAD_CPUTIME_ID: + return "CLOCK_THREAD_CPUTIME_ID"; + case CLOCK_MONOTONIC_RAW: + return "CLOCK_MONOTONIC_RAW"; + case CLOCK_REALTIME_COARSE: + return "CLOCK_REALTIME_COARSE"; + case CLOCK_MONOTONIC_COARSE: + return "CLOCK_MONOTONIC_COARSE"; + case CLOCK_BOOTTIME: + return "CLOCK_BOOTTIME"; + case CLOCK_REALTIME_ALARM: + return "CLOCK_REALTIME_ALARM"; + case CLOCK_BOOTTIME_ALARM: + return "CLOCK_BOOTTIME_ALARM"; + case CLOCK_TAI: + return "CLOCK_TAI"; + }; + return "UNKNOWN_CLOCKID"; +} + +struct timespec timespec_add(struct timespec ts, unsigned long long ns) +{ + ts.tv_nsec += ns; + while (ts.tv_nsec >= NSEC_PER_SEC) { + ts.tv_nsec -= NSEC_PER_SEC; + ts.tv_sec++; + } + return ts; +} + + +long long timespec_sub(struct timespec a, struct timespec b) +{ + long long ret = NSEC_PER_SEC * b.tv_sec + b.tv_nsec; + + ret -= NSEC_PER_SEC * a.tv_sec + a.tv_nsec; + return ret; +} + +int nanosleep_lat_test(int clockid, long long ns) +{ + struct timespec start, end, target; + long long latency = 0; + int i, count; + + target.tv_sec = ns/NSEC_PER_SEC; + target.tv_nsec = ns%NSEC_PER_SEC; + + if (clock_gettime(clockid, &start)) + return UNSUPPORTED; + if (clock_nanosleep(clockid, 0, &target, NULL)) + return UNSUPPORTED; + + count = 10; + + /* First check relative latency */ + clock_gettime(clockid, &start); + for (i = 0; i < count; i++) + clock_nanosleep(clockid, 0, &target, NULL); + clock_gettime(clockid, &end); + + if (((timespec_sub(start, end)/count)-ns) > UNRESONABLE_LATENCY) { + ksft_print_msg("Large rel latency: %lld ns :", (timespec_sub(start, end)/count)-ns); + return -1; + } + + /* Next check absolute latency */ + for (i = 0; i < count; i++) { + clock_gettime(clockid, &start); + target = timespec_add(start, ns); + clock_nanosleep(clockid, TIMER_ABSTIME, &target, NULL); + clock_gettime(clockid, &end); + latency += timespec_sub(target, end); + } + + if (latency/count > UNRESONABLE_LATENCY) { + ksft_print_msg("Large abs latency: %lld ns :", latency/count); + return -1; + } + + return 0; +} + +#define SKIPPED_CLOCK_COUNT 3 + +int main(int argc, char **argv) +{ + long long length; + int clockid, ret; + int max_clocks = CLOCK_TAI + 1; + + ksft_print_header(); + ksft_set_plan(max_clocks - CLOCK_REALTIME - SKIPPED_CLOCK_COUNT); + + for (clockid = CLOCK_REALTIME; clockid < max_clocks; clockid++) { + + /* Skip cputime clockids since nanosleep won't increment cputime */ + if (clockid == CLOCK_PROCESS_CPUTIME_ID || + clockid == CLOCK_THREAD_CPUTIME_ID || + clockid == CLOCK_HWSPECIFIC) + continue; + + length = 10; + while (length <= (NSEC_PER_SEC * 10)) { + ret = nanosleep_lat_test(clockid, length); + if (ret) + break; + length *= 100; + + } + + if (ret == UNSUPPORTED) { + ksft_test_result_skip("%s\n", clockstring(clockid)); + } else { + ksft_test_result(ret >= 0, "%s\n", + clockstring(clockid)); + } + } + + ksft_finished(); +} diff --git a/common/bins/timers/posix_timers.c b/common/bins/timers/posix_timers.c new file mode 100644 index 00000000..ed747cfa --- /dev/null +++ b/common/bins/timers/posix_timers.c @@ -0,0 +1,641 @@ +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2013 Red Hat, Inc., Frederic Weisbecker + * + * Selftests for a few posix timers interface. + * + * Kernel loop code stolen from Steven Rostedt + */ +#define _GNU_SOURCE +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "../kselftest.h" + +#define DELAY 2 + +static void __fatal_error(const char *test, const char *name, const char *what) +{ + char buf[64]; + char *ret_str = NULL; + + ret_str = strerror_r(errno, buf, sizeof(buf)); + + if (name && strlen(name) && ret_str) + ksft_exit_fail_msg("%s %s %s %s\n", test, name, what, ret_str); + else if (ret_str) + ksft_exit_fail_msg("%s %s %s\n", test, what, ret_str); + else + ksft_exit_fail_msg("%s %s\n", test, what); + +} + +#define fatal_error(name, what) __fatal_error(__func__, name, what) + +static volatile int done; + +/* Busy loop in userspace to elapse ITIMER_VIRTUAL */ +static void user_loop(void) +{ + while (!done); +} + +/* + * Try to spend as much time as possible in kernelspace + * to elapse ITIMER_PROF. + */ +static void kernel_loop(void) +{ + void *addr = sbrk(0); + int err = 0; + + while (!done && !err) { + err = brk(addr + 4096); + err |= brk(addr); + } +} + +/* + * Sleep until ITIMER_REAL expiration. + */ +static void idle_loop(void) +{ + pause(); +} + +static void sig_handler(int nr) +{ + done = 1; +} + +/* + * Check the expected timer expiration matches the GTOD elapsed delta since + * we armed the timer. Keep a 0.5 sec error margin due to various jitter. + */ +static int check_diff(struct timeval start, struct timeval end) +{ + long long diff; + + diff = end.tv_usec - start.tv_usec; + diff += (end.tv_sec - start.tv_sec) * USEC_PER_SEC; + + if (llabs(diff - DELAY * USEC_PER_SEC) > USEC_PER_SEC / 2) { + printf("Diff too high: %lld..", diff); + return -1; + } + + return 0; +} + +static void check_itimer(int which, const char *name) +{ + struct timeval start, end; + struct itimerval val = { + .it_value.tv_sec = DELAY, + }; + + done = 0; + + if (which == ITIMER_VIRTUAL) + signal(SIGVTALRM, sig_handler); + else if (which == ITIMER_PROF) + signal(SIGPROF, sig_handler); + else if (which == ITIMER_REAL) + signal(SIGALRM, sig_handler); + + if (gettimeofday(&start, NULL) < 0) + fatal_error(name, "gettimeofday()"); + + if (setitimer(which, &val, NULL) < 0) + fatal_error(name, "setitimer()"); + + if (which == ITIMER_VIRTUAL) + user_loop(); + else if (which == ITIMER_PROF) + kernel_loop(); + else if (which == ITIMER_REAL) + idle_loop(); + + if (gettimeofday(&end, NULL) < 0) + fatal_error(name, "gettimeofday()"); + + ksft_test_result(check_diff(start, end) == 0, "%s\n", name); +} + +static void check_timer_create(int which, const char *name) +{ + struct timeval start, end; + struct itimerspec val = { + .it_value.tv_sec = DELAY, + }; + timer_t id; + + done = 0; + + if (timer_create(which, NULL, &id) < 0) + fatal_error(name, "timer_create()"); + + if (signal(SIGALRM, sig_handler) == SIG_ERR) + fatal_error(name, "signal()"); + + if (gettimeofday(&start, NULL) < 0) + fatal_error(name, "gettimeofday()"); + + if (timer_settime(id, 0, &val, NULL) < 0) + fatal_error(name, "timer_settime()"); + + user_loop(); + + if (gettimeofday(&end, NULL) < 0) + fatal_error(name, "gettimeofday()"); + + ksft_test_result(check_diff(start, end) == 0, + "timer_create() per %s\n", name); +} + +static pthread_t ctd_thread; +static volatile int ctd_count, ctd_failed; + +static void ctd_sighandler(int sig) +{ + if (pthread_self() != ctd_thread) + ctd_failed = 1; + ctd_count--; +} + +static void *ctd_thread_func(void *arg) +{ + struct itimerspec val = { + .it_value.tv_sec = 0, + .it_value.tv_nsec = 1000 * 1000, + .it_interval.tv_sec = 0, + .it_interval.tv_nsec = 1000 * 1000, + }; + timer_t id; + + /* 1/10 seconds to ensure the leader sleeps */ + usleep(10000); + + ctd_count = 100; + if (timer_create(CLOCK_PROCESS_CPUTIME_ID, NULL, &id)) + fatal_error(NULL, "timer_create()"); + if (timer_settime(id, 0, &val, NULL)) + fatal_error(NULL, "timer_settime()"); + while (ctd_count > 0 && !ctd_failed) + ; + + if (timer_delete(id)) + fatal_error(NULL, "timer_delete()"); + + return NULL; +} + +/* + * Test that only the running thread receives the timer signal. + */ +static void check_timer_distribution(void) +{ + if (signal(SIGALRM, ctd_sighandler) == SIG_ERR) + fatal_error(NULL, "signal()"); + + if (pthread_create(&ctd_thread, NULL, ctd_thread_func, NULL)) + fatal_error(NULL, "pthread_create()"); + + if (pthread_join(ctd_thread, NULL)) + fatal_error(NULL, "pthread_join()"); + + if (!ctd_failed) + ksft_test_result_pass("check signal distribution\n"); + else if (ksft_min_kernel_version(6, 3)) + ksft_test_result_fail("check signal distribution\n"); + else + ksft_test_result_skip("check signal distribution (old kernel)\n"); +} + +struct tmrsig { + int signals; + int overruns; +}; + +static void siginfo_handler(int sig, siginfo_t *si, void *uc) +{ + struct tmrsig *tsig = si ? si->si_ptr : NULL; + + if (tsig) { + tsig->signals++; + tsig->overruns += si->si_overrun; + } +} + +static void *ignore_thread(void *arg) +{ + unsigned int *tid = arg; + sigset_t set; + + sigemptyset(&set); + sigaddset(&set, SIGUSR1); + if (sigprocmask(SIG_BLOCK, &set, NULL)) + fatal_error(NULL, "sigprocmask(SIG_BLOCK)"); + + *tid = getgid(); + sleep(100); + + if (sigprocmask(SIG_UNBLOCK, &set, NULL)) + fatal_error(NULL, "sigprocmask(SIG_UNBLOCK)"); + return NULL; +} + +static void check_sig_ign(int thread) +{ + struct tmrsig tsig = { }; + struct itimerspec its; + unsigned int tid = 0; + struct sigaction sa; + struct sigevent sev; + pthread_t pthread; + timer_t timerid; + sigset_t set; + + if (thread) { + if (pthread_create(&pthread, NULL, ignore_thread, &tid)) + fatal_error(NULL, "pthread_create()"); + sleep(1); + } + + sa.sa_flags = SA_SIGINFO; + sa.sa_sigaction = siginfo_handler; + sigemptyset(&sa.sa_mask); + if (sigaction(SIGUSR1, &sa, NULL)) + fatal_error(NULL, "sigaction()"); + + /* Block the signal */ + sigemptyset(&set); + sigaddset(&set, SIGUSR1); + if (sigprocmask(SIG_BLOCK, &set, NULL)) + fatal_error(NULL, "sigprocmask(SIG_BLOCK)"); + + memset(&sev, 0, sizeof(sev)); + sev.sigev_notify = SIGEV_SIGNAL; + sev.sigev_signo = SIGUSR1; + sev.sigev_value.sival_ptr = &tsig; + if (thread) { + sev.sigev_notify = SIGEV_THREAD_ID; + sev._sigev_un._tid = tid; + } + + if (timer_create(CLOCK_MONOTONIC, &sev, &timerid)) + fatal_error(NULL, "timer_create()"); + + /* Start the timer to expire in 100ms and 100ms intervals */ + its.it_value.tv_sec = 0; + its.it_value.tv_nsec = 100000000; + its.it_interval.tv_sec = 0; + its.it_interval.tv_nsec = 100000000; + timer_settime(timerid, 0, &its, NULL); + + sleep(1); + + /* Set the signal to be ignored */ + if (signal(SIGUSR1, SIG_IGN) == SIG_ERR) + fatal_error(NULL, "signal(SIG_IGN)"); + + sleep(1); + + if (thread) { + /* Stop the thread first. No signal should be delivered to it */ + if (pthread_cancel(pthread)) + fatal_error(NULL, "pthread_cancel()"); + if (pthread_join(pthread, NULL)) + fatal_error(NULL, "pthread_join()"); + } + + /* Restore the handler */ + if (sigaction(SIGUSR1, &sa, NULL)) + fatal_error(NULL, "sigaction()"); + + sleep(1); + + /* Unblock it, which should deliver the signal in the !thread case*/ + if (sigprocmask(SIG_UNBLOCK, &set, NULL)) + fatal_error(NULL, "sigprocmask(SIG_UNBLOCK)"); + + if (timer_delete(timerid)) + fatal_error(NULL, "timer_delete()"); + + if (!thread) { + ksft_test_result(tsig.signals == 1 && tsig.overruns == 29, + "check_sig_ign SIGEV_SIGNAL\n"); + } else { + ksft_test_result(tsig.signals == 0 && tsig.overruns == 0, + "check_sig_ign SIGEV_THREAD_ID\n"); + } +} + +static void check_rearm(void) +{ + struct tmrsig tsig = { }; + struct itimerspec its; + struct sigaction sa; + struct sigevent sev; + timer_t timerid; + sigset_t set; + + sa.sa_flags = SA_SIGINFO; + sa.sa_sigaction = siginfo_handler; + sigemptyset(&sa.sa_mask); + if (sigaction(SIGUSR1, &sa, NULL)) + fatal_error(NULL, "sigaction()"); + + /* Block the signal */ + sigemptyset(&set); + sigaddset(&set, SIGUSR1); + if (sigprocmask(SIG_BLOCK, &set, NULL)) + fatal_error(NULL, "sigprocmask(SIG_BLOCK)"); + + memset(&sev, 0, sizeof(sev)); + sev.sigev_notify = SIGEV_SIGNAL; + sev.sigev_signo = SIGUSR1; + sev.sigev_value.sival_ptr = &tsig; + if (timer_create(CLOCK_MONOTONIC, &sev, &timerid)) + fatal_error(NULL, "timer_create()"); + + /* Start the timer to expire in 100ms and 100ms intervals */ + its.it_value.tv_sec = 0; + its.it_value.tv_nsec = 100000000; + its.it_interval.tv_sec = 0; + its.it_interval.tv_nsec = 100000000; + if (timer_settime(timerid, 0, &its, NULL)) + fatal_error(NULL, "timer_settime()"); + + sleep(1); + + /* Reprogram the timer to single shot */ + its.it_value.tv_sec = 10; + its.it_value.tv_nsec = 0; + its.it_interval.tv_sec = 0; + its.it_interval.tv_nsec = 0; + if (timer_settime(timerid, 0, &its, NULL)) + fatal_error(NULL, "timer_settime()"); + + /* Unblock it, which should not deliver a signal */ + if (sigprocmask(SIG_UNBLOCK, &set, NULL)) + fatal_error(NULL, "sigprocmask(SIG_UNBLOCK)"); + + if (timer_delete(timerid)) + fatal_error(NULL, "timer_delete()"); + + ksft_test_result(!tsig.signals, "check_rearm\n"); +} + +static void check_delete(void) +{ + struct tmrsig tsig = { }; + struct itimerspec its; + struct sigaction sa; + struct sigevent sev; + timer_t timerid; + sigset_t set; + + sa.sa_flags = SA_SIGINFO; + sa.sa_sigaction = siginfo_handler; + sigemptyset(&sa.sa_mask); + if (sigaction(SIGUSR1, &sa, NULL)) + fatal_error(NULL, "sigaction()"); + + /* Block the signal */ + sigemptyset(&set); + sigaddset(&set, SIGUSR1); + if (sigprocmask(SIG_BLOCK, &set, NULL)) + fatal_error(NULL, "sigprocmask(SIG_BLOCK)"); + + memset(&sev, 0, sizeof(sev)); + sev.sigev_notify = SIGEV_SIGNAL; + sev.sigev_signo = SIGUSR1; + sev.sigev_value.sival_ptr = &tsig; + if (timer_create(CLOCK_MONOTONIC, &sev, &timerid)) + fatal_error(NULL, "timer_create()"); + + /* Start the timer to expire in 100ms and 100ms intervals */ + its.it_value.tv_sec = 0; + its.it_value.tv_nsec = 100000000; + its.it_interval.tv_sec = 0; + its.it_interval.tv_nsec = 100000000; + if (timer_settime(timerid, 0, &its, NULL)) + fatal_error(NULL, "timer_settime()"); + + sleep(1); + + if (timer_delete(timerid)) + fatal_error(NULL, "timer_delete()"); + + /* Unblock it, which should not deliver a signal */ + if (sigprocmask(SIG_UNBLOCK, &set, NULL)) + fatal_error(NULL, "sigprocmask(SIG_UNBLOCK)"); + + ksft_test_result(!tsig.signals, "check_delete\n"); +} + +static inline int64_t calcdiff_ns(struct timespec t1, struct timespec t2) +{ + int64_t diff; + + diff = NSEC_PER_SEC * (int64_t)((int) t1.tv_sec - (int) t2.tv_sec); + diff += ((int) t1.tv_nsec - (int) t2.tv_nsec); + return diff; +} + +static void check_sigev_none(int which, const char *name) +{ + struct timespec start, now; + struct itimerspec its; + struct sigevent sev; + timer_t timerid; + + memset(&sev, 0, sizeof(sev)); + sev.sigev_notify = SIGEV_NONE; + + if (timer_create(which, &sev, &timerid)) + fatal_error(name, "timer_create()"); + + /* Start the timer to expire in 100ms and 100ms intervals */ + its.it_value.tv_sec = 0; + its.it_value.tv_nsec = 100000000; + its.it_interval.tv_sec = 0; + its.it_interval.tv_nsec = 100000000; + timer_settime(timerid, 0, &its, NULL); + + if (clock_gettime(which, &start)) + fatal_error(name, "clock_gettime()"); + + do { + if (clock_gettime(which, &now)) + fatal_error(name, "clock_gettime()"); + } while (calcdiff_ns(now, start) < NSEC_PER_SEC); + + if (timer_gettime(timerid, &its)) + fatal_error(name, "timer_gettime()"); + + if (timer_delete(timerid)) + fatal_error(name, "timer_delete()"); + + ksft_test_result(its.it_value.tv_sec || its.it_value.tv_nsec, + "check_sigev_none %s\n", name); +} + +static void check_gettime(int which, const char *name) +{ + struct itimerspec its, prev; + struct timespec start, now; + struct sigevent sev; + timer_t timerid; + int wraps = 0; + sigset_t set; + + /* Block the signal */ + sigemptyset(&set); + sigaddset(&set, SIGUSR1); + if (sigprocmask(SIG_BLOCK, &set, NULL)) + fatal_error(name, "sigprocmask(SIG_BLOCK)"); + + memset(&sev, 0, sizeof(sev)); + sev.sigev_notify = SIGEV_SIGNAL; + sev.sigev_signo = SIGUSR1; + + if (timer_create(which, &sev, &timerid)) + fatal_error(name, "timer_create()"); + + /* Start the timer to expire in 100ms and 100ms intervals */ + its.it_value.tv_sec = 0; + its.it_value.tv_nsec = 100000000; + its.it_interval.tv_sec = 0; + its.it_interval.tv_nsec = 100000000; + if (timer_settime(timerid, 0, &its, NULL)) + fatal_error(name, "timer_settime()"); + + if (timer_gettime(timerid, &prev)) + fatal_error(name, "timer_gettime()"); + + if (clock_gettime(which, &start)) + fatal_error(name, "clock_gettime()"); + + do { + if (clock_gettime(which, &now)) + fatal_error(name, "clock_gettime()"); + if (timer_gettime(timerid, &its)) + fatal_error(name, "timer_gettime()"); + if (its.it_value.tv_nsec > prev.it_value.tv_nsec) + wraps++; + prev = its; + + } while (calcdiff_ns(now, start) < NSEC_PER_SEC); + + if (timer_delete(timerid)) + fatal_error(name, "timer_delete()"); + + ksft_test_result(wraps > 1, "check_gettime %s\n", name); +} + +static void check_overrun(int which, const char *name) +{ + struct timespec start, now; + struct tmrsig tsig = { }; + struct itimerspec its; + struct sigaction sa; + struct sigevent sev; + timer_t timerid; + sigset_t set; + + sa.sa_flags = SA_SIGINFO; + sa.sa_sigaction = siginfo_handler; + sigemptyset(&sa.sa_mask); + if (sigaction(SIGUSR1, &sa, NULL)) + fatal_error(name, "sigaction()"); + + /* Block the signal */ + sigemptyset(&set); + sigaddset(&set, SIGUSR1); + if (sigprocmask(SIG_BLOCK, &set, NULL)) + fatal_error(name, "sigprocmask(SIG_BLOCK)"); + + memset(&sev, 0, sizeof(sev)); + sev.sigev_notify = SIGEV_SIGNAL; + sev.sigev_signo = SIGUSR1; + sev.sigev_value.sival_ptr = &tsig; + if (timer_create(which, &sev, &timerid)) + fatal_error(name, "timer_create()"); + + /* Start the timer to expire in 100ms and 100ms intervals */ + its.it_value.tv_sec = 0; + its.it_value.tv_nsec = 100000000; + its.it_interval.tv_sec = 0; + its.it_interval.tv_nsec = 100000000; + if (timer_settime(timerid, 0, &its, NULL)) + fatal_error(name, "timer_settime()"); + + if (clock_gettime(which, &start)) + fatal_error(name, "clock_gettime()"); + + do { + if (clock_gettime(which, &now)) + fatal_error(name, "clock_gettime()"); + } while (calcdiff_ns(now, start) < NSEC_PER_SEC); + + /* Unblock it, which should deliver a signal */ + if (sigprocmask(SIG_UNBLOCK, &set, NULL)) + fatal_error(name, "sigprocmask(SIG_UNBLOCK)"); + + if (timer_delete(timerid)) + fatal_error(name, "timer_delete()"); + + ksft_test_result(tsig.signals == 1 && tsig.overruns == 9, + "check_overrun %s\n", name); +} + +int main(int argc, char **argv) +{ + ksft_print_header(); + ksft_set_plan(18); + + ksft_print_msg("Testing posix timers. False negative may happen on CPU execution \n"); + ksft_print_msg("based timers if other threads run on the CPU...\n"); + + check_itimer(ITIMER_VIRTUAL, "ITIMER_VIRTUAL"); + check_itimer(ITIMER_PROF, "ITIMER_PROF"); + check_itimer(ITIMER_REAL, "ITIMER_REAL"); + check_timer_create(CLOCK_THREAD_CPUTIME_ID, "CLOCK_THREAD_CPUTIME_ID"); + + /* + * It's unfortunately hard to reliably test a timer expiration + * on parallel multithread cputime. We could arm it to expire + * on DELAY * nr_threads, with nr_threads busy looping, then wait + * the normal DELAY since the time is elapsing nr_threads faster. + * But for that we need to ensure we have real physical free CPUs + * to ensure true parallelism. So test only one thread until we + * find a better solution. + */ + check_timer_create(CLOCK_PROCESS_CPUTIME_ID, "CLOCK_PROCESS_CPUTIME_ID"); + check_timer_distribution(); + + check_sig_ign(0); + check_sig_ign(1); + check_rearm(); + check_delete(); + check_sigev_none(CLOCK_MONOTONIC, "CLOCK_MONOTONIC"); + check_sigev_none(CLOCK_PROCESS_CPUTIME_ID, "CLOCK_PROCESS_CPUTIME_ID"); + check_gettime(CLOCK_MONOTONIC, "CLOCK_MONOTONIC"); + check_gettime(CLOCK_PROCESS_CPUTIME_ID, "CLOCK_PROCESS_CPUTIME_ID"); + check_gettime(CLOCK_THREAD_CPUTIME_ID, "CLOCK_THREAD_CPUTIME_ID"); + check_overrun(CLOCK_MONOTONIC, "CLOCK_MONOTONIC"); + check_overrun(CLOCK_PROCESS_CPUTIME_ID, "CLOCK_PROCESS_CPUTIME_ID"); + check_overrun(CLOCK_THREAD_CPUTIME_ID, "CLOCK_THREAD_CPUTIME_ID"); + + ksft_finished(); +} diff --git a/common/bins/timers/raw_skew.c b/common/bins/timers/raw_skew.c new file mode 100644 index 00000000..957f7cd2 --- /dev/null +++ b/common/bins/timers/raw_skew.c @@ -0,0 +1,145 @@ +/* CLOCK_MONOTONIC vs CLOCK_MONOTONIC_RAW skew test + * by: john stultz (johnstul@us.ibm.com) + * John Stultz + * (C) Copyright IBM 2012 + * (C) Copyright Linaro Limited 2015 + * Licensed under the GPLv2 + * + * To build: + * $ gcc raw_skew.c -o raw_skew -lrt + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#include +#include +#include +#include +#include +#include +#include +#include "../kselftest.h" + +#define shift_right(x, s) ({ \ + __typeof__(x) __x = (x); \ + __typeof__(s) __s = (s); \ + __x < 0 ? -(-__x >> __s) : __x >> __s; \ +}) + +long long llabs(long long val) +{ + if (val < 0) + val = -val; + return val; +} + +unsigned long long ts_to_nsec(struct timespec ts) +{ + return ts.tv_sec * NSEC_PER_SEC + ts.tv_nsec; +} + +struct timespec nsec_to_ts(long long ns) +{ + struct timespec ts; + + ts.tv_sec = ns/NSEC_PER_SEC; + ts.tv_nsec = ns%NSEC_PER_SEC; + return ts; +} + +long long diff_timespec(struct timespec start, struct timespec end) +{ + long long start_ns, end_ns; + + start_ns = ts_to_nsec(start); + end_ns = ts_to_nsec(end); + return end_ns - start_ns; +} + +void get_monotonic_and_raw(struct timespec *mon, struct timespec *raw) +{ + struct timespec start, mid, end; + long long diff = 0, tmp; + int i; + + for (i = 0; i < 3; i++) { + long long newdiff; + + clock_gettime(CLOCK_MONOTONIC, &start); + clock_gettime(CLOCK_MONOTONIC_RAW, &mid); + clock_gettime(CLOCK_MONOTONIC, &end); + + newdiff = diff_timespec(start, end); + if (diff == 0 || newdiff < diff) { + diff = newdiff; + *raw = mid; + tmp = (ts_to_nsec(start) + ts_to_nsec(end))/2; + *mon = nsec_to_ts(tmp); + } + } +} + +int main(int argc, char **argv) +{ + struct timespec mon, raw, start, end; + long long delta1, delta2, interval, eppm, ppm; + struct timex tx1, tx2; + + setbuf(stdout, NULL); + + if (clock_gettime(CLOCK_MONOTONIC_RAW, &raw)) { + printf("ERR: NO CLOCK_MONOTONIC_RAW\n"); + return -1; + } + + tx1.modes = 0; + adjtimex(&tx1); + get_monotonic_and_raw(&mon, &raw); + start = mon; + delta1 = diff_timespec(mon, raw); + + if (tx1.offset) + printf("WARNING: ADJ_OFFSET in progress, this will cause inaccurate results\n"); + + printf("Estimating clock drift: "); + fflush(stdout); + sleep(120); + + get_monotonic_and_raw(&mon, &raw); + end = mon; + tx2.modes = 0; + adjtimex(&tx2); + delta2 = diff_timespec(mon, raw); + + interval = diff_timespec(start, end); + + /* calculate measured ppm between MONOTONIC and MONOTONIC_RAW */ + eppm = ((delta2-delta1)*NSEC_PER_SEC)/interval; + eppm = -eppm; + printf("%lld.%i(est)", eppm/1000, abs((int)(eppm%1000))); + + /* Avg the two actual freq samples adjtimex gave us */ + ppm = (long long)(tx1.freq + tx2.freq) * 1000 / 2; + ppm = shift_right(ppm, 16); + printf(" %lld.%i(act)", ppm/1000, abs((int)(ppm%1000))); + + if (llabs(eppm - ppm) > 1000) { + if (tx1.offset || tx2.offset || + tx1.freq != tx2.freq || tx1.tick != tx2.tick) { + printf(" [SKIP]\n"); + ksft_exit_skip("The clock was adjusted externally. Shutdown NTPd or other time sync daemons\n"); + } + printf(" [FAILED]\n"); + ksft_exit_fail(); + } + printf(" [OK]\n"); + ksft_exit_pass(); +} diff --git a/common/bins/timers/rtcpie.c b/common/bins/timers/rtcpie.c new file mode 100644 index 00000000..7c07edd0 --- /dev/null +++ b/common/bins/timers/rtcpie.c @@ -0,0 +1,141 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Real Time Clock Periodic Interrupt test program + * + * Since commit 6610e0893b8bc ("RTC: Rework RTC code to use timerqueue for + * events"), PIE are completely handled using hrtimers, without actually using + * any underlying hardware RTC. + * + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "../kselftest.h" + +/* + * This expects the new RTC class driver framework, working with + * clocks that will often not be clones of what the PC-AT had. + * Use the command line to specify another RTC if you need one. + */ +static const char default_rtc[] = "/dev/rtc0"; + +int main(int argc, char **argv) +{ + int i, fd, retval; + unsigned long tmp, data, old_pie_rate; + const char *rtc = default_rtc; + struct timeval start, end, diff; + + switch (argc) { + case 2: + rtc = argv[1]; + break; + case 1: + fd = open(default_rtc, O_RDONLY); + if (fd == -1) { + printf("Default RTC %s does not exist. Test Skipped!\n", default_rtc); + exit(KSFT_SKIP); + } + close(fd); + break; + default: + fprintf(stderr, "usage: rtctest [rtcdev] [d]\n"); + return 1; + } + + fd = open(rtc, O_RDONLY); + + if (fd == -1) { + perror(rtc); + exit(errno); + } + + /* Read periodic IRQ rate */ + retval = ioctl(fd, RTC_IRQP_READ, &old_pie_rate); + if (retval == -1) { + /* not all RTCs support periodic IRQs */ + if (errno == EINVAL) { + fprintf(stderr, "\nNo periodic IRQ support\n"); + goto done; + } + perror("RTC_IRQP_READ ioctl"); + exit(errno); + } + fprintf(stderr, "\nPeriodic IRQ rate is %ldHz.\n", old_pie_rate); + + fprintf(stderr, "Counting 20 interrupts at:"); + fflush(stderr); + + /* The frequencies 128Hz, 256Hz, ... 8192Hz are only allowed for root. */ + for (tmp=2; tmp<=64; tmp*=2) { + + retval = ioctl(fd, RTC_IRQP_SET, tmp); + if (retval == -1) { + /* not all RTCs can change their periodic IRQ rate */ + if (errno == EINVAL) { + fprintf(stderr, + "\n...Periodic IRQ rate is fixed\n"); + goto done; + } + perror("RTC_IRQP_SET ioctl"); + exit(errno); + } + + fprintf(stderr, "\n%ldHz:\t", tmp); + fflush(stderr); + + /* Enable periodic interrupts */ + retval = ioctl(fd, RTC_PIE_ON, 0); + if (retval == -1) { + perror("RTC_PIE_ON ioctl"); + exit(errno); + } + + for (i=1; i<21; i++) { + gettimeofday(&start, NULL); + /* This blocks */ + retval = read(fd, &data, sizeof(unsigned long)); + if (retval == -1) { + perror("read"); + exit(errno); + } + gettimeofday(&end, NULL); + timersub(&end, &start, &diff); + if (diff.tv_sec > 0 || + diff.tv_usec > ((1000000L / tmp) * 1.10)) { + fprintf(stderr, "\nPIE delta error: %ld.%06ld should be close to 0.%06ld\n", + diff.tv_sec, diff.tv_usec, + (1000000L / tmp)); + fflush(stdout); + exit(-1); + } + + fprintf(stderr, " %d",i); + fflush(stderr); + } + + /* Disable periodic interrupts */ + retval = ioctl(fd, RTC_PIE_OFF, 0); + if (retval == -1) { + perror("RTC_PIE_OFF ioctl"); + exit(errno); + } + } + +done: + ioctl(fd, RTC_IRQP_SET, old_pie_rate); + + fprintf(stderr, "\n\n\t\t\t *** Test complete ***\n"); + + close(fd); + + return 0; +} diff --git a/common/bins/timers/set-2038.c b/common/bins/timers/set-2038.c new file mode 100644 index 00000000..ed244315 --- /dev/null +++ b/common/bins/timers/set-2038.c @@ -0,0 +1,132 @@ +/* Time bounds setting test + * by: john stultz (johnstul@us.ibm.com) + * (C) Copyright IBM 2012 + * Licensed under the GPLv2 + * + * NOTE: This is a meta-test which sets the time to edge cases then + * uses other tests to detect problems. Thus this test requires that + * the inconsistency-check and nanosleep tests be present in the same + * directory it is run from. + * + * To build: + * $ gcc set-2038.c -o set-2038 -lrt + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#include +#include +#include +#include +#include +#include +#include "../kselftest.h" + +#define KTIME_MAX ((long long)~((unsigned long long)1 << 63)) +#define KTIME_SEC_MAX (KTIME_MAX / NSEC_PER_SEC) + +#define YEAR_1901 (-0x7fffffffL) +#define YEAR_1970 1 +#define YEAR_2038 0x7fffffffL /*overflows 32bit time_t */ +#define YEAR_2262 KTIME_SEC_MAX /*overflows 64bit ktime_t */ +#define YEAR_MAX ((long long)((1ULL<<63)-1)) /*overflows 64bit time_t */ + +int is32bits(void) +{ + return (sizeof(long) == 4); +} + +int settime(long long time) +{ + struct timeval now; + int ret; + + now.tv_sec = (time_t)time; + now.tv_usec = 0; + + ret = settimeofday(&now, NULL); + + printf("Setting time to 0x%lx: %d\n", (long)time, ret); + return ret; +} + +int do_tests(void) +{ + int ret; + + ret = system("date"); + ret = system("./inconsistency-check -c 0 -t 20"); + ret |= system("./nanosleep"); + ret |= system("./nsleep-lat"); + return ret; + +} + +int main(int argc, char *argv[]) +{ + int ret = 0; + int opt, dangerous = 0; + time_t start; + + /* Process arguments */ + while ((opt = getopt(argc, argv, "d")) != -1) { + switch (opt) { + case 'd': + dangerous = 1; + } + } + + start = time(0); + + /* First test that crazy values don't work */ + if (!settime(YEAR_1901)) { + ret = -1; + goto out; + } + if (!settime(YEAR_MAX)) { + ret = -1; + goto out; + } + if (!is32bits() && !settime(YEAR_2262)) { + ret = -1; + goto out; + } + + /* Now test behavior near edges */ + settime(YEAR_1970); + ret = do_tests(); + if (ret) + goto out; + + settime(YEAR_2038 - 600); + ret = do_tests(); + if (ret) + goto out; + + /* The rest of the tests can blowup on 32bit systems */ + if (is32bits() && !dangerous) + goto out; + /* Test rollover behavior 32bit edge */ + settime(YEAR_2038 - 10); + ret = do_tests(); + if (ret) + goto out; + + settime(YEAR_2262 - 600); + ret = do_tests(); + +out: + /* restore clock */ + settime(start); + if (ret) + ksft_exit_fail(); + ksft_exit_pass(); +} diff --git a/common/bins/timers/set-tai.c b/common/bins/timers/set-tai.c new file mode 100644 index 00000000..5b67462e --- /dev/null +++ b/common/bins/timers/set-tai.c @@ -0,0 +1,69 @@ +/* Set tai offset + * by: John Stultz + * (C) Copyright Linaro 2013 + * Licensed under the GPLv2 + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + + +#include +#include +#include +#include +#include +#include +#include +#include +#include "../kselftest.h" + +int set_tai(int offset) +{ + struct timex tx; + + memset(&tx, 0, sizeof(tx)); + + tx.modes = ADJ_TAI; + tx.constant = offset; + + return adjtimex(&tx); +} + +int get_tai(void) +{ + struct timex tx; + + memset(&tx, 0, sizeof(tx)); + + adjtimex(&tx); + return tx.tai; +} + +int main(int argc, char **argv) +{ + int i, ret; + + ret = get_tai(); + printf("tai offset started at %i\n", ret); + + printf("Checking tai offsets can be properly set: "); + fflush(stdout); + for (i = 1; i <= 60; i++) { + ret = set_tai(i); + ret = get_tai(); + if (ret != i) { + printf("[FAILED] expected: %i got %i\n", i, ret); + ksft_exit_fail(); + } + } + printf("[OK]\n"); + ksft_exit_pass(); +} diff --git a/common/bins/timers/set-timer-lat.c b/common/bins/timers/set-timer-lat.c new file mode 100644 index 00000000..9d8437c1 --- /dev/null +++ b/common/bins/timers/set-timer-lat.c @@ -0,0 +1,272 @@ +/* set_timer latency test + * John Stultz (john.stultz@linaro.org) + * (C) Copyright Linaro 2014 + * Licensed under the GPLv2 + * + * This test makes sure the set_timer api is correct + * + * To build: + * $ gcc set-timer-lat.c -o set-timer-lat -lrt + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include "../kselftest.h" + +/* CLOCK_HWSPECIFIC == CLOCK_SGI_CYCLE (Deprecated) */ +#define CLOCK_HWSPECIFIC 10 + +#define UNRESONABLE_LATENCY 40000000 /* 40ms in nanosecs */ + +#define TIMER_SECS 1 +int alarmcount; +int clock_id; +struct timespec start_time; +long long max_latency_ns; +int timer_fired_early; + +char *clockstring(int clockid) +{ + switch (clockid) { + case CLOCK_REALTIME: + return "CLOCK_REALTIME"; + case CLOCK_MONOTONIC: + return "CLOCK_MONOTONIC"; + case CLOCK_PROCESS_CPUTIME_ID: + return "CLOCK_PROCESS_CPUTIME_ID"; + case CLOCK_THREAD_CPUTIME_ID: + return "CLOCK_THREAD_CPUTIME_ID"; + case CLOCK_MONOTONIC_RAW: + return "CLOCK_MONOTONIC_RAW"; + case CLOCK_REALTIME_COARSE: + return "CLOCK_REALTIME_COARSE"; + case CLOCK_MONOTONIC_COARSE: + return "CLOCK_MONOTONIC_COARSE"; + case CLOCK_BOOTTIME: + return "CLOCK_BOOTTIME"; + case CLOCK_REALTIME_ALARM: + return "CLOCK_REALTIME_ALARM"; + case CLOCK_BOOTTIME_ALARM: + return "CLOCK_BOOTTIME_ALARM"; + case CLOCK_TAI: + return "CLOCK_TAI"; + } + return "UNKNOWN_CLOCKID"; +} + + +long long timespec_sub(struct timespec a, struct timespec b) +{ + long long ret = NSEC_PER_SEC * b.tv_sec + b.tv_nsec; + + ret -= NSEC_PER_SEC * a.tv_sec + a.tv_nsec; + return ret; +} + + +void sigalarm(int signo) +{ + long long delta_ns; + struct timespec ts; + + clock_gettime(clock_id, &ts); + alarmcount++; + + delta_ns = timespec_sub(start_time, ts); + delta_ns -= NSEC_PER_SEC * TIMER_SECS * alarmcount; + + if (delta_ns < 0) + timer_fired_early = 1; + + if (delta_ns > max_latency_ns) + max_latency_ns = delta_ns; +} + +void describe_timer(int flags, int interval) +{ + printf("%-22s %s %s ", + clockstring(clock_id), + flags ? "ABSTIME":"RELTIME", + interval ? "PERIODIC":"ONE-SHOT"); +} + +int setup_timer(int clock_id, int flags, int interval, timer_t *tm1) +{ + struct sigevent se; + struct itimerspec its1, its2; + int err; + + /* Set up timer: */ + memset(&se, 0, sizeof(se)); + se.sigev_notify = SIGEV_SIGNAL; + se.sigev_signo = SIGRTMAX; + se.sigev_value.sival_int = 0; + + max_latency_ns = 0; + alarmcount = 0; + timer_fired_early = 0; + + err = timer_create(clock_id, &se, tm1); + if (err) { + if ((clock_id == CLOCK_REALTIME_ALARM) || + (clock_id == CLOCK_BOOTTIME_ALARM)) { + printf("%-22s %s missing CAP_WAKE_ALARM? : [UNSUPPORTED]\n", + clockstring(clock_id), + flags ? "ABSTIME":"RELTIME"); + /* Indicate timer isn't set, so caller doesn't wait */ + return 1; + } + printf("%s - timer_create() failed\n", clockstring(clock_id)); + return -1; + } + + clock_gettime(clock_id, &start_time); + if (flags) { + its1.it_value = start_time; + its1.it_value.tv_sec += TIMER_SECS; + } else { + its1.it_value.tv_sec = TIMER_SECS; + its1.it_value.tv_nsec = 0; + } + its1.it_interval.tv_sec = interval; + its1.it_interval.tv_nsec = 0; + + err = timer_settime(*tm1, flags, &its1, &its2); + if (err) { + printf("%s - timer_settime() failed\n", clockstring(clock_id)); + return -1; + } + + return 0; +} + +int check_timer_latency(int flags, int interval) +{ + int err = 0; + + describe_timer(flags, interval); + printf("timer fired early: %7d : ", timer_fired_early); + if (!timer_fired_early) { + printf("[OK]\n"); + } else { + printf("[FAILED]\n"); + err = -1; + } + + describe_timer(flags, interval); + printf("max latency: %10lld ns : ", max_latency_ns); + + if (max_latency_ns < UNRESONABLE_LATENCY) { + printf("[OK]\n"); + } else { + printf("[FAILED]\n"); + err = -1; + } + return err; +} + +int check_alarmcount(int flags, int interval) +{ + describe_timer(flags, interval); + printf("count: %19d : ", alarmcount); + if (alarmcount == 1) { + printf("[OK]\n"); + return 0; + } + printf("[FAILED]\n"); + return -1; +} + +int do_timer(int clock_id, int flags) +{ + timer_t tm1; + const int interval = TIMER_SECS; + int err; + + err = setup_timer(clock_id, flags, interval, &tm1); + /* Unsupported case - return 0 to not fail the test */ + if (err) + return err == 1 ? 0 : err; + + while (alarmcount < 5) + sleep(1); + + timer_delete(tm1); + return check_timer_latency(flags, interval); +} + +int do_timer_oneshot(int clock_id, int flags) +{ + timer_t tm1; + const int interval = 0; + struct timeval timeout; + int err; + + err = setup_timer(clock_id, flags, interval, &tm1); + /* Unsupported case - return 0 to not fail the test */ + if (err) + return err == 1 ? 0 : err; + + memset(&timeout, 0, sizeof(timeout)); + timeout.tv_sec = 5; + do { + err = select(0, NULL, NULL, NULL, &timeout); + } while (err == -1 && errno == EINTR); + + timer_delete(tm1); + err = check_timer_latency(flags, interval); + err |= check_alarmcount(flags, interval); + return err; +} + +int main(void) +{ + struct sigaction act; + int signum = SIGRTMAX; + int ret = 0; + int max_clocks = CLOCK_TAI + 1; + + /* Set up signal handler: */ + sigfillset(&act.sa_mask); + act.sa_flags = 0; + act.sa_handler = sigalarm; + sigaction(signum, &act, NULL); + + printf("Setting timers for every %i seconds\n", TIMER_SECS); + for (clock_id = 0; clock_id < max_clocks; clock_id++) { + + if ((clock_id == CLOCK_PROCESS_CPUTIME_ID) || + (clock_id == CLOCK_THREAD_CPUTIME_ID) || + (clock_id == CLOCK_MONOTONIC_RAW) || + (clock_id == CLOCK_REALTIME_COARSE) || + (clock_id == CLOCK_MONOTONIC_COARSE) || + (clock_id == CLOCK_HWSPECIFIC)) + continue; + + ret |= do_timer(clock_id, TIMER_ABSTIME); + ret |= do_timer(clock_id, 0); + ret |= do_timer_oneshot(clock_id, TIMER_ABSTIME); + ret |= do_timer_oneshot(clock_id, 0); + } + if (ret) + ksft_exit_fail(); + ksft_exit_pass(); +} diff --git a/common/bins/timers/set-tz.c b/common/bins/timers/set-tz.c new file mode 100644 index 00000000..20daaf17 --- /dev/null +++ b/common/bins/timers/set-tz.c @@ -0,0 +1,110 @@ +/* Set tz value + * by: John Stultz + * (C) Copyright Linaro 2016 + * Licensed under the GPLv2 + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + + +#include +#include +#include +#include +#include +#include +#include +#include +#include "../kselftest.h" + +int set_tz(int min, int dst) +{ + struct timezone tz; + + tz.tz_minuteswest = min; + tz.tz_dsttime = dst; + + return settimeofday(0, &tz); +} + +int get_tz_min(void) +{ + struct timezone tz; + struct timeval tv; + + memset(&tz, 0, sizeof(tz)); + gettimeofday(&tv, &tz); + return tz.tz_minuteswest; +} + +int get_tz_dst(void) +{ + struct timezone tz; + struct timeval tv; + + memset(&tz, 0, sizeof(tz)); + gettimeofday(&tv, &tz); + return tz.tz_dsttime; +} + +int main(int argc, char **argv) +{ + int i, ret; + int min, dst; + + min = get_tz_min(); + dst = get_tz_dst(); + printf("tz_minuteswest started at %i, dst at %i\n", min, dst); + + printf("Checking tz_minuteswest can be properly set: "); + fflush(stdout); + for (i = -15*60; i < 15*60; i += 30) { + ret = set_tz(i, dst); + ret = get_tz_min(); + if (ret != i) { + printf("[FAILED] expected: %i got %i\n", i, ret); + goto err; + } + } + printf("[OK]\n"); + + printf("Checking invalid tz_minuteswest values are caught: "); + fflush(stdout); + + if (!set_tz(-15*60-1, dst)) { + printf("[FAILED] %i didn't return failure!\n", -15*60-1); + goto err; + } + + if (!set_tz(15*60+1, dst)) { + printf("[FAILED] %i didn't return failure!\n", 15*60+1); + goto err; + } + + if (!set_tz(-24*60, dst)) { + printf("[FAILED] %i didn't return failure!\n", -24*60); + goto err; + } + + if (!set_tz(24*60, dst)) { + printf("[FAILED] %i didn't return failure!\n", 24*60); + goto err; + } + + printf("[OK]\n"); + + set_tz(min, dst); + ksft_exit_pass(); + +err: + set_tz(min, dst); + ksft_exit_fail(); +} diff --git a/common/bins/timers/settings b/common/bins/timers/settings new file mode 100644 index 00000000..e7b94175 --- /dev/null +++ b/common/bins/timers/settings @@ -0,0 +1 @@ +timeout=0 diff --git a/common/bins/timers/skew_consistency.c b/common/bins/timers/skew_consistency.c new file mode 100644 index 00000000..83450145 --- /dev/null +++ b/common/bins/timers/skew_consistency.c @@ -0,0 +1,75 @@ +/* ADJ_FREQ Skew consistency test + * by: john stultz (johnstul@us.ibm.com) + * (C) Copyright IBM 2012 + * Licensed under the GPLv2 + * + * NOTE: This is a meta-test which cranks the ADJ_FREQ knob back + * and forth and watches for consistency problems. Thus this test requires + * that the inconsistency-check tests be present in the same directory it + * is run from. + * + * To build: + * $ gcc skew_consistency.c -o skew_consistency -lrt + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include "../kselftest.h" + +int main(int argc, char **argv) +{ + struct timex tx; + int ret, ppm; + pid_t pid; + + + printf("Running Asynchronous Frequency Changing Tests...\n"); + + pid = fork(); + if (!pid) + return system("./inconsistency-check -c 1 -t 600"); + + ppm = 500; + ret = 0; + + while (pid != waitpid(pid, &ret, WNOHANG)) { + ppm = -ppm; + tx.modes = ADJ_FREQUENCY; + tx.freq = ppm << 16; + adjtimex(&tx); + usleep(500000); + } + + /* Set things back */ + tx.modes = ADJ_FREQUENCY; + tx.offset = 0; + adjtimex(&tx); + + + if (ret) { + printf("[FAILED]\n"); + ksft_exit_fail(); + } + printf("[OK]\n"); + ksft_exit_pass(); +} diff --git a/common/bins/timers/threadtest.c b/common/bins/timers/threadtest.c new file mode 100644 index 00000000..d5564bbf --- /dev/null +++ b/common/bins/timers/threadtest.c @@ -0,0 +1,193 @@ +/* threadtest.c + * by: john stultz (johnstul@us.ibm.com) + * (C) Copyright IBM 2004, 2005, 2006, 2012 + * Licensed under the GPLv2 + * + * To build: + * $ gcc threadtest.c -o threadtest -lrt + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ +#include +#include +#include +#include +#include +#include "../kselftest.h" + +/* serializes shared list access */ +pthread_mutex_t list_lock = PTHREAD_MUTEX_INITIALIZER; +/* serializes console output */ +pthread_mutex_t print_lock = PTHREAD_MUTEX_INITIALIZER; + + +#define MAX_THREADS 128 +#define LISTSIZE 128 + +int done = 0; + +struct timespec global_list[LISTSIZE]; +int listcount = 0; + + +void checklist(const struct timespec *list, int size) +{ + int i, j; + const struct timespec *a, *b; + + /* scan the list */ + for (i = 0; i < size-1; i++) { + a = &list[i]; + b = &list[i+1]; + + /* look for any time inconsistencies */ + if ((b->tv_sec <= a->tv_sec) && + (b->tv_nsec < a->tv_nsec)) { + + /* flag other threads */ + done = 1; + + /*serialize printing to avoid junky output*/ + pthread_mutex_lock(&print_lock); + + /* dump the list */ + printf("\n"); + for (j = 0; j < size; j++) { + if (j == i) + printf("---------------\n"); + printf("%lu:%lu\n", list[j].tv_sec, list[j].tv_nsec); + if (j == i+1) + printf("---------------\n"); + } + printf("[FAILED]\n"); + + pthread_mutex_unlock(&print_lock); + } + } +} + +/* The shared thread shares a global list + * that each thread fills while holding the lock. + * This stresses clock synchronization across cpus. + */ +void *shared_thread(void *arg) +{ + while (!done) { + /* protect the list */ + pthread_mutex_lock(&list_lock); + + /* see if we're ready to check the list */ + if (listcount >= LISTSIZE) { + checklist(global_list, LISTSIZE); + listcount = 0; + } + clock_gettime(CLOCK_MONOTONIC, &global_list[listcount++]); + + pthread_mutex_unlock(&list_lock); + } + return NULL; +} + + +/* Each independent thread fills in its own + * list. This stresses clock_gettime() lock contention. + */ +void *independent_thread(void *arg) +{ + struct timespec my_list[LISTSIZE]; + int count; + + while (!done) { + /* fill the list */ + for (count = 0; count < LISTSIZE; count++) + clock_gettime(CLOCK_MONOTONIC, &my_list[count]); + checklist(my_list, LISTSIZE); + } + return NULL; +} + +#define DEFAULT_THREAD_COUNT 8 +#define DEFAULT_RUNTIME 30 + +int main(int argc, char **argv) +{ + int thread_count, i; + time_t start, now, runtime; + char buf[255]; + pthread_t pth[MAX_THREADS]; + int opt; + void *tret; + int ret = 0; + void *(*thread)(void *) = shared_thread; + + thread_count = DEFAULT_THREAD_COUNT; + runtime = DEFAULT_RUNTIME; + + /* Process arguments */ + while ((opt = getopt(argc, argv, "t:n:i")) != -1) { + switch (opt) { + case 't': + runtime = atoi(optarg); + break; + case 'n': + thread_count = atoi(optarg); + break; + case 'i': + thread = independent_thread; + printf("using independent threads\n"); + break; + default: + printf("Usage: %s [-t ] [-n ] [-i]\n", argv[0]); + printf(" -t: time to run\n"); + printf(" -n: number of threads\n"); + printf(" -i: use independent threads\n"); + return -1; + } + } + + if (thread_count > MAX_THREADS) + thread_count = MAX_THREADS; + + + setbuf(stdout, NULL); + + start = time(0); + strftime(buf, 255, "%a, %d %b %Y %T %z", localtime(&start)); + printf("%s\n", buf); + printf("Testing consistency with %i threads for %ld seconds: ", thread_count, runtime); + fflush(stdout); + + /* spawn */ + for (i = 0; i < thread_count; i++) + pthread_create(&pth[i], 0, thread, 0); + + while (time(&now) < start + runtime) { + sleep(1); + if (done) { + ret = 1; + strftime(buf, 255, "%a, %d %b %Y %T %z", localtime(&now)); + printf("%s\n", buf); + goto out; + } + } + printf("[OK]\n"); + done = 1; + +out: + /* wait */ + for (i = 0; i < thread_count; i++) + pthread_join(pth[i], &tret); + + /* die */ + if (ret) + ksft_exit_fail(); + ksft_exit_pass(); +} diff --git a/common/bins/timers/valid-adjtimex.c b/common/bins/timers/valid-adjtimex.c new file mode 100644 index 00000000..6b780105 --- /dev/null +++ b/common/bins/timers/valid-adjtimex.c @@ -0,0 +1,327 @@ +/* valid adjtimex test + * by: John Stultz + * (C) Copyright Linaro 2015 + * Licensed under the GPLv2 + * + * This test validates adjtimex interface with valid + * and invalid test data. + * + * Usage: valid-adjtimex + * + * To build: + * $ gcc valid-adjtimex.c -o valid-adjtimex -lrt + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include "../kselftest.h" + +#define ADJ_SETOFFSET 0x0100 + +#include +int clock_adjtime(clockid_t id, struct timex *tx) +{ + return syscall(__NR_clock_adjtime, id, tx); +} + + +/* clear NTP time_status & time_state */ +int clear_time_state(void) +{ + struct timex tx; + int ret; + + tx.modes = ADJ_STATUS; + tx.status = 0; + ret = adjtimex(&tx); + return ret; +} + +#define NUM_FREQ_VALID 32 +#define NUM_FREQ_OUTOFRANGE 4 +#define NUM_FREQ_INVALID 2 + +#define SHIFTED_PPM (1 << 16) + +long valid_freq[NUM_FREQ_VALID] = { + -499 * SHIFTED_PPM, + -450 * SHIFTED_PPM, + -400 * SHIFTED_PPM, + -350 * SHIFTED_PPM, + -300 * SHIFTED_PPM, + -250 * SHIFTED_PPM, + -200 * SHIFTED_PPM, + -150 * SHIFTED_PPM, + -100 * SHIFTED_PPM, + -75 * SHIFTED_PPM, + -50 * SHIFTED_PPM, + -25 * SHIFTED_PPM, + -10 * SHIFTED_PPM, + -5 * SHIFTED_PPM, + -1 * SHIFTED_PPM, + -1000, + 1 * SHIFTED_PPM, + 5 * SHIFTED_PPM, + 10 * SHIFTED_PPM, + 25 * SHIFTED_PPM, + 50 * SHIFTED_PPM, + 75 * SHIFTED_PPM, + 100 * SHIFTED_PPM, + 150 * SHIFTED_PPM, + 200 * SHIFTED_PPM, + 250 * SHIFTED_PPM, + 300 * SHIFTED_PPM, + 350 * SHIFTED_PPM, + 400 * SHIFTED_PPM, + 450 * SHIFTED_PPM, + 499 * SHIFTED_PPM, +}; + +long outofrange_freq[NUM_FREQ_OUTOFRANGE] = { + -1000 * SHIFTED_PPM, + -550 * SHIFTED_PPM, + 550 * SHIFTED_PPM, + 1000 * SHIFTED_PPM, +}; + +#define LONG_MAX (~0UL>>1) +#define LONG_MIN (-LONG_MAX - 1) + +long invalid_freq[NUM_FREQ_INVALID] = { + LONG_MAX, + LONG_MIN, +}; + +int validate_freq(void) +{ + struct timex tx; + int ret, pass = 0; + int i; + + clear_time_state(); + + memset(&tx, 0, sizeof(struct timex)); + /* Set the leap second insert flag */ + + printf("Testing ADJ_FREQ... "); + fflush(stdout); + for (i = 0; i < NUM_FREQ_VALID; i++) { + tx.modes = ADJ_FREQUENCY; + tx.freq = valid_freq[i]; + + ret = adjtimex(&tx); + if (ret < 0) { + printf("[FAIL]\n"); + printf("Error: adjtimex(ADJ_FREQ, %ld - %ld ppm\n", + valid_freq[i], valid_freq[i]>>16); + pass = -1; + goto out; + } + tx.modes = 0; + ret = adjtimex(&tx); + if (tx.freq != valid_freq[i]) { + printf("Warning: freq value %ld not what we set it (%ld)!\n", + tx.freq, valid_freq[i]); + } + } + for (i = 0; i < NUM_FREQ_OUTOFRANGE; i++) { + tx.modes = ADJ_FREQUENCY; + tx.freq = outofrange_freq[i]; + + ret = adjtimex(&tx); + if (ret < 0) { + printf("[FAIL]\n"); + printf("Error: adjtimex(ADJ_FREQ, %ld - %ld ppm\n", + outofrange_freq[i], outofrange_freq[i]>>16); + pass = -1; + goto out; + } + tx.modes = 0; + ret = adjtimex(&tx); + if (tx.freq == outofrange_freq[i]) { + printf("[FAIL]\n"); + printf("ERROR: out of range value %ld actually set!\n", + tx.freq); + pass = -1; + goto out; + } + } + + + if (sizeof(long) == 8) { /* this case only applies to 64bit systems */ + for (i = 0; i < NUM_FREQ_INVALID; i++) { + tx.modes = ADJ_FREQUENCY; + tx.freq = invalid_freq[i]; + ret = adjtimex(&tx); + if (ret >= 0) { + printf("[FAIL]\n"); + printf("Error: No failure on invalid ADJ_FREQUENCY %ld\n", + invalid_freq[i]); + pass = -1; + goto out; + } + } + } + + printf("[OK]\n"); +out: + /* reset freq to zero */ + tx.modes = ADJ_FREQUENCY; + tx.freq = 0; + ret = adjtimex(&tx); + + return pass; +} + + +int set_offset(long long offset, int use_nano) +{ + struct timex tmx = {}; + int ret; + + tmx.modes = ADJ_SETOFFSET; + if (use_nano) { + tmx.modes |= ADJ_NANO; + + tmx.time.tv_sec = offset / NSEC_PER_SEC; + tmx.time.tv_usec = offset % NSEC_PER_SEC; + + if (offset < 0 && tmx.time.tv_usec) { + tmx.time.tv_sec -= 1; + tmx.time.tv_usec += NSEC_PER_SEC; + } + } else { + tmx.time.tv_sec = offset / USEC_PER_SEC; + tmx.time.tv_usec = offset % USEC_PER_SEC; + + if (offset < 0 && tmx.time.tv_usec) { + tmx.time.tv_sec -= 1; + tmx.time.tv_usec += USEC_PER_SEC; + } + } + + ret = clock_adjtime(CLOCK_REALTIME, &tmx); + if (ret < 0) { + printf("(sec: %ld usec: %ld) ", tmx.time.tv_sec, tmx.time.tv_usec); + printf("[FAIL]\n"); + return -1; + } + return 0; +} + +int set_bad_offset(long sec, long usec, int use_nano) +{ + struct timex tmx = {}; + int ret; + + tmx.modes = ADJ_SETOFFSET; + if (use_nano) + tmx.modes |= ADJ_NANO; + + tmx.time.tv_sec = sec; + tmx.time.tv_usec = usec; + ret = clock_adjtime(CLOCK_REALTIME, &tmx); + if (ret >= 0) { + printf("Invalid (sec: %ld usec: %ld) did not fail! ", tmx.time.tv_sec, tmx.time.tv_usec); + printf("[FAIL]\n"); + return -1; + } + return 0; +} + +int validate_set_offset(void) +{ + printf("Testing ADJ_SETOFFSET... "); + fflush(stdout); + + /* Test valid values */ + if (set_offset(NSEC_PER_SEC - 1, 1)) + return -1; + + if (set_offset(-NSEC_PER_SEC + 1, 1)) + return -1; + + if (set_offset(-NSEC_PER_SEC - 1, 1)) + return -1; + + if (set_offset(5 * NSEC_PER_SEC, 1)) + return -1; + + if (set_offset(-5 * NSEC_PER_SEC, 1)) + return -1; + + if (set_offset(5 * NSEC_PER_SEC + NSEC_PER_SEC / 2, 1)) + return -1; + + if (set_offset(-5 * NSEC_PER_SEC - NSEC_PER_SEC / 2, 1)) + return -1; + + if (set_offset(USEC_PER_SEC - 1, 0)) + return -1; + + if (set_offset(-USEC_PER_SEC + 1, 0)) + return -1; + + if (set_offset(-USEC_PER_SEC - 1, 0)) + return -1; + + if (set_offset(5 * USEC_PER_SEC, 0)) + return -1; + + if (set_offset(-5 * USEC_PER_SEC, 0)) + return -1; + + if (set_offset(5 * USEC_PER_SEC + USEC_PER_SEC / 2, 0)) + return -1; + + if (set_offset(-5 * USEC_PER_SEC - USEC_PER_SEC / 2, 0)) + return -1; + + /* Test invalid values */ + if (set_bad_offset(0, -1, 1)) + return -1; + if (set_bad_offset(0, -1, 0)) + return -1; + if (set_bad_offset(0, 2 * NSEC_PER_SEC, 1)) + return -1; + if (set_bad_offset(0, 2 * USEC_PER_SEC, 0)) + return -1; + if (set_bad_offset(0, NSEC_PER_SEC, 1)) + return -1; + if (set_bad_offset(0, USEC_PER_SEC, 0)) + return -1; + if (set_bad_offset(0, -NSEC_PER_SEC, 1)) + return -1; + if (set_bad_offset(0, -USEC_PER_SEC, 0)) + return -1; + + printf("[OK]\n"); + return 0; +} + +int main(int argc, char **argv) +{ + if (validate_freq()) + ksft_exit_fail(); + + if (validate_set_offset()) + ksft_exit_fail(); + + ksft_exit_pass(); +} diff --git a/common/src/Reboot/Simple_reboot.c b/common/src/Reboot/Simple_reboot.c new file mode 100644 index 00000000..ad1ebeab --- /dev/null +++ b/common/src/Reboot/Simple_reboot.c @@ -0,0 +1,127 @@ +#include +#include +#include +#include +#include +#include +#include + +#define HEALTH_DIR "/var/reboot_health" +#define LOG_FILE "/var/reboot_health/reboot_health.log" +#define SERIAL_PORT "/dev/ttyS0" + +// Function to get the current timestamp +void get_timestamp(char *buffer, size_t size) { + time_t now = time(NULL); + struct tm *t = localtime(&now); + strftime(buffer, size, "%Y-%m-%d %H:%M:%S", t); +} + +// Function to log messages with a specified level +void log_message(const char *level, const char *message) { + char timestamp[64]; + get_timestamp(timestamp, sizeof(timestamp)); + + // Log to file + FILE *log = fopen(LOG_FILE, "a"); + if (log) { + fprintf(log, "[%s] [%s] %s\n", timestamp, level, message); + fclose(log); + } + + // Log to serial port (for visibility) + FILE *serial = fopen(SERIAL_PORT, "w"); + if (serial) { + fprintf(serial, "[%s] [%s] %s\n", timestamp, level, message); + fclose(serial); + } +} + +// Helper functions for logging +void log_info(const char *message) { log_message("INFO", message); } +void log_pass(const char *message) { log_message("PASS", message); } +void log_fail(const char *message) { log_message("FAIL", message); } +void log_error(const char *message) { log_message("ERROR", message); } + +// Check if the system has recently rebooted by reading uptime +void check_system_reboot() { + FILE *fp; + char buffer[128]; + unsigned long uptime = 0; + + fp = fopen("/proc/uptime", "r"); + if (fp == NULL) { + log_error("Failed to read /proc/uptime."); + exit(1); + } + fscanf(fp, "%s", buffer); + fclose(fp); + + uptime = strtol(buffer, NULL, 10); // Uptime in seconds + + if (uptime < 300) { // If uptime is less than 5 minutes, assume the system has rebooted recently + log_info("System has rebooted recently (uptime < 300 seconds)."); + } else { + log_info("System uptime is normal (no recent reboot detected)."); + } +} + +// Check if the system is running a valid shell (PID 1) +void check_shell_alive() { + FILE *fp = fopen("/proc/1/comm", "r"); + if (!fp) { + log_fail("Cannot open /proc/1/comm. System critical error."); + exit(1); + } + + char buf[64] = {0}; + if (!fgets(buf, sizeof(buf), fp)) { + fclose(fp); + log_fail("Failed to read PID 1 comm."); + exit(1); + } + fclose(fp); + + buf[strcspn(buf, "\n")] = 0; // Remove trailing newline + + if (strstr(buf, "init") || strstr(buf, "systemd") || strstr(buf, "busybox")) { + char msg[128]; + snprintf(msg, sizeof(msg), "Booted successfully with PID1 -> %s", buf); + log_pass(msg); // Log PASS + } else { + char msg[128]; + snprintf(msg, sizeof(msg), "Boot failed. Unexpected PID1: %s", buf); + log_fail(msg); // Log FAIL + + log_info("Attempting reboot now..."); + sync(); + reboot(RB_AUTOBOOT); + } +} + +// Create the directory if it doesn't exist +int create_directory_if_not_exists(const char *dir_path) { + struct stat st = {0}; + if (stat(dir_path, &st) == -1) { + if (mkdir(dir_path, 0755) == -1) { + log_error("Failed to create directory /var/reboot_health."); + return -1; + } + log_info("Created directory /var/reboot_health."); + } + return 0; +} + +int main() { + // Ensure the directory exists before proceeding + if (create_directory_if_not_exists(HEALTH_DIR) != 0) { + log_error("Exiting due to failure in creating directory."); + return 1; // Directory creation failed + } + + check_system_reboot(); // Check if the system has recently rebooted + check_shell_alive(); // Check if the system shell (PID 1) is alive and healthy + + log_info("Reboot health check completed."); + return 0; +} diff --git a/common/src/Reboot/reboot_health_check b/common/src/Reboot/reboot_health_check new file mode 100644 index 00000000..b9f43dd4 Binary files /dev/null and b/common/src/Reboot/reboot_health_check differ diff --git a/common/src/Reboot/reboot_health_check.c b/common/src/Reboot/reboot_health_check.c new file mode 100644 index 00000000..a264c438 --- /dev/null +++ b/common/src/Reboot/reboot_health_check.c @@ -0,0 +1,124 @@ +#include +#include +#include +#include +#include +#include + +#define LOG_DIR "/var/reboot_health" +#define LOG_FILE "/var/reboot_health/reboot_health.log" +#define RESULT_FILE "/var/reboot_health/test_result.txt" // Separate result file for CI/CD + +// Function to check if the system rebooted (log file exists) +int check_system_rebooted() { + FILE *file = fopen(LOG_FILE, "r"); + if (file == NULL) { + return 0; // No log file means no reboot has occurred + } + fclose(file); + return 1; // Log file exists, system has rebooted +} + +// Function to log the result of the health check +void log_health_check(int status) { + FILE *log_file = fopen(LOG_FILE, "a"); + if (log_file == NULL) { + perror("Failed to open log file"); + exit(1); + } + + time_t now = time(NULL); + char *time_str = ctime(&now); + time_str[strlen(time_str) - 1] = '\0'; // Remove the newline character from ctime's output + + if (status) { + fprintf(log_file, "[%s] PASS: System rebooted successfully.\n", time_str); + } else { + fprintf(log_file, "[%s] FAIL: System did not reboot successfully.\n", time_str); + } + + fclose(log_file); +} + +// Function to write a result (PASS/FAIL) for CI/CD into a separate file +void write_result_for_cicd(int status) { + FILE *result_file = fopen(RESULT_FILE, "a"); + if (result_file == NULL) { + perror("Failed to open result file"); + exit(1); + } + + time_t now = time(NULL); + char *time_str = ctime(&now); + time_str[strlen(time_str) - 1] = '\0'; // Remove the newline character + + if (status) { + fprintf(result_file, "[%s] PASS\n", time_str); + } else { + fprintf(result_file, "[%s] FAIL\n", time_str); + } + + fclose(result_file); +} + +// Function to ensure the log directory exists +void create_log_directory() { + if (access(LOG_DIR, F_OK) == -1) { + if (mkdir(LOG_DIR, 0755) != 0) { + perror("Failed to create log directory"); + exit(1); + } + } +} + +// Function to check if the log and result files exist, create them if not +void ensure_files_exist() { + // Create log file if not exists + FILE *log_file = fopen(LOG_FILE, "a"); + if (log_file == NULL) { + perror("Failed to open log file"); + exit(1); + } + fclose(log_file); // Close after checking/creating the file + + // Create result file if not exists + FILE *result_file = fopen(RESULT_FILE, "w"); + if (result_file == NULL) { + perror("Failed to open result file"); + exit(1); + } + fclose(result_file); // Close after checking/creating the file +} + +// Watchdog timer simulation +void watchdog_timer() { + int counter = 0; + while (1) { + sleep(5); // Check every 5 seconds + + counter++; + + if (check_system_rebooted()) { + log_health_check(1); // Log success if system rebooted + write_result_for_cicd(1); // Write pass to CI/CD result file + break; // Exit the loop after success + } + + if (counter >= 12) { // Timeout after 1 minute + log_health_check(0); // Log failure if no reboot detected + write_result_for_cicd(0); // Write fail to CI/CD result file + break; // Exit the loop after failure + } + } +} + +int main() { + // Ensure the necessary directories and files exist + create_log_directory(); + ensure_files_exist(); + + // Start the watchdog timer + watchdog_timer(); + + return 0; +} diff --git a/common/src/Reboot/setup_systemd.sh b/common/src/Reboot/setup_systemd.sh new file mode 100644 index 00000000..8cb242a5 --- /dev/null +++ b/common/src/Reboot/setup_systemd.sh @@ -0,0 +1,92 @@ +#!/bin/sh +# Import test suite definitions +set -x +chmod 777 -R /var/common/* +__RUNNER_UTILS_BIN_DIR="/var/common" +# Find test case path by name +find_test_case_bin_by_name() { + local test_name="$1" + find $__RUNNER_UTILS_BIN_DIR -type f -iname "$test_name" 2>/dev/null +} + +# Define variables +APP_PATH=$(find_test_case_bin_by_name "reboot_health_check") +APP_DIR=$(readlink -f $APP_PATH) +SERVICE_FILE="/etc/systemd/system/reboot-health.service" + +# Colors for console output +RED="\033[0;31m" +GREEN="\033[0;32m" +YELLOW="\033[1;33m" +NC="\033[0m" # No Color + +# Function to log +log_info() { + echo -e "${YELLOW}[INFO]${NC} $1" +} + +log_success() { + echo -e "${GREEN}[SUCCESS]${NC} $1" +} + +log_error() { + echo -e "${RED}[ERROR]${NC} $1" +} + +# Verify app binary exists +if [ ! -f "$APP_PATH" ]; then + log_error "App binary $APP_PATH not found!" + exit 1 +fi + +# Make app binary executable +chmod +x "$APP_PATH" +log_info "Made app binary executable: $APP_PATH" + +# Create systemd service file +cat << EOF > "$SERVICE_FILE" +[Unit] +Description=Reboot Health Check Service +After=default.target + +[Service] +Type=simple +ExecStart=$APP_PATH +StandardOutput=append:$APP_DIR/service_output.log +StandardError=append:$APP_DIR/service_error.log +Restart=on-failure +RestartSec=5s + +[Install] +WantedBy=multi-user.target +EOF + +if [ $? -eq 0 ]; then + log_info "Created systemd service file: $SERVICE_FILE" +else + log_error "Failed to create systemd service file!" + exit 1 +fi + +# Reload systemd +systemctl daemon-reload +log_info "Systemd daemon reloaded." + +# Enable and start service +systemctl enable reboot-health.service +if [ $? -eq 0 ]; then + log_info "Service enabled at boot." +else + log_error "Failed to enable service!" + exit 1 +fi + +systemctl start reboot-health.service +if [ $? -eq 0 ]; then + log_success "Service started successfully!" +else + log_error "Failed to start service!" + exit 1 +fi + +exit 0