Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
LATE suspend and EARLY resume woes...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
piroko
Tux's lil' helper
Tux's lil' helper


Joined: 25 Aug 2006
Posts: 77

PostPosted: Mon Jul 02, 2007 12:16 am    Post subject: LATE suspend and EARLY resume woes... Reply with quote

So I suspended (suspend-to-ram) my laptop (powerbook g4) a couple times in the past few days, only to have it be dead or almost dead after opening it a while later. At first I thought it was a hardware problem, or my battery going bad, but now I think I've traced the problem through dmesg. It seems that the laptop is having some of its components awakened shortly after suspend, even though the light on the front is still "snoring", which is draining the battery. At least that's what I've guessed from the dmesg output. So now I shutdown my laptop, powered it on, and immediately after everything got started up I closed the lid, let it suspend, and opened it up again. Here is the complete dmesg output clearly showing where the problem may exist. If a search is done for "LATE suspend" or "EARLY resume", the seemingly troubling part of the output can be found faster.

Code:
SB hub found
hub 2-0:1.0: 3 ports detected
PM: Adding info for No Bus:usbdev2.1_ep81
PM: Adding info for No Bus:usbdev2.1
PCI: Enabling device 0001:10:15.1 (0000 -> 0002)
ohci_hcd 0001:10:15.1: OHCI Host Controller
ohci_hcd 0001:10:15.1: new USB bus registered, assigned bus number 3
ohci_hcd 0001:10:15.1: irq 54, io mem 0xa0001000
PM: Adding info for usb:usb3
PM: Adding info for No Bus:usbdev3.1_ep00
usb usb3: configuration #1 chosen from 1 choice
PM: Adding info for usb:3-0:1.0
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
PM: Adding info for No Bus:usbdev3.1_ep81
PM: Adding info for No Bus:usbdev3.1
usb 2-2: new full speed USB device using ohci_hcd and address 2
PM: Adding info for usb:2-2
PM: Adding info for No Bus:usbdev2.2_ep00
usb 2-2: configuration #1 chosen from 1 choice
PM: Adding info for usb:2-2:1.0
PM: Adding info for No Bus:usbdev2.2_ep81
PM: Adding info for usb:2-2:1.1
PM: Adding info for No Bus:usbdev2.2_ep82
PM: Adding info for No Bus:usbdev2.2
usb 3-2: new full speed USB device using ohci_hcd and address 2
PM: Adding info for usb:3-2
PM: Adding info for No Bus:usbdev3.2_ep00
usb 3-2: configuration #1 chosen from 1 choice
PM: Adding info for usb:3-2:1.0
PM: Adding info for No Bus:usbdev3.2_ep83
PM: Adding info for usb:3-2:1.1
PM: Adding info for No Bus:usbdev3.2_ep81
PM: Adding info for usb:3-2:1.2
PM: Adding info for No Bus:usbdev3.2_ep84
PM: Adding info for No Bus:usbdev3.2
usbcore: registered new interface driver hiddev
input: HID 05ac:1000 as /class/input/input1
input: USB HID v1.11 Keyboard [HID 05ac:1000] on usb-0001:10:15.0-2
input: HID 05ac:1000 as /class/input/input2
input: USB HID v1.11 Mouse [HID 05ac:1000] on usb-0001:10:15.0-2
input: Apple Computer Apple Internal Keyboard / Trackpad as /class/input/input3
input: USB HID v1.11 Keyboard [Apple Computer Apple Internal Keyboard / Trackpad] on usb-0001:10:15.1-2
input: Apple Computer Apple Internal Keyboard / Trackpad as /class/input/input4
input: USB HID v1.11 Device [Apple Computer Apple Internal Keyboard / Trackpad] on usb-0001:10:15.1-2
usbcore: registered new interface driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
input: appletouch as /class/input/input5
usbcore: registered new interface driver appletouch
PM: Adding info for No Bus:psaux
mice: PS/2 mouse device common for all mice
PM: Adding info for No Bus:uinput
PM: Adding info for No Bus:i2c-4
PowerMac i2c bus pmu 2 registered
PM: Adding info for No Bus:i2c-5
PowerMac i2c bus pmu 1 registered
PM: Adding info for No Bus:i2c-6
PowerMac i2c bus mac-io 0 registered
PM: Adding info for No Bus:i2c-7
adt746x: ADT7467 initializing
adt746x: Lowering max temperatures from 81, 80, 87 to 70, 50, 70
PM: Adding info for i2c:7-002e
PowerMac i2c bus uni-n 0 registered
Bluetooth: HCI USB driver ver 2.9
usbcore: registered new interface driver hci_usb
Bluetooth: Virtual HCI driver ver 1.2
PM: Adding info for No Bus:vhci
Bluetooth: Broadcom Blutonium firmware driver ver 1.1
usbcore: registered new interface driver bcm203x
Bluetooth: BlueFRITZ! USB driver ver 1.1
usbcore: registered new interface driver bfusb
Advanced Linux Sound Architecture Driver Version 1.0.14rc3 (Wed Mar 14 07:25:50 2007 UTC).
PM: Adding info for No Bus:timer
PM: Adding info for aoa-soundbus:soundbus:1
PM: Adding info for aoa-soundbus:soundbus:2
snd-aoa-fabric-layout: found bus with layout 82
snd-aoa-fabric-layout: Using PMF GPIOs
PM: Adding info for No Bus:controlC0
snd-aoa-codec-onyx: found pcm3052
PM: Adding info for i2c:6-0046
snd-aoa-fabric-layout: can use this codec
PM: Adding info for No Bus:pcmC0D0p
PM: Adding info for No Bus:pcmC0D0c
snd-aoa-codec-onyx: attached to onyx codec via i2c
snd-aoa-codec-onyx: created and attached onyx instance
ALSA device list:
  #0: SoundByLayout
oprofile: using ppc/7450 performance monitoring.
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 15
Bluetooth: L2CAP ver 2.8
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO (Voice Link) ver 0.5
Bluetooth: SCO socket layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM ver 1.8
Bluetooth: BNEP (Ethernet Emulation) ver 1.2
Bluetooth: BNEP filters: protocol multicast
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
input: PMU as /class/input/input6
Registered led device: pmu-front-led
ReiserFS: hda5: found reiserfs format "3.6" with standard journal
ReiserFS: hda5: using ordered data mode
ReiserFS: hda5: journal params: device hda5, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hda5: checking transaction log (hda5)
ReiserFS: hda5: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 204k init
PM: Adding info for No Bus:vcs1
PM: Adding info for No Bus:vcsa1
PM: Removing info for No Bus:vcs1
PM: Removing info for No Bus:vcsa1
PM: Adding info for No Bus:vcs1
PM: Adding info for No Bus:vcsa1
PM: Removing info for No Bus:vcs1
PM: Removing info for No Bus:vcsa1
PM: Adding info for No Bus:vcs1
PM: Adding info for No Bus:vcsa1
PM: Removing info for No Bus:vcs1
PM: Removing info for No Bus:vcsa1
PM: Adding info for No Bus:vcs1
PM: Adding info for No Bus:vcsa1
PM: Removing info for No Bus:vcs1
PM: Removing info for No Bus:vcsa1
PM: Adding info for No Bus:vcs1
PM: Adding info for No Bus:vcsa1
PM: Removing info for No Bus:vcs1
PM: Removing info for No Bus:vcsa1
PM: Adding info for No Bus:vcs1
PM: Adding info for No Bus:vcsa1
ReiserFS: hda5: warning: user_xattr not supported.
hfs: write access to a jounaled filesystem is not supported, use the force option at your own risk, mounting read-only.
Adding 1048568k swap on /dev/hda4.  Priority:-1 extents:1 across:1048568k
PM: Removing info for No Bus:vcs1
PM: Removing info for No Bus:vcsa1
PM: Adding info for No Bus:vcs1
PM: Adding info for No Bus:vcsa1
PM: Removing info for No Bus:vcs1
PM: Removing info for No Bus:vcsa1
PM: Adding info for No Bus:vcs1
PM: Adding info for No Bus:vcsa1
PM: Removing info for No Bus:vcs1
PM: Removing info for No Bus:vcsa1
PM: Adding info for No Bus:vcs1
PM: Adding info for No Bus:vcsa1
PM: Removing info for No Bus:vcs1
PM: Removing info for No Bus:vcsa1
PM: Adding info for No Bus:vcs1
PM: Adding info for No Bus:vcsa1
PM: Removing info for No Bus:vcs1
PM: Removing info for No Bus:vcsa1
PM: Adding info for No Bus:vcs1
PM: Adding info for No Bus:vcsa1
PM: Adding info for No Bus:vcs12
PM: Adding info for No Bus:vcsa12
Yenta: CardBus bridge found at 0001:10:14.0 [0000:0000]
PCI: Bus 17, cardbus bridge: 0001:10:14.0
  IO window: 00001000-000011ff
  IO window: 00001400-000015ff
  PREFETCH window: 90000000-9fffffff
  MEM window: f3000000-f33fffff
Yenta: Enabling burst memory read transactions
Yenta: Using CSCINT to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0001:10:14.0, mfunc 0x00001002, devctl 0x60
Yenta: ISA IRQ mask 0x0000, PCI irq 53
Socket status: 30000007
pcmcia: parent PCI bridge I/O window: 0x0 - 0x7fffff
pcmcia: parent PCI bridge Memory window: 0xf3000000 - 0xf3ffffff
pcmcia: parent PCI bridge Memory window: 0x80000000 - 0xafffffff
PM: Adding info for No Bus:pcmcia_socket0
pcmcia: Detected deprecated PCMCIA ioctl usage from process: cardmgr.
pcmcia: This interface will soon be removed from the kernel; please expect breakage unless you upgrade to new tools.
pcmcia: see http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html for details.
ReiserFS: hda5: warning: user_xattr not supported.
hfs: filesystem is marked journaled, leaving read-only.
PM: Adding info for No Bus:seq
PM: Adding info for No Bus:sequencer
PM: Adding info for No Bus:sequencer2
PM: Adding info for No Bus:mixer
PM: Adding info for No Bus:dsp
PM: Adding info for No Bus:audio
Adjusting limits by 2 degrees
ReiserFS: hda5: warning: user_xattr not supported.
ReiserFS: hda5: warning: user_xattr not supported.
hfs: filesystem is marked journaled, leaving read-only.
ReiserFS: hda5: warning: user_xattr not supported.
hfs: filesystem is marked journaled, leaving read-only.
PM: Adding info for No Bus:vcs2
PM: Adding info for No Bus:vcsa2
PM: Adding info for No Bus:vcs3
PM: Adding info for No Bus:vcsa3
PM: Adding info for No Bus:vcs4
PM: Adding info for No Bus:vcsa4
PM: Adding info for No Bus:vcs5
PM: Adding info for No Bus:vcsa5
PM: Adding info for No Bus:vcs6
PM: Adding info for No Bus:vcsa6
ReiserFS: hda5: warning: user_xattr not supported.
hfs: filesystem is marked journaled, leaving read-only.
ReiserFS: hda5: warning: user_xattr not supported.
hfs: filesystem is marked journaled, leaving read-only.
aoa_codec_onyx 6-0046: suspend
aoa-soundbus soundbus:2: suspend
snd_aoa_soundbus_drv soundbus:1: suspend
therm_adt746x 7-002e: suspend
usbhid 3-2:1.2: suspend
appletouch 3-2:1.1: suspend
usbhid 3-2:1.0: suspend
usb 3-2: suspend, may wakeup
usbhid 2-2:1.1: suspend
usbhid 2-2:1.0: suspend
usb 2-2: suspend, may wakeup
hub 3-0:1.0: suspend
usb usb3: suspend, may wakeup
hub 2-0:1.0: suspend
usb usb2: suspend, may wakeup
hub 1-0:1.0: suspend
usb usb1: suspend, may wakeup
ide-cdrom 0.1: suspend
ide-disk 0.0: suspend
of_platform temperatures: suspend
macio 0.00013000:ch-b: suspend
macio 0.00013020:ch-a: suspend
macio 0.00018000:i2c: suspend
macio 0.0000f300:backligh: suspend
macio 0.00016000:via-pmu: suspend
macio 0.00015000:timer: suspend
soundbus-i2s 0.00000000:i2s: suspend
macio 0.00013000:escc: suspend
macio 0.00000050:gpio: suspend
macio 0.00040000:interrup: suspend
macio 0.80000000:mac-io: suspend
platform bluetooth: suspend
i2c-powermac i2c-powermac.3: suspend
i2c-powermac i2c-powermac.2: suspend
i2c-powermac i2c-powermac.1: suspend
i2c-powermac i2c-powermac.0: suspend
gem 0002:24:0f.0: suspend
eth0: suspending, WakeOnLan disabled
ohci1394 0002:24:0e.0: suspend
ide-pmac 0002:24:0d.0: suspend
pci 0002:24:0b.0: suspend
macio 0001:10:17.0: suspend
ehci_hcd 0001:10:15.2: suspend, may wakeup
ohci_hcd 0001:10:15.1: suspend
ohci_hcd 0001:10:15.0: suspend
yenta_cardbus 0001:10:14.0: suspend
pci 0001:10:11.0: suspend
pci 0001:10:0b.0: suspend
radeonfb 0000:00:10.0: suspend
radeonfb (0000:00:10.0): suspending for event: 2...
pci 0000:00:0b.0: suspend
platform bluetooth: LATE suspend
i2c-powermac i2c-powermac.3: LATE suspend
i2c-powermac i2c-powermac.2: LATE suspend
i2c-powermac i2c-powermac.1: LATE suspend
i2c-powermac i2c-powermac.0: LATE suspend
gem 0002:24:0f.0: LATE suspend
ohci1394 0002:24:0e.0: LATE suspend
pci 0002:24:0b.0: LATE suspend
macio 0001:10:17.0: LATE suspend
yenta_cardbus 0001:10:14.0: LATE suspend
pci 0001:10:11.0: LATE suspend
pci 0001:10:0b.0: LATE suspend
pci 0000:00:0b.0: LATE suspend
radeonfb (0000:00:10.0): resuming from state: 2...
PCI: Enabling device 0000:00:10.0 (0000 -> 0003)
pci 0000:00:0b.0: EARLY resume
radeonfb 0000:00:10.0: EARLY resume
pci 0001:10:0b.0: EARLY resume
pci 0001:10:11.0: EARLY resume
yenta_cardbus 0001:10:14.0: EARLY resume
ohci_hcd 0001:10:15.0: EARLY resume
ohci_hcd 0001:10:15.1: EARLY resume
ehci_hcd 0001:10:15.2: EARLY resume
macio 0001:10:17.0: EARLY resume
pci 0002:24:0b.0: EARLY resume
ide-pmac 0002:24:0d.0: EARLY resume
ohci1394 0002:24:0e.0: EARLY resume
gem 0002:24:0f.0: EARLY resume
i2c-powermac i2c-powermac.0: EARLY resume
i2c-powermac i2c-powermac.1: EARLY resume
i2c-powermac i2c-powermac.2: EARLY resume
i2c-powermac i2c-powermac.3: EARLY resume
platform bluetooth: EARLY resume
pci 0000:00:0b.0: resuming
radeonfb 0000:00:10.0: resuming
pci 0001:10:0b.0: resuming
pci 0001:10:11.0: resuming
PM: Writing back config space on device 0001:10:11.0 at offset 4 (was 0, writing a0004000)
PM: Writing back config space on device 0001:10:11.0 at offset 3 (was 0, writing 1000)
PM: Writing back config space on device 0001:10:11.0 at offset 1 (was 0, writing 4)
yenta_cardbus 0001:10:14.0: resuming
PM: Writing back config space on device 0001:10:14.0 at offset f (was 34001ff, writing 5c001ff)
PM: Writing back config space on device 0001:10:14.0 at offset e (was 0, writing 15fc)
PM: Writing back config space on device 0001:10:14.0 at offset d (was 0, writing 1400)
PM: Writing back config space on device 0001:10:14.0 at offset c (was 0, writing 11fc)
PM: Writing back config space on device 0001:10:14.0 at offset b (was 0, writing 1000)
PM: Writing back config space on device 0001:10:14.0 at offset a (was 0, writing f33ff000)
PM: Writing back config space on device 0001:10:14.0 at offset 9 (was 0, writing f3000000)
PM: Writing back config space on device 0001:10:14.0 at offset 8 (was 0, writing 9ffff000)
PM: Writing back config space on device 0001:10:14.0 at offset 7 (was 0, writing 90000000)
PM: Writing back config space on device 0001:10:14.0 at offset 6 (was 0, writing b0141110)
PM: Writing back config space on device 0001:10:14.0 at offset 4 (was 0, writing a0003000)
PM: Writing back config space on device 0001:10:14.0 at offset 3 (was 20000, writing 2a808)
PM: Writing back config space on device 0001:10:14.0 at offset 1 (was 2100000, writing 2100007)
PM: Adding info for No Bus:vcs63
PM: Adding info for No Bus:vcsa63
PM: Removing info for No Bus:vcs63
PM: Removing info for No Bus:vcsa63
ohci_hcd 0001:10:15.0: resuming
PCI: Enabling device 0001:10:15.0 (0000 -> 0002)
ohci_hcd 0001:10:15.1: resuming
PCI: Enabling device 0001:10:15.1 (0000 -> 0002)
ehci_hcd 0001:10:15.2: resuming
PCI: Enabling device 0001:10:15.2 (0000 -> 0002)
PM: Writing back config space on device 0001:10:15.2 at offset 1 (was 2100006, writing 2100016)
macio 0001:10:17.0: resuming
pci 0002:24:0b.0: resuming
ide-pmac 0002:24:0d.0: resuming
ohci1394 0002:24:0e.0: resuming
ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[40]  MMIO=[f5000000-f50007ff]  Max Packet=[4096]  IR/IT contexts=[8/8]
gem 0002:24:0f.0: resuming
eth0: resuming
PHY ID: 2060d3, addr: 0
i2c-powermac i2c-powermac.0: resuming
i2c-powermac i2c-powermac.1: resuming
i2c-powermac i2c-powermac.2: resuming
i2c-powermac i2c-powermac.3: resuming
platform bluetooth: resuming
macio 0.80000000:mac-io: resuming
macio 0.00040000:interrup: resuming
macio 0.00000050:gpio: resuming
macio 0.00013000:escc: resuming
soundbus-i2s 0.00000000:i2s: resuming
macio 0.00015000:timer: resuming
macio 0.00016000:via-pmu: resuming
macio 0.0000f300:backligh: resuming
macio 0.00018000:i2c: resuming
macio 0.00013020:ch-a: resuming
macio 0.00013000:ch-b: resuming
of_platform temperatures: resuming
ide-disk 0.0: resuming
hda: Enabling Ultra DMA 5
ide-cdrom 0.1: resuming
hdb: Enabling Ultra DMA 4
usb usb1: resuming
hub 1-0:1.0: resuming
usb usb2: resuming
hub 2-0:1.0: resuming
usb usb3: resuming
hub 3-0:1.0: resuming
usb 2-2: resuming
usbhid 2-2:1.0: resuming
usbhid 2-2:1.1: resuming
usb 3-2: resuming
usbhid 3-2:1.0: resuming
appletouch 3-2:1.1: resuming
usbhid 3-2:1.2: resuming
therm_adt746x 7-002e: resuming
snd_aoa_soundbus_drv soundbus:1: resuming
aoa-soundbus soundbus:2: resuming
aoa_codec_onyx 6-0046: resuming
adb: starting probe task...
adb: finished probe task...
ReiserFS: hda5: warning: user_xattr not supported.
hfs: filesystem is marked journaled, leaving read-only.
ReiserFS: hda5: warning: user_xattr not supported.
hfs: filesystem is marked journaled, leaving read-only.


I just recently updated to 2.6.21.5, and made oldconfig with no apparent difficulties. I'm willing to provide any other output if necessary. Thank you for any ideas... This is a really troubling problem for a travelling college student :(
_________________
Anyone who is not confused by quantum theory does not truly understand it.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Mon Jul 02, 2007 5:02 pm    Post subject: Reply with quote

Does it happen with older kernels? Do you still have a kernel that doesn't have this issue?
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
piroko
Tux's lil' helper
Tux's lil' helper


Joined: 25 Aug 2006
Posts: 77

PostPosted: Mon Jul 02, 2007 6:07 pm    Post subject: Reply with quote

I just tried 2.6.21.1, my previous (working) kernel, and about 4 minutes after suspending it, the laptop just hard powered down, which happens every once in a while. I don't even know where to begin with this problem. Oh, and the EARLY resume and LATE suspend messages are appearing in 2.6.21.1 as well... :(
_________________
Anyone who is not confused by quantum theory does not truly understand it.
Back to top
View user's profile Send private message
piroko
Tux's lil' helper
Tux's lil' helper


Joined: 25 Aug 2006
Posts: 77

PostPosted: Mon Jul 02, 2007 7:14 pm    Post subject: Reply with quote

Maybe a PMU reset is in order? This feels so hopeless... :'(
_________________
Anyone who is not confused by quantum theory does not truly understand it.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Mon Jul 02, 2007 8:50 pm    Post subject: Reply with quote

Well, it'll do that if you close the lid, but don't suspend the machine. That's a "feature" of the PMU to prevent overheating. From a console, try:
Code:

pbbcmd sleep


But don't close the lid. See if it actually sleeps.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
piroko
Tux's lil' helper
Tux's lil' helper


Joined: 25 Aug 2006
Posts: 77

PostPosted: Mon Jul 02, 2007 8:55 pm    Post subject: Reply with quote

The laptop appeared to sleep (the front LED "snoozed"), but I still get those same troubling messages...
_________________
Anyone who is not confused by quantum theory does not truly understand it.
Back to top
View user's profile Send private message
piroko
Tux's lil' helper
Tux's lil' helper


Joined: 25 Aug 2006
Posts: 77

PostPosted: Mon Jul 02, 2007 9:34 pm    Post subject: Reply with quote

Well I suspended it again under 2.6.21.1 and it didn't drain my battery! Same messages though. I really wonder why 2.6.21.5 drains my battery...
_________________
Anyone who is not confused by quantum theory does not truly understand it.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Mon Jul 02, 2007 10:31 pm    Post subject: Reply with quote

I'm not sure the messages have anything to do with it. If you really think it's a kernel change between those kernels, it might be time to try a git bisect, there's a decent overview here: http://www.wlug.org.nz/KernelDevelopmentWithGit
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum