Hi there! I am trying to get s2ram working on a Dell Latitude D620. Until so far, no luck.
I. The target platform. First let me tell you that it will be a little tricky to handle this machine with s2ram's whitelist, because Dell is putting completely different hardware parts in different models, but still identifying them the same. s2ram -i identifies this machine as: ------------------------- sys_vendor = "Dell Inc." sys_product = "Latitude D620 " sys_version = "" bios_version = "A04" ------------------------- The only problem is, this gives no clue about what variation of the hardware components is used. D620 notebooks are sold with the following parts: Video: 256MB NVIDIA Quadro NVS TurboCache or Intel Graphics Media Accelerator 950 WiFi: Intel 3945 WiFi 802.11a/g or Dell Wireless 1390 802.11g or Dell Wireless 1490 802.11a/g So in order to identify the system, s2ram will have to take a look at lspci, too. II. My system. My notebook has intel 945 video, broadcom BCM5752 (=tg3) ethernet and "dell wireless 1390" (=broadcom 4311, hopefully going to be supported by bcm43xx soon) wifi. The output of "lspci" looks like this: ----------------------------------------- 00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express Memory Controller Hub (rev 03) 00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03) 00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03) 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01) 00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01) 00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01) 00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 01) 00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 01) 00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 01) 00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 01) 00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 01) 00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e1) 00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 01) 00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controller IDE (rev 01) 00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01) 03:01.0 CardBus bridge: O2 Micro, Inc. OZ601/6912/711E0 CardBus/SmartCardBus Controller (rev 40) 09:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5752 Gigabit Ethernet PCI Express (rev 02) 0c:00.0 Network controller: Broadcom Corporation Dell Wireless 1390 WLAN Mini-PCI Card (rev 01) ----------------------------------------- III. Test results I am running a debian etch/sid hybrid on it. Kernel is custom-compiled from debian 2.6.17-9 kernel sources. (Which is synced with stable release 2.6.17.13) USB, networking and audio drivers are all compiled as modules. After some failures, I have set up a minimal configuration. No vesafb. No apic. init=/bin/bash. The only loaded module is zlib_inflate. The results of the various parameters are summarized in the following chart: command result --------------------------------------- s2ram -f goes down, kernel crash in acpi_pm_enter on resume s2ram -f -a 1 goes down, reboot on resume s2ram -f -a 2 goes down, reboot on resume s2ram -f -a 3 goes down, reboot on resume s2ram -f -p -s goes down, kernel crash in acpi_pm_enter on resume s2ram -f -s goes down, kernel crash in acpi_pm_enter on resume s2ram -f -p goes down, kernel crash in acpi_pm_enter on resume s2ram -f -a 1 -s goes down, reboot on resume ------------------------------------------ I have seen the thread starting at http://www.mail-archive.com/suspend-devel@lists.sourceforge.net/msg00428.html , but my machine behaves differently. (To be more specific, it crashes, when it should resume.) Here is what I captured form the kernel crash after s2ram -f -p -s: -------------------------------------------------------------------------------- SMP Modules linked in: zlib_inflate CPU: 0 EIP: 0060:[<c0233683>] Not tainted VLI EFLAGS: 00003246 (2.6.16 #1) EIP is at acpi_pm_enter+0x71/0x93 eax: 00000033 ebx: 00000000 ecx: 00000000 edx: 00003092 esi: 00000003 edi: 00000003 ebp: 00003246 esp: f7ec7efc ds: 0068 es: 008b ss: 0068 Process s2ram (pid: 2560, threadinfo=f7ec6000 task=dffbc570) Stack: 00000000 00003282 00000003 00000003 c01413cf 00000003 00000003 00000000 c0393db3 c01414fd c0156fed c21b2000 c21b2003 c014161d 00000003 c03ea61c c0141560 c03ea5b4 c21b2000 00000003 c019ccc9 c20fe514 c03ede54 c21b1f80 Call Trace: <c01413cf> suspend_enter+0x4f/0x60 <c01414fd> enter_state+x11d/0x180 <c0156fed> vma_merge+0xdd/0x1c0 <c014161d> state_store+0xbd/0xd0 <c0141560> state_store+0x0/0x40 <c019ccc9> subsys_attr_ctore+0x29/0x40 <c019cfe2> sysfs_write_file+0x92/0xf0 <c0166226> vfs_write+0xa6/0x160 <c019cf50> sysfs_write_file+0x0/0xf0 <c016696> sysfs_write+0x41/0x70 <c0102fcf> sysenter_past_esp+0x54/0x75 Code: ff eb 45 eb 12 e8 9a 4c 1b 00 eb 1b 31 db 83 3d 28 22 3f c0 02 75 12 57 e8 db 6c ff ff 89 c3 58 eb 07 e8 57 fc ff ff 31 db 55 9d <68> 82 d6 3c c0 e8 f3 27 ef ff 4e 5f 7e 05 e8 5a db ed ff 83 db EIP: [<c0233683>] acpi_pm_enter+0x71/0x93 SS:ESP 0068:f7ec7efc ------------------------------------------------------------------------------------- I also tried to run s2ram -f -p -s with SMP disabled, but it did not change the results. Where do I go from here? Kristof Csillag -- Csillag Kristof <[EMAIL PROTECTED]> ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel