View Single Post
Old 03-03-08, 04:17 PM   #1
Registered User
Join Date: Jul 2007
Posts: 165
Default nVidia driver + hibernate = no go?

Hi all!

Some tech details for a start:
* Computer: Lenovo T61
* Linux xxx #1 SMP Sun Feb 10 17:03:13 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
* 01:00.0 VGA compatible controller: nVidia Corporation Quadro NVS 140M (rev a1)
* Driver versions I've tried: 169.09, 169.12, 171.05

After resume from hibernate screen stays blank, keyboard doesn't work, even CL or NL doesn't respond. Only thing I can do is press ctrl+alt+delete and it reboots. I'm able to ssh into the box, X is taking 100% of the CPU and I get this in kernel logs (it's present like 5 times):
BUG: soft lockup - CPU#0 stuck for 11s! [pm-hibernate:6746]
CPU 0:
Modules linked in: rfcomm l2cap bluetooth autofs4 sunrpc cpufreq_ondemand acpi_cpufreq fuse dm_mirror dm_multipath dm_mod ipv6 uinput arc4 nvidia(P)(U) snd_hda_intel snd_seq_dummy ecb snd_seq_oss blkcipher firewire_ohci snd_seq_midi_event firewire_core snd_seq sdhci snd_seq_device snd_pcm_oss snd_mixer_oss ac snd_pcm mmc_core battery snd_timer iwl4965 mac80211 snd_page_alloc thinkpad_acpi video crc_itu_t output button cfg80211 snd_hwdep i2c_i801 i2c_core snd soundcore e1000 joydev hwmon pcspkr sr_mod sg cdrom ata_generic ata_piix libata sd_mod scsi_mod ext3 jbd mbcache uhci_hcd ohci_hcd ehci_hcd
Pid: 6746, comm: pm-hibernate Tainted: P #1
RIP: 0010:[<ffffffff88691fb1>]  [<ffffffff88691fb1>] :nvidia:os_io_read_byte+0x4/0x8
RSP: 0000:ffff8100430dfc60  EFLAGS: 00000292
RAX: 000000000000006a RBX: ffff81005fadef08 RCX: ffffffff88aaf900
RDX: 00000000000003d5 RSI: 00000000000003d5 RDI: ffff810077e68000
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000001
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000001
R13: 0000000000000000 R14: ffff81005fadeef8 R15: ffff81007b919000
FS:  00002aaaaaac3f50(0000) GS:ffffffff813be000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 00000000008347e6 CR3: 0000000045e8b000 CR4: 00000000000006e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400

Call Trace:
 [<ffffffff8866edb3>] :nvidia:_nv000016rm+0x13/0x1b
 [<ffffffff885ca385>] :nvidia:_nv000217rm+0x11/0x26
 [<ffffffff883b062e>] :nvidia:_nv000310rm+0x83/0xa4
 [<ffffffff8866f3de>] :nvidia:_nv004632rm+0x196/0x1d8
 [<ffffffff885cfc0a>] :nvidia:_nv003984rm+0xc7/0x35b
 [<ffffffff885d42b7>] :nvidia:_nv002922rm+0x2e5/0x550
 [<ffffffff885d4273>] :nvidia:_nv002922rm+0x2a1/0x550
 [<ffffffff885d4b3b>] :nvidia:_nv003060rm+0x46f/0x700
 [<ffffffff885d17cf>] :nvidia:_nv002917rm+0x71/0x79
 [<ffffffff885d1981>] :nvidia:_nv002929rm+0x1aa/0x1c3
 [<ffffffff885d6869>] :nvidia:rm_power_management+0x1de/0x274
 [<ffffffff8868f44e>] :nvidia:nv_power_management+0x133/0x196
 [<ffffffff8119a0a6>] resume_device+0x77/0xed
 [<ffffffff8119a178>] dpm_resume+0x5c/0x8f
 [<ffffffff8119a1d6>] device_resume+0x2b/0x39
 [<ffffffff8105a04b>] hibernation_snapshot+0xb3/0xbf
 [<ffffffff8105a1cf>] hibernate+0xc2/0x19b
 [<ffffffff81058e64>] state_store+0x4c/0xb5
 [<ffffffff810de6f8>] sysfs_write_file+0xf2/0x134
 [<ffffffff8109c1af>] vfs_write+0xce/0x177
 [<ffffffff8109c772>] sys_write+0x45/0x6e
 [<ffffffff8100bd45>] tracesys+0xd5/0xda
I have searched forums and internet for a simple solution - how to get hibernate (suspend to disk) with nVidia driver? I have not found any solution that would make hibernate work, nothing.

I am able to hibernate with vesa driver, I saw Intel cards hibernating fine, even ATI does this quite good, what is happening to nVidia?
I see bunch of people with the same issue - they can't hibernate a nVidia powered laptop with official drivers enabled!

Hibernate is quite important to laptops, personally I can't do my job w/o it
Btw, I didn't saw any nVidia staff comments to hibernate issues others filed (even with proper bug report file) and that's really sad!

Can someone tell me: is nVidia aware of this, will there be a solution at all, some estimate, workarounds? Anything...

Kirurgs is offline   Reply With Quote