public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
* WARNING: at kernel/resource.c:189 __release_resource
@ 2007-11-22 21:41 Jiri Slaby
  0 siblings, 0 replies; 22+ messages in thread
From: Jiri Slaby @ 2007-11-22 21:41 UTC (permalink / raw)
  To: Matthew Wilcox
  Cc: Andrew Morton, Greg KH, linux-pm, Linux kernel mailing list,
	linux-usb-devel

Hi,

Step aside. What's the purpose of having two similar patches for one issue,
it then warns about the same thing twice:
make-sure-nobodys-leaking-resources.patch
releasing-resources-with-children.patch

Ok, I hit the bug, suspend of 00:06 device complains about it:
WARNING: at .../kernel/resource.c:185 __release_resource()

Call Trace:
 [<ffffffff8023f7b5>] release_resource+0xb5/0xf0
 [<ffffffff8036cda0>] pnp_release_resources+0x70/0x130
 [<ffffffff8036db85>] pnp_stop_dev+0x45/0x90
 [<ffffffff8036c942>] pnp_bus_suspend+0x92/0xb0
 [<ffffffff803b9f73>] suspend_device+0x113/0x180
 [<ffffffff803ba330>] device_suspend+0x200/0x320
 [<ffffffff80266905>] suspend_devices_and_enter+0xa5/0x170
 [<ffffffff80266bd9>] enter_state+0x209/0x270
 [<ffffffff80266cef>] state_store+0xaf/0xf0
 [<ffffffff8032ca67>] kobj_attr_store+0x17/0x20
 [<ffffffff802e459e>] sysfs_write_file+0xce/0x140
 [<ffffffff80299cc7>] vfs_write+0xc7/0x170
 [<ffffffff8029a360>] sys_write+0x50/0x90
 [<ffffffff8020bcde>] system_call+0x7e/0x83

# LANG=en ll /sys/devices/pnp0/00:06/
total 0
lrwxrwxrwx 1 root root    0 Nov 22 22:35 driver -> ../../../bus/pnp/drivers/serial
-r--r--r-- 1 root root 4096 Nov 22 22:35 id
-r--r--r-- 1 root root 4096 Nov 22 22:35 options
drwxr-xr-x 2 root root    0 Nov 22 22:35 power
-rw-r--r-- 1 root root 4096 Nov 22 22:35 resources
lrwxrwxrwx 1 root root    0 Nov 22 22:35 subsystem -> ../../../bus/pnp
drwxr-xr-x 3 root root    0 Nov 22 22:35 tty
-rw-r--r-- 1 root root 4096 Nov 22 22:35 uevent

regards,
-- 
Jiri Slaby (jirislaby@gmail.com)
Faculty of Informatics, Masaryk University

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2007-12-24  3:21 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <4745F77C.7040402@gmail.com>
2007-11-27  6:05 ` WARNING: at kernel/resource.c:189 __release_resource Andrew Morton
     [not found] ` <20071126220538.1aed9c33.akpm@linux-foundation.org>
2007-11-27 12:38   ` Matthew Wilcox
2007-11-29 23:40   ` Bjorn Helgaas
     [not found]   ` <200711291640.38158.bjorn.helgaas@hp.com>
2007-11-30  0:42     ` Andrew Morton
     [not found]     ` <20071129164207.fd7bcd30.akpm@linux-foundation.org>
2007-11-30 21:08       ` Bjorn Helgaas
     [not found]       ` <200711301408.13422.bjorn.helgaas@hp.com>
2007-11-30 22:49         ` Jiri Slaby
     [not found]         ` <47509393.8000703@gmail.com>
2007-11-30 22:58           ` Bjorn Helgaas
2007-12-01  8:12             ` Jiri Slaby
     [not found]             ` <47511751.2010707@gmail.com>
2007-12-01 12:00               ` Jiri Slaby
     [not found]               ` <47514CE2.3000600@gmail.com>
2007-12-05 18:24                 ` RFC: PNP: do not stop/start devices in suspend/resume path Bjorn Helgaas
     [not found]                 ` <200712051124.18852.bjorn.helgaas@hp.com>
2007-12-05 18:50                   ` Matthew Wilcox
2007-12-06  1:07                   ` Rafael J. Wysocki
2007-12-06 23:25                   ` Bjorn Helgaas
2007-12-12  8:16                     ` Andrew Morton
     [not found]                     ` <20071212001610.6506c6d2.akpm@linux-foundation.org>
2007-12-12 16:29                       ` Bjorn Helgaas
2007-12-13  8:26                     ` Pierre Ossman
2007-12-07  7:13                   ` RFC: " Shaohua Li
     [not found]                   ` <1197011615.21100.1.camel@sli10-desk.sh.intel.com>
2007-12-10 23:26                     ` Bjorn Helgaas
2007-12-24  1:43                   ` do not stop/start devices in suspend/resume path: the SCSI case Stephane Ascoet
     [not found]                   ` <476F0ED5.3090609@free.fr>
2007-12-24  3:21                     ` Bjorn Helgaas
2007-12-01 21:01     ` WARNING: at kernel/resource.c:189 __release_resource Pierre Ossman
2007-11-22 21:41 Jiri Slaby

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox