[Bug 623290] New: pm-utils: /usr/lib/pm-utils/functions: line 87: log: command not found
http://bugzilla.novell.com/show_bug.cgi?id=623290 http://bugzilla.novell.com/show_bug.cgi?id=623290#c0 Summary: pm-utils: /usr/lib/pm-utils/functions: line 87: log: command not found Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Mobile Devices AssignedTo: mobile-bugs@forge.provo.novell.com ReportedBy: jnelson-suse@jamponi.net QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.6) Gecko/20100626 SUSE/3.6.6-1.2 Firefox/3.6.6 Found while debugging some suspend-to-ram issues on my laptop: /usr/lib/pm-utils/functions: line 87: log: command not found This appears to prevent subsequent kernel modules from being unloaded. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623290
http://bugzilla.novell.com/show_bug.cgi?id=623290#c
Uwe Drechsel
http://bugzilla.novell.com/show_bug.cgi?id=623290
http://bugzilla.novell.com/show_bug.cgi?id=623290#c1
--- Comment #1 from Jon Nelson
https://bugzilla.novell.com/show_bug.cgi?id=623290 https://bugzilla.novell.com/show_bug.cgi?id=623290#c2 --- Comment #2 from Till Dörges
/usr/lib/pm-utils/functions: line 87: log: command not found
This appears to prevent subsequent kernel modules from being unloaded.
As far as I understand the code from glancing over it, this is merely a cosmetic issue. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623290
https://bugzilla.novell.com/show_bug.cgi?id=623290#c3
--- Comment #3 from Jon Nelson
https://bugzilla.novell.com/show_bug.cgi?id=623290
https://bugzilla.novell.com/show_bug.cgi?id=623290#c4
Michal Vyskocil
https://bugzilla.novell.com/show_bug.cgi?id=623290 https://bugzilla.novell.com/show_bug.cgi?id=623290#c5 --- Comment #5 from Till Dörges
in which module have you found this problem?
I see it, when 75modules tries to unload a module which it can't unload. Also see 633496. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623290
https://bugzilla.novell.com/show_bug.cgi?id=623290#c6
--- Comment #6 from Michal Vyskocil
https://bugzilla.novell.com/show_bug.cgi?id=623290 https://bugzilla.novell.com/show_bug.cgi?id=623290#c7 --- Comment #7 from Till Dörges
And which command did you call when you see this error? Because all main pm-utils commands already sources /usr/lib/pm-utils/pm-functions, where log function is declared.
$ rpm -ql pm-utils | grep bin | xargs grep pm-functions /usr/bin/pm-is-supported:. "/usr/lib/pm-utils/pm-functions" /usr/lib/pm-utils/bin/pm-action:. "/usr/lib/pm-utils/pm-functions" /usr/sbin/pm-hibernate:. "/usr/lib/pm-utils/pm-functions" /usr/sbin/pm-powersave:. "/usr/lib/pm-utils/pm-functions" /usr/sbin/pm-suspend:. "/usr/lib/pm-utils/pm-functions" /usr/sbin/pm-suspend-hybrid:. "/usr/lib/pm-utils/pm-functions"
I didn't call anything directly. My testcase was related to bug 633496. I.e. I put SUSPEND_MODULES="em28xx" into /etc/pm/config.d/terratec. Then I tried to suspend to disk. When 75modules is executed (automatically for the suspend, not by me), I find the above error message in /var/log/pm-suspend.log. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623290
https://bugzilla.novell.com/show_bug.cgi?id=623290#c8
--- Comment #8 from Vladimir Botka
https://bugzilla.novell.com/show_bug.cgi?id=623290 https://bugzilla.novell.com/show_bug.cgi?id=623290#c9 Till Dörges
https://bugzilla.novell.com/show_bug.cgi?id=623290
https://bugzilla.novell.com/show_bug.cgi?id=623290#c10
--- Comment #10 from Vladimir Botka
fixes the problem.
Thank you for testing. Created request id 47166 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623290
https://bugzilla.novell.com/show_bug.cgi?id=623290#c11
Vladimir Botka
https://bugzilla.novell.com/show_bug.cgi?id=623290
https://bugzilla.novell.com/show_bug.cgi?id=623290#c12
--- Comment #12 from Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=623290
https://bugzilla.novell.com/show_bug.cgi?id=623290#c13
Christian Dengler
https://bugzilla.novell.com/show_bug.cgi?id=623290
https://bugzilla.novell.com/show_bug.cgi?id=623290#c14
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=623290
https://bugzilla.novell.com/show_bug.cgi?id=623290#c15
Vladimir Botka
https://bugzilla.novell.com/show_bug.cgi?id=623290
https://bugzilla.novell.com/show_bug.cgi?id=623290#c
Dirk Mueller
https://bugzilla.novell.com/show_bug.cgi?id=623290
https://bugzilla.novell.com/show_bug.cgi?id=623290#c16
Michal Vyskocil
https://bugzilla.novell.com/show_bug.cgi?id=623290
https://bugzilla.novell.com/show_bug.cgi?id=623290#c17
Vladimir Botka
Till, Vlado: if I'm wrong then please tell me which script did you use, because I'm not able to reproduce it.
The problem is that PM_FUNCTIONS variable points to functions. The script 75modules uses PM_FUNCTIONS. Details in Comment #8. # grep -r PM_FUNCTIONS /usr/lib/pm-utils/ /usr/lib/pm-utils/pm-functions:PM_FUNCTIONS="$PM_UTILS_LIBDIR/functions" <snip> -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623290
https://bugzilla.novell.com/show_bug.cgi?id=623290#c18
Michal Vyskocil
https://bugzilla.novell.com/show_bug.cgi?id=623290
https://bugzilla.novell.com/show_bug.cgi?id=623290#c19
Christian Dengler
Do I need the swamp to FActory either ?
For Factory there is no need for a SwampID.
maintenance: are you OK with that? Yes, it is ok.
Be so kind and let me know, if you have a decision from upstream, then I can proofread the patchinfo and update it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623290
https://bugzilla.novell.com/show_bug.cgi?id=623290#c20
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=623290
https://bugzilla.novell.com/show_bug.cgi?id=623290#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=623290
https://bugzilla.novell.com/show_bug.cgi?id=623290#c21
Michal Vyskocil
https://bugzilla.novell.com/show_bug.cgi?id=623290
https://bugzilla.novell.com/show_bug.cgi?id=623290#c22
Christian Dengler
https://bugzilla.novell.com/show_bug.cgi?id=623290
https://bugzilla.novell.com/show_bug.cgi?id=623290#c26
Michal Vyskocil
http://bugzilla.novell.com/show_bug.cgi?id=623290
http://bugzilla.novell.com/show_bug.cgi?id=623290#c27
--- Comment #27 from Bernhard Wiedemann
participants (1)
-
bugzilla_noreply@novell.com