|
|
#1 | |
|
Registered User
Join Date: Jul 2007
Posts: 165
|
Hi all!
Some tech details for a start: * Computer: Lenovo T61 * Linux xxx 2.6.23.15-137.fc8 #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): Code:
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 2.6.23.15-137.fc8 #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 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... Thanx |
|
|
|
|
|
|
#2 | |
|
Registered User
Join Date: Mar 2008
Posts: 3
|
I just got hibernate/suspend working on my Inspiron 1520 running Gentoo. We should similar hardware (mine has an 8600M GT). Here are a few things I picked up along the way.
Make sure you are not using vbetool. Either uninstall it or set your config files so they aren't using it. It does not work with nVidia hardware and will result in a blank screen upon resume. The file in question should be /etc/hibernate/common.conf or something similar. Make sure you are using nVidia's agpgart. The kernel's agpgart needs to be either compiled as an external module or not at all. You'll need the Option "NvAGP" "true" line in the Device section of your /etc/X11/xorg.conf file. You'll need 169.12. As far as I can tell that's the first driver that supports the Santa Rosa chipset. If you're using s2ram for suspend you may need to pass the -f option to force it. This worked for me. Those were the major points for me. If you hit ctrl-alt-del after resuming and there's hard drive activity followed by a reboot that means the display didn't reinitialize but the machine did resume from hibernate/suspend. Also remember that these are the things that got hibernate/suspend working for me, but may not represent universal truths. Anyone is free to correct my wrongness. |
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Jul 2007
Posts: 165
|
Hi!
NvAGP - reminds me APG chipsets, we have PCIE x16 ![]() I think I have tried that as well... nVidia, please comment, so we - users know what to expect and don't write bunch of topics... |
|
|
|
|
|
#4 | |
|
Registered User
Join Date: Sep 2007
Posts: 118
|
There are many threads about this already.
None of them was answered by nvidia. |
|
|
|
|
|
|
#5 |
|
Registered User
Join Date: Jul 2007
Posts: 165
|
There is my bug report, hopefully nVidia will look at it and post some info about issue...
|
|
|
|
|
|
#6 | |
|
Registered User
Join Date: Mar 2008
Posts: 28
|
Ooh, I got the same card. The problem here is that it hibernates and resumes fine. Well, yeah, that's the problem - it does it at once. Hibernates and wakes up right away.
Thankfully suspend on this laptop is amazing, and drains a tiny (3% for 7h, I had once) amount of battery power, so I get by on that.Anyway, I wanted to try your suggestions. But I don't have /etc/hibernate to begin with... Quote:
|
|
|
|
|
|
|
#7 |
|
Registered User
Join Date: Jul 2007
Posts: 165
|
Hibernate still not working with 2.6.24-3 and 171.06 beta...
|
|
|
|
|
|
#8 |
|
Registered User
Join Date: Oct 2007
Posts: 34
|
Do you have Option "NvAGP" "1" in your xorg.conf?
|
|
|
|
|
|
#9 |
|
Registered User
Join Date: Jul 2007
Posts: 165
|
Check #3 in this topic
![]() |
|
|
|
|
|
#10 | |
|
Registered User
Join Date: Feb 2008
Posts: 3
|
Quote:
I have a Inspiron 1520 with 8600M GT too but only succeeded to get suspend to disk working. On resume from suspend to ram my display doesn't switch back on. I have already tried the options you have described here, maybe you have something else changed in your configs ? Do you use framebuffer console or vga=0 ? |
|
|
|
|
|
|
#11 |
|
Registered User
Join Date: Jul 2007
Posts: 165
|
Bump
![]() |
|
|
|
|
|
#12 |
|
Registered User
Join Date: Mar 2008
Posts: 3
|
A few other thoughts. I had trouble with ususpend-ram, but sysfs-ram works fine. Also if you're using Tuxonice make sure your suspend2.conf file has the powerdown method set to either 4 or 5 (S4 and Power Down respectively). When I tried setting mine to 3 (suspend-to-ram) the machine would suspend then unsuspend immediately.
Also s2ram -f is worth a try. The -f option is necessary as the 1520 doesn't seem to be in s2ram's white list. The command itself worked for me though, except for a few things like the wireless being too happy. I'll throw my configs up as soon as I can (read: When I'm home and remember to post). Hey Kirurgs, what distro do you use? I'm familiar with Gentoo but others put configs in different places (some have the config files in /etc/sysconfig/), do things differently (Ubuntu has pretty customized scripts for things), etc. Someone here may be able to translate what works on Gentoo into what works on other distros. |
|
|
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| nvidia driver quality decrease? | legluondunet | NVIDIA Linux | 17 | 06-26-12 10:03 AM |
| NVIDIA Driver Installation | flores.facundo | NVIDIA Linux | 2 | 06-24-12 08:37 AM |
| Need Help Installing NVIDIA Tesla M2070Q in Linux RHEL5 | Ferianto85 | NVIDIA Linux | 0 | 05-18-12 08:35 PM |
| Getting the proprietary nvidia driver to run with Debian 3.0 r0 (woody) | Katchina404 | NVIDIA Linux | 9 | 01-12-03 08:49 AM |
| nvidia + 2.4.19 gentoo = messed up | ulukay | NVIDIA Linux | 18 | 11-01-02 11:58 PM |