On Wed, 28 Jan 2004 20:22:17 +0800 Hugang wrote: > HaHa, Here is swsusp2 patch for ppc. Now it WORKS fine. > > The code base for testing, any comments and testing are welcome. previous patch, I has forgot a file, here is it. Index: arch/ppc/Makefile =================================================================== --- arch/ppc/Makefile (revision 192) +++ arch/ppc/Makefile (working copy) @@ -44,6 +44,7 @@ drivers-$(CONFIG_4xx) += arch/ppc/4xx_io/ drivers-$(CONFIG_8260) += arch/ppc/8260_io/ drivers-$(CONFIG_OCP) += arch/ppc/ocp/ +drivers-$(CONFIG_PM) += arch/ppc/power/ BOOT_TARGETS = zImage zImage.initrd znetboot znetboot.initrd vmlinux.sm Attached file that is diff for the lastest swsusp2. for clean 2.6.1 + 2.6.1-swsusp2-rc3 + swsusp2-core-rc5 swsusp2 for ppc like very stable, I has been do 5 times, has no problems. Nice day. - SWSUSP core : 2.0-rc4 - Kernel Version : 2.6.1 - Version spec. : 2.0.0 - Compiler vers. : 2.95 ide_cd cdrom nfs lockd sunrpc af_packet ohci_hcd snd_pcm_oss snd_mixer_oss i2c_keywest snd_powermac snd_pcm snd_page_alloc snd_timer snd soundcore i2c_core ohci1394 ieee1394 hid sungem sungem_phy reiserfs dm_mod uninorth_agp agpgart usbcore - Attempt number : 5 - Pageset sizes : 7201 and 56927 (56927 low). - Parameters : 0 1 1 0 0 32 - Calculations : Image size: 2. Ram to suspend: 631. - Limits : 65536 pages RAM. Initial boot: 63232. - Overall expected compression percentage: 2. - Swapwriter active. Attempting to automatically swapon: . Swap available for image: 110002. - GZIP compressor enabled. Compressed 129732608 bytes into 103573980. Image compressed by 20 percent. - LZF Compressor enabled. Compressed 262668288 bytes into 129727869. Image compressed by 50 percent. - Debugging compiled in. - Max ranges used: 11352 -- Hu Gang / Steve Linux Registered User 204016 GPG Public Key: http://soulinfo.com/~hugang/HuGang.asc