[Bug 745380] New: failure to suspend Thinkpad W500 ...
https://bugzilla.novell.com/show_bug.cgi?id=745380 https://bugzilla.novell.com/show_bug.cgi?id=745380#c0 Summary: failure to suspend Thinkpad W500 ... Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: mmeeks@suse.com QAContact: qa@suse.de Found By: --- Blocker: --- I did a bit of hot plugging of a USB device with a few 'sync' calls before and after - so nothing too 'wild'; and I got this: Feb 4 09:50:13 linux-yjtf kernel: [4330396.078504] Freezing of tasks failed after 20.00 seconds (1 tasks refusing to freeze, wq_busy=0): Feb 4 09:50:13 linux-yjtf kernel: [4330396.079952] rsync T c0a8afa0 0 2354 18245 0x00800004 Feb 4 09:50:13 linux-yjtf kernel: [4330396.079956] f0937ea0 00200086 000003e8 c0a8afa0 c0b51e00 c0a8afa0 c0b51e00 c0b51e00 Feb 4 09:50:13 linux-yjtf kernel: [4330396.081409] 1fb05ff6 000ebd8e f3c06e00 f1bdf0f0 ef274270 f1bdf41c 00200082 f3c06e00 Feb 4 09:50:13 linux-yjtf kernel: [4330396.082818] c025992b 00200086 00200086 00000014 f095181c f0937f0c f1bdf0f0 f1bdf0f0 Feb 4 09:50:13 linux-yjtf kernel: [4330396.084255] Call Trace: Feb 4 09:50:13 linux-yjtf kernel: [4330396.085672] [<c025ade0>] do_signal_stop+0x90/0x1e0 Feb 4 09:50:13 linux-yjtf kernel: [4330396.087095] [<c025bc3b>] get_signal_to_deliver+0x7b/0x3c0 Feb 4 09:50:13 linux-yjtf kernel: [4330396.088523] [<c0202659>] do_signal+0x39/0xc0 Feb 4 09:50:13 linux-yjtf kernel: [4330396.089926] [<c02028d5>] do_notify_resume+0x65/0x80 Feb 4 09:50:13 linux-yjtf kernel: [4330396.091346] [<c0709128>] work_notifysig+0x13/0x1b Feb 4 09:50:13 linux-yjtf kernel: [4330396.092765] [<b76cb22e>] 0xb76cb22d Feb 4 09:50:13 linux-yjtf kernel: [4330396.094158] hald-addon-stor D edc22b80 0 29623 2174 0x00800004 Feb 4 09:50:13 linux-yjtf kernel: [4330396.094162] f2103cfc 00000086 00200200 edc22b80 0002abbd f2108230 c0b51e00 c0b51e00 Feb 4 09:50:13 linux-yjtf kernel: [4330396.095597] 959d6375 000f20cd f3c86e00 ef79eef0 eeb5cf70 001c6822 000f20cd f3c86e44 Feb 4 09:50:13 linux-yjtf kernel: [4330396.097026] c84b50e4 00000000 f2103cf0 1e76a484 ffffffff ffffffff f1a80e00 c84b50e4 Feb 4 09:50:13 linux-yjtf kernel: [4330396.098507] Call Trace: Feb 4 09:50:13 linux-yjtf kernel: [4330396.099956] [<c0707645>] schedule_timeout+0x255/0x2d0 Feb 4 09:50:13 linux-yjtf kernel: [4330396.101432] [<c070680e>] wait_for_common+0x7e/0x110 Feb 4 09:50:13 linux-yjtf kernel: [4330396.102919] [<c0260eee>] flush_work+0x1e/0x30 Feb 4 09:50:13 linux-yjtf kernel: [4330396.104434] [<c0457844>] disk_clear_events+0x64/0xf0 Feb 4 09:50:13 linux-yjtf kernel: [4330396.105960] [<c0357ca5>] check_disk_change+0x25/0x60 Feb 4 09:50:13 linux-yjtf kernel: [4330396.107517] [<c054432d>] sd_open+0x8d/0x1c0 Feb 4 09:50:13 linux-yjtf kernel: [4330396.109064] [<c0359054>] __blkdev_get+0xa4/0x380 Feb 4 09:50:13 linux-yjtf kernel: [4330396.110599] [<c0327974>] __dentry_open+0x1d4/0x360 Feb 4 09:50:13 linux-yjtf kernel: [4330396.112124] [<c0328ec8>] nameidata_to_filp+0x68/0x70 Feb 4 09:50:13 linux-yjtf kernel: [4330396.113662] [<c03370d7>] do_last+0x387/0x640 Feb 4 09:50:13 linux-yjtf kernel: [4330396.115177] [<c0337479>] path_openat+0xa9/0x380 Feb 4 09:50:13 linux-yjtf kernel: [4330396.116670] [<c03377a4>] do_filp_open+0x34/0x90 Feb 4 09:50:13 linux-yjtf kernel: [4330396.118150] [<c0328fb4>] do_sys_open+0xe4/0x1b0 Feb 4 09:50:13 linux-yjtf kernel: [4330396.119594] [<c03290ac>] sys_open+0x2c/0x40 Feb 4 09:50:13 linux-yjtf kernel: [4330396.121036] [<c070905d>] syscall_call+0x7/0xb Feb 4 09:50:13 linux-yjtf kernel: [4330396.122447] [<b764de34>] 0xb764de33 I couldn't kill the hald-addon-storage thing - which looked as if it is talking to a device that is not there anymore etc. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=745380 https://bugzilla.novell.com/show_bug.cgi?id=745380#c1 --- Comment #1 from Michael Meeks <mmeeks@suse.com> 2012-02-06 17:08:01 UTC --- Created an attachment (id=474597) --> (http://bugzilla.novell.com/attachment.cgi?id=474597) logs -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=745380 https://bugzilla.novell.com/show_bug.cgi?id=745380#c2 --- Comment #2 from Michael Meeks <mmeeks@suse.com> 2012-02-07 12:01:33 UTC --- Created an attachment (id=474775) --> (http://bugzilla.novell.com/attachment.cgi?id=474775) hwinfo output gzipped. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=745380 https://bugzilla.novell.com/show_bug.cgi?id=745380#c3 Jeff Mahoney <jeffm@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeffm@suse.com AssignedTo|kernel-maintainers@forge.pr |rjw@suse.com |ovo.novell.com | --- Comment #3 from Jeff Mahoney <jeffm@suse.com> 2012-03-14 16:35:45 EDT --- If I had to guess, I'd say workqueues are already frozen so that will never return. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=745380 https://bugzilla.novell.com/show_bug.cgi?id=745380#c4 --- Comment #4 from Rafael Wysocki <rjw@suse.com> 2012-03-15 23:15:20 UTC --- Well, it looks like something wrong had happened before suspend, so hald-addon-storage went into the D state and caused the suspend to fail (because it couldn't be frozen). This looks like a USB problem to me really and not directly related to power management. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=745380 https://bugzilla.novell.com/show_bug.cgi?id=745380#c Rafael Wysocki <rjw@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rjw@suse.com AssignedTo|rjw@suse.com |oneukum@suse.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=745380 https://bugzilla.novell.com/show_bug.cgi?id=745380#c5 --- Comment #5 from Oliver Neukum <oneukum@suse.com> 2012-03-16 10:46:18 UTC --- (In reply to comment #3)
If I had to guess, I'd say workqueues are already frozen so that will never return.
This workqueue isn't freezable in 3.1 unsigned int disk_clear_events(struct gendisk *disk, unsigned int mask) { const struct block_device_operations *bdops = disk->fops; struct disk_events *ev = disk->ev; unsigned int pending; if (!ev) { /* for drivers still using the old ->media_changed method */ if ((mask & DISK_EVENT_MEDIA_CHANGE) && bdops->media_changed && bdops->media_changed(disk)) return DISK_EVENT_MEDIA_CHANGE; return 0; } /* tell the workfn about the events being cleared */ spin_lock_irq(&ev->lock); ev->clearing |= mask; spin_unlock_irq(&ev->lock); /* uncondtionally schedule event check and wait for it to finish */ disk_block_events(disk); queue_delayed_work(system_nrt_wq, &ev->dwork, 0); flush_delayed_work(&ev->dwork); __disk_unblock_events(disk, false); /* then, fetch and clear pending events */ spin_lock_irq(&ev->lock); WARN_ON_ONCE(ev->clearing & mask); /* cleared by workfn */ pending = ev->pending & mask; ev->pending &= ~mask; spin_unlock_irq(&ev->lock); return pending; } -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=745380 https://bugzilla.novell.com/show_bug.cgi?id=745380#c6 Oliver Neukum <oneukum@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |mmeeks@suse.com --- Comment #6 from Oliver Neukum <oneukum@suse.com> 2012-03-16 10:48:09 UTC --- Michael, can you reproduce this and get sysrq-t after it happened? It looks like the workqueue is stuck, but the logs don't tell where. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com