Error after boot mango yellow

Hello. I can see the error on my device after booting.
I try reflash by swiflash, use mango yellow firmware 0.7.0, i try downgrade to R11 to use swiflash -r.


root@swi-mdm9x28-wp:~# [   52.927412] Unhandled fault: external abort on non-linefetch (0x008) at 0xd082e930
[   52.933955] Internal error: : 8 [#1] PREEMPT ARM
[   52.938554] Modules linked in: compat(O) sdhci_msm(-) rtc_sync(O) mangoh_yellow_dev(O) opt300x(O) rtc_pcf85063(O) expander(O) cp2130(O) bq27xxx_battery(O) bq25601(O) bmi160_i2c(O) bmi160(O) ftdi_sio usbserial [last unloaded: cfg80211]
[   52.959303] CPU: 0 PID: 2264 Comm: modprobe Tainted: G           O   3.18.140 #1
[   52.966679] task: cee76800 ti: c7180000 task.ti: c7180000
[   52.972095] PC is at sdhci_msm_remove+0x34/0x150 [sdhci_msm]
[   52.977708] LR is at uncached_logk_pc+0x10/0xd0
[   52.982216] pc : [<bf04f544>]    lr : [<c007fa74>]    psr: 60010013
[   52.982216] sp : c7181ef8  ip : 00000018  fp : 7f614220
[   52.993670] r10: 00000000  r9 : cec3a090  r8 : 00000080
[   52.998880] r7 : d082e900  r6 : c1256540  r5 : ce99e000  r4 : c1c84210
[   53.005390] r3 : 00000000  r2 : 00000001  r1 : bf04f534  r0 : 00000000
[   53.011905] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[   53.019022] Control: 10c53c7d  Table: 8c6d4059  DAC: 00000051
[   53.024751] Process modprobe (pid: 2264, stack limit = 0xc7180208)
[   53.030915] Stack: (0xc7181ef8 to 0xc7182000)
[   53.035253] 1ee0:                                                       ce99e010 bf055328
[   53.043413] 1f00: ce99e044 a0010013 00000080 c7180000 00000000 c02e1e48 ce99e010 bf055328
[   53.051576] 1f20: ce99e044 c02e098c ce99e010 bf055328 ce99e044 c02e0a94 bf055328 bf055820
[   53.059735] 1f40: c0dff048 c02dfd98 00000000 c006d958 63686473 736d5f69 0000006d 00000000
[   53.067892] 1f60: 00470101 c00ebf34 cee76800 cee76800 cee76800 00000000 00470101 c0034384
[   53.076057] 1f80: c7180000 c000e8a4 00180000 d35f64cd 7f56b2b0 00470102 7f5f0494 00000081
[   53.084215] 1fa0: c000e8a4 c000e6e0 7f56b2b0 00470102 7f613d60 00000080 7f6126ec 00000020
[   53.092371] 1fc0: 7f56b2b0 00470102 7f5f0494 00000081 7f613150 00000001 7f613858 7f614220
[   53.100536] 1fe0: bec00b20 bec00b10 7f56bcf8 b6eaf010 20010010 7f613d60 00000000 00000000
[   53.108733] [<bf04f544>] (sdhci_msm_remove [sdhci_msm]) from [<c02e1e48>] (platform_drv_remove+0x18/0x30)
[   53.118246] [<c02e1e48>] (platform_drv_remove) from [<c02e098c>] (__device_release_driver+0x88/0xdc)
[   53.127355] [<c02e098c>] (__device_release_driver) from [<c02e0a94>] (driver_detach+0x84/0xac)
[   53.135948] [<c02e0a94>] (driver_detach) from [<c02dfd98>] (bus_remove_driver+0x8c/0xbc)
[   53.144031] [<c02dfd98>] (bus_remove_driver) from [<c006d958>] (SyS_delete_module+0x118/0x1dc)
[   53.152622] [<c006d958>] (SyS_delete_module) from [<c000e6e0>] (ret_fast_syscall+0x0/0x44)
[   53.160865] Code: eaffffff e1a00000 eaffffff e1a00000 (e5978030)
[   53.166942] ---[ end trace a5f33f538348b251 ]---
[   53.171541] BUG: sleeping function called from invalid context at /usr/src/kernel/kernel/locking/rwsem.c:41
[   53.181262] in_atomic(): 0, irqs_disabled(): 128, pid: 2264, name: modprobe
[   53.188209] CPU: 0 PID: 2264 Comm: modprobe Tainted: G      D    O   3.18.140 #1
[   53.195593] [<c0014428>] (unwind_backtrace) from [<c00122ac>] (show_stack+0x10/0x14)
[   53.203317] [<c00122ac>] (show_stack) from [<c0796700>] (down_read+0x18/0x48)
[   53.210438] [<c0796700>] (down_read) from [<c002a288>] (exit_signals+0x14/0x12c)
[   53.217814] [<c002a288>] (exit_signals) from [<c0020fb8>] (do_exit+0xcc/0x8a8)
[   53.225012] [<c0020fb8>] (do_exit) from [<c00124b8>] (die+0x208/0x240)
[   53.231522] [<c00124b8>] (die) from [<c0008534>] (do_DataAbort+0x88/0x9c)
[   53.238293] [<c0008534>] (do_DataAbort) from [<c0012c60>] (__dabt_svc+0x40/0x60)
[   53.245671] Exception stack(0xc7181ea8 to 0xc7181ef0)
[   53.250707] 1ea0:                   00000000 bf04f534 00000001 00000000 c1c84210 ce99e000
[   53.258868] 1ec0: c1256540 d082e900 00000080 cec3a090 00000000 7f614220 00000018 c7181ef8
[   53.267026] 1ee0: c007fa74 bf04f544 60010013 ffffffff
[   53.272074] [<c0012c60>] (__dabt_svc) from [<bf04f544>] (sdhci_msm_remove+0x34/0x150 [sdhci_msm])
[   53.280931] [<bf04f544>] (sdhci_msm_remove [sdhci_msm]) from [<c02e1e48>] (platform_drv_remove+0x18/0x30)
[   53.290464] [<c02e1e48>] (platform_drv_remove) from [<c02e098c>] (__device_release_driver+0x88/0xdc)
[   53.299578] [<c02e098c>] (__device_release_driver) from [<c02e0a94>] (driver_detach+0x84/0xac)
[   53.308174] [<c02e0a94>] (driver_detach) from [<c02dfd98>] (bus_remove_driver+0x8c/0xbc)
[   53.316248] [<c02dfd98>] (bus_remove_driver) from [<c006d958>] (SyS_delete_module+0x118/0x1dc)
[   53.324843] [<c006d958>] (SyS_delete_module) from [<c000e6e0>] (ret_fast_syscall+0x0/0x44)
[   53.781070] usb 1-1: device not accepting address 4, error -110
[   53.901060] usb 1-1: new high-speed USB device number 5 using msm_hsic_host
[   58.977011] usbcore: registered new interface driver brcmfmac
[   64.361032] usb 1-1: device not accepting address 5, error -110
[   64.366068] usb usb1-port1: unable to enumerate USB device
[   64.372733] msm_hsic_host 7c00000.hsic_host: HSIC-USB in low power mode
[   65.516895] usbcore: deregistering interface driver brcmfmac
[   71.274867] usbcore: registered new interface driver brcmfmac
[   77.781884] usbcore: deregistering interface driver brcmfmac
[   83.541677] usbcore: registered new interface driver brcmfmac

UPD

Requesting system reboot  763.428104] ------------[ cut here ]------------

[  763.433873] WARNING: CPU: 0 PID: 1692 at /usr/src/kernel/lib/idr.c:1052 free_anon_bdev+0x20/0x40()
[  763.442842] ida_remove called for id=1 which is not allocated.
[  763.448613] Modules linked in: brcmfmac(O) brcmutil(O) cfg80211(O) compat(O) sdhci_msm(-) ftdi_sio usbserial [last unloaded: bmi160]
[  763.460516] CPU: 0 PID: 1692 Comm: sh Tainted: G      D    O   3.18.140 #1
[  763.467396] [<c0014428>] (unwind_backtrace) from [<c00122ac>] (show_stack+0x10/0x14)
[  763.475178] [<c00122ac>] (show_stack) from [<c001f4a8>] (warn_slowpath_common+0x60/0x80)
[  763.483213] [<c001f4a8>] (warn_slowpath_common) from [<c001f4f4>] (warn_slowpath_fmt+0x2c/0x3c)
[  763.491930] [<c001f4f4>] (warn_slowpath_fmt) from [<c00d379c>] (free_anon_bdev+0x20/0x40)
[  763.500017] [<c00d379c>] (free_anon_bdev) from [<c0188594>] (kill_ubifs_super+0xc/0x18)
[  763.508046] [<c0188594>] (kill_ubifs_super) from [<c00d398c>] (deactivate_locked_super+0x44/0x64)
[  763.516929] [<c00d398c>] (deactivate_locked_super) from [<c00eb634>] (cleanup_mnt+0x4c/0x6c)
[  763.525315] [<c00eb634>] (cleanup_mnt) from [<c0034370>] (task_work_run+0x9c/0xcc)
[  763.532901] [<c0034370>] (task_work_run) from [<c0021260>] (do_exit+0x374/0x8a8)
[  763.540244] [<c0021260>] (do_exit) from [<c0021818>] (do_group_exit+0x58/0xb4)
[  763.547411] [<c0021818>] (do_group_exit) from [<c0029e40>] (get_signal+0x1cc/0x600)
[  763.555120] [<c0029e40>] (get_signal) from [<c001179c>] (do_signal+0x74/0x3b4)
[  763.562296] [<c001179c>] (do_signal) from [<c0011c34>] (do_work_pending+0x64/0xc8)
[  763.569805] [<c0011c34>] (do_work_pending) from [<c000e734>] (work_pending+0xc/0x20)
[  763.577590] ---[ end trace a5f33f538348b252 ]---

here i tried update modem’s firmware

You mean still reboot in r11?

no, this otput from 0.7.0. I tried fix it by r11 and restore to factory. but doesn’t work

How about official fw r14?

You can build the mangoh layer by yourself

yes but i have problem with wifi drivers

how about image of “mangOH-yellow-wp77xx_0.6.0”?

i tried.
the firmware is changing, but I cannot understand, I changed some files in the etc/init.d/ folder, after changing the firmware they have not changed, how can this be?

it could be in userapp partition…
you can check ati3 and ati8 to make sure FW has been changed.

as far as I remember, in order to update/restore to factory default the userapp partition I have to use 12 firmware?

are you using WP77 module?
if so, you can see here:

for example, I changed the file /etc/init.d/dropbear.wrappper and every time when I install a new firmware, this file does not change for me, but now I found the file in mnt/flash/etc/dropbear.wrapper Sothe system sees the file mnt/flash/etc/dropbear.wrapper and ignores it from the directory /etc/init.d/dropbear.wrappper, is it true?

I don’t know, you can rename or delete that file and give a trial test.

Just have a try with R13.3 and WP7609:

  1. modify /etc/init.d/startlegato.sh
  2. run WP76xx_Release13.3_GENERIC_GCF.exe
  3. the startlegato.sh will remain unchanged with the modification
  4. mv /mnt/flash/ufs/etc/init.d/startlegato.sh /mnt/flash/ufs/etc/init.d/startlegato.sh.test
  5. run WP76xx_Release13.3_GENERIC_GCF.exe
  6. the startlegato.sh will be back to the default one

so you are correct!