Gentoo Forums
Gentoo Forums
Quick Search: in
Hibernate blacklist nvidia module
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
MalachiX
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2005
Posts: 101
Location: Miami, Fl

PostPosted: Sun Aug 03, 2008 3:34 am    Post subject: Hibernate blacklist nvidia module Reply with quote

I have installed pm-utils and tried to use the pm-hibernate command. The log at /var/log/hibernate.log says the following:


Code:

Starting suspend at Thu Jul 31 07:10:43 EDT 2008
hibernate: [01] Executing CheckLastResume ...
hibernate: [01] Executing CheckRunlevel ...
hibernate: [01] Executing LockFileGet ...
hibernate: [01] Executing NewKernelFileCheck ...
hibernate: [10] Executing EnsureSysfsPowerStateCapable ...
hibernate: [11] Executing XHacksSuspendHook1 ...
hibernate: [59] Executing RemountXFSBootRO ...
hibernate: [89] Executing SaveKernelModprobe ...
hibernate: [91] Executing ModulesUnloadBlacklist ...
Some modules failed to unload: nvidia
hibernate: Aborting suspend due to errors in ModulesUnloadBlacklist (use --force to override).
hibernate: [90] Executing ModulesLoad ...
hibernate: [89] Executing RestoreKernelModprobe ...
hibernate: [85] Executing XHacksResumeHook2 ...
hibernate: [70] Executing ClockRestore ...
hibernate: [70] Executing ClockRestore ...
hibernate: [59] Executing RemountXFSBootRW ...
hibernate: [11] Executing XHacksResumeHook1 ...
hibernate: [01] Executing NoteLastResume ...
hibernate: [01] Executing LockFilePut ...
Resumed at Thu Jul 31 07:10:44 EDT 2008


It fails due to the nvidia module but I don't want to use pm-hibernate --force. Does anyone know what I have to do to the configuration files in order to keep hibernate from unloading the nvidia module?


Last edited by MalachiX on Sun Aug 03, 2008 5:59 am; edited 1 time in total
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 2675

PostPosted: Sun Aug 03, 2008 3:47 am    Post subject: Re: Hibernate blacknvidia module Reply with quote

MalachiX wrote:
It fails due to the nvidia module but I don't want to use pm-hibernate --force. Does anyone know what I have to do to the configuration files in order to keep hibernate from unloading the nvidia module?
Does pm-utils use hibernate-script? If so, you can comment out nvidia from /etc/hibernate/blacklisted-modules.
_________________
emerge --quiet redefined (now with --jobs support) | E17 vids: I, II
Back to top
View user's profile Send private message
MalachiX
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2005
Posts: 101
Location: Miami, Fl

PostPosted: Sun Aug 03, 2008 6:03 am    Post subject: Reply with quote

I don't think it does, because "equery files pm-utils" gives the following output:

Code:

[ Searching for packages matching pm-utils... ]
* Contents of sys-power/pm-utils-0.99.4:
/etc
/etc/pm
/etc/pm/config.d
/etc/pm/power.d
/etc/pm/sleep.d
/usr
/usr/bin
/usr/bin/on_ac_power
/usr/bin/pm-is-supported
/usr/lib
/usr/lib/pm-utils
/usr/lib/pm-utils/bin
/usr/lib/pm-utils/bin/pm-action
/usr/lib/pm-utils/bin/pm-pmu
/usr/lib/pm-utils/bin/pm-reset-swap
/usr/lib/pm-utils/defaults
/usr/lib/pm-utils/functions
/usr/lib/pm-utils/power.d
/usr/lib/pm-utils/power.d/sched-powersave
/usr/lib/pm-utils/sleep.d
/usr/lib/pm-utils/sleep.d/00clear
/usr/lib/pm-utils/sleep.d/01grub
/usr/lib/pm-utils/sleep.d/05led
/usr/lib/pm-utils/sleep.d/10NetworkManager
/usr/lib/pm-utils/sleep.d/20video
/usr/lib/pm-utils/sleep.d/49bluetooth
/usr/lib/pm-utils/sleep.d/50modules
/usr/lib/pm-utils/sleep.d/55battery
/usr/lib/pm-utils/sleep.d/60sysfont
/usr/lib/pm-utils/sleep.d/65alsa
/usr/lib/pm-utils/sleep.d/90clock
/usr/lib/pm-utils/sleep.d/94cpufreq
/usr/lib/pm-utils/sleep.d/95led
/usr/lib/pm-utils/sleep.d/99video
/usr/sbin
/usr/sbin/pm-hibernate -> /usr/lib/pm-utils/bin/pm-action
/usr/sbin/pm-powersave
/usr/sbin/pm-suspend -> /usr/lib/pm-utils/bin/pm-action
/usr/sbin/pm-suspend-hybrid -> /usr/lib/pm-utils/bin/pm-action
/usr/share
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/on_ac_power.1.bz2
/usr/share/man/man1/pm-pmu.1.bz2


Also, there is no /etc/hibernate directory. :-/
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 2675

PostPosted: Sun Aug 03, 2008 5:05 pm    Post subject: Reply with quote

Why don't you look at
Code:
/usr/lib/pm-utils/sleep.d/50modules
/usr/lib/pm-utils/sleep.d/99video
and try to figure out if nvidia is listed there. Can't help you beyond that since I do not use pm-utils.
_________________
emerge --quiet redefined (now with --jobs support) | E17 vids: I, II
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum