Bug 460942

Summary: pm-profiler service start fails @ missing ".../link_power_management_policy"
Product: [openSUSE] openSUSE 11.1 Reporter: Forgotten User 7645792743 <forgotten_7645792743>
Component: KernelAssignee: Holger Macht <hmacht>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 11.1   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Forgotten User 7645792743 2008-12-19 19:39:36 UTC
on new OS11.1 install,

	Linux server 2.6.27.7-9-default #1 SMP 2008-12-04 18:10:04 +0100 x86_64 x86_64 x86_64 GNU/Linux

following instruction for use of "pm-profiler"

	cat /usr/share/doc/packages/pm-profiler/README
	 ...
	 1. mkdir /etc/pm-profiler/<profile name>
	 2. cp /usr/share/doc/packages/pm-profiler/config.template \
		   /etc/pm-profiler/<profile name>/config
	 3. Edit the settings in your profile configuration. You may even remove
		some variables you do not need. They will be handled like empty
		variables, the settings will not be touched at all.
	 4. Edit /etc/pm-profiler.conf and add the profile name to the
		PM_PROFILER_PROFILE="" variable
	 5. Either use 'rcpm-profiler start' or
		'/usr/lib/pm-profiler/enable-profile <profile name>' to activate the profile
	 ...

with config as,

	cat /etc/pm-profiler.conf 
		PM_PROFILER_PROFILE="low_latency"

	cat /etc/pm-profiler/low_latency/config
		NAME="Low Latency Computing"
		DESCRIPTION="Profile optimized for low latency and best performance with no consideration of power consumption."
		CPUFREQ_GOVERNOR="performance"
		CPUFREQ_SCHED_MC_POWER_SAVINGS="0"
		SATA_ALPM="max_performance"
		DIRTY_WRITEBACK_CENTISECS="300"

@ service launch,

	rcpm-profiler start
		Activating power management profile low_latency/usr/lib/pm-profiler/enable-profile: line 71: /sys/class/scsi_host/host?/link_power_management_policy: No such file or directory

checking,

	ls -1d /sys/class/scsi_host/host?
		/sys/class/scsi_host/host0
		/sys/class/scsi_host/host1
		/sys/class/scsi_host/host2
		/sys/class/scsi_host/host3
		/sys/class/scsi_host/host4
		/sys/class/scsi_host/host5

but,

	ls -1d /sys/class/scsi_host/host?/link_power_management_policy
		/bin/ls: No match.

is/are missing
Comment 1 Holger Macht 2009-01-08 11:49:03 UTC
Dup of 461283

*** This bug has been marked as a duplicate of bug 461283 ***
Comment 2 Forgotten User 7645792743 2009-01-08 14:36:51 UTC
just an fyi,

461283 specifically calls out the NON-sata case ... while I have/use SATA.

nonetheless, iiuc, this is likely covered, so no need to reopen.