Some test cases failed in power management on Linux Linaro ubuntu TI Panda 4460.

Bug #1194684 reported by Botao
16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro PMWG QA
Fix Released
Undecided
sanjay singh rawat
Linaro Ubuntu
Fix Released
Undecided
Unassigned

Bug Description

On TI Panda 4460 board with Linux Linaro ubuntu Raring image:

http://snapshots.linaro.org/ubuntu/pre-built/panda/376/panda-raring_developer_20130623-376.img.gz

some test cases failed:

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... Err
LAVA: (stdout) cpufreq_01.0/cpu1: checking 'scaling_available_frequencies' exists... Err
LAVA: (stdout) -------- total = 2
LAVA: (stdout) -------- pass = 0
LAVA: (stdout) -------- fail = 2
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... Err
LAVA: (stdout) cpufreq_02.0/cpu1: checking 'scaling_available_governors' exists... Err
LAVA: (stdout) -------- total = 2
LAVA: (stdout) -------- pass = 0
LAVA: (stdout) -------- fail = 2
LAVA: (stdout) ###

LAVA: (stdout) cpufreq_05.3: checking 'ondemand' directory exists... Err
LAVA: (stdout) cpufreq_05.4: checking 'conservative' directory exists... Err

LAVA: (stdout) ### cpuhotplug_07:
LAVA: (stdout) ### test userspace notification
LAVA: (stdout) ### https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#cpuhotplug_07
LAVA: (stdout) ###
LAVA: (stdout) cpuhotplug_07.0/cpu1: checking offline event was received... Err
LAVA: (stdout) cpuhotplug_07.1/cpu1: checking online event was received... Err
LAVA: (stdout) -------- total = 2
LAVA: (stdout) -------- pass = 0
LAVA: (stdout) -------- fail = 2
LAVA: (stdout) ###

Please refer to attachment to get full test result output.

Revision history for this message
Botao (botao-sun) wrote :
Revision history for this message
Botao (botao-sun) wrote :

Now this test has been fully automated in LAVA, which the dashboard can be found here:

http://validation.linaro.org/lava-server/dashboard/image-reports/linux-linaro-tracking-panda-es

According to the latest test result:

http://validation.linaro.org/lava-server/dashboard/streams/private/team/linaro/pre-built-leb-panda-es/bundles/e2c3839b437ca91c8ef3d13758f498a3bcc6fc07/be357cad-52fd-4a2b-8023-8d223a605061/

This issue still exists.

Failure list:

cpufreq_01.0/cpu0
cpufreq_01.0/cpu1
cpufreq_02.0/cpu0
cpufreq_02.0/cpu1
cpufreq_05.3
cpufreq_05.4
cpuhotplug_07.0/cpu1

Revision history for this message
Amit Kucheria (amitk) wrote :

Sanjay, have a quick look to see if some config options are missing in the kernel. If buggy code, TI LT should fix.

Changed in linaro-ubuntu:
assignee: nobody → sanjay singh rawat (sanjay-rawat)
Revision history for this message
Milosz Wasilewski (mwasilew) wrote :

Sanjay,
Any progress here?

Revision history for this message
Milosz Wasilewski (mwasilew) wrote :

cpuhotplug_07 also fails on highbank (https://bugs.launchpad.net/linaro-power-qa/+bug/1230403) so this issue might be similar.

Fathi Boudra (fboudra)
Changed in linaro-power-qa:
assignee: nobody → sanjay singh rawat (sanjay-rawat)
Changed in linaro-ubuntu:
assignee: sanjay singh rawat (sanjay-rawat) → nobody
Revision history for this message
Milosz Wasilewski (mwasilew) wrote :

After a short chat with Sanjay it appears that cpufreq driver might be disabled in the kernel config.

Revision history for this message
Botao (botao-sun) wrote :

Based on the Kernel configuration file of Linux Linaro ubuntu build 511 (refer to attachment):

http://snapshots.linaro.org/raring/pre-built/panda/511/panda-raring_developer_20131030-511.img.gz

We have following items related to CPU frequency and drivers:

CONFIG_CPU_FREQ=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_INTERACTIVE is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
CONFIG_CPU_FREQ_GOV_COMMON=y
# CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set
# CONFIG_CPU_FREQ_GOV_INTERACTIVE is not set
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
# CONFIG_CPU_FREQ_GOV_POWERSAVE is not set
# CONFIG_CPU_FREQ_GOV_USERSPACE is not set
CONFIG_CPU_FREQ_STAT=y
# CONFIG_CPU_FREQ_STAT_DETAILS is not set
CONFIG_CPU_FREQ_TABLE=y

# CONFIG_ARM_KIRKWOOD_CPUFREQ is not set
CONFIG_ARM_OMAP2PLUS_CPUFREQ=y
# CONFIG_GENERIC_CPUFREQ_CPU0 is not set
CONFIG_ARCH_HAS_CPUFREQ=y

# CONFIG_CPU_IDLE_MULTIPLE_DRIVERS is not set
# CONFIG_DEBUG_DRIVER is not set
# CONFIG_RAW_DRIVER is not set
CONFIG_SND_DRIVERS=y
# CONFIG_VIRT_DRIVERS is not set

For all setting items, please refer to attachment.

Revision history for this message
sanjay singh rawat (sanjay-rawat) wrote :

Directives are fine the issues is with the TI driver, failing to get the resource.

Revision history for this message
Botao (botao-sun) wrote :

@sanjay, if this issue is blocked by lack of source code in TI driver, would you please just remove those failed test cases for TI Panda board?

Changed in linaro-ubuntu:
status: New → Confirmed
Revision history for this message
Botao (botao-sun) wrote :

Based on the daily test dashboard for TI Panda Linux Linaro ubuntu build 611, all 155 power management test cases passed. But let's wait & see for a longer time since there is still no new build available so far.

https://validation.linaro.org/dashboard/streams/private/team/linaro/pre-built-leb-panda-es/bundles/f5f406989877f333d1f9b41ad9ed0d48dfb534a8/

Revision history for this message
Botao (botao-sun) wrote :
Changed in linaro-power-qa:
status: New → Fix Released
Changed in linaro-ubuntu:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.