search for: s2disk

Displaying 20 results from an estimated 27 matches for "s2disk".

2013 Nov 17
1
[PATCH] drm/nouveau/fb: fix suspend/resume fbcon
...>>> console_unlock(); >>> >>> Cheers, >>> Emil >> >> Hi! >> >> That was my first try! I guessed the same but I got exactly one trap >> message on resume. >> > Hi Chris, > Hi Emil! > Just got around to playing with s2disk on my laptop(nv96) and AFAICS > it seems to be OK without either patch. That does not make me wonder. The "nouveau_fbcon_restore_accel" is restoring from uninitialized memory. So the resulting behavior is undefined. It must not fail. (My experience with vga-drivers is, it may makes...
2013 Nov 19
2
[PATCH] drm/nouveau/fbcon: fix suspend/resume fbcon
Current code disables fbcon acceleration before fbcon is suspended, leading to corrupted console after resume from s2disk. In a similar fashion we must make sure that fbcon acceleration is enabled before we revive the console. With this patch s2disk works correctly on my MacBookPro6,2 with GT216 [GeForce GT 330M] hibernate: kernel: nouveau [ DRM] suspending fbcon... kernel: nouveau [ DRM] suspending displa...
2020 Jul 03
5
[RFC]: mm,power: introduce MADV_WIPEONSUSPEND
...This patch adds logic to the kernel power code to zero out contents of > all MADV_WIPEONSUSPEND VMAs present in the system during its transition > to any suspend state equal or greater/deeper than Suspend-to-memory, > known as S3. How does the application learn that its memory got wiped? S2disk is an async operation and it can happen at any time during the task execution. So how does the application work to prevent from corrupted state - e.g. when suspended between two memory loads? -- Michal Hocko SUSE Labs
2020 Jul 03
5
[RFC]: mm,power: introduce MADV_WIPEONSUSPEND
...This patch adds logic to the kernel power code to zero out contents of > all MADV_WIPEONSUSPEND VMAs present in the system during its transition > to any suspend state equal or greater/deeper than Suspend-to-memory, > known as S3. How does the application learn that its memory got wiped? S2disk is an async operation and it can happen at any time during the task execution. So how does the application work to prevent from corrupted state - e.g. when suspended between two memory loads? -- Michal Hocko SUSE Labs
2013 Oct 04
2
[PATCH] drm/nouveau/fb: fix suspend/resume fbcon
Am Donnerstag, den 03.10.2013, 23:50 +0100 schrieb Emil Velikov: > I'm not entirely sure this is correct. One needs to save and disable > accleration before suspending the fb. Please try the following > > - if (state == 0) > + if (state == 1) > nouveau_fbcon_save_disable_accel(dev); > fb_set_suspend(drm->fbcon->helper.fbdev, state); > - if (state == 1) > +
2013 Nov 19
1
[PATCH] drm/nouveau/fbcon: fix suspend/resume fbcon
On Tue, Nov 19, 2013 at 05:59:13PM +0100, Christoph Rudorff wrote: > Current code disables fbcon acceleration before fbcon is suspended, > leading to corrupted console after resume from s2disk. In a similar > fashion we must make sure that fbcon acceleration is enabled before we > revive the console. > > With this patch s2disk works correctly on my MacBookPro6,2 with GT216 > [GeForce GT 330M] > > hibernate: > kernel: nouveau [ DRM] suspending fbcon... >...
2020 Jul 07
2
[RFC]: mm,power: introduce MADV_WIPEONSUSPEND
...o zero out contents of > > > all MADV_WIPEONSUSPEND VMAs present in the system during its transition > > > to any suspend state equal or greater/deeper than Suspend-to-memory, > > > known as S3. > > > > How does the application learn that its memory got wiped? S2disk is an > > async operation and it can happen at any time during the task execution. > > So how does the application work to prevent from corrupted state - e.g. > > when suspended between two memory loads? > > You can do it seqlock-style, kind of - you reserve the first byte...
2020 Jul 07
2
[RFC]: mm,power: introduce MADV_WIPEONSUSPEND
...o zero out contents of > > > all MADV_WIPEONSUSPEND VMAs present in the system during its transition > > > to any suspend state equal or greater/deeper than Suspend-to-memory, > > > known as S3. > > > > How does the application learn that its memory got wiped? S2disk is an > > async operation and it can happen at any time during the task execution. > > So how does the application work to prevent from corrupted state - e.g. > > when suspended between two memory loads? > > You can do it seqlock-style, kind of - you reserve the first byte...
2013 Nov 16
0
[PATCH] drm/nouveau/fb: fix suspend/resume fbcon
...+ if (state == 0) >> nouveau_fbcon_restore_accel(dev); >> console_unlock(); >> >> Cheers, >> Emil > > Hi! > > That was my first try! I guessed the same but I got exactly one trap > message on resume. > Hi Chris, Just got around to playing with s2disk on my laptop(nv96) and AFAICS it seems to be OK without either patch. Can you provide some more context regarding the issue ? * What hardware are you running * Which kernel are you having problems with * Can you resume from s2disk correctly if you never start X * Do you have the problem with s2ram...
2013 Nov 19
0
[PATCH] drm/nouveau/fbcon: fix suspend/resume fbcon
On 19.11.2013 19:48, Greg KH wrote: > On Tue, Nov 19, 2013 at 05:59:13PM +0100, Christoph Rudorff wrote: >> Current code disables fbcon acceleration before fbcon is suspended, >> leading to corrupted console after resume from s2disk. In a similar >> fashion we must make sure that fbcon acceleration is enabled before we >> revive the console. >> >> With this patch s2disk works correctly on my MacBookPro6,2 with GT216 >> [GeForce GT 330M] >> >> hibernate: >> kernel: nouveau [...
2020 Jul 03
1
[RFC]: mm,power: introduce MADV_WIPEONSUSPEND
...o zero out contents of > > > all MADV_WIPEONSUSPEND VMAs present in the system during its transition > > > to any suspend state equal or greater/deeper than Suspend-to-memory, > > > known as S3. > > > > How does the application learn that its memory got wiped? S2disk is an > > async operation and it can happen at any time during the task execution. > > So how does the application work to prevent from corrupted state - e.g. > > when suspended between two memory loads? > > You can do it seqlock-style, kind of - you reserve the first byte...
2013 Oct 07
9
[Bug 70213] New: [git-v3.12-rc3 + nouveau HEAD] Vmalloc failure -> pci_pm_freeze(): nouveau_pmops_freeze+0x0/0x50 returns -12
...Reporter: ronald645 at gmail.com Hardware: Other Status: NEW Version: git Component: Driver/nouveau Product: xorg Created attachment 87219 --> https://bugs.freedesktop.org/attachment.cgi?id=87219&action=edit Dmesg containing failed s2disk output. Tried to do s2disk under high memory pressure. I have attached a dmesg excluding the noise from my firewall and wireless card. The log has wrapped due to these messages so it's starting exactly at the point where I do 's2disk'. This is the card: [ 0.355731] nouveau [ DEV...
2009 Aug 09
28
[Bug 23223] New: Regression: Nvidia Geforce 7300 (NV4B) fails to suspend
...like: Freezing system or something (let me know if you need the exact sentence)). On IRC, pq said that bisecting was hard (but doable), but it was better to report it first and see what comments I get. Attached are a bunch of files, which (I think) are hopefully useful. Especially the file dmesgwhens2disk seems useful. At first glance the numbers don't seem to change, but eventually they do... Let met know if you need more info :) drm (master-compat): 781edc5696881d268781300961fbe99390fe21f9 ddx:77d6bcfb45fca069aafdca0687760d668acd185a Btw, the kernel documentati...
2020 Jul 03
0
[RFC]: mm,power: introduce MADV_WIPEONSUSPEND
...o the kernel power code to zero out contents of > > all MADV_WIPEONSUSPEND VMAs present in the system during its transition > > to any suspend state equal or greater/deeper than Suspend-to-memory, > > known as S3. > > How does the application learn that its memory got wiped? S2disk is an > async operation and it can happen at any time during the task execution. > So how does the application work to prevent from corrupted state - e.g. > when suspended between two memory loads? You can do it seqlock-style, kind of - you reserve the first byte of the page or so as a &q...
2020 Jul 03
0
[RFC]: mm,power: introduce MADV_WIPEONSUSPEND
...o the kernel power code to zero out contents of > > all MADV_WIPEONSUSPEND VMAs present in the system during its transition > > to any suspend state equal or greater/deeper than Suspend-to-memory, > > known as S3. > > How does the application learn that its memory got wiped? S2disk is an > async operation and it can happen at any time during the task execution. > So how does the application work to prevent from corrupted state - e.g. > when suspended between two memory loads? This doesn't affect hibernation AFAICS, but system suspend (suspend-to-RAM or suspend-t...
2020 Jul 07
0
[RFC]: mm,power: introduce MADV_WIPEONSUSPEND
...gt; of > > > all MADV_WIPEONSUSPEND VMAs present in the system during its > > > transition > > > to any suspend state equal or greater/deeper than Suspend-to-memory, > > > known as S3. > > > > How does the application learn that its memory got wiped? S2disk is an > > async operation and it can happen at any time during the task execution. > > So how does the application work to prevent from corrupted state - e.g. > > when suspended between two memory loads? > > The usual trick when using MADV_WIPEONFORK, or BSD?s MAP_INHERIT_Z...
2020 Jul 07
0
[RFC]: mm,power: introduce MADV_WIPEONSUSPEND
...t; > > > all MADV_WIPEONSUSPEND VMAs present in the system during its transition > > > > to any suspend state equal or greater/deeper than Suspend-to-memory, > > > > known as S3. > > > > > > How does the application learn that its memory got wiped? S2disk is an > > > async operation and it can happen at any time during the task execution. > > > So how does the application work to prevent from corrupted state - e.g. > > > when suspended between two memory loads? > > > > You can do it seqlock-style, kind of - yo...
2010 Feb 10
19
[Bug 26521] New: Bug in kernel module - ttm_bo_pci_offset
...Component: Driver/nouveau AssignedTo: nouveau at lists.freedesktop.org ReportedBy: alex.vizor at gmail.com QAContact: xorg-team at lists.x.org Created an attachment (id=33225) --> (http://bugs.freedesktop.org/attachment.cgi?id=33225) kernel log On 2.6.33-rcX s2disk works sometimes, sometimes not. When I tested it as described it kernel documentation - it worked all time, I tried it about 9 times with different debugging options and without them. But when I used laptop for half of hour and then tried to do s2disk it hanged on suspending after message "Sus...
2013 Nov 01
30
[Bug 71116] New: [Ubuntu userspace upgrade 13.04 -> 13.10][regression] NV34 card fails to properly resume.
.../attachment.cgi?id=88462&action=edit Attempt to resume [ 0.197865] nouveau [ DEVICE][0000:01:00.0] Chipset: NV34 (NV34) [ 0.197869] nouveau [ DEVICE][0000:01:00.0] Family : NV30 After *only upgrading userspace* from Ubuntu 13.04 to Ubuntu 13.10 the card fails to properly resume from s2disk. Important upgraded packages: xserver-xorg-core:i386 2:1.13.3-0ubuntu6.2 -> 2:1.14.3-3ubuntu2 xserver-xorg-video-nouveau:i386 1:1.0.7-0ubuntu1 -> 1:1.0.9-2ubuntu1 libdrm2:i386 2.4.43-0ubuntu1.1 -> 2.4.46-1 libpciaccess0:i386 0.13.1-2 -> 0.13.2-1 -- You are receiving this mail becaus...
2020 Jul 07
3
[RFC]: mm,power: introduce MADV_WIPEONSUSPEND
...l MADV_WIPEONSUSPEND VMAs present in the system during its transition > > > > > to any suspend state equal or greater/deeper than Suspend-to-memory, > > > > > known as S3. > > > > > > > > How does the application learn that its memory got wiped? S2disk is an > > > > async operation and it can happen at any time during the task execution. > > > > So how does the application work to prevent from corrupted state - e.g. > > > > when suspended between two memory loads? > > > > > > You can do it se...