Bug 152536 - Suspend to Disk never completely shuts down and re-starts immediately
Summary: Suspend to Disk never completely shuts down and re-starts immediately
Status: RESOLVED INVALID
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Kernel (show other bugs)
Version: Final
Hardware: i586 SuSE Linux 10.0
: P5 - None : Major
Target Milestone: ---
Assignee: Forgotten User ZhJd0F0L3x
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-21 17:07 UTC by Jonathon Robison
Modified: 2006-02-22 17:05 UTC (History)
0 users

See Also:
Found By: Beta-Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Suspend log (4.49 KB, text/plain)
2006-02-22 01:16 UTC, Jonathon Robison
Details
suspend state (307 bytes, text/plain)
2006-02-22 01:18 UTC, Jonathon Robison
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathon Robison 2006-02-21 17:07:09 UTC
Suspend-to-Disk never fully shuts down, and re-starts you right back into the logged in KDE enviroment immediately.

Dell D600 laptop. Occurs both when docked and undocked. Occurs with or without "noapic"

Here is the dmesg from it:

Stopping tasks: ===========================================================================================|
Freeing memory... done (108519 pages freed)
ACPI: PCI interrupt for device 0000:02:03.0 disabled
ACPI: PCI interrupt for device 0000:02:01.1 disabled
ACPI: PCI interrupt for device 0000:02:01.0 disabled
ACPI: PCI interrupt for device 0000:00:1f.5 disabled
ACPI: PCI interrupt for device 0000:00:1d.7 disabled
    ACPI-0212: *** Warning: Device is not power manageable
swsusp: FATAL: cannot find swap device, try swapon -a!
    ACPI-0212: *** Warning: Device is not power manageable
PCI: Enabling device 0000:00:1d.7 (0000 -> 0002)
ACPI: PCI Interrupt 0000:00:1d.7[D] -> Link [LNKH] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:1d.7 to 64
ehci_hcd 0000:00:1d.7: debug port 1
ehci_hcd 0000:00:1d.7: dma_pool_destroy ehci_qtd, f7e13000 busy
ehci_hcd 0000:00:1d.7: dma_pool_destroy ehci_qh, f7e12000 busy
ehci_hcd 0000:00:1d.7: HC died; cleaning up
ACPI: PCI Interrupt 0000:00:1d.7[D] -> Link [LNKH] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:1e.0 to 64
ACPI: PCI Interrupt 0000:00:1f.1[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI Interrupt 0000:00:1f.5[B] -> Link [LNKB] -> GSI 5 (level, low) -> IRQ 5
PCI: Setting latency timer of device 0000:00:1f.5 to 64
usb 4-6: USB disconnect, address 2
Unable to handle kernel NULL pointer dereference at virtual address 00000000
 printing eip:
c02580da
*pde = 00000000
Oops: 0000 [#1]
Modules linked in: nls_cp850 smbfs ipt_pkttype ipt_LOG ipt_limit ipt_policy cpufreq_ondemand cpufreq_userspace cpufreq_powersave speedstep_centrino freq_table button battery ac radeon drm af_packet snd_pcm_oss snd_mixer_oss edd pcmcia ip6t_REJECT ipt_REJECT ipw2100 ipt_state yenta_socket rsrc_nonstatic pcmcia_core ieee80211 ieee80211_crypt firmware_class tg3 iptable_mangle snd_intel8x0 snd_ac97_codec snd_ac97_bus iptable_nat pci_hotplug ehci_hcd iptable_filter snd_pcm snd_timer snd soundcore snd_page_alloc generic usbcore intel_agp agpgart ip6table_mangle ip_conntrack ip_tables ip6table_filter ip6_tables ipv6 parport_pc lp parport nls_utf8 ntfs dm_mod reiserfs fan ide_cd cdrom thermal processor piix ide_disk ide_core
CPU:    0
EIP:    0060:[<c02580da>]    Tainted: G     U VLI
EFLAGS: 00010086   (2.6.13-15.8-default)
EIP is at pool_find_page+0xa/0x40
eax: 00000000   ebx: 00000000   ecx: 37e130c0   edx: 37e130c0
esi: 37e130c0   edi: 00000086   ebp: f7e130c0   esp: f7e09ed4
ds: 007b   es: 007b   ss: 0068
Process khubd (pid: 2848, threadinfo=f7e08000 task=f6970530)
Stack: f7e12080 37e130c0 00000000 c0258121 f7e12080 f641b6d0 dfd24844 f641b6d0
       f938faea f7e120e0 f938fac0 c01ef166 f7e12080 00000282 f93941d3 f641b600
       00000003 000003e8 dfd2483c dfd24850 dfd24844 f641b600 f9327f84 00000000
Call Trace:
 [<c0258121>] dma_pool_free+0x11/0xc0
 [<f938faea>] qh_destroy+0x2a/0x50 [ehci_hcd]
 [<f938fac0>] qh_destroy+0x0/0x50 [ehci_hcd]
 [<c01ef166>] kref_put+0x26/0x60
 [<f93941d3>] ehci_endpoint_disable+0x143/0x148 [ehci_hcd]
 [<f9327f84>] hcd_endpoint_disable+0x74/0xc0 [usbcore]
 [<f932990a>] usb_disable_endpoint+0x3a/0x60 [usbcore]
 [<f93299cb>] usb_disable_device+0x5b/0x110 [usbcore]
 [<f932507a>] usb_disconnect+0x8a/0x100 [usbcore]
 [<f9324e51>] hub_pre_reset+0x31/0x50 [usbcore]
 [<f93264b0>] hub_thread+0x0/0xf0 [usbcore]
 [<f93261e1>] hub_events+0xc1/0x390 [usbcore]
 [<f93264b0>] hub_thread+0x0/0xf0 [usbcore]
 [<f93264c5>] hub_thread+0x15/0xf0 [usbcore]
 [<c012df70>] autoremove_wake_function+0x0/0x30
 [<c012dc35>] kthread+0x85/0x90
 [<c012dbb0>] kthread+0x0/0x90
 [<c01012f1>] kernel_thread_helper+0x5/0x14
Code: 5f 5d c3 0f ba 70 14 00 31 c0 31 d2 eb cf 31 d2 eb e2 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90 90 57 56 89 d6 53 89 c3 9c 5f fa <8b> 00 8b 10 0f 18 02 90 39 d8 74 1a 8b 48 0c 39 f1 77 07 03 4b
 <6>ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
tg3: wired: Link is down.
ACPI: PCI Interrupt 0000:02:01.0[A] -> Link [LNKD] -> GSI 11 (level, low) -> IRQ 11
Yenta O2: res at 0x94/0xD4: 00/ea
Yenta O2: enabling read prefetch/write burst
ACPI: PCI Interrupt 0000:02:01.1[A] -> Link [LNKD] -> GSI 11 (level, low) -> IRQ 11
PCI: Enabling device 0000:02:03.0 (0000 -> 0002)
ACPI: PCI Interrupt 0000:02:03.0[A] -> Link [LNKB] -> GSI 5 (level, low) -> IRQ 5
Restarting tasks... done


As you can see, it looks like swsusp isn't finding the 1G swap!
Comment 1 Jonathon Robison 2006-02-22 01:16:19 UTC
Created attachment 69667 [details]
Suspend log
Comment 2 Jonathon Robison 2006-02-22 01:18:17 UTC
Created attachment 69668 [details]
suspend state
Comment 3 Forgotten User ZhJd0F0L3x 2006-02-22 07:19:29 UTC
Some questions:
- did you upgrade the system from 9.3?
- is your swap on a plain partition or maybe on an lvm?

If you upgraded the system, make sure that the "resume=/dev/your_swap" parameter in the bootloader config is still there. Add it if it isnt, reboot, retry.
If your swap is not on a plain partition - well, you lose. This is not supported yet.

If everything should work, but doesn't, please send the output of
- cat /proc/cmdline
- cat /proc/swaps
- cat /sys/power/resume
Comment 4 Jonathon Robison 2006-02-22 16:48:31 UTC
**blush**

A month or so ago I tarballed the entire drive and replaced the 6G drive on this laptop with a 40G, and handed it over to Ford's Deskside Services to be re-staged with the Ford global client load (XP).  

Apparently, between my last load install and this one, Deskside Services added a partition to the load. So, when I re-installed the tarball, I had to edit everything (fstab, menu.lst, etc.).

Obviously I missed the resume=/dev/hda2 (instead of hda3) in the menu.lst file.

Sorry for the trouble.
Comment 5 Jonathon Robison 2006-02-22 16:49:29 UTC
Bug shown invalid.
Comment 6 Forgotten User ZhJd0F0L3x 2006-02-22 17:05:55 UTC
if this happens to you again in 10.1, you'll at least get a more informative message :-)