* 2.6.9 suspend-to-disk bug (during resume)
@ 2004-10-24 13:13 andreoli
0 siblings, 0 replies; 8+ messages in thread
From: andreoli @ 2004-10-24 13:13 UTC (permalink / raw)
To: linux-kernel
Hi everyone,
I just installed 2.6.9 (gentoo patchset, but I think the swsusp code is
not touched, tell me if I'm wrong). After giving an
echo disk > /sys/power/state
my laptop seems to suspend fine, but on resume I get the following oops:
subsys_attr_store+0x3a/0x40
[<c018824b>] flush_write_buffer+0x3b/0x50
[<c01882ba>] sysfs_write_file+0x5a/0x70
[<c01554ac>] vfs_write+0xbc/0x170
[<c0155631>] sys_write+0x51/0x80
[<c01061c9>] sysenter_past_esp+0x52/0x71
bad: scheduling while atomic!
[<c029424f>] schedule+0x4cf/0x4e0
[<c02946e3>] schedule_timeout+0x63/0xc0
[<c0125410>] process_timeout+0x0/0x10
[<c01257ef>] msleep+0x2f/0x40
[<c01cd4e6>] pci_set_power_state+0xc6/0x160
[<ec9e5a50>] usb_hcd_pci_resume+0x130/0x160 [usbcore]
[<c01cf2bc>] pci_device_resume+0x2c/0x30
[<c0216227>] resume_device+0x27/0x30
[<c0216292>] dpm_resume+0x62/0x70
[<c02162b9>] device_resume+0x19/0x30
[<c0136cc8>] finish+0x8/0x40
[<c0136e2e>] pm_suspend_disk+0x7e/0xc0
[<c0135271>] enter_state+0xa1/0xb0
[<c013c19a>] __alloc_pages+0x1ca/0x360
[<c01353b0>] state_store+0xa0/0xa8
[<c0187fda>] subsys_attr_store+0x3a/0x40
[<c018824b>] flush_write_buffer+0x3b/0x50
[<c01882ba>] sysfs_write_file+0x5a/0x70
[<c01554ac>] vfs_write+0xbc/0x170
[<c0155631>] sys_write+0x51/0x80
[<c01061c9>] sysenter_past_esp+0x52/0x71
bad: scheduling while atomic!
[<c029424f>] schedule+0x4cf/0x4e0
[<c02946e3>] schedule_timeout+0x63/0xc0
[<c0125410>] process_timeout+0x0/0x10
[<c01257ef>] msleep+0x2f/0x40
[<eca243f6>] ohci_hub_resume+0x196/0x360 [ohci_hcd]
[<ec9e0f60>] hcd_hub_resume+0x20/0x30 [usbcore]
[<ec9ddfae>] usb_resume_device+0x9e/0xd0 [usbcore]
[<eca2719d>] ohci_pci_resume+0x2d/0x6b [ohci_hcd]
[<ec9e59f0>] usb_hcd_pci_resume+0xd0/0x160 [usbcore]
[<c01cf2bc>] pci_device_resume+0x2c/0x30
[<c0216227>] resume_device+0x27/0x30
[<c0216292>] dpm_resume+0x62/0x70
[<c02162b9>] device_resume+0x19/0x30
[<c0136cc8>] finish+0x8/0x40
[<c0136e2e>] pm_suspend_disk+0x7e/0xc0
[<c0135271>] enter_state+0xa1/0xb0
[<c013c19a>] __alloc_pages+0x1ca/0x360
[<c01353b0>] state_store+0xa0/0xa8
[<c0187fda>] subsys_attr_store+0x3a/0x40
[<c018824b>] flush_write_buffer+0x3b/0x50
[<c01882ba>] sysfs_write_file+0x5a/0x70
[<c01554ac>] vfs_write+0xbc/0x170
[<c0155631>] sys_write+0x51/0x80
[<c01061c9>] sysenter_past_esp+0x52/0x71
bad: scheduling while atomic!
[<c029424f>] schedule+0x4cf/0x4e0
[<c02946e3>] schedule_timeout+0x63/0xc0
[<c0125410>] process_timeout+0x0/0x10
[<c01257ef>] msleep+0x2f/0x40
[<eca24428>] ohci_hub_resume+0x1c8/0x360 [ohci_hcd]
[<ec9e0f60>] hcd_hub_resume+0x20/0x30 [usbcore]
[<ec9ddfae>] usb_resume_device+0x9e/0xd0 [usbcore]
[<eca2719d>] ohci_pci_resume+0x2d/0x6b [ohci_hcd]
[<ec9e59f0>] usb_hcd_pci_resume+0xd0/0x160 [usbcore]
[<c01cf2bc>] pci_device_resume+0x2c/0x30
[<c0216227>] resume_device+0x27/0x30
[<c0216292>] dpm_resume+0x62/0x70
[<c02162b9>] device_resume+0x19/0x30
[<c0136cc8>] finish+0x8/0x40
[<c0136e2e>] pm_suspend_disk+0x7e/0xc0
[<c0135271>] enter_state+0xa1/0xb0
[<c013c19a>] __alloc_pages+0x1ca/0x360
[<c01353b0>] state_store+0xa0/0xa8
[<c0187fda>] subsys_attr_store+0x3a/0x40
[<c018824b>] flush_write_buffer+0x3b/0x50
[<c01882ba>] sysfs_write_file+0x5a/0x70
[<c01554ac>] vfs_write+0xbc/0x170
[<c0155631>] sys_write+0x51/0x80
[<c01061c9>] sysenter_past_esp+0x52/0x71
bad: scheduling while atomic!
[<c029424f>] schedule+0x4cf/0x4e0
[<c02946ed>] schedule_timeout+0x6d/0xc0
[<c02946e3>] schedule_timeout+0x63/0xc0
[<c01257ef>] msleep+0x2f/0x40
[<c0125410>] process_timeout+0x0/0x10
[<c01257ef>] msleep+0x2f/0x40
[<ec9ddf90>] usb_resume_device+0x80/0xd0 [usbcore]
[<eca2719d>] ohci_pci_resume+0x2d/0x6b [ohci_hcd]
[<ec9e59f0>] usb_hcd_pci_resume+0xd0/0x160 [usbcore]
[<c01cf2bc>] pci_device_resume+0x2c/0x30
[<c0216227>] resume_device+0x27/0x30
[<c0216292>] dpm_resume+0x62/0x70
[<c02162b9>] device_resume+0x19/0x30
[<c0136cc8>] finish+0x8/0x40
[<c0136e2e>] pm_suspend_disk+0x7e/0xc0
[<c0135271>] enter_state+0xa1/0xb0
[<c013c19a>] __alloc_pages+0x1ca/0x360
[<c01353b0>] state_store+0xa0/0xa8
[<c0187fda>] subsys_attr_store+0x3a/0x40
[<c018824b>] flush_write_buffer+0x3b/0x50
[<c01882ba>] sysfs_write_file+0x5a/0x70
[<c01554ac>] vfs_write+0xbc/0x170
[<c0155631>] sys_write+0x51/0x80
[<c01061c9>] sysenter_past_esp+0x52/0x71
bad: scheduling while atomic!
[<c029424f>] schedule+0x4cf/0x4e0
[<c02946e3>] schedule_timeout+0x63/0xc0
[<c0125410>] process_timeout+0x0/0x10
[<c01257ef>] msleep+0x2f/0x40
[<c01cd4e6>] pci_set_power_state+0xc6/0x160
[<ec9e5a50>] usb_hcd_pci_resume+0x130/0x160 [usbcore]
[<c01cf2bc>] pci_device_resume+0x2c/0x30
[<c0216227>] resume_device+0x27/0x30
[<c0216292>] dpm_resume+0x62/0x70
[<c02162b9>] device_resume+0x19/0x30
[<c0136cc8>] finish+0x8/0x40
[<c0136e2e>] pm_suspend_disk+0x7e/0xc0
[<c0135271>] enter_state+0xa1/0xb0
[<c013c19a>] __alloc_pages+0x1ca/0x360
[<c01353b0>] state_store+0xa0/0xa8
[<c0187fda>] subsys_attr_store+0x3a/0x40
[<c018824b>] flush_write_buffer+0x3b/0x50
[<c01882ba>] sysfs_write_file+0x5a/0x70
[<c01554ac>] vfs_write+0xbc/0x170
[<c0155631>] sys_write+0x51/0x80
[<c01061c9>] sysenter_past_esp+0x52/0x71
bad: scheduling while atomic!
[<c029424f>] schedule+0x4cf/0x4e0
[<c023769d>] pci_bios_read+0xad/0xf0
[<c02946e3>] schedule_timeout+0x63/0xc0
[<c0125410>] process_timeout+0x0/0x10
[<c01257ef>] msleep+0x2f/0x40
[<ec9fe3e6>] ehci_hub_resume+0xd6/0x170 [ehci_hcd]
[<ec9e0f60>] hcd_hub_resume+0x20/0x30 [usbcore]
[<ec9ddfae>] usb_resume_device+0x9e/0xd0 [usbcore]
[<eca0268a>] ehci_resume+0x2a/0x70 [ehci_hcd]
[<ec9e59f0>] usb_hcd_pci_resume+0xd0/0x160 [usbcore]
[<c01cf2bc>] pci_device_resume+0x2c/0x30
[<c0216227>] resume_device+0x27/0x30
[<c0216292>] dpm_resume+0x62/0x70
[<c02162b9>] device_resume+0x19/0x30
[<c0136cc8>] finish+0x8/0x40
[<c0136e2e>] pm_suspend_disk+0x7e/0xc0
[<c0135271>] enter_state+0xa1/0xb0
[<c013c19a>] __alloc_pages+0x1ca/0x360
[<c01353b0>] state_store+0xa0/0xa8
[<c0187fda>] subsys_attr_store+0x3a/0x40
[<c018824b>] flush_write_buffer+0x3b/0x50
[<c01882ba>] sysfs_write_file+0x5a/0x70
[<c01554ac>] vfs_write+0xbc/0x170
[<c0155631>] sys_write+0x51/0x80
[<c01061c9>] sysenter_past_esp+0x52/0x71
bad: scheduling while atomic!
[<c029424f>] schedule+0x4cf/0x4e0
[<c02946e3>] schedule_timeout+0x63/0xc0
[<c0125410>] process_timeout+0x0/0x10
[<c01257ef>] msleep+0x2f/0x40
[<ec9ddf90>] usb_resume_device+0x80/0xd0 [usbcore]
[<eca0268a>] ehci_resume+0x2a/0x70 [ehci_hcd]
[<ec9e59f0>] usb_hcd_pci_resume+0xd0/0x160 [usbcore]
[<c01cf2bc>] pci_device_resume+0x2c/0x30
[<c0216227>] resume_device+0x27/0x30
[<c0216292>] dpm_resume+0x62/0x70
[<c02162b9>] device_resume+0x19/0x30
[<c0136cc8>] finish+0x8/0x40
[<c0136e2e>] pm_suspend_disk+0x7e/0xc0
[<c0135271>] enter_state+0xa1/0xb0
[<c013c19a>] __alloc_pages+0x1ca/0x360
[<c01353b0>] state_store+0xa0/0xa8
[<c0187fda>] subsys_attr_store+0x3a/0x40
[<c018824b>] flush_write_buffer+0x3b/0x50
[<c01882ba>] sysfs_write_file+0x5a/0x70
[<c01554ac>] vfs_write+0xbc/0x170
[<c0155631>] sys_write+0x51/0x80
[<c01061c9>] sysenter_past_esp+0x52/0x71
bad: scheduling while atomic!
[<c029424f>] schedule+0x4cf/0x4e0
[<c02946e3>] schedule_timeout+0x63/0xc0
[<c0125410>] process_timeout+0x0/0x10
[<c01257ef>] msleep+0x2f/0x40
[<c01cd4e6>] pci_set_power_state+0xc6/0x160
[<ec93e682>] sis900_resume+0x62/0x120 [sis900]
[<c01cf2bc>] pci_device_resume+0x2c/0x30
[<c0216227>] resume_device+0x27/0x30
[<c0216292>] dpm_resume+0x62/0x70
[<c02162b9>] device_resume+0x19/0x30
[<c0136cc8>] finish+0x8/0x40
[<c0136e2e>] pm_suspend_disk+0x7e/0xc0
[<c0135271>] enter_state+0xa1/0xb0
[<c013c19a>] __alloc_pages+0x1ca/0x360
[<c01353b0>] state_store+0xa0/0xa8
[<c0187fda>] subsys_attr_store+0x3a/0x40
[<c018824b>] flush_write_buffer+0x3b/0x50
[<c01882ba>] sysfs_write_file+0x5a/0x70
[<c01554ac>] vfs_write+0xbc/0x170
[<c0155631>] sys_write+0x51/0x80
[<c01061c9>] sysenter_past_esp+0x52/0x71
bad: scheduling while atomic!
[<c029424f>] schedule+0x4cf/0x4e0
[<c02946e3>] schedule_timeout+0x63/0xc0
[<c0125410>] process_timeout+0x0/0x10
[<c01257ef>] msleep+0x2f/0x40
[<c01cd4e6>] pci_set_power_state+0xc6/0x160
[<eca338cd>] yenta_dev_resume+0x2d/0xc0 [yenta_socket]
[<c01cf2bc>] pci_device_resume+0x2c/0x30
[<c0216227>] resume_device+0x27/0x30
[<c0216292>] dpm_resume+0x62/0x70
[<c02162b9>] device_resume+0x19/0x30
[<c0136cc8>] finish+0x8/0x40
[<c0136e2e>] pm_suspend_disk+0x7e/0xc0
[<c0135271>] enter_state+0xa1/0xb0
[<c013c19a>] __alloc_pages+0x1ca/0x360
[<c01353b0>] state_store+0xa0/0xa8
[<c0187fda>] subsys_attr_store+0x3a/0x40
[<c018824b>] flush_write_buffer+0x3b/0x50
[<c01882ba>] sysfs_write_file+0x5a/0x70
[<c01554ac>] vfs_write+0xbc/0x170
[<c0155631>] sys_write+0x51/0x80
[<c01061c9>] sysenter_past_esp+0x52/0x71
bad: scheduling while atomic!
[<c029424f>] schedule+0x4cf/0x4e0
[<c02377b8>] pci_bios_write+0xd8/0xe0
[<c02946e3>] schedule_timeout+0x63/0xc0
[<c0125410>] process_timeout+0x0/0x10
[<eca3fa80>] socket_remove_drivers+0x20/0x40 [pcmcia_core]
[<c01257ef>] msleep+0x2f/0x40
[<eca3fac9>] socket_shutdown+0x29/0x40 [pcmcia_core]
[<eca3ff6c>] socket_resume+0xbc/0x110 [pcmcia_core]
[<eca3f446>] pcmcia_socket_dev_resume+0x96/0xb0 [pcmcia_core]
[<c01cf2bc>] pci_device_resume+0x2c/0x30
[<c0216227>] resume_device+0x27/0x30
[<c0216292>] dpm_resume+0x62/0x70
[<c02162b9>] device_resume+0x19/0x30
[<c0136cc8>] finish+0x8/0x40
[<c0136e2e>] pm_suspend_disk+0x7e/0xc0
[<c0135271>] enter_state+0xa1/0xb0
[<c013c19a>] __alloc_pages+0x1ca/0x360
[<c01353b0>] state_store+0xa0/0xa8
[<c0187fda>] subsys_attr_store+0x3a/0x40
[<c018824b>] flush_write_buffer+0x3b/0x50
[<c01882ba>] sysfs_write_file+0x5a/0x70
[<c01554ac>] vfs_write+0xbc/0x170
[<c0155631>] sys_write+0x51/0x80
[<c01061c9>] sysenter_past_esp+0x52/0x71
bad: scheduling while atomic!
[<c029424f>] schedule+0x4cf/0x4e0
[<c02946e3>] schedule_timeout+0x63/0xc0
[<c0125410>] process_timeout+0x0/0x10
[<c01257ef>] msleep+0x2f/0x40
[<c01cd4e6>] pci_set_power_state+0xc6/0x160
[<eca338cd>] yenta_dev_resume+0x2d/0xc0 [yenta_socket]
[<c01cf2bc>] pci_device_resume+0x2c/0x30
[<c0216227>] resume_device+0x27/0x30
[<c0216292>] dpm_resume+0x62/0x70
[<c02162b9>] device_resume+0x19/0x30
[<c0136cc8>] finish+0x8/0x40
[<c0136e2e>] pm_suspend_disk+0x7e/0xc0
[<c0135271>] enter_state+0xa1/0xb0
[<c013c19a>] __alloc_pages+0x1ca/0x360
[<c01353b0>] state_store+0xa0/0xa8
[<c0187fda>] subsys_attr_store+0x3a/0x40
[<c018824b>] flush_write_buffer+0x3b/0x50
[<c01882ba>] sysfs_write_file+0x5a/0x70
[<c01554ac>] vfs_write+0xbc/0x170
[<c0155631>] sys_write+0x51/0x80
[<c01061c9>] sysenter_past_esp+0x52/0x71
bad: scheduling while atomic!
[<c029424f>] schedule+0x4cf/0x4e0
[<c02377b8>] pci_bios_write+0xd8/0xe0
[<c02946e3>] schedule_timeout+0x63/0xc0
[<c0125410>] process_timeout+0x0/0x10
[<eca3fa80>] socket_remove_drivers+0x20/0x40 [pcmcia_core]
[<c01257ef>] msleep+0x2f/0x40
[<eca3fac9>] socket_shutdown+0x29/0x40 [pcmcia_core]
[<eca3ff6c>] socket_resume+0xbc/0x110 [pcmcia_core]
[<eca3f446>] pcmcia_socket_dev_resume+0x96/0xb0 [pcmcia_core]
[<c01cf2bc>] pci_device_resume+0x2c/0x30
[<c0216227>] resume_device+0x27/0x30
[<c0216292>] dpm_resume+0x62/0x70
[<c02162b9>] device_resume+0x19/0x30
[<c0136cc8>] finish+0x8/0x40
[<c0136e2e>] pm_suspend_disk+0x7e/0xc0
[<c0135271>] enter_state+0xa1/0xb0
[<c013c19a>] __alloc_pages+0x1ca/0x360
[<c01353b0>] state_store+0xa0/0xa8
[<c0187fda>] subsys_attr_store+0x3a/0x40
[<c018824b>] flush_write_buffer+0x3b/0x50
[<c01882ba>] sysfs_write_file+0x5a/0x70
[<c01554ac>] vfs_write+0xbc/0x170
[<c0155631>] sys_write+0x51/0x80
[<c01061c9>] sysenter_past_esp+0x52/0x71
ACPI: PCI interrupt 0000:00:0a.2[C] -> GSI 11 (level, low) -> IRQ 11
bad: scheduling while atomic!
[<c029424f>] schedule+0x4cf/0x4e0
[<c022d6ef>] do_rw_taskfile+0x15f/0x260
[<c022d960>] task_no_data_intr+0x0/0xa0
[<c0294328>] wait_for_completion+0x78/0xd0
[<c0118f60>] default_wake_function+0x0/0x20
[<c0118f60>] default_wake_function+0x0/0x20
[<c0216795>] __elv_add_request+0x45/0xa0
[<c0229476>] ide_do_drive_cmd+0xf6/0x140
[<c011d4bd>] profile_hook+0x2d/0x50
[<c0226853>] generic_ide_resume+0x93/0xc0
[<c0216227>] resume_device+0x27/0x30
[<c0216292>] dpm_resume+0x62/0x70
[<c02162b9>] device_resume+0x19/0x30
[<c0136cc8>] finish+0x8/0x40
[<c0136e2e>] pm_suspend_disk+0x7e/0xc0
[<c0135271>] enter_state+0xa1/0xb0
[<c013c19a>] __alloc_pages+0x1ca/0x360
[<c01353b0>] state_store+0xa0/0xa8
[<c0187fda>] subsys_attr_store+0x3a/0x40
[<c018824b>] flush_write_buffer+0x3b/0x50
[<c01882ba>] sysfs_write_file+0x5a/0x70
[<c01554ac>] vfs_write+0xbc/0x170
[<c0155631>] sys_write+0x51/0x80
[<c01061c9>] sysenter_past_esp+0x52/0x71
hub 1-0:1.0: reactivate --> -22
hub 2-0:1.0: reactivate --> -22
hub 3-0:1.0: reactivate --> -22
bad: scheduling while atomic!
[<c029424f>] schedule+0x4cf/0x4e0
[<c02946e3>] schedule_timeout+0x63/0xc0
[<c0125410>] process_timeout+0x0/0x10
[<c01257ef>] msleep+0x2f/0x40
[<ec9ddf90>] usb_resume_device+0x80/0xd0 [usbcore]
[<c0216227>] resume_device+0x27/0x30
[<c0216292>] dpm_resume+0x62/0x70
[<c02162b9>] device_resume+0x19/0x30
[<c0136cc8>] finish+0x8/0x40
[<c0136e2e>] pm_suspend_disk+0x7e/0xc0
[<c0135271>] enter_state+0xa1/0xb0
[<c013c19a>] __alloc_pages+0x1ca/0x360
[<c01353b0>] state_store+0xa0/0xa8
[<c0187fda>] subsys_attr_store+0x3a/0x40
[<c018824b>] flush_write_buffer+0x3b/0x50
[<c01882ba>] sysfs_write_file+0x5a/0x70
[<c01554ac>] vfs_write+0xbc/0x170
[<c0155631>] sys_write+0x51/0x80
[<c01061c9>] sysenter_past_esp+0x52/0x71
hub 4-0:1.0: reactivate --> -22
hub 4-0:1.0: reactivate --> -22
Restarting tasks...<3>bad: scheduling while atomic!
[<c029424f>] schedule+0x4cf/0x4e0
[<c01186ce>] wake_up_process+0x1e/0x20
[<c01356c5>] thaw_processes+0xa5/0xe0
[<c0136cd6>] finish+0x16/0x40
[<c0136e2e>] pm_suspend_disk+0x7e/0xc0
[<c0135271>] enter_state+0xa1/0xb0
[<c013c19a>] __alloc_pages+0x1ca/0x360
[<c01353b0>] state_store+0xa0/0xa8
[<c0187fda>] subsys_attr_store+0x3a/0x40
[<c018824b>] flush_write_buffer+0x3b/0x50
[<c01882ba>] sysfs_write_file+0x5a/0x70
[<c01554ac>] vfs_write+0xbc/0x170
[<c0155631>] sys_write+0x51/0x80
[<c01061c9>] sysenter_past_esp+0x52/0x71
done
bad: scheduling while atomic!
[<c029424f>] schedule+0x4cf/0x4e0
[<c0155631>] sys_write+0x51/0x80
[<c0106242>] work_resched+0x5/0x16
bad: scheduling while atomic!
[<c029424f>] schedule+0x4cf/0x4e0
[<c0110036>] mtrr_write+0x2e6/0x300
[<c01199b3>] sys_sched_yield+0x53/0x70
[<c01614d8>] coredump_wait+0x38/0xa0
[<c016160b>] do_coredump+0xcb/0x20f
[<c01186ea>] wake_up_state+0x1a/0x20
[<c0126362>] signal_wake_up+0x22/0x30
[<c01268da>] specific_send_sig_info+0xca/0xe0
[<c012590f>] free_uid+0x1f/0x80
[<c01261f5>] __dequeue_signal+0xe5/0x1a0
[<c01262e5>] dequeue_signal+0x35/0x90
[<c0128015>] get_signal_to_deliver+0x205/0x330
[<c0105fbd>] do_signal+0x9d/0x130
[<c0106242>] work_resched+0x5/0x16
[<c0106f26>] print_context_stack+0x26/0x70
[<c0106242>] work_resched+0x5/0x16
[<c0106fbe>] show_trace+0x4e/0x90
[<c011842f>] recalc_task_prio+0x8f/0x190
[<c0294043>] schedule+0x2c3/0x4e0
[<c0117270>] do_page_fault+0x0/0x599
[<c0106087>] do_notify_resume+0x37/0x3c
[<c0106266>] work_notifysig+0x13/0x15
note: bash[14272] exited with preempt_count 1
eth0: Abnormal interrupt,status 0x03008001.
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Transmit timeout, status 00000004 00000000
eth0: Media Link On 100mbps full-duplex
after which my bash gets killed. It seems to be usb related, but on resume
I have all of my devices working again (included network and usb, which
wasn't happening before).
I tested this on an ASUS L8400, sis chipsets.
If you need any other info, I'll post them.
Please CC me since I'm not subscribed to the list.
Mauro Andreolini
^ permalink raw reply [flat|nested] 8+ messages in thread
* 2.6.9 suspend-to-disk bug (during resume)
[not found] <1106210882.7975.9.camel@linux.site>
@ 2005-01-20 8:49 ` Alan Jenkins
2005-01-20 9:19 ` Rafael J. Wysocki
2005-01-20 14:58 ` Pavel Machek
0 siblings, 2 replies; 8+ messages in thread
From: Alan Jenkins @ 2005-01-20 8:49 UTC (permalink / raw)
To: linux-kernel
On 20/01/05 08:48:02, Alan Jenkins wrote:
I have noticed a similar message, and so has someone else on the list:
http://groups-beta.google.com/group/fa.linux.kernel/browse_thread/thread/1bfcbbca2d508bb3/cb69d674510d215a?q=%22bad:+scheduling+while+atomic!%22+suspend&_done=%2Fgroup%2Ffa.linux.kernel%2Fsearch%3Fgroup%3Dfa.linux.kernel%26q%3D%22bad:+scheduling+while+atomic!%22+suspend%26qt_g%3D1%26searchnow%3DSearch+this+group%26&_doneTitle=Back+to+Search&&d#cb69d674510d215a
I have an asrock motherboard with an sis chipset.
SiS seems to be the common factor. I think its something general about
the chipset. My messages seem to involve the network card, the sound
card and the i8042 (ps/2 port) controller:
ohci_hcd 0000:00:03.0: remove, state 1
usb usb1: USB disconnect, address 1
ohci_hcd 0000:00:03.0: USB bus 1 deregistered
ohci_hcd 0000:00:03.1: remove, state 1
usb usb2: USB disconnect, address 1
usb 2-1: USB disconnect, address 3
drivers/usb/media/stv680.c: [usb_stv680_remove_disconnected:1467]
STV(i): STV0680 disconnected
ohci_hcd 0000:00:03.1: USB bus 2 deregistered
ehci_hcd 0000:00:03.2: remove, state 1
usb usb3: USB disconnect, address 1
ehci_hcd 0000:00:03.2: USB bus 3 deregistered
PM: suspend-to-disk mode set to 'shutdown'
Stopping tasks:
=====================================================================|
Freeing memory... \b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b
\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b
\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b
\\b|\b/\b-\b\\b|\b/\b-\b\\b|\b/\b-\b\\bdone (39643 pages freed)
PM: Attempting to suspend to disk.
PM: snapshotting memory.
swsusp: critical section:
[nosave pfn 0x398]<7>[nosave pfn 0x399]swsusp: Need to copy 23546 pages
suspend: (pages needed: 23546 + 512 free: 41972)
[nosave pfn 0x398]<7>[nosave pfn 0x399]<7>PM: Image restored
successfully.
ACPI: PCI interrupt 0000:00:02.7[C] -> GSI 10 (level, low) -> IRQ 10
bad: scheduling while atomic!
[<c030164e>] schedule+0x4be/0x570
[<c011ce69>] call_console_drivers+0x79/0x110
[<c0124817>] __mod_timer+0x177/0x190
[<c0301b8a>] schedule_timeout+0x5a/0xb0
[<c0293ed9>] pci_conf1_read+0x109/0x110
[<c0125210>] process_timeout+0x0/0x10
[<d0de7f08>] snd_intel8x0_ich_chip_init+0x1a8/0x2c0 [snd_intel8x0]
[<c02932cd>] pcibios_set_master+0x1d/0x90
[<d0de8123>] snd_intel8x0_chip_init+0x13/0xc0 [snd_intel8x0]
[<d0de8418>] intel8x0_resume+0x28/0x100 [snd_intel8x0]
[<d0dfaba1>] snd_card_pci_resume+0x41/0x47 [snd]
[<c01fa5f2>] pci_device_resume+0x22/0x30
[<c0264756>] resume_device+0x16/0x20
[<c02647bb>] dpm_resume+0x5b/0x70
[<c02647e9>] device_resume+0x19/0x30
[<c01362f5>] finish+0x5/0x40
[<c0136448>] pm_suspend_disk+0x78/0xc0
[<c013489c>] enter_state+0x9c/0xa0
[<c0134a01>] state_store+0xd1/0xf0
[<c0134930>] state_store+0x0/0xf0
[<c018e786>] subsys_attr_store+0x36/0x50
[<c018e9db>] flush_write_buffer+0x2b/0x40
[<c018ea2e>] sysfs_write_file+0x3e/0x60
[<c0157840>] vfs_write+0xb0/0x110
[<c0157951>] sys_write+0x41/0x70
[<c0106079>] sysenter_past_esp+0x52/0x71
ACPI: PCI interrupt 0000:00:03.0[A] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI interrupt 0000:00:03.1[B] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI interrupt 0000:00:03.2[D] -> GSI 3 (level, low) -> IRQ 3
bad: scheduling while atomic!
[<c030164e>] schedule+0x4be/0x570
[<c0301b8a>] schedule_timeout+0x5a/0xb0
[<c029542a>] pci_write+0x2a/0x30
[<c0125210>] process_timeout+0x0/0x10
[<c01255bf>] msleep+0x1f/0x30
[<c01f8c15>] pci_set_power_state+0x155/0x180
[<d083c466>] sis900_resume+0x56/0x110 [sis900]
[<c01fa5f2>] pci_device_resume+0x22/0x30
[<c0264756>] resume_device+0x16/0x20
[<c02647bb>] dpm_resume+0x5b/0x70
[<c02647e9>] device_resume+0x19/0x30
[<c01362f5>] finish+0x5/0x40
[<c0136448>] pm_suspend_disk+0x78/0xc0
[<c013489c>] enter_state+0x9c/0xa0
[<c0134a01>] state_store+0xd1/0xf0
[<c0134930>] state_store+0x0/0xf0
[<c018e786>] subsys_attr_store+0x36/0x50
[<c018e9db>] flush_write_buffer+0x2b/0x40
[<c018ea2e>] sysfs_write_file+0x3e/0x60
[<c0157840>] vfs_write+0xb0/0x110
[<c0157951>] sys_write+0x41/0x70
[<c0106079>] sysenter_past_esp+0x52/0x71
bad: scheduling while atomic!
[<c030164e>] schedule+0x4be/0x570
[<c01f6329>] __delay+0x9/0x10
[<c028370a>] do_rw_taskfile+0x1fa/0x250
[<c03017c8>] wait_for_completion+0x78/0xe0
[<c01196a0>] default_wake_function+0x0/0x10
[<c01196a0>] default_wake_function+0x0/0x10
[<c027f659>] ide_do_drive_cmd+0xf9/0x150
[<c027c97c>] generic_ide_resume+0x8c/0xb0
[<c02838c0>] task_no_data_intr+0x0/0xa0
[<c0259bd9>] i8042_controller_resume+0x59/0x100
[<c0264756>] resume_device+0x16/0x20
[<c02647bb>] dpm_resume+0x5b/0x70
[<c02647e9>] device_resume+0x19/0x30
[<c01362f5>] finish+0x5/0x40
[<c0136448>] pm_suspend_disk+0x78/0xc0
[<c013489c>] enter_state+0x9c/0xa0
[<c0134a01>] state_store+0xd1/0xf0
[<c0134930>] state_store+0x0/0xf0
[<c018e786>] subsys_attr_store+0x36/0x50
[<c018e9db>] flush_write_buffer+0x2b/0x40
[<c018ea2e>] sysfs_write_file+0x3e/0x60
[<c0157840>] vfs_write+0xb0/0x110
[<c0157951>] sys_write+0x41/0x70
[<c0106079>] sysenter_past_esp+0x52/0x71
Restarting tasks...<3>bad: scheduling while atomic!
[<c030164e>] schedule+0x4be/0x570
[<c0118c1c>] activate_task+0x4c/0x60
[<c0118d12>] try_to_wake_up+0xa2/0xb0
[<c0134d6a>] thaw_processes+0xda/0xf0
[<c02647bb>] dpm_resume+0x5b/0x70
[<c0136303>] finish+0x13/0x40
[<c0136448>] pm_suspend_disk+0x78/0xc0
[<c013489c>] enter_state+0x9c/0xa0
[<c0134a01>] state_store+0xd1/0xf0
[<c0134930>] state_store+0x0/0xf0
[<c018e786>] subsys_attr_store+0x36/0x50
[<c018e9db>] flush_write_buffer+0x2b/0x40
[<c018ea2e>] sysfs_write_file+0x3e/0x60
[<c0157840>] vfs_write+0xb0/0x110
[<c0157951>] sys_write+0x41/0x70
[<c0106079>] sysenter_past_esp+0x52/0x71
done
bad: scheduling while atomic!
[<c030164e>] schedule+0x4be/0x570
[<c0157951>] sys_write+0x41/0x70
[<c01060f2>] work_resched+0x5/0x16
bad: scheduling while atomic!
[<c030164e>] schedule+0x4be/0x570
[<c011a040>] sys_sched_yield+0x40/0x50
[<c01630cb>] coredump_wait+0x2b/0x90
[<c01631fa>] do_coredump+0xca/0x1e5
[<c0118c1c>] activate_task+0x4c/0x60
[<c0118d12>] try_to_wake_up+0xa2/0xb0
[<c0125ed5>] __dequeue_signal+0xf5/0x160
[<c0125f63>] dequeue_signal+0x23/0x90
[<c0127b6d>] get_signal_to_deliver+0x26d/0x360
[<c0105e2f>] do_signal+0x8f/0x160
[<c0118a67>] recalc_task_prio+0xf7/0x260
[<c030148f>] schedule+0x2ff/0x570
[<c0117150>] do_page_fault+0x0/0x607
[<c0105f37>] do_notify_resume+0x37/0x3c
[<c0106116>] work_notifysig+0x13/0x15
note: do_acpi_sleep[7075] exited with preempt_count 1
alps.c: E6 report: 00 00 64
alps.c: E7 report: 10 00 64
evdev_connect: evdev cd92ade0 handle cd92adfc name event1
input: ImPS/2 Generic Wheel Mouse on isa0060/serio1
eth0: Abnormal interrupt,status 0x03008001.
eth0: Media Link On 10mbps half-duplex
ACPI: PCI interrupt 0000:00:03.2[D] -> GSI 3 (level, low) -> IRQ 3
ehci_hcd 0000:00:03.2: EHCI Host Controller
ehci_hcd 0000:00:03.2: irq 3, pci mem d0860000
ehci_hcd 0000:00:03.2: new USB bus registered, assigned bus number 1
PCI: cache line size of 64 is not supported by device 0000:00:03.2
ehci_hcd 0000:00:03.2: USB 2.0 enabled, EHCI 1.00, driver 2004-May-10
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.8-24.10-default ehci_hcd
usb usb1: SerialNumber: 0000:00:03.2
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 6 ports detected
ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver
(PCI)
ACPI: PCI interrupt 0000:00:03.0[A] -> GSI 10 (level, low) -> IRQ 10
ohci_hcd 0000:00:03.0: OHCI Host Controller
ohci_hcd 0000:00:03.0: irq 10, pci mem d0862000
ohci_hcd 0000:00:03.0: new USB bus registered, assigned bus number 2
usb usb2: Product: OHCI Host Controller
usb usb2: Manufacturer: Linux 2.6.8-24.10-default ohci_hcd
usb usb2: SerialNumber: 0000:00:03.0
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected
ACPI: PCI interrupt 0000:00:03.1[B] -> GSI 10 (level, low) -> IRQ 10
ohci_hcd 0000:00:03.1: OHCI Host Controller
ohci_hcd 0000:00:03.1: irq 10, pci mem d0c1a000
ohci_hcd 0000:00:03.1: new USB bus registered, assigned bus number 3
usb usb3: Product: OHCI Host Controller
usb usb3: Manufacturer: Linux 2.6.8-24.10-default ohci_hcd
usb usb3: SerialNumber: 0000:00:03.1
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 3 ports detected
ohci_hcd 0000:00:03.1: wakeup
usb 3-1: new full speed USB device using address 2
usb 3-1: Product: USB Dual-mode Camera
usb 3-1: Manufacturer: STMicroelectronics
drivers/usb/media/stv680.c: [stv680_probe:1396] STV(i): STV0680 camera
found.
drivers/usb/media/stv680.c: [stv680_probe:1434] STV(i): registered new
video device: video0
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: 2.6.9 suspend-to-disk bug (during resume)
2005-01-20 8:49 ` 2.6.9 suspend-to-disk bug (during resume) Alan Jenkins
@ 2005-01-20 9:19 ` Rafael J. Wysocki
2005-01-21 9:45 ` Alan Jenkins
2005-01-20 14:58 ` Pavel Machek
1 sibling, 1 reply; 8+ messages in thread
From: Rafael J. Wysocki @ 2005-01-20 9:19 UTC (permalink / raw)
To: Alan Jenkins; +Cc: linux-kernel
On Thursday, 20 of January 2005 09:49, Alan Jenkins wrote:
> On 20/01/05 08:48:02, Alan Jenkins wrote:
> I have noticed a similar message, and so has someone else on the list:
>
> http://groups-beta.google.com/group/fa.linux.kernel/browse_thread/thread/1bfcbbca2d508bb3/cb69d674510d215a?q=%22bad:+scheduling+while+atomic!%22+suspend&_done=%2Fgroup%2Ffa.linux.kernel%2Fsearch%3Fgroup%3Dfa.linux.kernel%26q%3D%22bad:+scheduling+while+atomic!%22+suspend%26qt_g%3D1%26searchnow%3DSearch+this+group%26&_doneTitle=Back+to+Search&&d#cb69d674510d215a
>
> I have an asrock motherboard with an sis chipset.
> SiS seems to be the common factor. I think its something general about
> the chipset. My messages seem to involve the network card, the sound
> card and the i8042 (ps/2 port) controller:
Have you tried to boot with "pci=routeirq" or/and "noapic"?
Greets,
RJW
--
- Would you tell me, please, which way I ought to go from here?
- That depends a good deal on where you want to get to.
-- Lewis Carroll "Alice's Adventures in Wonderland"
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: 2.6.9 suspend-to-disk bug (during resume)
2005-01-20 8:49 ` 2.6.9 suspend-to-disk bug (during resume) Alan Jenkins
2005-01-20 9:19 ` Rafael J. Wysocki
@ 2005-01-20 14:58 ` Pavel Machek
2005-01-21 9:08 ` Alan Jenkins
1 sibling, 1 reply; 8+ messages in thread
From: Pavel Machek @ 2005-01-20 14:58 UTC (permalink / raw)
To: Alan Jenkins; +Cc: linux-kernel
Hi!
> ACPI: PCI interrupt 0000:00:02.7[C] -> GSI 10 (level, low) -> IRQ 10
> bad: scheduling while atomic!
> [<c030164e>] schedule+0x4be/0x570
> [<c011ce69>] call_console_drivers+0x79/0x110
> [<c0124817>] __mod_timer+0x177/0x190
> [<c0301b8a>] schedule_timeout+0x5a/0xb0
> [<c0293ed9>]
Try without preempt for an ugly workaround. Also try to reproduce it
on 2.6.11-rc1.
Pavel
--
64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: 2.6.9 suspend-to-disk bug (during resume)
2005-01-20 14:58 ` Pavel Machek
@ 2005-01-21 9:08 ` Alan Jenkins
2005-01-21 10:39 ` Pavel Machek
0 siblings, 1 reply; 8+ messages in thread
From: Alan Jenkins @ 2005-01-21 9:08 UTC (permalink / raw)
To: Pavel Machek; +Cc: linux-kernel
On Thu, 2005-01-20 at 15:58 +0100, Pavel Machek wrote:
> Hi!
>
>
> > ACPI: PCI interrupt 0000:00:02.7[C] -> GSI 10 (level, low) -> IRQ 10
> > bad: scheduling while atomic!
> > [<c030164e>] schedule+0x4be/0x570
> > [<c011ce69>] call_console_drivers+0x79/0x110
> > [<c0124817>] __mod_timer+0x177/0x190
> > [<c0301b8a>] schedule_timeout+0x5a/0xb0
> > [<c0293ed9>]
> Try without preempt for an ugly workaround.
Check.
> Also try to reproduce it
> on 2.6.11-rc1.
Looks the same. I can send demsg output if required.
> Pavel
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: 2.6.9 suspend-to-disk bug (during resume)
2005-01-20 9:19 ` Rafael J. Wysocki
@ 2005-01-21 9:45 ` Alan Jenkins
0 siblings, 0 replies; 8+ messages in thread
From: Alan Jenkins @ 2005-01-21 9:45 UTC (permalink / raw)
To: Rafael J. Wysocki; +Cc: linux-kernel
On Thu, 2005-01-20 at 10:19 +0100, Rafael J. Wysocki wrote:
> On Thursday, 20 of January 2005 09:49, Alan Jenkins wrote:
> > On 20/01/05 08:48:02, Alan Jenkins wrote:
> > I have noticed a similar message, and so has someone else on the list:
> >
> > http://groups-beta.google.com/group/fa.linux.kernel/browse_thread/thread/1bfcbbca2d508bb3/cb69d674510d215a?q=%22bad:+scheduling+while+atomic!%22+suspend&_done=%2Fgroup%2Ffa.linux.kernel%2Fsearch%3Fgroup%3Dfa.linux.kernel%26q%3D%22bad:+scheduling+while+atomic!%22+suspend%26qt_g%3D1%26searchnow%3DSearch+this+group%26&_doneTitle=Back+to+Search&&d#cb69d674510d215a
> >
> > I have an asrock motherboard with an sis chipset.
> > SiS seems to be the common factor. I think its something general about
> > the chipset. My messages seem to involve the network card, the sound
> > card and the i8042 (ps/2 port) controller:
>
> Have you tried to boot with "pci=routeirq" or/and "noapic"?
>
> Greets,
> RJW
>
To no avail. Pavels workaround (disable preempt) works though.
With regard to the ps/2 controller, the keyboard stops working after a
suspend/resume cycle at the console (as opposed to from X). This does
not occur if I first boot to runlevel 1 and then switch to the desired
runlevel - perhaps it is some sort of timing issue? Very puzzling.
Thanks
Alan
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: 2.6.9 suspend-to-disk bug (during resume)
2005-01-21 9:08 ` Alan Jenkins
@ 2005-01-21 10:39 ` Pavel Machek
2005-01-21 13:18 ` Alan Jenkins
0 siblings, 1 reply; 8+ messages in thread
From: Pavel Machek @ 2005-01-21 10:39 UTC (permalink / raw)
To: Alan Jenkins; +Cc: linux-kernel
Hi!
> > > ACPI: PCI interrupt 0000:00:02.7[C] -> GSI 10 (level, low) -> IRQ 10
> > > bad: scheduling while atomic!
> > > [<c030164e>] schedule+0x4be/0x570
> > > [<c011ce69>] call_console_drivers+0x79/0x110
> > > [<c0124817>] __mod_timer+0x177/0x190
> > > [<c0301b8a>] schedule_timeout+0x5a/0xb0
> > > [<c0293ed9>]
>
> > Try without preempt for an ugly workaround.
> Check.
??? Sorry, I do not understand.
> > Also try to reproduce it
> > on 2.6.11-rc1.
> Looks the same. I can send demsg output if required.
Ok, looks like I should enable PREEMPT here.
But resume succeeds at the end, no? We'll probably need to fix those
warnings, but driver model has bigger priority just now.
Pavel
--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: 2.6.9 suspend-to-disk bug (during resume)
2005-01-21 10:39 ` Pavel Machek
@ 2005-01-21 13:18 ` Alan Jenkins
0 siblings, 0 replies; 8+ messages in thread
From: Alan Jenkins @ 2005-01-21 13:18 UTC (permalink / raw)
To: Pavel Machek; +Cc: linux-kernel
> > > Try without preempt for an ugly workaround.
> > Check.
>
> ??? Sorry, I do not understand.
My fault. I mean disabling preempt gets rid of the warnings.
> Ok, looks like I should enable PREEMPT here.
>
> But resume succeeds at the end, no? We'll probably need to fix those
> warnings, but driver model has bigger priority just now.
Yes, the warnings do not appear to cause a problem.
I have some unrelated problems, one of which I have described on the
list.
Thanks
Alan
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2005-01-21 13:27 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1106210882.7975.9.camel@linux.site>
2005-01-20 8:49 ` 2.6.9 suspend-to-disk bug (during resume) Alan Jenkins
2005-01-20 9:19 ` Rafael J. Wysocki
2005-01-21 9:45 ` Alan Jenkins
2005-01-20 14:58 ` Pavel Machek
2005-01-21 9:08 ` Alan Jenkins
2005-01-21 10:39 ` Pavel Machek
2005-01-21 13:18 ` Alan Jenkins
2004-10-24 13:13 andreoli
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox