* mmotm 2010-05-11 - dies in pm_qos_update_request() [not found] <201005120149.o4C1n7P4002637@imap1.linux-foundation.org> @ 2010-05-12 19:52 ` Valdis.Kletnieks 2010-05-12 21:07 ` Rafael J. Wysocki 0 siblings, 1 reply; 8+ messages in thread From: Valdis.Kletnieks @ 2010-05-12 19:52 UTC (permalink / raw) To: Andrew Morton, Rafael J. Wysocki, David S. Miller Cc: linux-kernel, e1000-devel, netdev [-- Attachment #1: Type: text/plain, Size: 4678 bytes --] On Tue, 11 May 2010 18:21:22 PDT, akpm@linux-foundation.org said: > The mm-of-the-moment snapshot 2010-05-11-18-20 has been uploaded to > > http://userweb.kernel.org/~akpm/mmotm/ Dell Latitude E6500, x86_64 kernel. Died a horrid death at boot in the e1000e driver. Seems to be something in linux-next.patch. Didn't get a netconsole trace for obvious reasons... Copied-by-hand traceback: pm_qos_update_request()+0x22 e1000_configure+0x478 e1000_open_device+0xee ? _raw_notifier_call_chain+0xf __dev_open+0xec dev_open+0x1b netpoll_setup+0x28b init_netconsole+0xbc I suspect this commit: commit 23606cf5d1192c2b17912cb2ef6e62f9b11de133 Author: Rafael J. Wysocki <rjw@sisk.pl> Date: Sun Mar 14 14:35:17 2010 +0000 e1000e / PCI / PM: Add basic runtime PM support (rev. 4) Use the PCI runtime power management framework to add basic PCI runtime PM support to the e1000e driver. Namely, make the driver suspend the device when the link is off and set it up for generating a wakeup event after the link has been detected again. [This feature is disabled until the user space enables it with the help of the /sys/devices/.../power/contol device attribute.] Not sure how to reconcile "this feature is disabled until" with my traceback, since userspace hasn't even started when init_netconsole is happening. /* * Enable early receives on supported devices, only takes effect when * packet size is equal or larger than the specified value (in 8 byte * units), e.g. using jumbo frames when setting to E1000_ERT_2048 */ if (adapter->flags & FLAG_HAS_ERT) { How the heck did FLAG_HAS_ERT get set, we can't call pm_qos_update_request() otherwise? Aha. Over in ich8lan.c, we have: struct e1000_info e1000_ich9_info = { .mac = e1000_ich9lan, .flags = FLAG_HAS_JUMBO_FRAMES | FLAG_IS_ICH | FLAG_HAS_WOL | FLAG_RX_CSUM_ENABLED | FLAG_HAS_CTRLEXT_ON_LOAD | FLAG_HAS_AMT | FLAG_HAS_ERT | FLAG_HAS_FLASH | FLAG_APME_IN_WUC, And lspci says: 00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07) 00:01.0 PCI bridge: Intel Corporation Mobile 4 Series Chipset PCI Express Graphics Port (rev 07) 00:19.0 Ethernet controller: Intel Corporation 82567LM Gigabit Network Connection (rev 03) 00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03) 00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03) 00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03) 00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03) 00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03) 00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03) 00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03) 00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03) 00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03) 00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03) 00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03) 00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03) 00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93) 00:1f.0 ISA bridge: Intel Corporation ICH9M-E LPC Interface Controller (rev 03) 00:1f.2 RAID bus controller: Intel Corporation Mobile 82801 SATA RAID Controller (rev 03) 00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03) 01:00.0 VGA compatible controller: nVidia Corporation G98M [Quadro NVS 160M] (rev a1) 03:01.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ba) 03:01.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 04) 03:01.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 21) 0c:00.0 Network controller: Intel Corporation Wireless WiFi Link 5100 I see a lot of ICH9 listed there, guess a Mobile 4 is ICH9-ish enough... Unfortunately, that's the limit of my ability to chase this down. [-- Attachment #2: Type: application/pgp-signature, Size: 227 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: mmotm 2010-05-11 - dies in pm_qos_update_request() 2010-05-12 19:52 ` mmotm 2010-05-11 - dies in pm_qos_update_request() Valdis.Kletnieks @ 2010-05-12 21:07 ` Rafael J. Wysocki 2010-05-12 22:12 ` Valdis.Kletnieks 2010-05-13 14:34 ` Valdis.Kletnieks 0 siblings, 2 replies; 8+ messages in thread From: Rafael J. Wysocki @ 2010-05-12 21:07 UTC (permalink / raw) To: Valdis.Kletnieks Cc: e1000-devel, netdev, Andrew Morton, David S. Miller, linux-kernel On Wednesday 12 May 2010, Valdis.Kletnieks@vt.edu wrote: > On Tue, 11 May 2010 18:21:22 PDT, akpm@linux-foundation.org said: > > The mm-of-the-moment snapshot 2010-05-11-18-20 has been uploaded to > > > > http://userweb.kernel.org/~akpm/mmotm/ > > Dell Latitude E6500, x86_64 kernel. > > Died a horrid death at boot in the e1000e driver. Seems to be > something in linux-next.patch. Didn't get a netconsole trace for obvious > reasons... > > Copied-by-hand traceback: > pm_qos_update_request()+0x22 > e1000_configure+0x478 > e1000_open_device+0xee > ? _raw_notifier_call_chain+0xf > __dev_open+0xec > dev_open+0x1b > netpoll_setup+0x28b > init_netconsole+0xbc > > I suspect this commit: > > commit 23606cf5d1192c2b17912cb2ef6e62f9b11de133 > Author: Rafael J. Wysocki <rjw@sisk.pl> > Date: Sun Mar 14 14:35:17 2010 +0000 > > e1000e / PCI / PM: Add basic runtime PM support (rev. 4) No, I don't think so. I'm running -rc6 with this patch applied on a box with e1000e and it works just fine. Please try to revert this one instead: http://git.kernel.org/?p=linux/kernel/git/rafael/suspend-2.6.git;a=patch;h=ed77134bfccf5e75b6cbadab268e559dbe6a4ebb Rafael ------------------------------------------------------------------------------ _______________________________________________ E1000-devel mailing list E1000-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/e1000-devel To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: mmotm 2010-05-11 - dies in pm_qos_update_request() 2010-05-12 21:07 ` Rafael J. Wysocki @ 2010-05-12 22:12 ` Valdis.Kletnieks 2010-05-12 22:33 ` Rafael J. Wysocki 2010-05-13 14:34 ` Valdis.Kletnieks 1 sibling, 1 reply; 8+ messages in thread From: Valdis.Kletnieks @ 2010-05-12 22:12 UTC (permalink / raw) To: Rafael J. Wysocki Cc: Andrew Morton, David S. Miller, linux-kernel, e1000-devel, netdev [-- Attachment #1: Type: text/plain, Size: 959 bytes --] On Wed, 12 May 2010 23:07:20 +0200, "Rafael J. Wysocki" said: > > I suspect this commit: > > > > commit 23606cf5d1192c2b17912cb2ef6e62f9b11de133 > > Author: Rafael J. Wysocki <rjw@sisk.pl> > > Date: Sun Mar 14 14:35:17 2010 +0000 > > > > e1000e / PCI / PM: Add basic runtime PM support (rev. 4) > > No, I don't think so. I'm running -rc6 with this patch applied on a box with > e1000e and it works just fine. > > Please try to revert this one instead: > > http://git.kernel.org/?p=linux/kernel/git/rafael/suspend-2.6.git;a=patch;h=ed77134bfccf5e75b6cbadab268e559dbe6a4ebb Isn't a clean revert - build dies with: CC net/mac80211/scan.o net/mac80211/scan.c: In function 'ieee80211_scan_state_decision': net/mac80211/scan.c:510: error: implicit declaration of function 'pm_qos_request' make[1]: *** [net/mac80211/scan.o] Error 1 make: *** [net/mac80211/scan.o] Error 2 Will investigate more later, find what other commit needs reverting. [-- Attachment #2: Type: application/pgp-signature, Size: 227 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: mmotm 2010-05-11 - dies in pm_qos_update_request() 2010-05-12 22:12 ` Valdis.Kletnieks @ 2010-05-12 22:33 ` Rafael J. Wysocki 0 siblings, 0 replies; 8+ messages in thread From: Rafael J. Wysocki @ 2010-05-12 22:33 UTC (permalink / raw) To: Valdis.Kletnieks Cc: Andrew Morton, David S. Miller, linux-kernel, e1000-devel, netdev On Thursday 13 May 2010, Valdis.Kletnieks@vt.edu wrote: > On Wed, 12 May 2010 23:07:20 +0200, "Rafael J. Wysocki" said: > > > > I suspect this commit: > > > > > > commit 23606cf5d1192c2b17912cb2ef6e62f9b11de133 > > > Author: Rafael J. Wysocki <rjw@sisk.pl> > > > Date: Sun Mar 14 14:35:17 2010 +0000 > > > > > > e1000e / PCI / PM: Add basic runtime PM support (rev. 4) > > > > No, I don't think so. I'm running -rc6 with this patch applied on a box with > > e1000e and it works just fine. > > > > Please try to revert this one instead: > > > > http://git.kernel.org/?p=linux/kernel/git/rafael/suspend-2.6.git;a=patch;h=ed77134bfccf5e75b6cbadab268e559dbe6a4ebb > > Isn't a clean revert - build dies with: > > CC net/mac80211/scan.o > net/mac80211/scan.c: In function 'ieee80211_scan_state_decision': > net/mac80211/scan.c:510: error: implicit declaration of function 'pm_qos_request' > make[1]: *** [net/mac80211/scan.o] Error 1 > make: *** [net/mac80211/scan.o] Error 2 > > Will investigate more later, find what other commit needs reverting. Simply rename pm_qos_request() to pm_qos_requirement() in ieee80211_scan_state_decision() and it should build. Rafael ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: mmotm 2010-05-11 - dies in pm_qos_update_request() 2010-05-12 21:07 ` Rafael J. Wysocki 2010-05-12 22:12 ` Valdis.Kletnieks @ 2010-05-13 14:34 ` Valdis.Kletnieks 2010-05-13 22:24 ` Rafael J. Wysocki 2010-05-13 22:32 ` Rafael J. Wysocki 1 sibling, 2 replies; 8+ messages in thread From: Valdis.Kletnieks @ 2010-05-13 14:34 UTC (permalink / raw) To: Rafael J. Wysocki, Mark Gross Cc: Andrew Morton, David S. Miller, linux-kernel, e1000-devel, netdev [-- Attachment #1: Type: text/plain, Size: 1425 bytes --] On Wed, 12 May 2010 23:07:20 +0200, "Rafael J. Wysocki" said: > On Wednesday 12 May 2010, Valdis.Kletnieks@vt.edu wrote: > > On Tue, 11 May 2010 18:21:22 PDT, akpm@linux-foundation.org said: > > > The mm-of-the-moment snapshot 2010-05-11-18-20 has been uploaded to > > > > > > http://userweb.kernel.org/~akpm/mmotm/ > > > > Dell Latitude E6500, x86_64 kernel. > > > > Died a horrid death at boot in the e1000e driver. Seems to be > > something in linux-next.patch. Didn't get a netconsole trace for obvious > > reasons... > > > > Copied-by-hand traceback: > > pm_qos_update_request()+0x22 > > e1000_configure+0x478 > > e1000_open_device+0xee > > ? _raw_notifier_call_chain+0xf > > __dev_open+0xec > > dev_open+0x1b > > netpoll_setup+0x28b > > init_netconsole+0xbc > > > > I suspect this commit: > > > > commit 23606cf5d1192c2b17912cb2ef6e62f9b11de133 > > Author: Rafael J. Wysocki <rjw@sisk.pl> > > Date: Sun Mar 14 14:35:17 2010 +0000 > > > > e1000e / PCI / PM: Add basic runtime PM support (rev. 4) > > No, I don't think so. I'm running -rc6 with this patch applied on a box with > e1000e and it works just fine. > > Please try to revert this one instead: > > http://git.kernel.org/?p=linux/kernel/git/rafael/suspend-2.6.git;a=patch;h=ed77134bfccf5e75b6cbadab268e559dbe6a4ebb Confirming - reverting that patch and doing the build fixup results in a kernel that doesn't blow up in the e1000e driver... [-- Attachment #2: Type: application/pgp-signature, Size: 227 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: mmotm 2010-05-11 - dies in pm_qos_update_request() 2010-05-13 14:34 ` Valdis.Kletnieks @ 2010-05-13 22:24 ` Rafael J. Wysocki 2010-05-14 23:43 ` mark gross 2010-05-13 22:32 ` Rafael J. Wysocki 1 sibling, 1 reply; 8+ messages in thread From: Rafael J. Wysocki @ 2010-05-13 22:24 UTC (permalink / raw) To: Valdis.Kletnieks, Mark Gross Cc: e1000-devel, netdev, Andrew Morton, David S. Miller, linux-kernel On Thursday 13 May 2010, Valdis.Kletnieks@vt.edu wrote: > On Wed, 12 May 2010 23:07:20 +0200, "Rafael J. Wysocki" said: > > On Wednesday 12 May 2010, Valdis.Kletnieks@vt.edu wrote: > > > On Tue, 11 May 2010 18:21:22 PDT, akpm@linux-foundation.org said: > > > > The mm-of-the-moment snapshot 2010-05-11-18-20 has been uploaded to > > > > > > > > http://userweb.kernel.org/~akpm/mmotm/ > > > > > > Dell Latitude E6500, x86_64 kernel. > > > > > > Died a horrid death at boot in the e1000e driver. Seems to be > > > something in linux-next.patch. Didn't get a netconsole trace for obvious > > > reasons... > > > > > > Copied-by-hand traceback: > > > pm_qos_update_request()+0x22 > > > e1000_configure+0x478 > > > e1000_open_device+0xee > > > ? _raw_notifier_call_chain+0xf > > > __dev_open+0xec > > > dev_open+0x1b > > > netpoll_setup+0x28b > > > init_netconsole+0xbc > > > > > > I suspect this commit: > > > > > > commit 23606cf5d1192c2b17912cb2ef6e62f9b11de133 > > > Author: Rafael J. Wysocki <rjw@sisk.pl> > > > Date: Sun Mar 14 14:35:17 2010 +0000 > > > > > > e1000e / PCI / PM: Add basic runtime PM support (rev. 4) > > > > No, I don't think so. I'm running -rc6 with this patch applied on a box with > > e1000e and it works just fine. > > > > Please try to revert this one instead: > > > > http://git.kernel.org/?p=linux/kernel/git/rafael/suspend-2.6.git;a=patch;h=ed77134bfccf5e75b6cbadab268e559dbe6a4ebb > > Confirming - reverting that patch and doing the build fixup results in a > kernel that doesn't blow up in the e1000e driver... Then I guess there's an initializations problem somewhere. Mark, any chance to look into that any time soon? If we don't resolve this before the merge window opens, I'm afraid I'll have to revert that commit from my tree. Rafael ------------------------------------------------------------------------------ _______________________________________________ E1000-devel mailing list E1000-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/e1000-devel To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: mmotm 2010-05-11 - dies in pm_qos_update_request() 2010-05-13 22:24 ` Rafael J. Wysocki @ 2010-05-14 23:43 ` mark gross 0 siblings, 0 replies; 8+ messages in thread From: mark gross @ 2010-05-14 23:43 UTC (permalink / raw) To: Rafael J. Wysocki Cc: Valdis.Kletnieks, Andrew Morton, David S. Miller, linux-kernel, e1000-devel, netdev On Fri, May 14, 2010 at 12:24:50AM +0200, Rafael J. Wysocki wrote: > On Thursday 13 May 2010, Valdis.Kletnieks@vt.edu wrote: > > On Wed, 12 May 2010 23:07:20 +0200, "Rafael J. Wysocki" said: > > > On Wednesday 12 May 2010, Valdis.Kletnieks@vt.edu wrote: > > > > On Tue, 11 May 2010 18:21:22 PDT, akpm@linux-foundation.org said: > > > > > The mm-of-the-moment snapshot 2010-05-11-18-20 has been uploaded to > > > > > > > > > > http://userweb.kernel.org/~akpm/mmotm/ > > > > > > > > Dell Latitude E6500, x86_64 kernel. > > > > > > > > Died a horrid death at boot in the e1000e driver. Seems to be > > > > something in linux-next.patch. Didn't get a netconsole trace for obvious > > > > reasons... > > > > > > > > Copied-by-hand traceback: > > > > pm_qos_update_request()+0x22 > > > > e1000_configure+0x478 > > > > e1000_open_device+0xee > > > > ? _raw_notifier_call_chain+0xf > > > > __dev_open+0xec > > > > dev_open+0x1b > > > > netpoll_setup+0x28b > > > > init_netconsole+0xbc > > > > > > > > I suspect this commit: > > > > > > > > commit 23606cf5d1192c2b17912cb2ef6e62f9b11de133 > > > > Author: Rafael J. Wysocki <rjw@sisk.pl> > > > > Date: Sun Mar 14 14:35:17 2010 +0000 > > > > > > > > e1000e / PCI / PM: Add basic runtime PM support (rev. 4) > > > > > > No, I don't think so. I'm running -rc6 with this patch applied on a box with > > > e1000e and it works just fine. > > > > > > Please try to revert this one instead: > > > > > > http://git.kernel.org/?p=linux/kernel/git/rafael/suspend-2.6.git;a=patch;h=ed77134bfccf5e75b6cbadab268e559dbe6a4ebb > > > > Confirming - reverting that patch and doing the build fixup results in a > > kernel that doesn't blow up in the e1000e driver... > > Then I guess there's an initializations problem somewhere. > > Mark, any chance to look into that any time soon? If we don't resolve this > before the merge window opens, I'm afraid I'll have to revert that commit > from my tree. > I'll look at it right away. I think I have an e1000e in my home box. --mgross ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: mmotm 2010-05-11 - dies in pm_qos_update_request() 2010-05-13 14:34 ` Valdis.Kletnieks 2010-05-13 22:24 ` Rafael J. Wysocki @ 2010-05-13 22:32 ` Rafael J. Wysocki 1 sibling, 0 replies; 8+ messages in thread From: Rafael J. Wysocki @ 2010-05-13 22:32 UTC (permalink / raw) To: Valdis.Kletnieks Cc: Mark Gross, e1000-devel, netdev, linux-kernel, Andrew Morton, David S. Miller On Thursday 13 May 2010, Valdis.Kletnieks@vt.edu wrote: > On Wed, 12 May 2010 23:07:20 +0200, "Rafael J. Wysocki" said: > > On Wednesday 12 May 2010, Valdis.Kletnieks@vt.edu wrote: > > > On Tue, 11 May 2010 18:21:22 PDT, akpm@linux-foundation.org said: > > > > The mm-of-the-moment snapshot 2010-05-11-18-20 has been uploaded to > > > > > > > > http://userweb.kernel.org/~akpm/mmotm/ > > > > > > Dell Latitude E6500, x86_64 kernel. > > > > > > Died a horrid death at boot in the e1000e driver. Seems to be > > > something in linux-next.patch. Didn't get a netconsole trace for obvious > > > reasons... > > > > > > Copied-by-hand traceback: > > > pm_qos_update_request()+0x22 > > > e1000_configure+0x478 > > > e1000_open_device+0xee > > > ? _raw_notifier_call_chain+0xf > > > __dev_open+0xec > > > dev_open+0x1b > > > netpoll_setup+0x28b > > > init_netconsole+0xbc > > > > > > I suspect this commit: > > > > > > commit 23606cf5d1192c2b17912cb2ef6e62f9b11de133 > > > Author: Rafael J. Wysocki <rjw@sisk.pl> > > > Date: Sun Mar 14 14:35:17 2010 +0000 > > > > > > e1000e / PCI / PM: Add basic runtime PM support (rev. 4) > > > > No, I don't think so. I'm running -rc6 with this patch applied on a box with > > e1000e and it works just fine. > > > > Please try to revert this one instead: > > > > http://git.kernel.org/?p=linux/kernel/git/rafael/suspend-2.6.git;a=patch;h=ed77134bfccf5e75b6cbadab268e559dbe6a4ebb > > Confirming - reverting that patch and doing the build fixup results in a > kernel that doesn't blow up in the e1000e driver... Can you try the tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-2.6.git linux-next without the other linux-next changes, please? I'm not seeing the problem you're reporting on my test box with e1000e. Rafael ------------------------------------------------------------------------------ _______________________________________________ E1000-devel mailing list E1000-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/e1000-devel To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2010-05-14 23:43 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <201005120149.o4C1n7P4002637@imap1.linux-foundation.org> 2010-05-12 19:52 ` mmotm 2010-05-11 - dies in pm_qos_update_request() Valdis.Kletnieks 2010-05-12 21:07 ` Rafael J. Wysocki 2010-05-12 22:12 ` Valdis.Kletnieks 2010-05-12 22:33 ` Rafael J. Wysocki 2010-05-13 14:34 ` Valdis.Kletnieks 2010-05-13 22:24 ` Rafael J. Wysocki 2010-05-14 23:43 ` mark gross 2010-05-13 22:32 ` Rafael J. Wysocki
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).