Bugzilla – Bug 105273
Powertweak failed configuration file may be missing or broken
Last modified: 2005-09-12 11:15:07 UTC
In YAST I choose powertweak. It asks: "Pwertweak configuration file does not exist. Create it and use powertweak?" I choose "yes" but after that shows an error mesage: "Powertweak failed: configuration file may be missing or broken". Powertweak is not enabled in system.
I got the same report by e-mail: From: Dirk O. Siebnich <...> To: Stanislav Brabec <...> Subject: powertweak: Yast cannot setup it up on fresh installation Date: Wed, 17 Aug 2005 01:34:21 +0200 Hi Stanislav! I cannot try the current 10.0 beta package, so I'm not using Bugzilla, but the spec file changelog at least doesn't indicate any fixes in this area: Since SUSE 9.3, the powertweak module in Yast fails to setup the powertweak config file, if it doesn't already exist, like on a newly installed system. If powertweak isn't going to be dropped for SUSE 10.0 yet, can you please verify this bug and fix it if necessary? Thanks!
I just have made a test in Beta2 9 (i386 arch) and it works for me without any problem (config file is successfuly created and yast module works properly). Does /etc/powertweak/tweaks exist? Could you attach output and exit status of '/usr/sbin/powertweakd --no-daemon --only-save' command? (This command is used by yast to create /etc/powertweak/tweaks configuration file if it doesn't exist.)
At the begin the powertweak wasn't instaled. I've cliked on powertweak in YAST and it asked something like Would you instal package powertweak-something_I_dont_remeber ? I clicked yes, and so on. > Does /etc/powertweak/tweaks exist? No, it doesn't. #ls /etc/powertweak/ . .. > Could you attach output and exit status of '/usr/sbin/powertweakd --no-daemon > --only-save' command? #/usr/sbin/powertweakd --no-daemon --only-save MSR driver not loaded. Segmentation fault
OK, the bug is in powertweak itself. Do you have powertweak-extra package installed? Could you try that without the extra package (if it's installed)? Which architecture do you have? I had no problems on i386.
I am able to confirm this in 10.0 beta2 in i386. I have the following packages installed: powertweak powertweak-extra yast2-powertweak The file /etc/powertweak/tweaks does NOT exist, and the command output is identical to that of comment #3: #/usr/sbin/powertweakd --no-daemon --only-save MSR driver not loaded. Segmentation fault
(In reply to comment #4) > OK, the bug is in powertweak itself. Do you have powertweak-extra package > installed? Could you try that without the extra package (if it's installed)? > Which architecture do you have? I had no problems on i386. It's instaled. # rpm -iq powertweak-extra powertweak-extra-0.99.5-40 After uninstalling powertwaek-extra it looks functionable. My arch is i386 also.
Unfortunately this same bug exists also in BETA3.
(In reply to comment #7) > Unfortunately this same bug exists also in BETA3. And for BETA4 now, it seems.
I can create a small workaround for 10.0 (hide the bug as much as possible), there are two possibilities: 1) change the default value - don't install powertweak-extra by default 2) remove the powertweak-extra option completely Stanislav, which solution would you prefer? I don't know if the segfault is HW/arch dependent or it fails always. If it segfaults always I would use 2) solution otherwise 1).
1) is a good choice. Or maybe: 3) Add Conflicts: powertweak-extra to yast2-powertweak. It implies 1.
I just have applied 1) in yast2-powertweak-2.12.3, so powertweak-extra won't be installed by default
I just submitted a fix for a crash in hdparm backend. It fixed this bug for me. Please test.
It seems to work on both ix86 and x86_64. Closing.
*** Bug 116319 has been marked as a duplicate of this bug. ***