[Bug 227391] New: a lot of pci_set_power_state messages in the logs after update from 10.1 to 10.2 final
https://bugzilla.novell.com/show_bug.cgi?id=227391 Summary: a lot of pci_set_power_state messages in the logs after update from 10.1 to 10.2 final Product: openSUSE 10.2 Version: Final Platform: i586 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: abittner@stud.fh-heilbronn.de QAContact: qa@suse.de hello there, after doing an upgrade from suse 10.1 to opensuse 10.2 final with the downloaded cd iso images i now get a lot of kernel messages in the logfiles also check http://lists.suse.com/archive/suse-beta-e/2006-Dec/0014.html
Dec 9 15:25:15 box kernel: pci_set_power_state(): 0000:01:0a.0: state=3, current state=5 Dec 9 15:26:00 box last message repeated 27 times Dec 9 15:27:00 box last message repeated 44 times Dec 9 15:28:00 box last message repeated 36 times Dec 9 15:29:00 box last message repeated 36 times Dec 9 15:30:00 box last message repeated 36 times
its a normal celeron coppermine box, nothing fancy, desktop pc, no powersaving or anything exciting needed. running runlevel3 in textmode (no vesa) doing some samba, bind, squid, and so on. i dont know if i might be right but that 01:0a.0 id seems like some pci-device id to me and lspci also displays a network-card for that id
01:0a.0 Ethernet controller: 3Com Corporation 3c905 100BaseTX [Boomerang]
but this network-card doesnt support any powersaving stuff according to -v/vv/vvv
01:0a.0 Ethernet controller: 3Com Corporation 3c905 100BaseTX [Boomerang] Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-Stepping- SERR- FastB2B Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
so no power-management capabilities at all. another pci-networkcard in this box displays some power-features though. so i wonder if i am correct and why the kernel tries to change the power-state of this pci-lancard and how i could get rid of the constant logging of these messages, or even better how you guys could fix this behaviour. thanks and regards. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227391 gregkh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kernel- |pavel@novell.com |maintainers@forge.provo.nove| |ll.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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227391 ------- Comment #1 from pavel@novell.com 2006-12-14 13:18 MST ------- Created an attachment (id=109813) --> (https://bugzilla.novell.com/attachment.cgi?id=109813&action=view) fix -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227391 pavel@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gregkh@novell.com Severity|Normal |Minor Status|NEW |ASSIGNED ------- Comment #2 from pavel@novell.com 2006-12-14 13:21 MST ------- Hmm.. 3c59x.c seems to do pci_set_power_state() without checking if it is supported; and it seems it can do it when userland asks it to. You may want to try killing daemons one-by-one to see which one triggers that. Perhaps pci should not complain when it is asked to do transitions on non-power-managable hardware? Greg, do you think we want attached patch? Andreas, does attached patch fix your problem? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227391 pavel@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |gregkh@novell.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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227391 ------- Comment #3 from abittner@stud.fh-heilbronn.de 2006-12-14 14:58 MST ------- hi there, im kinda busy these days, sorry for the delay, and my life in linux is rather userland than the developers side ;) anyways, i suppose i need to get the source packages, some development/compile stuff too and patch that pci.c sourcefile and then compile the whole kernel or something. if there are some patches for the nic-drivers, i suppose i need to compile those too and include/replace some lines in the modules.conf file or something. anyone care to give me some basic runthrough on how to do this the best way without destroying my production system. :) im willing to help but please bear with me. cheers. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227391 ------- Comment #4 from pavel@novell.com 2006-12-20 17:09 MST ------- Yep, you need to recompile kernel; hopefully HOWTO is somewhere on the net (kernelnewbies.org?) But I do not think you want to do that on important system. You'll not loose your data, but expect some problems... -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227391 ------- Comment #5 from pavel@novell.com 2007-01-12 16:37 MST ------- Greg, pretty please, your opinion about the patch.... Andreas... yes, testing would be nice. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227391 gregkh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|gregkh@novell.com | ------- Comment #6 from gregkh@novell.com 2007-01-12 16:53 MST ------- Pavel, sorry for the delay. Yes, the patch looks fine for me, especially if it fixes the problem. And as for how to rebuild a kernel, there's a whole book about how to do just that, free online at: http://www.kroah.com/lkn/ :) -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227391 pavel@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |WONTFIX ------- Comment #7 from pavel@novell.com 2007-01-16 05:21 MST ------- Ok, I submitted the patch to l-k and andrew. If we can't get it tested, it is probably best if it goes through mainline. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227391 ------- Comment #8 from abittner@stud.fh-heilbronn.de 2007-03-12 08:15 MST ------- this bug is still present in the latest released suse 10.2 kernel can anyone create a valid patch against the current /usr/src/linux-2.6.18.8-0.1/drivers/pci/pci.c file? then i can try to compile and test it. thanks. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227391
------- Comment #9 from abittner@stud.fh-heilbronn.de 2007-03-12 20:10 MST -------
ok nevermind, i managed to patch the current sources, if i understand the patch
correctly, that one check only moves upward inside the source (pci.c)
after rebooting with the newly compiled kernel i still get these errors:
Mar 13 02:06:15 chef kernel: pci_set_power_state(): 0000:01:0a.0: state=3,
current state=5
Mar 13 02:06:30 chef kernel: pci_set_power_state(): 0000:01:0a.0: state=3,
current state=5
Mar 13 02:06:30 chef last message repeated 8 times
Mar 13 02:06:45 chef kernel: pci_set_power_state(): 0000:01:0a.0: state=3,
current state=5
Mar 13 02:07:15 chef last message repeated 26 times
#uname -a
Linux chef 2.6.18.8-0.1-default-susebug227391 #1 SMP Mon Mar 12 22:16:49 UTC
2007 i686 i686 i386 GNU/Linux
# lspci
00:00.0 Host bridge: Intel Corporation 82810 GMCH [Graphics Memory Controller
Hub] (rev 03)
00:01.0 VGA compatible controller: Intel Corporation 82810 CGC [Chipset
Graphics Controller] (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801AA PCI Bridge (rev 02)
00:1f.0 ISA bridge: Intel Corporation 82801AA ISA Bridge (LPC) (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801AA IDE (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801AA AC'97 Audio (rev
02)
01:04.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 10)
01:0a.0 Ethernet controller: 3Com Corporation 3c905 100BaseTX [Boomerang]
# lspci -vvv
00:00.0 Host bridge: Intel Corporation 82810 GMCH [Graphics Memory Controller
Hub] (rev 03)
Subsystem: Intel Corporation 82810 GMCH [Graphics Memory Controller
Hub]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort-
https://bugzilla.novell.com/show_bug.cgi?id=227391 abittner@stud.fh-heilbronn.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WONTFIX | ------- Comment #10 from abittner@stud.fh-heilbronn.de 2007-03-15 04:30 MST ------- hello there, this bug is still there after applying the patch compiling and building the kernel. thanks. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227391 ------- Comment #11 from pavel@novell.com 2007-03-21 02:58 MST ------- Hmm, just try to comment out the printk. In the meantime I'll have to figure out what was wrong with my approach. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227391 pavel@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |ASSIGNED -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227391 ------- Comment #12 from bjorn@mork.no 2007-05-10 13:38 MST ------- Created an attachment (id=139137) --> (https://bugzilla.novell.com/attachment.cgi?id=139137&action=view) Suggested patch against 2.6.21.1 -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227391 ------- Comment #13 from pavel@novell.com 2007-05-28 04:27 MST ------- I applied the patch to my local tree, and hopefully will push it to mainline some day. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227391
User pavel@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=227391#c14
Pavel Machek
participants (1)
-
bugzilla_noreply@novell.com