System hangs when "pwrmgmt" test runs to "cpuhotplug_02" on Origen with Linaro ubuntu image.

Bug #1038079 reported by Botao on 2012-08-17
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Ubuntu
Undecided
Unassigned

Bug Description

On Origen board with Linaro ubuntu pre-built image:

http://snapshots.linaro.org/precise/pre-built/leb-origen/273/leb-origen-precise_ubuntu-desktop_20120812-273.img.gz

After launched LAVA test "pwrmgmt", system hangs when it runs to "cpuhotplug_02" test suite, and no any output then:

root@linaro-ubuntu-desktop:~# lava-test run pwrmgmt
LAVA: Running shell command: 'cd pm-qa && make check '
LAVA: (stdout) make[1]: Entering directory `/root/.local/share/lava_test/installed-tests/pwrmgmt/pm-qa/utils'
LAVA: (stderr) make[1]: [uncheck] Error 1 (ignored)
LAVA: (stdout) make[1]: Leaving directory `/root/.local/share/lava_test/installed-tests/pwrmgmt/pm-qa/utils'
LAVA: (stdout) make[1]: Entering directory `/root/.local/share/lava_test/installed-tests/pwrmgmt/pm-qa/cpufreq'
LAVA: (stdout) ###
LAVA: (stdout) ### cpufreq_01:
LAVA: (stdout) ### test the cpufreq framework is available for frequency
LAVA: (stdout) ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpufreq_01
LAVA: (stdout) ###
LAVA: (stdout) cpufreq_01.0/cpu0: checking 'scaling_available_frequencies' exists... pass
LAVA: (stdout) cpufreq_01.1/cpu0: checking 'scaling_cur_freq' exists... pass
LAVA: (stdout) cpufreq_01.2/cpu0: checking 'scaling_setspeed' exists... pass
LAVA: (stdout) cpufreq_01.0/cpu1: checking 'scaling_available_frequencies' exists... pass
LAVA: (stdout) cpufreq_01.1/cpu1: checking 'scaling_cur_freq' exists... pass
LAVA: (stdout) cpufreq_01.2/cpu1: checking 'scaling_setspeed' exists... pass
LAVA: (stdout) ###
LAVA: (stdout) ### cpufreq_02:
LAVA: (stdout) ### test the cpufreq framework is available for governor
LAVA: (stdout) ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpufreq_02
LAVA: (stdout) ###
LAVA: (stdout) cpufreq_02.0/cpu0: checking 'scaling_available_governors' exists... pass
LAVA: (stdout) cpufreq_02.1/cpu0: checking 'scaling_governor' exists... pass
LAVA: (stdout) cpufreq_02.0/cpu1: checking 'scaling_available_governors' exists... pass
LAVA: (stdout) cpufreq_02.1/cpu1: checking 'scaling_governor' exists... pass
LAVA: (stdout) ###
LAVA: (stdout) ### cpufreq_03:
LAVA: (stdout) ### test the governor change is effective
LAVA: (stdout) ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpufreq_03
LAVA: (stdout) ###
LAVA: (stdout) cpufreq_03.0/cpu0: checking governor change to 'conservative'... pass
LAVA: (stdout) cpufreq_03.1/cpu0: checking governor change to 'userspace'... pass
LAVA: (stdout) cpufreq_03.2/cpu0: checking governor change to 'powersave'... pass
LAVA: (stdout) cpufreq_03.3/cpu0: checking governor change to 'ondemand'... pass
LAVA: (stdout) cpufreq_03.4/cpu0: checking governor change to 'performance'... pass
LAVA: (stdout) cpufreq_03.0/cpu1: checking governor change to 'conservative'... pass
LAVA: (stdout) cpufreq_03.1/cpu1: checking governor change to 'userspace'... pass
LAVA: (stdout) cpufreq_03.2/cpu1: checking governor change to 'powersave'... pass
LAVA: (stdout) cpufreq_03.3/cpu1: checking governor change to 'ondemand'... pass
LAVA: (stdout) cpufreq_03.4/cpu1: checking governor change to 'performance'... pass
LAVA: (stdout) ###
LAVA: (stdout) ### cpufreq_04:
LAVA: (stdout) ### test the change of the frequency is effective in 'userspace' mode
LAVA: (stdout) ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpufreq_04
LAVA: (stdout) ###
LAVA: (stdout) cpufreq_04.0/cpu0: checking setting frequency '1.2 GHz'... pass
LAVA: (stdout) cpufreq_04.1/cpu0: checking setting frequency '1000.0 MHz'... pass
LAVA: (stdout) cpufreq_04.2/cpu0: checking setting frequency '800.0 MHz'... pass
LAVA: (stdout) cpufreq_04.3/cpu0: checking setting frequency '500.0 MHz'... pass
LAVA: (stdout) cpufreq_04.4/cpu0: checking setting frequency '200.0 MHz'... pass
LAVA: (stdout) cpufreq_04.0/cpu1: checking setting frequency '1.2 GHz'... pass
LAVA: (stdout) cpufreq_04.1/cpu1: checking setting frequency '1000.0 MHz'... pass
LAVA: (stdout) cpufreq_04.2/cpu1: checking setting frequency '800.0 MHz'... pass
LAVA: (stdout) cpufreq_04.3/cpu1: checking setting frequency '500.0 MHz'... pass
LAVA: (stdout) cpufreq_04.4/cpu1: checking setting frequency '200.0 MHz'... pass
LAVA: (stdout) ###
LAVA: (stdout) ### cpufreq_05:
LAVA: (stdout) ### test 'ondemand' and 'conservative' trigger correctly the configuration directory
LAVA: (stdout) ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpufreq_05
LAVA: (stdout) ###
LAVA: (stdout) cpufreq_05.0: checking 'ondemand' directory exists... pass
LAVA: (stdout) cpufreq_05.1: checking 'conservative' directory exists... pass
LAVA: (stdout) cpufreq_05.2: checking 'ondemand' directory is not there... pass
LAVA: (stdout) cpufreq_05.3: checking 'conservative' directory is not there... pass
LAVA: (stdout) cpufreq_05.4: combine governors not supported... skip
LAVA: (stdout) ###
LAVA: (stdout) ### cpufreq_06:
LAVA: (stdout) ### test the change of the frequencies affect the performances of a test program
LAVA: (stdout) ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpufreq_06
LAVA: (stdout) ###
LAVA: (stdout) cpufreq_06.0/cpu0: checking deviation for frequency 1.2 GHz... pass
LAVA: (stdout) cpufreq_06.1/cpu0: checking deviation for frequency 1000.0 MHz... pass
LAVA: (stdout) cpufreq_06.2/cpu0: checking deviation for frequency 800.0 MHz... pass
LAVA: (stdout) cpufreq_06.3/cpu0: checking deviation for frequency 500.0 MHz... pass
LAVA: (stdout) cpufreq_06.4/cpu0: checking deviation for frequency 200.0 MHz... pass
LAVA: (stdout) cpufreq_06.0/cpu1: checking deviation for frequency 1.2 GHz... pass
LAVA: (stdout) cpufreq_06.1/cpu1: checking deviation for frequency 1000.0 MHz... pass
LAVA: (stdout) cpufreq_06.2/cpu1: checking deviation for frequency 800.0 MHz... pass
LAVA: (stdout) cpufreq_06.3/cpu1: checking deviation for frequency 500.0 MHz... pass
LAVA: (stdout) cpufreq_06.4/cpu1: checking deviation for frequency 200.0 MHz... pass
LAVA: (stdout) ###
LAVA: (stdout) ### cpufreq_07:
LAVA: (stdout) ### test the load of the cpu affects the frequency with 'ondemand'
LAVA: (stdout) ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpufreq_07
LAVA: (stdout) ###
LAVA: (stdout) cpufreq_07.0/cpu0: checking 'ondemand' increase frequency on load... pass
LAVA: (stdout) cpufreq_07.1/cpu0: checking 'ondemand' decrease frequency on idle... pass
LAVA: (stdout) cpufreq_07.0/cpu1: checking 'ondemand' increase frequency on load... pass
LAVA: (stdout) cpufreq_07.1/cpu1: checking 'ondemand' decrease frequency on idle... pass
LAVA: (stdout) ###
LAVA: (stdout) ### cpufreq_08:
LAVA: (stdout) ### test the load of the cpu does not affect the frequency with 'userspace'
LAVA: (stdout) ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpufreq_08
LAVA: (stdout) ###
LAVA: (stdout) cpufreq_08.0/cpu0: checking 'userspace' 1.2 GHz is fixed... pass
LAVA: (stdout) cpufreq_08.1/cpu0: checking 'userspace' 1000.0 MHz is fixed... pass
LAVA: (stdout) cpufreq_08.2/cpu0: checking 'userspace' 800.0 MHz is fixed... pass
LAVA: (stdout) cpufreq_08.3/cpu0: checking 'userspace' 500.0 MHz is fixed... pass
LAVA: (stdout) cpufreq_08.4/cpu0: checking 'userspace' 200.0 MHz is fixed... pass
LAVA: (stdout) cpufreq_08.0/cpu1: checking 'userspace' 1.2 GHz is fixed... pass
LAVA: (stdout) cpufreq_08.1/cpu1: checking 'userspace' 1000.0 MHz is fixed... pass
LAVA: (stdout) cpufreq_08.2/cpu1: checking 'userspace' 800.0 MHz is fixed... pass
LAVA: (stdout) cpufreq_08.3/cpu1: checking 'userspace' 500.0 MHz is fixed... pass
LAVA: (stdout) cpufreq_08.4/cpu1: checking 'userspace' 200.0 MHz is fixed... pass
LAVA: (stdout) ###
LAVA: (stdout) ### cpufreq_09:
LAVA: (stdout) ### test the load of the cpu does not affect the frequency with 'powersave'
LAVA: (stdout) ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpufreq_09
LAVA: (stdout) ###
LAVA: (stdout) cpufreq_09.0/cpu0: checking 'powersave' sets frequency to 200.0 MHz... pass
LAVA: (stdout) cpufreq_09.1/cpu0: checking 'powersave' frequency 200.0 MHz is fixed... pass
LAVA: (stdout) cpufreq_09.0/cpu1: checking 'powersave' sets frequency to 200.0 MHz... pass
LAVA: (stdout) cpufreq_09.1/cpu1: checking 'powersave' frequency 200.0 MHz is fixed... pass
LAVA: (stdout) make[1]: Leaving directory `/root/.local/share/lava_test/installed-tests/pwrmgmt/pm-qa/cpufreq'
LAVA: (stdout) make[1]: Entering directory `/root/.local/share/lava_test/installed-tests/pwrmgmt/pm-qa/cpuhotplug'
LAVA: (stdout) ###
LAVA: (stdout) ### 1_sanity_check:
LAVA: (stdout) ### ensure all the cpus are online before the tests
LAVA: (stdout) ### ###
LAVA: (stdout) 1_sanity_check.0: checking all cpu are online... pass
LAVA: (stdout) ###
LAVA: (stdout) ### cpuhotplug_01:
LAVA: (stdout) ### test the sysfs files are present
LAVA: (stdout) ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpuhotplug_01
LAVA: (stdout) ###
LAVA: (stdout) cpuhotplug_01.0: checking 'online' exists... pass
LAVA: (stdout) cpuhotplug_01.1: checking 'offline' exists... pass
LAVA: (stdout) cpuhotplug_01.2: checking 'possible' exists... pass
LAVA: (stdout) cpuhotplug_01.3: checking 'present' exists... pass
LAVA: (stdout) cpuhotplug_01.0/cpu0: checking 'online' exists... pass
LAVA: (stdout) cpuhotplug_01.0/cpu1: checking 'online' exists... pass
LAVA: (stdout) ###
LAVA: (stdout) ### cpuhotplug_02:
LAVA: (stdout) ### test the cpu state is reflected in sysfs
LAVA: (stdout) ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpuhotplug_02
LAVA: (stdout) ###

IRQ80 no longer affine to CPU1
CPU1: shutdown

I tried twice but got same result.

#############################################################
This behaviour is observed on following images:

http://snapshots.linaro.org/precise/pre-built/leb-origen/273/leb-origen-precise_ubuntu-desktop_20120812-273.img.gz

http://snapshots.linaro.org/precise/pre-built/leb-origen/287/leb-origen-precise_ubuntu-desktop_20120819-287.img.gz

http://snapshots.linaro.org/precise/pre-built/leb-origen/312/leb-origen-precise_ubuntu-desktop_20120828-312.img.gz

http://snapshots.linaro.org/precise/pre-built/leb-origen/316/leb-origen-precise_ubuntu-desktop_20120830-316.img.gz

http://snapshots.linaro.org/precise/pre-built/leb-origen/336/leb-origen-precise_ubuntu-desktop_20120909-336.img.gz

http://snapshots.linaro.org/precise/pre-built/leb-origen/349/leb-origen-precise_ubuntu-desktop_20120916-349.img.gz

https://snapshots.linaro.org/precise/pre-built/leb-origen/365/leb-origen-precise_ubuntu-desktop_20120924-365.img.gz

http://snapshots.linaro.org/precise/hwpacks/leb-origen/377/hwpack_linaro-leb-origen_20120928-377_armhf_supported.tar.gz

http://snapshots.linaro.org/precise/pre-built/leb-origen/395/leb-origen-precise_ubuntu-desktop_20121007-395.img.gz

http://snapshots.linaro.org/precise/pre-built/leb-origen/409/leb-origen-precise_ubuntu-desktop_20121014-409.img.gz

http://snapshots.linaro.org/precise/pre-built/leb-origen/480/leb-origen-precise_ubuntu-desktop_20121119-480.img.gz

Botao (botao-sun) wrote :
Botao (botao-sun) wrote :
Botao (botao-sun) wrote :

Same behaviour observed as initial bug description on Samsung Origen board with Linaro ubuntu pre-built image:

http://snapshots.linaro.org/precise/pre-built/leb-origen/316/leb-origen-precise_ubuntu-desktop_20120830-316.img.gz

Botao (botao-sun) on 2012-09-12
description: updated
Botao (botao-sun) on 2012-09-18
description: updated
Botao (botao-sun) on 2012-09-26
description: updated
Botao (botao-sun) on 2012-10-04
description: updated
Botao (botao-sun) on 2012-10-10
description: updated
Botao (botao-sun) on 2012-10-17
description: updated
Botao (botao-sun) wrote :

On Samsung Origen board with Linaro ubuntu pre-built image:

https://snapshots.linaro.org/precise/pre-built/leb-origen/424/leb-origen-precise_ubuntu-desktop_20121021-424.img.gz

Now Power Management test would not hang the system, but still have many errors in test result. Please refer to attachment to get full test result.

Soumya Basak (soumya-basak) wrote :

Observed on the Ubuntu Origen build

http://snapshots.linaro.org/precise/pre-built/leb-origen/453/leb-origen-precise_ubuntu-desktop_20121105-453.img.gz

serial log:

root@linaro-ubuntu-desktop:~# [ 2197.425000] CPU1: failed to boot: -38
[ 2198.655000] CPU1: failed to boot: -38
[ 2202.095000] CPU1: failed to boot: -38
[ 2203.290000] CPU1: failed to boot: -38
[ 2204.525000] CPU1: failed to boot: -38
[ 2205.785000] CPU1: failed to boot: -38
[ 2208.280000] CPU1: failed to boot: -38
[ 2453.680000] CPU1: failed to boot: -38

the error message is shown on serial console.

Botao (botao-sun) wrote :

On Samsung Origen board with Linaro ubuntu pre-built image:

http://snapshots.linaro.org/precise/pre-built/leb-origen/464/leb-origen-precise_ubuntu-desktop_20121111-464.img.gz

"lava-test run pwrmgmt" can run and finish successfully, but still several failed test result. Please refer to attachment to get completed log.

description: updated
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers