#12387 NORM 4-softw: CForth prompt during system operation

Zarro Boogs per Child bugtracker at laptop.org
Tue Dec 11 14:31:35 EST 2012


#12387: CForth prompt during system operation
---------------------------------+------------------------------------------
           Reporter:  pgf        |       Owner:                                   
               Type:  defect     |      Status:  new                              
           Priority:  normal     |   Milestone:  4-software                       
          Component:  kernel     |     Version:  Development build as of this date
         Resolution:             |    Keywords:                                   
        Next_action:  never set  |    Verified:  0                                
Deployment_affected:             |   Blockedby:                                   
           Blocking:             |  
---------------------------------+------------------------------------------

Old description:

> running os18, stock kernel -- was testing suspend/resume, and wanted to
> install a new kernel.  while untarring kernel modules onto emmc, suddenly
> got a CForth prompt, and unsurpisingly my emmc writes started failing:
>
> {{{
> bash-4.2# tar -xzvf pgfmod.tgz -C/
> ./
> ./usr/
> ./usr/lib/
> ./usr/lib/modules/
> ./usr/lib/modules/3.5.4-00632-gd55a36b-dirty/
> ./usr/lib/modules/3.5.4-00632-gd55a36b-dirty/modules.symbols.bin
> ./usr/lib/modules/3.5.4-00632-gd55a36b-dirty/modules.inputmap
> ./usr/lib/modules/3.5.4-00632-gd55a36b-dirty/modules.alias
> ./usr/lib/modules/3.5.4-00632-gd55a36b-dirty/modules.ccwmap
>
> ....
>
> ./usr/lib/modules/3.5.4-00632-gd55a36b-
> dirty/kernel/drivers/net/usb/plusb.ko
> ./usr/lib/modules/3.5.4-00632-gd55a36b-
> dirty/kernel/drivers/net/usb/rndis_host.ko
> ./usr/lib/modules/3.5.4-00632-gd55a36b-
> dirty/kernel/drivers/net/usb/usbnet.ko
> ./usr/lib/modules/3.5.4-00632-gd55a36b-
> dirty/kernel/drivers/net/usb/rtl8150.ko
> ./usr/lib/modules/3.5.4-00632-gd55a36b-
> dirty/kernel/drivers/net/usb/mcs7830.ko
> ./usr/lib/modules/3.5.4-00632-gd55a36b-
> dirty/kernel/drivers/net/usb/zaurus.ko
> .
> CForth built 2012-12-07 06:13 from commit bbdf8572...
> [  660.764168] mmc1: Timeout waiting for hardware interrupt.
> [  660.764196] mmc1: Got data interrupt 0x00200000 even though no data
> operation was in progress.
> [  660.764268] mmcblk0: error -110 sending status command, retrying
> [  660.764300] mmcblk0: error -110 sending status command, retrying
> [  660.764300] mmcblk0: error -110 sending status command, aborting
> [  660.764330] end_request: I/O error, dev mmcblk0, sector 4620856
> [  660.764360] end_request: I/O error, dev mmcblk0, sector 4620864
> [  660.764390] end_request: I/O error, dev mmcblk0, sector 4620872
> [  660.764420] end_request: I/O error, dev mmcblk0, sector 4620880
> [  660.764449] end_request: I/O error, dev mmcblk0, sector 4620888
> [  660.764479] end_request: I/O error, dev mmcblk0, sector 4620896
> [  660.764508] end_request: I/O error, dev mmcblk0, sector 4620904
> [  660.764538] end_request: I/O error, dev mmcblk0, sector 4620912
>
> .....
> }}}

New description:

 running os18, stock kernel -- was testing suspend/resume, and wanted to
 install a new kernel.  while untarring kernel modules onto emmc, suddenly
 got a CForth prompt, and unsurpisingly my emmc writes started failing:

 {{{
 bash-4.2# tar -xzvf pgfmod.tgz -C/
 ./
 ./usr/
 ./usr/lib/
 ./usr/lib/modules/
 ./usr/lib/modules/3.5.4-00632-gd55a36b-dirty/
 ./usr/lib/modules/3.5.4-00632-gd55a36b-dirty/modules.symbols.bin
 ./usr/lib/modules/3.5.4-00632-gd55a36b-dirty/modules.inputmap
 ./usr/lib/modules/3.5.4-00632-gd55a36b-dirty/modules.alias
 ./usr/lib/modules/3.5.4-00632-gd55a36b-dirty/modules.ccwmap

 ....

 ./usr/lib/modules/3.5.4-00632-gd55a36b-
 dirty/kernel/drivers/net/usb/plusb.ko
 ./usr/lib/modules/3.5.4-00632-gd55a36b-
 dirty/kernel/drivers/net/usb/rndis_host.ko
 ./usr/lib/modules/3.5.4-00632-gd55a36b-
 dirty/kernel/drivers/net/usb/usbnet.ko
 ./usr/lib/modules/3.5.4-00632-gd55a36b-
 dirty/kernel/drivers/net/usb/rtl8150.ko
 ./usr/lib/modules/3.5.4-00632-gd55a36b-
 dirty/kernel/drivers/net/usb/mcs7830.ko
 ./usr/lib/modules/3.5.4-00632-gd55a36b-
 dirty/kernel/drivers/net/usb/zaurus.ko
 .
 CForth built 2012-12-07 06:13 from commit bbdf8572...
 [  660.764168] mmc1: Timeout waiting for hardware interrupt.
 [  660.764196] mmc1: Got data interrupt 0x00200000 even though no data
 operation was in progress.
 [  660.764268] mmcblk0: error -110 sending status command, retrying
 [  660.764300] mmcblk0: error -110 sending status command, retrying
 [  660.764300] mmcblk0: error -110 sending status command, aborting
 [  660.764330] end_request: I/O error, dev mmcblk0, sector 4620856
 [  660.764360] end_request: I/O error, dev mmcblk0, sector 4620864
 [  660.764390] end_request: I/O error, dev mmcblk0, sector 4620872
 [  660.764420] end_request: I/O error, dev mmcblk0, sector 4620880
 [  660.764449] end_request: I/O error, dev mmcblk0, sector 4620888
 [  660.764479] end_request: I/O error, dev mmcblk0, sector 4620896
 [  660.764508] end_request: I/O error, dev mmcblk0, sector 4620904
 [  660.764538] end_request: I/O error, dev mmcblk0, sector 4620912

 .....
 }}}

--

Comment(by cjb):

 Reproduced, something like ten minutes after a single suspend/resume.
 It's interesting that it's ok prompt *instead of* bash prompt, rather than
 as well as.  The machine is otherwise usable -- I can interact with X
 fine.

 {{{
 bash-4.2# Skipping OFW
 ok
 ok
 ok [ 2411.925640] olpc-ec-1.75: EC cmd error: timeout in STATE 2
 [ 2411.925665] power_supply olpc-battery: driver failed to report
 `present' property: 4294967186
 [ 2413.995245] olpc-ec-1.75: transmit FIFO not empty
 ok .pmu
 ==SCU==PJ4_CPU_CONF       8:  f900908  CORESIGHT_CONFIG  4c:       1f
 SP_CONFIG     50:    85fff
 AXIFAB_CKGT_CTRL0 64: ffffffff  AXIFAB_CKGT_CTRL1 68: ffffffff
 ==MPMU==
 PCR_SP        0: bedbe000  PSR_SP      4: 88000000  FCCR          8:
 40800000
 POCR          c:   e50fff  POSR       10: 31c50000  SUCCR        14:
 1fbd0600
 VRCR         18:        0  PRR_SP     20:       2d  CGR_SP       24:
 808e21e
 RSR_SP       28:        7  RET_TM     2c: ffffffff  GPCP         30:
 0
 PLL2CR       34:   1c5300  SCCR       38:        5  ISCCR1       40:
 5820130b
 ISCCR2       44: 5820130b  WUCRS_SP   48: 80000000  WUCRM_SP     4c:
 0
 WDTPCR      200:       83
 PLL2_CTRL   414: 25390699  PLL1_CTRL 418:       e9  SRAM_PD     420:
 0
 PCR_PJ     1000: 31006000  PSR_PJ   1004: 88000000  PRR_PJ     1020:
 10
 CGR_PJ     1024:  818f33c  RSR_PJ   1028:        7  WUCRS_PJ   1048:
 80000000
 WUCRM_PJ   104c:        0
 ==PMUA Misc==
 CC_SP         0:   bd96d9  CC_PJ       4: 80bc04d0  DM_CC_SP      8:
 fc00d9
 DM_CC_PJ      c:  1fc00d0  FC_TIMER   10:        0  SP_IDLE_CFG  14:
 80000300
 PJ_IDLE_CFG  18:      400  WAKE_CLR   7c:        0  PWR_STAB_TM  84:
 21a1a9f
 DEBUG        88:        1  SRAM_PWR   8c:    40000  CORE_STATUS  90:
 704
 RES_SLP_CLR  94:        0  PJ_IMR     98:        0  PJ_IRWC      9c:
 0
 PJ_ISR       a0:        0  MC_HW_SLP  b0:        0  MC_SLP_REQ   b4:
 0
 MC_SW_SLP    c0:        0  PLL_SEL    c4:     1050  PWR_ONOFF    e0:
 0
 PWR_TIMER    e4:        0  MC_PAR    11c:        4
 ==PMUA Clock Controls==
 CCIC_GATE    28:        0  IRE_RES    48:        0  DISP1_RES    4c:
 71b
 CCIC_RES     50:        0  SDH0_RES   54:      41b  SDH1_RES     58:
 1b
 USB_RES      5c:        9  NF_RES     60:       bf  DMA_RES      64:
 1f
 WTM_RES      68:       1b  BUS_RES    6c:      203  VMETA_RES    a4:
 40000
 GC_RES       cc: 33000000  SMC_RES    d4:   10001b  MSPRO_RES    d8:
 1ff
 GLB_CTRL     dc:    2001e  SDH2_RES   e8:       1b  SDH3_RES     ec:
 0
 CCIC2_RES    f4:    16800  HSI_RES   108:        0  AUDIO_RES   10c:
 0
 DISP2_RES   110:      240  CCIC2_RES 118:        0  ISP_RES     120:
 0
 EPD_RES     124:        0  APB2_RES  134:       3f
 ==APB Clock/Reset==
 RTC     0: 83  TWSI1   4:  3  TWSI2   8:  3  TWSI3   c:  4  TWSI4  10:  3
 1WIRE  14:  4  KPC    18:  4  TB     1c:  4  SWJTAG 20:  4  TMRS1  24: 13
 UART1  2c: 13  UART2  30: 13  UART3  34:  4  GPIO   38:  3  PWM1   3c:  4
 PWM2   40:  4  PWM3   44:  4  PWM4   48:  4  SSP1   50:  3  SSP2   54:  4
 SSP3   58:  3  SSP4   5c:  4  AIB    64:  3  USIM   70:  4  MPMU   74:  3
 IPC    78:  3  TWSI5  7c:  4  TWSI6  80:  3  UART4  88:  4  RIPC   8c:  4
 THSENS 90:  3  COREST 94:  4
 ==APB Clock Misc==
 TWSI_INT 84:  0  THSENS_INT a4: f0
 ok .icu
 INT4 -> IRQ 0 1  Pri 0
 INT5 -> IRQ 0 1  Pri 0
 INT6 -> IRQ 0 1  Pri 0
 INT7 -> IRQ 0 1  Pri 0
 INT8 -> IRQ 0 1  Pri 0
 INT13 -> IRQ 0 1  Pri 0
 INT17 -> IRQ 0 1  Pri 0
 INT18 -> IRQ 0 1  Pri 0
 INT20 -> IRQ 0 1  Pri 0
 INT28 -> IRQ 0 1  Pri 0
 INT30 -> IRQ 0 1  Pri 0
 INT35 -> IRQ 0 1  Pri 0
 INT39 -> IRQ 0 1  Pri 0
 INT40 -> IRQ 0 1  Pri 0
 INT41 -> IRQ 0 1  Pri 0
 INT42 -> IRQ 0 1  Pri 0
 INT44 -> IRQ 0 1  Pri 0
 INT48 -> IRQ 0 1  Pri 0
 INT49 -> IRQ 0 1  Pri 1
 INT51 -> IRQ 0 1  Pri 0
 INT52 -> IRQ 0 1  Pri 0
 INT53 -> IRQ 0 1  Pri 0
 INT55 -> IRQ 0 1  Pri 0
 INT57 -> IRQ 0 1  Pri 0
 INT58 -> IRQ 0 1  Pri 0
 INT4 - mask ff status 0
 INT5 - mask fc status 0
 INT6 - mask ff status 0
 INT8 - mask ff status 0
 INT17 - mask ea status 0
 INT18 - mask ff status 0
 INT30 - mask ff status 0
 INT35 - mask 7fffffff status 0
 INT42 - mask fd status 0
 INT51 - mask ff status 0
 INT55 - mask fe status 0
 INT57 - mask ffffff status 0
 INT55 - mask ff status 0
 DMA - mask ffffff status 0
 ok
 }}}

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


More information about the Bugs mailing list