[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20220512130324.GA36375@xsang-OptiPlex-9020>
Date: Thu, 12 May 2022 21:03:24 +0800
From: kernel test robot <oliver.sang@...el.com>
To: Schspa Shi <schspa@...il.com>
Cc: 0day robot <lkp@...el.com>, LKML <linux-kernel@...r.kernel.org>,
lkp@...ts.01.org
Subject: [cpufreq] 20a6d4ad1a: INFO:task_blocked_for_more_than#seconds
Greeting,
FYI, we noticed the following commit (built with gcc-11):
commit: 20a6d4ad1a16fd15e55f689392bf849f5f2c99a1 ("cpufreq: fix race on cpufreq online")
url: https://github.com/intel-lab-lkp/linux/commits/UPDATE-20220510-234432/Schspa-Shi/cpufreq-fix-race-on-cpufreq-online/20220421-031616
in testcase: boot
on test machine: qemu-system-i386 -enable-kvm -cpu SandyBridge -smp 2 -m 4G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+-----------------------------------------+------------+------------+
| | a8a4f8e63b | 20a6d4ad1a |
+-----------------------------------------+------------+------------+
| boot_successes | 30 | 0 |
| boot_failures | 0 | 30 |
| INFO:task_blocked_for_more_than#seconds | 0 | 30 |
| BUG:kernel_hang_in_boot_stage | 0 | 30 |
+-----------------------------------------+------------+------------+
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <oliver.sang@...el.com>
[ 4.989357][ T14] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input3
[ 333.320241][ T10] kworker/dying (10) used greatest stack depth: 7088 bytes left
[ 988.667959][ T24] INFO: task swapper/0:1 blocked for more than 491 seconds.
[ 988.669822][ T24] Not tainted 5.18.0-rc3-00088-g20a6d4ad1a16 #1
[ 988.671587][ T24] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 988.673843][ T24] task:swapper/0 state:D stack: 6068 pid: 1 ppid: 0 flags:0x00004000
[ 988.676248][ T24] Call Trace:
[ 988.677199][ T24] __schedule+0x1c2/0x670
[ 988.678516][ T24] schedule+0x48/0xc0
[ 988.679417][ T24] rwsem_down_write_slowpath+0x1d3/0x360
[ 988.680806][ T24] down_write+0x44/0x50
[ 988.681975][ T24] cpufreq_policy_free+0x10b/0x150
[ 988.683328][ T24] cpufreq_online+0x99/0x6f0
[ 988.684566][ T24] ? text_poke_finish+0x17/0x30
[ 988.685860][ T24] ? __might_sleep+0x30/0x80
[ 988.687130][ T24] cpufreq_add_dev+0x4d/0x80
[ 988.688353][ T24] subsys_interface_register+0xd8/0xf0
[ 988.689729][ T24] cpufreq_register_driver+0x12d/0x230
[ 988.691204][ T24] acpi_cpufreq_init+0x1a1/0x1cc
[ 988.692545][ T24] ? CPU_FREQ_GOV_ONDEMAND_init+0xf/0xf
[ 988.702130][ T24] do_one_initcall+0x3c/0x1c0
[ 988.703481][ T24] ? rdinit_setup+0x38/0x38
[ 988.704766][ T24] do_initcalls+0xf4/0x116
[ 988.705937][ T24] kernel_init_freeable+0xf9/0x129
[ 988.707271][ T24] ? rest_init+0xd0/0xd0
[ 988.708492][ T24] kernel_init+0x15/0x110
[ 988.709612][ T24] ? schedule_tail_wrapper+0x9/0xc
[ 988.711004][ T24] ret_from_fork+0x1c/0x28
BUG: kernel hang in boot stage
To reproduce:
# build kernel
cd linux
cp config-5.18.0-rc3-00088-g20a6d4ad1a16 .config
make HOSTCC=gcc-11 CC=gcc-11 ARCH=i386 olddefconfig prepare modules_prepare bzImage modules
make HOSTCC=gcc-11 CC=gcc-11 ARCH=i386 INSTALL_MOD_PATH=<mod-install-dir> modules_install
cd <mod-install-dir>
find lib/ | cpio -o -H newc --quiet | gzip > modules.cgz
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> -m modules.cgz job-script # job-script is attached in this email
# if come across any failure that blocks the test,
# please remove ~/.lkp and /lkp dir to run from a clean state.
--
0-DAY CI Kernel Test Service
https://01.org/lkp
View attachment "config-5.18.0-rc3-00088-g20a6d4ad1a16" of type "text/plain" (132544 bytes)
View attachment "job-script" of type "text/plain" (4866 bytes)
Download attachment "dmesg.xz" of type "application/x-xz" (10960 bytes)
Powered by blists - more mailing lists