← Back to team overview

tiomap-dev team mailing list archive

[Bug 901214] Re: Bad mode in data abort handler detected when rebooting current tilt-tracking kernel

 

I tracked it down to a failure to get runtime_pm in musb shutdown code,
this patch solves it

http://git.linaro.org/gitweb?p=landing-
teams/working/ti/kernel.git;a=patch;h=7e54cf6d85636af91708fbafcc1f15c2276f8116

pushed on tilt-3.1, tilt-linux-linaro-3.1, tilt-tracking

** Changed in: linaro-landing-team-ti
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of TI OMAP
Developers, which is subscribed to linaro-landing-team-ti.
https://bugs.launchpad.net/bugs/901214

Title:
  Bad mode in data abort handler detected when rebooting current tilt-
  tracking kernel

Status in Linaro Texas Instruments Landing Team:
  Fix Released

Bug description:
  When using current tilt-tracking kernel (from Dec 7, hash
  ef2487af4bb15bdd0689631774b5a5e3a59f74e2), the system is unable to
  reboot, and always give a bad mode in data abort handler.

  umount: /run/lock: not mounted
   * Will now restart
  [   28.855102] Bad mode in data abort handler detected
  [   28.863922] Internal error: Oops - bad mode: 0 [#1] PREEMPT SMP
  [   28.873840] Modules linked in: wl12xx_sdio wl12xx btwilink st_drv
  [   28.884094] CPU: 0    Tainted: G        W     (3.2.0-rc4+ #2)
  [   28.893890] PC is at 0xffff02a0
  [   28.900817] LR is at _raw_spin_unlock_irqrestore+0x1c/0x54
  [   28.910217] pc : [<ffff02a0>]    lr : [<c05b93f4>]    psr: 60000097
  [   28.910217] sp : ecb3fde0  ip : 00000002  fp : 00000000
  [   28.929504] r10: 60000093  r9 : ecb3e000  r8 : 00000001
  [   28.938476] r7 : eca0013c  r6 : c03c573c  r5 : ecb3e000  r4 : 60000013
  [   28.948852] r3 : 00000000  r2 : c03c573c  r1 : 00000001  r0 : 60000093
  [   28.959136] Flags: nZCv  IRQs off  FIQs on  Mode ABT_32  ISA ARM  Segment user
  [   28.970153] Control: 10c5387d  Table: ab6dc04a  DAC: 00000015
  [   28.979583] Process reboot (pid: 1370, stack limit = 0xecb3e2f8)
  [   28.989227] Stack: (0xecb3fde0 to 0xecb40000)
  [   28.997100] fde0: 60000093 00000001 c03c573c 00000000 60000013 ecb3e000 c03c573c eca0013c
  [   29.009094] fe00: 00000001 ecb3e000 60000093 00000000 00000002 ecb3fde0 c05b93f4 ffff02a0
  [   29.021026] fe20: 60000097 ffffffff 00000000 60000013 eca00128 ecaf7414 00000003 c00131e8
  [   29.032928] fe40: 00000000 c05b93f4 eca00128 60000013 ecaf7414 c03c573c ecaf7408 c0d04dac
  [   29.044830] fe60: ecaf7414 c03333f0 c03333d8 c0330694 00000000 01234567 c0880ea4 c0064070
  [   29.056762] fe80: 00000000 c0064084 00000000 c006421c 00000000 00000000 00000000 00000030
  [   29.068664] fea0: 00000000 c0083218 00000000 0000002e 00000000 c0083218 c003cce0 c08814a8
  [   29.080596] fec0: 00000001 00000000 ecb3e000 ebbaf058 00000000 00000000 00000000 00000000
  [   29.092529] fee0: ecb3e000 ebbaf058 00000000 00000000 ecb3e000 c088671c 00000000 00000000
  [   29.104461] ff00: 00000000 00000000 c00f9a30 c00837b4 00000000 00000000 c00f9a30 00000000
  [   29.116485] ff20: 60000113 00000001 60000113 c0886708 00000001 ebbaf040 c088672c ecb3ff94
  [   29.128570] ff40: ecb3e000 c0120908 60000113 ebbaf000 c0886708 ecb3e000 c0120838 c088671c
  [   29.140716] ff60: 00000001 c00843a4 00000001 c0886708 be89fe44 00000004 00000001 c0886708
  [   29.152923] ff80: be89fe44 c05b944c 00000000 c0120838 00000004 00000000 be89fe44 00000004
  [   29.165222] ffa0: 00000058 c0013040 00000000 be89fe44 fee1dead 28121969 01234567 00000003
  [   29.177551] ffc0: 00000000 be89fe44 00000004 00000058 00000000 00000000 400d1f3c 00000000
  [   29.190002] ffe0: 00000058 be89fcb4 4019690d 40123ed6 20000130 fee1dead 00003233 00000000
  [   29.202423] [<c05b93f4>] (_raw_spin_unlock_irqrestore+0x1c/0x54) from [<00000000>] (  (null))
  [   29.215240] Code: e10f0000 e2200004 e16ff000 e20ee00f (e1a0000d) 
  [   29.225585] ---[ end trace 10cab295580dbf4c ]---
  [   29.234283] note: reboot[1370] exited with preempt_count 1
  [   29.243927] BUG: scheduling while atomic: reboot/1370/0x40000002
  [   29.254150] INFO: lockdep is turned off.
  [   29s2 linked in: wl12xx_sdio wl12xx btwilink st_drv
  [   29.272521] [<c001a29c>] (unwind_backtrace+0x0/0xf8) from [<c05b6124>] (__schedule+0x608/0x6f8)
  [   29.285675] [<c05b6124>] (__schedule+0x608/0x6f8) from [<c0046ddc>] (__cond_resched+0x24/0x34)
  [   29.298675] [<c0046ddc>] (__cond_resched+0x24/0x34) from [<c05b62a0>] (_cond_resched+0x34/0x44)
  [   29.311828] [<c05b62a0>] (_cond_resched+0x34/0x44) from [<c00dfe14>] (unmap_page_range+0xc8/0x164)
  [   29.325256] [<c00dfe14>] (unmap_page_range+0xc8/0x164) from [<c00e03d8>] (unmap_vmas+0x8c/0xc4)
  [   29.338470] [<c00e03d8>] (unmap_vmas+0x8c/0xc4) from [<c00e52c4>] (exit_mmap+0x108/0x22c)
  [   29.351165] [<c00e52c4>] (exit_mmap+0x108/0x22c) from [<c004cd50>] (mmput+0x3c/0x100)
  [   29.363464] [<c004cd50>] (mmput+0x3c/0x100) from [<c0050c70>] (exit_mm+0x118/0x130)
  [   29.375640] [<c0050c70>] (exit_mm+0x118/0x130) from [<c0052bcc>] (do_exit+0x248/0x344)
  [   29.388092] [<c0052bcc>] (do_exit+0x248/0x344) from [<c00170d0>] (die+0xe4/0x118)
  [   29.400085] [<c00170d0>] (die+0xe4/0x118) from [<c00173cc>] (bad_mode+0x4c/0x5c)
  [   29.411987] [<c00173cc>] (bad_mode+0x4c/0x5c) from [<c05b93f4>] (_raw_spin_unlock_irqrestore+0x1c/0x54)
  [   29.426055] [<c05b93f4>] (_raw_spin_unlock_irqrestore+0x1c/0x54) from [<00000000>] (  (null))
  Segmentation fault

  Using the ubuntu-desktop image from 11.11: linaro-o-ubuntu-desktop-
  tar-20111121-0.tar.gz

To manage notifications about this bug go to:
https://bugs.launchpad.net/linaro-landing-team-ti/+bug/901214/+subscriptions


References