Segmentation fault on resume from suspend to disk

Markus Kolb ubuntu-ml at tower-net.de
Sun Jun 19 12:25:12 UTC 2005


Hi,

I have a problem with the suspend to disk stuff in Hoary.
The suspend works and the resume should work, too...
But on the half way on resume there is anywhere a segmentation fault.
The script doing the resume stuff for loading and activating the stuff
which was deactivated before suspend seems to stop unfinished.
So networking etc. isn't restored.
I can do this by myself in the shell and then start GDM... and
everything is running as before.

Dmesg reports:

Stopping tasks: =============================|
Freeing memory... done (14079 pages freed)
..........................swsusp: Need to copy 10126 pages
.swsusp: Restoring Highmem
APIC error on CPU0: 00(00)
ACPI: PCI interrupt 0000:00:07.0[A] -> GSI 17 (level, low) -> IRQ 17
ACPI: PCI interrupt 0000:00:11.1[A]: no GSI
scheduling while atomic: hibernate.sh/0x00000001/8543
 [<c028d2d5>] schedule+0x52f/0x534
 [<c01200b8>] __mod_timer+0x12b/0x17d
 [<c028d71e>] schedule_timeout+0x63/0xb7
 [<c0120b08>] process_timeout+0x0/0x9
 [<c0120eac>] msleep+0x30/0x38
 [<c01bab93>] pci_set_power_state+0xc6/0x151
 [<c01bacc5>] pci_enable_device_bars+0x1b/0x3c
 [<c01bad08>] pci_enable_device+0x22/0x42
 [<f0bd530d>] snd_via82xx_resume+0x1c/0x19b [snd_via82xx]
 [<c01bac9c>] pci_restore_state+0x38/0x46
 [<f0b8e8b5>] snd_card_pci_resume+0x4c/0x4e [snd]
 [<c01bcc59>] pci_device_resume+0x2c/0x2e
 [<c020e54b>] resume_device+0x27/0x29
 [<c020e5f1>] dpm_resume+0xa4/0xa6
 [<c020e604>] device_resume+0x11/0x1e
 [<c0132a12>] finish+0x8/0x3a
 [<c0132b23>] pm_suspend_disk+0x41/0x76
 [<c0130a92>] enter_state+0x6c/0x70
 [<c0130bb8>] state_store+0xa2/0xaa
 [<c0190378>] subsys_attr_store+0x3a/0x3e
 [<c01905f5>] flush_write_buffer+0x3e/0x4a
 [<c0190655>] sysfs_write_file+0x54/0x7b
 [<c01541fc>] vfs_write+0xb5/0x13a
 [<c0154352>] sys_write+0x51/0x80
 [<c0102ea5>] sysenter_past_esp+0x52/0x75
ACPI: PCI interrupt 0000:00:11.5[C] -> GSI 22 (level, low) -> IRQ 22
scheduling while atomic: hibernate.sh/0x00000001/8543
 [<c028d2d5>] schedule+0x52f/0x534
 [<c0111118>] __unmask_IO_APIC_irq+0x1f/0x23
 [<c028d393>] wait_for_completion+0x76/0xca
 [<c0114bad>] default_wake_function+0x0/0x12
 [<c0114bad>] default_wake_function+0x0/0x12
 [<c020ed23>] __elv_add_request+0x78/0xb8
 [<f0881d81>] ide_do_drive_cmd+0xf9/0x138 [ide_core]
 [<f087f21f>] generic_ide_resume+0x93/0xb6 [ide_core]
 [<c020e54b>] resume_device+0x27/0x29
 [<c020e5f1>] dpm_resume+0xa4/0xa6
 [<c020e604>] device_resume+0x11/0x1e
 [<c0132a12>] finish+0x8/0x3a
 [<c0132b23>] pm_suspend_disk+0x41/0x76
 [<c0130a92>] enter_state+0x6c/0x70
 [<c0130bb8>] state_store+0xa2/0xaa
 [<c0190378>] subsys_attr_store+0x3a/0x3e
 [<c01905f5>] flush_write_buffer+0x3e/0x4a
 [<c0190655>] sysfs_write_file+0x54/0x7b
 [<c01541fc>] vfs_write+0xb5/0x13a
 [<c0154352>] sys_write+0x51/0x80
 [<c0102ea5>] sysenter_past_esp+0x52/0x75
Restarting tasks...<3>scheduling while atomic: hibernate.sh/0x00000001/8543
 [<c028d2d5>] schedule+0x52f/0x534
 [<c011434d>] wake_up_process+0x1e/0x22
 [<c0130eba>] thaw_processes+0xa6/0xd8
 [<c0132a20>] finish+0x16/0x3a
 [<c0132b23>] pm_suspend_disk+0x41/0x76
 [<c0130a92>] enter_state+0x6c/0x70
 [<c0130bb8>] state_store+0xa2/0xaa
 [<c0190378>] subsys_attr_store+0x3a/0x3e
 [<c01905f5>] flush_write_buffer+0x3e/0x4a
 [<c0190655>] sysfs_write_file+0x54/0x7b
 [<c01541fc>] vfs_write+0xb5/0x13a
 [<c0154352>] sys_write+0x51/0x80
 [<c0102ea5>] sysenter_past_esp+0x52/0x75
 done
scheduling while atomic: hibernate.sh/0x00000001/8543
 [<c028d2d5>] schedule+0x52f/0x534
 [<c0154352>] sys_write+0x51/0x80
 [<c0102f22>] work_resched+0x5/0x16
scheduling while atomic: hibernate.sh/0x00000001/8543
 [<c028d2d5>] schedule+0x52f/0x534
 [<c0115618>] sys_sched_yield+0x54/0x65
 [<c015f9f4>] coredump_wait+0x39/0x9f
 [<c015fb22>] do_coredump+0xc8/0x1cf
 [<c01c1999>] vgacon_scroll+0x14a/0x238
 [<c0120f88>] free_uid+0x1f/0x76
 [<c01217eb>] __dequeue_signal+0xdf/0x18f
 [<c01218d0>] dequeue_signal+0x35/0x90
 [<c01234a0>] get_signal_to_deliver+0x213/0x2fb
 [<c0102d01>] do_signal+0x98/0x128
 [<c0128980>] __kernel_text_address+0x2e/0x37
 [<c0128980>] __kernel_text_address+0x2e/0x37
 [<c01140e1>] recalc_task_prio+0x93/0x188
 [<c028d09b>] schedule+0x2f5/0x534
 [<c0112e0c>] do_page_fault+0x0/0x5c8
 [<c0102dc6>] do_notify_resume+0x35/0x37
 [<c0102f46>] work_notifysig+0x13/0x15
note: hibernate.sh[8543] exited with preempt_count 1





More information about the ubuntu-users mailing list