Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 20 Nov 2001 18:21:59 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 20 Nov 2001 18:21:50 -0500 Received: from cisco7500-mainGW.gts.cz ([194.213.32.131]:29569 "EHLO Elf.ucw.cz") by vger.kernel.org with ESMTP id ; Tue, 20 Nov 2001 18:21:22 -0500 Date: Wed, 21 Nov 2001 00:18:58 +0100 From: Pavel Machek To: Swsusp mailing list , ACPI mailing list , kernel list , Gabor Kuti Subject: swsusp for 2.4.14 Message-ID: <20011121001858.B183@elf.ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.23i X-Warning: Reading this can be dangerous to your mental health. Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi! Warning. This probably corrupts memory. (All previous versinos did, just noone noticed becuase it needed 20+ suspend/resume cycles). This is probably best version ever, but it still corrupts data. If someone can see *any* bug in this, please let me know. I want that data-corrupting-bug to be *gone*. Pavel PS: It manifests (usually) by "Init: segmentation violation" after pressing c-a-d after 20+ suspend/resume cycles. If you have any ideas... Grr. I maybe see the bug. In drivers/ide/hd.c. I'll take more look... I really should *reset* that controller upon resume so stale data are gone. But I'm not sure if that is *the* bug. -- Only in linux-swsusp/: .config Only in linux-swsusp/: .projectroot diff -ur -x .dep* -x .hdep* -x *.[oas] -x *~ -x #* -x *CVS* -x *.orig -x *.rej -x *.old -x .menu* -x asm -x local.h -x System.map -x autoconf.h -x compile.h -x version.h -x .version -x defkeymap.c -x uni_hash.tbl -x zImage -x vmlinux -x vmlinuz -x TAGS -x bootsect -x *RCS* -x conmakehash -x map -x build -x build -x configure -x *target* -x *.flags -x *.bak clean/CREDITS linux-swsusp/CREDITS --- clean/CREDITS Sun Nov 4 18:31:57 2001 +++ linux-swsusp/CREDITS Sun Nov 11 18:46:20 2001 @@ -1647,6 +1647,11 @@ S: D-91080 Uttenreuth S: Germany +N: Gabor Kuti +E: seasons@falcon.sch.bme.hu +E: seasons@makosteszta.sote.hu +D: Author and Maintainer for Software Suspend + N: Jaroslav Kysela E: perex@suse.cz W: http://www.perex.cz @@ -1819,7 +1824,8 @@ E: pavel@ucw.cz E: pavel@suse.cz D: Softcursor for vga, hypertech cdrom support, vcsa bugfix, nbd -D: sun4/330 port, capabilities for elf, speedup for rm on ext2, USB +D: sun4/330 port, capabilities for elf, speedup for rm on ext2, USB, +D: x86-64 port, software suspend S: Volkova 1131 S: 198 00 Praha 9 S: Czech Republic diff -ur -x .dep* -x .hdep* -x *.[oas] -x *~ -x #* -x *CVS* -x *.orig -x *.rej -x *.old -x .menu* -x asm -x local.h -x System.map -x autoconf.h -x compile.h -x version.h -x .version -x defkeymap.c -x uni_hash.tbl -x zImage -x vmlinux -x vmlinuz -x TAGS -x bootsect -x *RCS* -x conmakehash -x map -x build -x build -x configure -x *target* -x *.flags -x *.bak clean/Documentation/Configure.help linux-swsusp/Documentation/Configure.help --- clean/Documentation/Configure.help Mon Nov 5 22:40:59 2001 +++ linux-swsusp/Documentation/Configure.help Sun Nov 11 18:46:20 2001 @@ -14887,6 +14887,31 @@ a work-around for a number of buggy BIOSes. Switch this option on if your computer crashes instead of powering off properly. +Software Suspend +CONFIG_SOFTWARE_SUSPEND + Enable the possibilty of suspendig machine. It doesn't need APM. + You may suspend your machine by either pressing Sysrq-d or with + 'swsusp' or 'shutdown -z