Hi All, i'm running Fedora core 6 on a power book G4. I'm running the latest kernel. I noticed problems after going to sleep/wakeup ( i've had applications stuck waiting on futexes , weird behaviours that disappeard after a reboot, implying badly messed up kernel structures ). I've got the following logs in /var/log/messages yesterday after going to sleep for the first time after upgrading to the latest kernel ( Linux kaluha 2.6.18-1.2849.fc6 #1 Fri Nov 10 12:40:25 EST 2006 ppc ppc ppc GNU/Linux ) From the logs i understand that the following is happening: i'm closing the lid; pmud tries to put the system to sleep then comes the BUG, It somehow causes a waekup of the video card , network card , hard drive etc ... but then another crash :( then nothing ( sleep with all devices enabled ? ), until the wakeup this morning .... This sounds pretty messed up . Is anyone else experimenting these problems ? My hardware conf: cat /proc/cpuinfo processor : 0 cpu : 7447/7457, altivec supported clock : 612.000000MHz revision : 0.1 (pvr 8002 0101) bogomips : 36.73 timebase : 18432000 platform : PowerMac machine : PowerBook5,2 motherboard : PowerBook5,2 MacRISC3 Power Macintosh detected as : 287 (PowerBook G4 15") pmac flags : 0000001b L2 cache : 512K unified pmac-generation : NewWorld
Here's the log in /var/log/messages:
Nov 13 18:39:52 kaluha pmud[2636]: running /etc/power/pwrctl minimum battery Nov 13 18:39:52 kaluha pwrctl: calling /etc/power/pwrctl-local minimum battery Nov 13 18:39:52 kaluha pwrctl-local: minimum power battery Nov 13 18:39:52 kaluha kernel: usb 2-1: USB disconnect, address 2 Nov 13 18:39:54 kaluha pmud[2636]: running /etc/power/pwrctl lid-closed battery Nov 13 18:39:54 kaluha pwrctl: calling /etc/power/pwrctl-local lid-closed battery Nov 13 18:39:54 kaluha pwrctl-local: lid-closed battery Nov 13 18:39:54 kaluha pmud[2636]: lid closed: request sleep Nov 13 18:39:54 kaluha pmud[2636]: running /etc/power/pwrctl sleep battery Nov 13 18:39:54 kaluha pwrctl: calling /etc/power/pwrctl-local sleep battery Nov 13 18:39:54 kaluha pwrctl-local: sleep battery Nov 13 18:39:54 kaluha pmud[2636]: going to sleep Nov 13 18:39:56 kaluha kernel: usbdev3.1_ep81: PM: suspend 0->2, parent 3-0:1.0 already 1 Nov 13 18:39:56 kaluha kernel: usbdev2.1_ep81: PM: suspend 0->2, parent 2-0:1.0 already 1 Nov 13 18:39:56 kaluha kernel: eth0: suspending, WakeOnLan disabled Nov 13 18:39:57 kaluha kernel: bcm43xx: Suspending... Nov 13 18:39:57 kaluha kernel: bcm43xx: Device suspended. Nov 13 18:39:57 kaluha kernel: uninorth-agp: disabling AGP on device 0000:00:10.0 Nov 13 18:39:57 kaluha kernel: uninorth-agp: disabling AGP on bridge 0000:00:0b.0 Nov 13 18:39:57 kaluha kernel: BUG: sleeping function called from invalid context at kernel/rwsem.c:20 Nov 13 18:39:57 kaluha kernel: in_atomic():0, irqs_disabled():1 Nov 13 18:39:57 kaluha kernel: Call Trace: Nov 13 18:39:57 kaluha kernel: [EEB2BD40] [C0008CDC] show_stack+0x50/0x184 (unreliable) Nov 13 18:39:57 kaluha kernel: [EEB2BD60] [C002D330] __might_sleep+0xbc/0xd0 Nov 13 18:40:01 kaluha kernel: [EEB2BD70] [C004D3C4] down_read+0x24/0x5c Nov 13 18:40:01 kaluha kernel: [EEB2BD90] [C0042EE8] blocking_notifier_call_chain+0x20/0x54 Nov 13 18:40:01 kaluha kernel: [EEB2BDB0] [C023AF8C] cpufreq_suspend+0x158/0x18c Nov 13 18:40:01 kaluha kernel: [EEB2BDE0] [C01BAA98] sysdev_suspend+0xa0/0x2e0 Nov 13 18:40:01 kaluha kernel: [EEB2BE10] [C01C072C] device_power_down+0x74/0xac Nov 13 18:40:01 kaluha kernel: [EEB2BE30] [C01C91C0] pmac_suspend_devices+0xc4/0x138 Nov 13 18:40:01 kaluha kernel: [EEB2BE40] [C01C9928] pmu_ioctl+0x6f4/0xaa0 Nov 13 18:40:01 kaluha kernel: [EEB2BED0] [C00A433C] do_ioctl+0x6c/0x84 Nov 13 18:40:01 kaluha kernel: [EEB2BEE0] [C00A4734] vfs_ioctl+0x3e0/0x414 Nov 13 18:40:01 kaluha kernel: [EEB2BF10] [C00A47D0] sys_ioctl+0x68/0x98 Nov 13 18:40:01 kaluha kernel: [EEB2BF40] [C0011C0C] ret_from_syscall+0x0/0x38 Nov 13 18:40:01 kaluha kernel: --- Exception: c01 at 0xf552e68 Nov 13 18:40:01 kaluha kernel: LR = 0xf552e00 Nov 13 18:40:01 kaluha kernel: ohci1394: fw-host0: isochronous cycle too long Nov 13 18:40:01 kaluha kernel: PCI: Enabling device 0000:00:10.0 (0000 -> 0003) Nov 13 18:40:01 kaluha kernel: agpgart: Putting AGP V2 device at 0000:00:0b.0 into 4x mode Nov 13 18:40:01 kaluha kernel: agpgart: Putting AGP V2 device at 0000:00:10.0 into 4x mode Nov 13 18:40:01 kaluha kernel: bcm43xx: Resuming... Nov 13 18:40:01 kaluha kernel: PCI: Enabling device 0001:10:12.0 (0000 -> 0002) Nov 13 18:40:01 kaluha kernel: bcm43xx: Device resumed. Nov 13 18:40:01 kaluha kernel: PCI: Enabling device 0001:10:1b.0 (0000 -> 0002) Nov 13 18:40:01 kaluha kernel: PCI: Enabling device 0001:10:1b.1 (0000 -> 0002) Nov 13 18:40:01 kaluha kernel: PCI: Enabling device 0001:10:1b.2 (0000 -> 0002) Nov 13 18:40:01 kaluha kernel: usb usb4: root hub lost power or was reset Nov 13 18:40:01 kaluha kernel: ehci_hcd 0001:10:1b.2: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004 Nov 13 18:40:01 kaluha kernel: eth0: resuming Nov 13 18:40:01 kaluha kernel: hda: Enabling Ultra DMA 5 Nov 13 18:40:01 kaluha kernel: Badness in wait_for_ready at drivers/ide/ide-iops.c:516 Nov 13 18:40:01 kaluha kernel: Call Trace: Nov 13 18:40:01 kaluha kernel: [EF1BDCB0] [C0008CDC] show_stack+0x50/0x184 (unreliable) Nov 13 18:40:01 kaluha kernel: [EF1BDCD0] [C0010874] program_check_exception+0x194/0x51c Nov 13 18:40:01 kaluha kernel: [EF1BDD20] [C0012268] ret_from_except_full+0x0/0x4c Nov 13 18:40:01 kaluha kernel: --- Exception: 700 at wait_for_ready+0x94/0xec Nov 13 18:40:01 kaluha kernel: LR = wait_for_ready+0x3c/0xec Nov 13 18:40:01 kaluha kernel: [EF1BDDE0] [C00611B4] disable_irq_nosync+0x7c/0x90 (unreliable) Nov 13 18:40:01 kaluha kernel: [EF1BDE00] [C01EB664] pmac_ide_do_setfeature+0x10c/0x324 Nov 13 18:40:01 kaluha kernel: [EF1BDE20] [C01EBB68] pmac_ide_dma_check+0x2ec/0x458 Nov 13 18:40:01 kaluha kernel: [EF1BDE50] [C01DF9C0] ide_do_request+0x620/0x8bc Nov 13 18:40:01 kaluha kernel: [EF1BDEC0] [C01DFFD0] ide_intr+0x1f4/0x230 Nov 13 18:40:01 kaluha kernel: [EF1BDEF0] [C0060C68] handle_IRQ_event+0x54/0xa8 Nov 13 18:40:01 kaluha kernel: [EF1BDF10] [C00623BC] handle_fasteoi_irq+0xb4/0x11c Nov 13 18:40:01 kaluha kernel: [EF1BDF30] [C0006810] do_IRQ+0x70/0xac Nov 13 18:40:01 kaluha kernel: [EF1BDF40] [C00122B4] ret_from_except+0x0/0x14 Nov 13 18:40:01 kaluha kernel: --- Exception: 501 at 0x79de3c4 Nov 13 18:40:01 kaluha kernel: LR = 0x79de300 Nov 13 18:40:01 kaluha kernel: hdc: Enabling MultiWord DMA 2 Nov 14 08:54:51 kaluha pmud[2636]: system awake again