#12461 NORM 4-firmw: SKU295 hangs on resume if a LiFePO4 battery is being charged

Zarro Boogs per Child bugtracker at laptop.org
Thu Jan 10 02:33:56 EST 2013


#12461: SKU295 hangs on resume if a LiFePO4 battery is being charged
---------------------------------+------------------------------------------
 Reporter:  Quozl                |                 Owner:  rsmith                           
     Type:  defect               |                Status:  new                              
 Priority:  normal               |             Milestone:  4-firmware                       
Component:  embedded controller  |               Version:  Development build as of this date
 Keywords:                       |           Next_action:  diagnose                         
 Verified:  0                    |   Deployment_affected:                                   
Blockedby:                       |              Blocking:                                   
---------------------------------+------------------------------------------
 Last serial output shows "Suspending console(s)".  Power LED is on, was
 blinking during suspend.  No other indicators on.

 Control case:
  * fs-update 31023o4.zd
  * power off, remove main battery, disconnect DC, disconnect serial,
  * connect serial, do not insert main battery, connect DC, power on, boot
 to serial bash prompt:
 {{{
 service powerd stop
 while true; do rtcwake --seconds 1 --mode mem; sleep 1; done
 }}}
  * observe suspend and resume loop proceeds normally,

 Reproducer case 1:
  * repeat whole sequence but insert a non-full LiFePO4 main battery.

 Reproducer case 2:
  * insert a non-full LiFePO4 battery during the suspend and resume loop,

 Reproducer case 3:
  * use runin.

 XO-4 C1 SKU295 SHC24700645

 Last EC serial output:
 {{{
 event mask was 0xffff, is now 0xf9ff
 1665043:suspend_hint --> 1
 suspend sync: 00000014
 1665067:SOC_SLEEP --> 1
 1666118:SOC_SLEEP --> 0
 1666249:suspend_hint --> 0
 event mask was 0xf9ff, is now 0xffff
 event mask was 0xffff, is now 0xf9ff
 1668035:suspend_hint --> 1
 suspend sync: 00000015
 1668059:SOC_SLEEP --> 1
 1669101:SOC_SLEEP --> 0
 1669231:suspend_hint --> 0
 event mask was 0xf9ff, is now 0xffff
 event mask was 0xffff, is now 0xf9ff
 1671008:suspend_hint --> 1
 suspend sync: 00000016
 1671031:SOC_SLEEP --> 1
 1672083:SOC_SLEEP --> 0
 1672214:suspend_hint --> 0
 event mask was 0xf9ff, is now 0xffff
 1672536:Bat out
 1672541:Bat reset
 1672544:PL2: Power Check
 event mask was 0xffff, is now 0xf9ff
 1673982:suspend_hint --> 1
 suspend sync: 00000017
 1674005:SOC_SLEEP --> 1
 1675067:SOC_SLEEP --> 0
 1675198:suspend_hint --> 0
 event mask was 0xf9ff, is now 0xffff
 event mask was 0xffff, is now 0xf9ff
 1676955:suspend_hint --> 1
 suspend sync: 00000018
 1676979:SOC_SLEEP --> 1
 OLS: no charge
 1678051:SOC_SLEEP --> 0
 1678181:suspend_hint --> 0
 event mask was 0xf9ff, is now 0xffff
 Found Bat: 35 05 60 23 00 00 00 df
 event mask was 0xffff, is now 0xf9ff
 1679949:suspend_hint --> 1
 suspend sync: 00000019
 1679972:SOC_SLEEP --> 1
 LDSOC = 97 LDACR = 284
 1680822:Battery Valid
 1680825:Bat Start

 1680927:Chg off
 Trickle Off
 batdate: 2011-05-27
 mfgFAC: 3100
 calFAC: 3100
 Invalid ACR. old: 6211 new: 336
 1681034:SOC_SLEEP --> 0
 1681075:SDI: waking
 1681109:suspend_hint --> 0
 1681337:Life start
 1681440:LiFe: 1
 1681443:Chg On
 Trickle Off
 event mask was 0xf9ff, is now 0xffff
 1681541:LiFe: 2
 event mask was 0xffff, is now 0xf9ff
 1683519:suspend_hint --> 1
 suspend sync: 0000001a
 1683542:SOC_SLEEP --> 1
 1685011:SOC_SLEEP --> 0
 1685142:suspend_hint --> 0
 event mask was 0xf9ff, is now 0xffff
 event mask was 0xffff, is now 0xf9ff
 1686909:suspend_hint --> 1
 suspend sync: 0000001b
 1686933:SOC_SLEEP --> 1
 1687994:SOC_SLEEP --> 0
 1688124:suspend_hint --> 0
 event mask was 0xf9ff, is now 0xffff
 event mask was 0xffff, is now 0xf9ff
 1689881:suspend_hint --> 1
 suspend sync: 0000001c
 1689904:SOC_SLEEP --> 1
 1690976:SOC_SLEEP --> 0
 1691107:suspend_hint --> 0
 event mask was 0xf9ff, is now 0xffff
 event mask was 0xffff, is now 0xf9ff
 1692874:suspend_hint --> 1
 suspend sync: 0000001d
 1692896:SOC_SLEEP --> 1
 1693958:SOC_SLEEP --> 0
 1694089:suspend_hint --> 0
 event mask was 0xf9ff, is now 0xffff
 event mask was 0xffff, is now 0xf9ff
 1695866:suspend_hint --> 1
 suspend sync: 0000001e
 1695889:SOC_SLEEP --> 1
 1696941:SOC_SLEEP --> 0
 1697072:suspend_hint --> 0
 event mask was 0xf9ff, is now 0xffff
 event mask was 0xffff, is now 0xf9ff
 1698849:suspend_hint --> 1
 suspend sync: 0000001f
 1698872:SOC_SLEEP --> 1
 1699846:SDI: waking
 1699848:SOC_SLEEP --> 0

 1699996:GC_LDACR=355 SOC = 98
 1702877:SDI wait timeout
 }}}

 Last console output:
 {{{
 [   72.226889] PM: Syncing filesystems ... done.
 [   72.232655] Freezing user space processes ... (elapsed 0.01 seconds)
 done.
 [   72.259532] Freezing remaining freezable tasks ... (elapsed 0.01
 seconds) done.
 [   72.279481] Suspending console(s) (use no_console_suspend to debug)
 [   72.287222] dcon_source_switch to DCON
 [   72.324027] olpc-dcon: The DCON has control
 [   72.324143] mmp3_usb_phy_deinit_internal: Deinit usb phy!!!
 [   72.356870] mmc2: configuring for no WOL wakeups: c1
 [   72.356970] mmc1: configuring for no WOL wakeups: c1
 [   72.357998] mmc0: configuring for no WOL wakeups: c1
 [   72.359101] PM: suspend of devices complete after 79.539 msecs
 [   72.359226] PM: late suspend of devices complete after 0.002 msecs
 [   72.359507] PM: noirq suspend of devices complete after 0.001 msecs
 [   72.359610] mmp3_pm_enter_d2
 [   72.359634] mmp3_pm_enter_d2 1
 [   72.359649] mmp3_pm_enter_d2 2
 [   72.359649] mmp3_pm_enter_d2 3
 [   72.359652] mmp3_pm_enter_d2 5
 [   72.359655] before suspend
 [   72.361464] mmp3_pm_enter_d2 10
 [   72.361464] after resume
 [   72.362386] PM: noirq resume of devices complete after 0.681 msecs
 [   72.362568] PM: early resume of devices complete after 0.083 msecs
 [   72.378754] ec_irq
 [   72.406047] mmc0: error -110 during resume (card was removed?)
 [   72.518827] mmp3_usb_phy_init_internal: Init usb phy!!!
 [   72.539693] dcon_source_switch to CPU
 [   72.577279] olpc-dcon: The CPU has control
 [   72.738825] usb 1-1: reset high-speed USB device number 2 using pxau2o-
 ehci
 [   73.000210] PM: resume of devices complete after 637.623 msecs
 [   73.115690] Restarting tasks ... done.
 rtcwake: wakeup from "mem" using /dev/rtc0 at Thu Jan  1 00:01:47 1970
 [   74.155709] PM: Syncing filesystems ... done.
 [   74.161586] Freezing user space processes ... (elapsed 0.01 seconds)
 done.
 [   74.181461] Freezing remaining freezable tasks ... (elapsed 0.01
 seconds) done.
 [   74.201434] Suspending console(s) (use no_console_suspend to debug)

 }}}

-- 
Ticket URL: <http://dev.laptop.org/ticket/12461>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list