hibernate script tries to unload nvidia binary driver

Bug #94051 reported by Vince
26
This bug affects 3 people
Affects Status Importance Assigned to Milestone
hibernate (Ubuntu)
Confirmed
Undecided
Unassigned
Nominated for Karmic by Abhinav Modi

Bug Description

I own a Toshiba Portégé M200 (Intel Centrino, nvidia graphics)
It won't hibernate

# hibernate-disk
Some modules failed to unload: nvidia
hibernate-disk: Aborting suspend due to errors in ModulesUnloadBlacklist (use --force to override).
# hibernate-disk --force
Some modules failed to unload: nvidia
Some modules failed to unload: nvidia
/bin/echo: erreur d'écriture: Aucun périphérique de ce type

ProblemType: Bug
Architecture: i386
Date: Tue Mar 20 11:28:01 2007
DistroRelease: Ubuntu 7.04
Uname: Linux adelpha 2.6.20-12-386 #2 Sun Mar 18 03:04:09 UTC 2007 i686 GNU/Linux

Tags: hibernate
Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

Thank you for your bug report.

Vince:
Could you add the following to your bug report:
lspci | grep -i nv
dpkg -l nvidia\*| grep ii

This isn't actually a bug in the nvidia drivers at this stage - this is a bug in the suspend2 hibernate scripts you are using as they shouldn't be trying to unload the nvidia driver in the first place...

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

Punting from linux-restricted-modules-2.6.20 -> hibernate

Revision history for this message
Diego Gaustein (gregorovius) wrote :

Same thing happens to me. I have an NVidia 6200 TC, using the nvidia-glx-new drivers on latest Feisty. When using gnome's standby or hibernate, I only get a black screen until I press something, and hibernate shows the same symptoms Vince said.

$ lspci | grep -i nv
00:00.0 Host bridge: nVidia Corporation Unknown device 0071 (rev a1)
00:00.1 RAM memory: nVidia Corporation Unknown device 007f (rev a1)
00:00.2 RAM memory: nVidia Corporation Unknown device 0075 (rev a1)
00:00.3 RAM memory: nVidia Corporation Unknown device 006f (rev a1)
00:00.4 RAM memory: nVidia Corporation Unknown device 00b4 (rev a1)
00:01.0 RAM memory: nVidia Corporation Unknown device 0076 (rev a1)
00:01.1 RAM memory: nVidia Corporation Unknown device 0078 (rev a1)
00:01.2 RAM memory: nVidia Corporation Unknown device 0079 (rev a1)
00:01.3 RAM memory: nVidia Corporation Unknown device 007a (rev a1)
00:01.4 RAM memory: nVidia Corporation Unknown device 007b (rev a1)
00:01.5 RAM memory: nVidia Corporation Unknown device 007c (rev a1)
00:01.6 RAM memory: nVidia Corporation Unknown device 007d (rev a1)
00:02.0 PCI bridge: nVidia Corporation Unknown device 007e (rev a2)
00:09.0 RAM memory: nVidia Corporation Unknown device 003f (rev a1)
00:0a.0 ISA bridge: nVidia Corporation Unknown device 0030 (rev a3)
00:0a.1 SMBus: nVidia Corporation MCP04 SMBus (rev a2)
00:0b.0 USB Controller: nVidia Corporation MCP04 USB Controller (rev a1)
00:0b.1 USB Controller: nVidia Corporation MCP04 USB Controller (rev a1)
00:0b.2 USB Controller: nVidia Corporation MCP04 USB Controller (rev a2)
00:0f.0 IDE interface: nVidia Corporation MCP04 IDE (rev f2)
00:10.0 IDE interface: nVidia Corporation MCP04 Serial ATA Controller (rev f2)
00:11.0 IDE interface: nVidia Corporation MCP04 Serial ATA Controller (rev f2)
00:12.0 PCI bridge: nVidia Corporation MCP04 PCI Bridge (rev a2)
00:13.0 Multimedia audio controller: nVidia Corporation MCP04 AC'97 Audio Controller (rev a1)
01:00.0 VGA compatible controller: nVidia Corporation NV44 [GeForce 6200 TurboCache(TM)] (rev a1)

$ dpkg -l nvidia\*| grep ii
ii nvidia-glx-new 1.0.9755+2.6.20.5-15.20 NVIDIA binary XFree86 4.x/X.Org 'new' driver
ii nvidia-kernel-common 20051028+1ubuntu7 NVIDIA binary kernel module common files

$ uname -a
Linux Gregorovius 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686 GNU/Linux

Revision history for this message
Paul Cobbaut (cobbaut) wrote :
Download full text (3.3 KiB)

Same problem here, i hope this info helps.
The nvidia driver prevents me from hibernating, switching to nv solves the problem.
(but the nv driver doesn't work well with the two 1920x1200 screens)

I also think this is related or similar to ubuntu bugs 94332 and 68258.

root@laika:/etc/acpi# hibernate --force
Some modules failed to unload: nvidia
root@laika:/etc/acpi# lspci
00:00.0 Host bridge: VIA Technologies, Inc. K8T890 Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. K8T890 Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. K8T890 Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. K8T890 Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. K8T890 Host Bridge
00:00.5 PIC: VIA Technologies, Inc. K8T890 I/O APIC Interrupt Controller
00:00.7 Host bridge: VIA Technologies, Inc. K8T890 Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800/K8T890 South]
00:02.0 PCI bridge: VIA Technologies, Inc. K8T890 PCI to PCI Bridge Controller
00:03.0 PCI bridge: VIA Technologies, Inc. K8T890 PCI to PCI Bridge Controller
00:03.2 PCI bridge: VIA Technologies, Inc. K8T890 PCI to PCI Bridge Controller
00:05.0 CardBus bridge: ENE Technology Inc CB1410 Cardbus Controller (rev 01)
00:06.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
00:08.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
00:09.0 Multimedia controller: Philips Semiconductors SAA7133/SAA7135 Video Broadcast Decoder (rev f0)
00:0a.0 Network controller: RaLink RT2500 802.11g Cardbus/mini-PCI (rev 01)
00:0f.0 RAID bus controller: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)
00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South]
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
00:11.6 Communication controller: VIA Technologies, Inc. AC'97 Modem Controller (rev 80)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
02:00.0 VGA compatible controller: nVidia Corporation GE Force Go 7800 GTX (rev a1)
root@laika:/etc/acpi# uname -a
Linux laika 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686 GNU/Linux
root@laika:/etc/acpi# dpkg -l nvidia\* | grep ii
ii nvidia-glx-new 1.0.9755+2.6.20.5-16.29 NVIDIA bin...

Read more...

Revision history for this message
Paul Cobbaut (cobbaut) wrote :

attached also lspci -vv

Revision history for this message
Paul Cobbaut (cobbaut) wrote :

i can confirm this problem, get the same error. Switching nvidia to nv solves the problem, but nv doesn't support my screens.

Changed in hibernate:
status: New → Confirmed
Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

Paul:
Are you really using the hibernate script from the suspend2 package (note this package is not installed by default so unless you have installed it explicitly you probably aren't using it)?

Revision history for this message
Paul Cobbaut (cobbaut) wrote :

Looks like i was not using suspend2. (I will try this tonight, i'm teaching a Samba training now with this laptop, so i prefer to not take risks)

root@laika:~# dpkg -l | grep -i suspend
ii hibernate 1.94-2 smartly puts your computer to sleep (suspend
ii uswsusp 0.3~cvs20060928-6ubuntu3 tools to use userspace software suspend prov
root@laika:~# aptitude install suspend2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
Couldn't find package "suspend2". However, the following
packages contain "suspend2" in their name:
  suspend2-userui
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
root@laika:~#

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

Paul:
If your problem was that suspend doesn't work with the nvidia binary driver (but does with the nv driver) then hunt about launchpad some more. I think you might find a bug that better fits that issue (also see https://help.ubuntu.com/community/NvidiaLaptopBinaryDriverSuspend)...

Revision history for this message
Abhinav Modi (abhinavmodi) wrote :
Download full text (3.1 KiB)

This is also seen on T61 with latest updates from Karmic Beta.

Starting suspend at Sat Oct 10 08:35:04 IST 2009
hibernate-ram: [01] Executing CheckLastResume ...
hibernate-ram: [01] Executing CheckRunlevel ...
hibernate-ram: [01] Executing LockFileGet ...
hibernate-ram: [01] Executing NewKernelFileCheck ...
hibernate-ram: [10] Executing EnsureUSuspendCapable ...
hibernate-ram: [11] Executing XHacksSuspendHook1 ...
hibernate-ram: [59] Executing RemountXFSBootRO ...
hibernate-ram: [89] Executing SaveKernelModprobe ...
hibernate-ram: [91] Executing ModulesUnloadBlacklist ...
Some modules failed to unload: nvidia
hibernate-ram: Aborting suspend due to errors in ModulesUnloadBlacklist (use --force to override).
hibernate-ram: [90] Executing ModulesLoad ...
hibernate-ram: [89] Executing RestoreKernelModprobe ...
hibernate-ram: [85] Executing XHacksResumeHook2 ...
hibernate-ram: [70] Executing ClockRestore ...
hibernate-ram: [59] Executing RemountXFSBootRW ...
hibernate-ram: [11] Executing XHacksResumeHook1 ...
hibernate-ram: [01] Executing NoteLastResume ...
hibernate-ram: [01] Executing LockFilePut ...
Resumed at Sat Oct 10 08:35:05 IST 2009

Kernel: 2.6.31-11-generic #38-Ubuntu SMP Fri Oct 2 11:55:55 UTC 2009 i686 GNU/Linux

abmodi@abhinav-lnx:~$ lspci | grep -i nv
01:00.0 VGA compatible controller: nVidia Corporation Quadro NVS 140M (rev a1)
abmodi@abhinav-lnx:~$ dpkg -l nvidia\*| grep ii
ii nvidia-173-modaliases 173.14.20-0ubuntu2 Modaliases for the NVIDIA binary X.Org drive
ii nvidia-177-modaliases 177.82-0ubuntu0.1 Modaliases for the NVIDIA binary X.Org drive
ii nvidia-185-kernel-source 185.18.36-0ubuntu4 NVIDIA binary kernel module source
ii nvidia-185-libvdpau 185.18.36-0ubuntu4 Video Decode and Presentation API for Unix
ii nvidia-185-modaliases 185.18.36-0ubuntu4 Modaliases for the NVIDIA binary X.Org drive
ii nvidia-71-modaliases 71.86.08-0ubuntu1 Modaliases for the NVIDIA binary X.Org drive
ii nvidia-96-modaliases 96.43.13-0ubuntu3 Modaliases for the NVIDIA binary X.Org drive
ii nvidia-common 0.2.15 Find obsolete NVIDIA drivers
ii nvidia-glx-180 185.18.36-0ubuntu4 Transitional package for nvidia-glx-185
ii nvidia-glx-185 185.18.36-0ubuntu4 NVIDIA binary Xorg driver
ii nvidia-settings 180.25-0ubuntu1 Tool of configuring the NVIDIA graphics...

Read more...

Revision history for this message
Abhinav Modi (abhinavmodi) wrote :
Download full text (3.1 KiB)

This is also seen on Lenovo T61 with latest updates from Karmic Beta.

Starting suspend at Sat Oct 10 08:35:04 IST 2009
hibernate-ram: [01] Executing CheckLastResume ...
hibernate-ram: [01] Executing CheckRunlevel ...
hibernate-ram: [01] Executing LockFileGet ...
hibernate-ram: [01] Executing NewKernelFileCheck ...
hibernate-ram: [10] Executing EnsureUSuspendCapable ...
hibernate-ram: [11] Executing XHacksSuspendHook1 ...
hibernate-ram: [59] Executing RemountXFSBootRO ...
hibernate-ram: [89] Executing SaveKernelModprobe ...
hibernate-ram: [91] Executing ModulesUnloadBlacklist ...
Some modules failed to unload: nvidia
hibernate-ram: Aborting suspend due to errors in ModulesUnloadBlacklist (use --force to override).
hibernate-ram: [90] Executing ModulesLoad ...
hibernate-ram: [89] Executing RestoreKernelModprobe ...
hibernate-ram: [85] Executing XHacksResumeHook2 ...
hibernate-ram: [70] Executing ClockRestore ...
hibernate-ram: [59] Executing RemountXFSBootRW ...
hibernate-ram: [11] Executing XHacksResumeHook1 ...
hibernate-ram: [01] Executing NoteLastResume ...
hibernate-ram: [01] Executing LockFilePut ...
Resumed at Sat Oct 10 08:35:05 IST 2009

Kernel: 2.6.31-11-generic #38-Ubuntu SMP Fri Oct 2 11:55:55 UTC 2009 i686 GNU/Linux

abmodi@abhinav-lnx:~$ lspci | grep -i nv
01:00.0 VGA compatible controller: nVidia Corporation Quadro NVS 140M (rev a1)
abmodi@abhinav-lnx:~$ dpkg -l nvidia\*| grep ii
ii nvidia-173-modaliases 173.14.20-0ubuntu2 Modaliases for the NVIDIA binary X.Org drive
ii nvidia-177-modaliases 177.82-0ubuntu0.1 Modaliases for the NVIDIA binary X.Org drive
ii nvidia-185-kernel-source 185.18.36-0ubuntu4 NVIDIA binary kernel module source
ii nvidia-185-libvdpau 185.18.36-0ubuntu4 Video Decode and Presentation API for Unix
ii nvidia-185-modaliases 185.18.36-0ubuntu4 Modaliases for the NVIDIA binary X.Org drive
ii nvidia-71-modaliases 71.86.08-0ubuntu1 Modaliases for the NVIDIA binary X.Org drive
ii nvidia-96-modaliases 96.43.13-0ubuntu3 Modaliases for the NVIDIA binary X.Org drive
ii nvidia-common 0.2.15 Find obsolete NVIDIA drivers
ii nvidia-glx-180 185.18.36-0ubuntu4 Transitional package for nvidia-glx-185
ii nvidia-glx-185 185.18.36-0ubuntu4 NVIDIA binary Xorg driver
ii nvidia-settings 180.25-0ubuntu1 Tool of configuring the NVIDIA g...

Read more...

Gary M (garym)
tags: added: hibernate
Revision history for this message
Nigel Cunningham (nigelc) wrote :

A more recent version of the hibernate script doesn't have nvidia blacklisted anymore.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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