TuxOnIce-users Digest, Vol 36, Issue 15 Send TuxOnIce-users mailing list submissions to 	enpsfhxz-stvnz@lists.tuxonice.net To subscribe or unsubscribe via the World Wide Web, visit 	http://lists.tuxonice.net/mailman/listinfo/tuxonice-users or, via email, send a message with subject or body 'help' to 	ysxshwee-tyrxx-liyysxs@lists.tuxonice.net You can reach the person managing the list at 	ixmmppem-uqpyf-botix@lists.tuxonice.net When replying, please edit your Subject line so it is more specific than "Re: Contents of TuxOnIce-users digest..." Today's Topics:    1. dell d830, 2.6.24 and hibernation (Marcelo Coelho)    2. Re: dell d830, 2.6.24 and hibernation (Dmitry Nezhevenko)    3. Re: dell d830, 2.6.24 and hibernation (Nigel Cunningham)    4. Re: [Suspend2-users] Doesn't read Image (Nigel Cunningham)    5. Re: dell d830, 2.6.24 and hibernation (Marcelo Coelho) ---------------------------------------------------------------------- >From cpltjepaoarsb@gmail.com  Sun Feb 24 10:30:14 2008 Message: 1 Date: Wed, 13 Feb 2008 18:55:03 +0000 From: "Marcelo Coelho"  Subject: [TuxOnIce-users] dell d830, 2.6.24 and hibernation To: enpsfhxz-stvnz@lists.tuxonice.net Message-ID: 	<87j0r60x3005400887j07k0x3auxai0ue7j07kix3a0x@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" Hi! I'm running gentoo on a Dell D830 (with a nvidia card) that works quite well with suspend to ram. But, although that's great I want to use hibernate, which doesn't work. I'm using nvidia's binary driver, kernel tuxonice-sourcess 2.6.24 -r2 ( 2.6.23-r6 also didn't work) and updated hibernate related software. My error message is related with pageset growth: ---------------------------------------------------------------------------- TuxOnIce 3.0-rc5, with support for checksumming, usm, compression, swap storage, file storage, userui. Starting to save the image.. Writing caches... 20%...40%...60%...80%...done. Waited for i/o due to synchronous I/O 6 times. Doing atomic copy. Going atomic. Suspending console(s) sd 0:0:0:0: [sda] Synchronizing SCSI cache serial 00:09: disabled ACPI handle has no context! NVRM: RmPowerManagement: 3 ACPI: PCI interrupt for device 0000:00:1f.2 disabled ACPI: PCI interrupt for device 0000:00:1d.7 disabled ACPI: PCI interrupt for device 0000:00:1d.2 disabled ACPI: PCI interrupt for device 0000:00:1d.1 disabled ACPI: PCI interrupt for device 0000:00:1d.0 disabled ACPI: PCI interrupt for device 0000:00:1b.0 disabled ACPI: PCI interrupt for device 0000:00:1a.7 disabled ACPI: PCI interrupt for device 0000:00:1a.1 disabled ACPI: PCI interrupt for device 0000:00:1a.0 disabled Disabling non-boot CPUs ... CPU 1 is now offline SMP alternatives: switching to UP code CPU1 is down Pageset1 has grown by 1073 pages. extra_pages_allowance is currently only 500. Error -1 hibernating Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. Enabling non-boot CPUs ... SMP alternatives: switching to SMP code Booting processor 1/1 eip 3000 Initializing CPU#1 Calibrating delay using timer specific routine.. 4391.21 BogoMIPS (lpj=7315545) CPU: After generic identify, caps: bfebfbff 20100000 00000000 00000000 0000e3bd 00000000 00000001 00000001 monitor/mwait feature present. CPU: L1 I cache: 32K, L1 D cache: 32K CPU: L2 cache: 4096K CPU: Physical Processor ID: 0 CPU: Processor Core ID: 1 CPU: After all inits, caps: bfebfbff 20100000 00000000 00003940 0000e3bd 00000000 00000001 00000001 Intel machine check architecture supported. Intel machine check reporting enabled on CPU#1. CPU1: Intel(R) Core(TM)2 Duo CPU     T7500  @ 2.20GHz stepping 0a CPU1 is up ---------------------------------------------------------------------------- At boot time, the option resume=swap:/dev/sda5 is passed to the kernel I've already searched and the only thing I found was related to old drivers... Can this be related to nvidia's binary driver? My desktop also uses it and works fine... Any help would be apreciated! Best regards, Marcelo Coelho -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.tuxonice.net/pipermail/tuxonice-users/attachments/20080213/deea844f/attachment.html  ------------------------------ >From wsck@inhex.net  Sun Feb 24 10:30:14 2008 Message: 2 Date: Wed, 13 Feb 2008 21:51:09 +0200 From: Dmitry Nezhevenko  Subject: Re: [TuxOnIce-users] dell d830, 2.6.24 and hibernation To: enpsfhxz-stvnz@lists.tuxonice.net Message-ID: <20080213195109.GA2523@laptop.deb> Content-Type: text/plain; charset="us-ascii" On Wed, Feb 13, 2008 at 06:55:03PM +0000, Marcelo Coelho wrote: >  > I've already searched and the only thing I found was related to old > drivers... Can this be related to nvidia's binary driver? My desktop also > uses it and works fine... >  Try to run glxgears before hibernation and hibernate with it. This often helps with nvidia cards.  --  WBR, Dmitry -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://lists.tuxonice.net/pipermail/tuxonice-users/attachments/20080213/9be6a553/attachment-0001.pgp  ------------------------------ >From nlnpr@nigel.suspend2.net  Sun Feb 24 10:30:14 2008 Message: 3 Date: Thu, 14 Feb 2008 07:35:55 +1100 From: Nigel Cunningham  Subject: Re: [TuxOnIce-users] dell d830, 2.6.24 and hibernation To: TuxOnIce users' list  Message-ID: <47B354AB.6030009@nigel.suspend2.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hi Marcelo. Marcelo Coelho wrote: > Hi! >  >  > I'm running gentoo on a Dell D830 (with a nvidia card) that works quite  > well with suspend to ram. But, although that's great I want to use  > hibernate, which doesn't work. >  > I'm using nvidia's binary driver, kernel tuxonice-sourcess 2.6.24 -r2  > (2.6.23-r6 also didn't work) and updated hibernate related software. >  > My error message is related with pageset growth: > ---------------------------------------------------------------------------- > TuxOnIce 3.0-rc5, with support for checksumming, usm, compression, swap  > storage, file storage, userui. > Starting to save the image.. > Writing caches... > 20%...40%...60%...80%...done. > Waited for i/o due to synchronous I/O 6 times. > Doing atomic copy. > Going atomic. > Suspending console(s) > sd 0:0:0:0: [sda] Synchronizing SCSI cache > serial 00:09: disabled > ACPI handle has no context! > NVRM: RmPowerManagement: 3 > ACPI: PCI interrupt for device 0000:00:1f.2 disabled > ACPI: PCI interrupt for device 0000:00:1d.7 disabled > ACPI: PCI interrupt for device 0000:00:1d.2 disabled > ACPI: PCI interrupt for device 0000:00:1d.1 disabled > ACPI: PCI interrupt for device 0000:00:1d.0 disabled > ACPI: PCI interrupt for device 0000:00:1b.0 disabled > ACPI: PCI interrupt for device 0000:00:1a.7 disabled > ACPI: PCI interrupt for device 0000:00:1a.1 disabled > ACPI: PCI interrupt for device 0000:00:1a.0 disabled > Disabling non-boot CPUs ... > CPU 1 is now offline > SMP alternatives: switching to UP code > CPU1 is down > Pageset1 has grown by 1073 pages. extra_pages_allowance is currently  > only 500. > Error -1 hibernating > Intel machine check architecture supported. > Intel machine check reporting enabled on CPU#0. > Enabling non-boot CPUs ... > SMP alternatives: switching to SMP code > Booting processor 1/1 eip 3000 > Initializing CPU#1 > Calibrating delay using timer specific routine.. 4391.21 BogoMIPS  > (lpj=7315545) > CPU: After generic identify, caps: bfebfbff 20100000 00000000 00000000  > 0000e3bd 00000000 00000001 00000001 > monitor/mwait feature present. > CPU: L1 I cache: 32K, L1 D cache: 32K > CPU: L2 cache: 4096K > CPU: Physical Processor ID: 0 > CPU: Processor Core ID: 1 > CPU: After all inits, caps: bfebfbff 20100000 00000000 00003940 0000e3bd  > 00000000 00000001 00000001 > Intel machine check architecture supported. > Intel machine check reporting enabled on CPU#1. > CPU1: Intel(R) Core(TM)2 Duo CPU     T7500  @ 2.20GHz stepping 0a > CPU1 is up > ---------------------------------------------------------------------------- >  > At boot time, the option resume=swap:/dev/sda5 is passed to the kernel >  >  > I've already searched and the only thing I found was related to old  > drivers... Can this be related to nvidia's binary driver? My desktop  > also uses it and works fine... >  >  > Any help would be apreciated! Are you using the hibernate script?  If so, add a line to  /etc/hibernate/suspend2.conf saying something along the lines of: ProcSetting extra_pages_allowance 2000 That will set aside 2000 pages to cover that 1073 you're seeing above. Regards, Nigel ------------------------------ >From nlnpr@nigel.suspend2.net  Sun Feb 24 10:30:14 2008 Message: 4 Date: Thu, 14 Feb 2008 08:30:01 +1100 From: Nigel Cunningham  Subject: Re: [TuxOnIce-users] [Suspend2-users] Doesn't read Image To: TuxOnIce users' list  Message-ID: <47B36159.90202@nigel.suspend2.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hi Florian. Florian Strunk wrote: >> (Count=500 below for a 500MB file)... >> >> nlnpr@laptop:~$ sudo -i >> [vnga@laptop ~]# echo "TuxOnIce" > /hibernation-file >> [vnga@laptop ~]# dd if=/dev/zero bs=1M count=500 >> /hibernation-file >> 500+0 records in >> 500+0 records out >> 524288000 bytes (524 MB) copied, 8.85883 s, 59.2 MB/s >> [vnga@laptop ~]# echo /hibernation-file >/sys/power/tuxonice/file/target >> [vnga@laptop ~]# dmesg | tail -1 >> TuxOnIce: Hibernating enabled. >> [vnga@laptop ~]# cat /sys/power/tuxonice/resume >> file:/dev/sda1:0xf8170 >> >> Then put the output of that last cat in your boot command line (this is  >> the location of the image header) and in the hibernate script: >> >> procsetting file/target /hibernation-file >> >> It should be possible to just uncomment the FilewriterLocation line in  >> the hibernate script template, but I have some reports of the hibernate  >> script not working properly with files at the moment. I need to check  >> them out. >>    >  > Hi Nigel, >  > the image is made into the file /hibernate-file, and the computer is > shut down, but after start up, the image is not loaded and ubuntu uses > the normal boot process. >  > with using a swap partition it runs Are you using an initrd or initramfs? I suspect you are. In that case,  you need to modify the initrd/ramfs so as to make it start resuming once  device drivers are loaded and so on. Please check out  http://wiki.tuxonice.net - there are details there regarding setting up  initrds and initramfses. Regards, Nigel ------------------------------ >From cpltjepaoarsb@gmail.com  Sun Feb 24 10:30:14 2008 Message: 5 Date: Thu, 14 Feb 2008 00:16:40 +0000 From: "Marcelo Coelho"  Subject: Re: [TuxOnIce-users] dell d830, 2.6.24 and hibernation To: nlnpr@nigel.suspend2.net, 	"TuxOnIce users' list" 	 Message-ID: 	<45t7e97u8221903545tb097682q1lu3pod970976o22@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" 2008/2/13, Nigel Cunningham : > > Hi Marcelo. > > Marcelo Coelho wrote: > > Hi! > > > > > > I'm running gentoo on a Dell D830 (with a nvidia card) that works quite > > well with suspend to ram. But, although that's great I want to use > > hibernate, which doesn't work. > > > > I'm using nvidia's binary driver, kernel tuxonice-sourcess 2.6.24 -r2 > > (2.6.23-r6 also didn't work) and updated hibernate related software. > > > > My error message is related with pageset growth: > > > ---------------------------------------------------------------------------- > > TuxOnIce 3.0-rc5, with support for checksumming, usm, compression, swap > > storage, file storage, userui. > > Starting to save the image.. > > Writing caches... > > 20%...40%...60%...80%...done. > > Waited for i/o due to synchronous I/O 6 times. > > Doing atomic copy. > > Going atomic. > > Suspending console(s) > > sd 0:0:0:0: [sda] Synchronizing SCSI cache > > serial 00:09: disabled > > ACPI handle has no context! > > NVRM: RmPowerManagement: 3 > > ACPI: PCI interrupt for device 0000:00:1f.2 disabled > > ACPI: PCI interrupt for device 0000:00:1d.7 disabled > > ACPI: PCI interrupt for device 0000:00:1d.2 disabled > > ACPI: PCI interrupt for device 0000:00:1d.1 disabled > > ACPI: PCI interrupt for device 0000:00:1d.0 disabled > > ACPI: PCI interrupt for device 0000:00:1b.0 disabled > > ACPI: PCI interrupt for device 0000:00:1a.7 disabled > > ACPI: PCI interrupt for device 0000:00:1a.1 disabled > > ACPI: PCI interrupt for device 0000:00:1a.0 disabled > > Disabling non-boot CPUs ... > > CPU 1 is now offline > > SMP alternatives: switching to UP code > > CPU1 is down > > Pageset1 has grown by 1073 pages. extra_pages_allowance is currently > > only 500. > > Error -1 hibernating > > Intel machine check architecture supported. > > Intel machine check reporting enabled on CPU#0. > > Enabling non-boot CPUs ... > > SMP alternatives: switching to SMP code > > Booting processor 1/1 eip 3000 > > Initializing CPU#1 > > Calibrating delay using timer specific routine.. 4391.21 BogoMIPS > > (lpj=7315545) > > CPU: After generic identify, caps: bfebfbff 20100000 00000000 00000000 > > 0000e3bd 00000000 00000001 00000001 > > monitor/mwait feature present. > > CPU: L1 I cache: 32K, L1 D cache: 32K > > CPU: L2 cache: 4096K > > CPU: Physical Processor ID: 0 > > CPU: Processor Core ID: 1 > > CPU: After all inits, caps: bfebfbff 20100000 00000000 00003940 0000e3bd > > 00000000 00000001 00000001 > > Intel machine check architecture supported. > > Intel machine check reporting enabled on CPU#1. > > CPU1: Intel(R) Core(TM)2 Duo CPU     T7500  @ 2.20GHz stepping 0a > > CPU1 is up > > > ---------------------------------------------------------------------------- > > > > At boot time, the option resume=swap:/dev/sda5 is passed to the kernel > > > > > > I've already searched and the only thing I found was related to old > > drivers... Can this be related to nvidia's binary driver? My desktop > > also uses it and works fine... > > > > > > Any help would be apreciated! > > Are you using the hibernate script?  If so, add a line to > /etc/hibernate/suspend2.conf saying something along the lines of: > > ProcSetting extra_pages_allowance 2000 > > That will set aside 2000 pages to cover that 1073 you're seeing above. > > Regards, > > Nigel > _______________________________________________ > TuxOnIce-users mailing list > enpsfhxz-stvnz@lists.tuxonice.net > http://lists.tuxonice.net/mailman/listinfo/tuxonice-users > Hi! Well, setting ProcSetting extra_pages_allowance 2000 solved the problem for me!!! Thanks! BTW, I also tried the glxgears trick, but that wasn't a solution neither for this situation neither for my desktop. Once again, thank you very much for the quick fix! Keep up the excellent work you've been doing! Cheers, Marcelo Coelho P.S.: Don't use hald 0.5.10 yet. It's evil... :) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.tuxonice.net/pipermail/tuxonice-users/attachments/20080214/070c3eba/attachment.htm  ------------------------------ _______________________________________________ TuxOnIce-users mailing list enpsfhxz-stvnz@lists.tuxonice.net http://lists.tuxonice.net/mailman/listinfo/tuxonice-users End of TuxOnIce-users Digest, Vol 36, Issue 15 **********************************************