We have moved to a new Sailfish OS Forum. Please start new discussions there.
6

How to recover a Jolla Phone

asked 2016-05-10 23:10:21 +0200

corsarium gravatar image

updated 2018-12-03 21:50:31 +0200

Tanghus gravatar image

Hi everybody!

As the tittle says is easy to imagine that now i got a nice brick at my desk that time ago i used it as a phone. The history begins just as i get the message of a new update 2.0.1.11. I was at 2.0.0.. (the previous one). The update did not work the phone keept at the phase of optimizing endless so after a few days (same as [2] and [4]) i decided to do a factory reset, supposing it was gonna work.

Of course it didn't, the phone at the boot phase only shows the jolla logo and keeps for hours... so i decide to do a factory reset using the recovery menu using the [1] guide. This is the trace.

-----------------------------
Jolla Recovery v0.3.1
-----------------------------
Welcome to the recovery tool!
The available options are:
1) Reset device to factory state
2) Reboot device
3) Bootloader unlock [Current state: locked]
4) Shell
5) Try btrfs recovery if your device is in bootloop
6) Exit
Type the number of the desired action and press [Enter]:
4

If you continue, this may void your warranty. Are you really SURE? [y/N] y[OK] N
o lockcode has been set. Proceeding...
/ #
/ # mkdir /mysd
/ # mount /dev/mmcblk
mmcblk0 mmcblk0p13 mmcblk0p18 mmcblk0p22 mmcblk0p27 mmcblk0p6
mmcblk0p1 mmcblk0p14 mmcblk0p19 mmcblk0p23 mmcblk0p28 mmcblk0p7
mmcblk0p10 mmcblk0p15 mmcblk0p2 mmcblk0p24 mmcblk0p3 mmcblk0p8
mmcblk0p11 mmcblk0p16 mmcblk0p20 mmcblk0p25 mmcblk0p4 mmcblk0p9
mmcblk0p12 mmcblk0p17 mmcblk0p21 mmcblk0p26 mmcblk0p5 mmcblk1
/ # mount /dev/mmcblk1 /mysd/
/ # cp -f /mysd/recovery-menu /usr/bin/recovery-menu
/ # ls -al /usr/bin/recovery-menu
-rwxr-xr-x 1 0 0 20319 Jan 1 00:20 /usr/bin/recovery-menu
/ # ls -al /usr/bin/
drwxr-xr-x 2 0 0 0 Jan 1 00:20 .
drwxr-xr-x 5 0 0 0 Jan 12 2016 ..
-rwxr-xr-x 1 0 0 1818 Jan 12 2016 led-helper.sh
-rwxr-xr-x 1 0 0 208 Jan 12 2016 powerkey-handler.sh
-rwxr-xr-x 1 0 0 273 Jan 12 2016 reboot-handler.sh
-rwxr-xr-x 1 0 0 20319 Jan 1 00:20 recovery-menu
-rwxr-xr-x 1 0 0 2779 Jan 12 2016 recovery-menu-devicelock
-rwxr-xr-x 1 0 0 1361 Jan 12 2016 recovery-menu-flash
-rwxr-xr-x 1 0 0 7948 Jan 12 2016 restore-lock

ALL DATA WILL BE ERASED! Clears everything from the device and reverts the
software back to factory state. This means LOSING EVERYTHING you have added to
the device (e.g. updates, apps, accounts, contacts, photos and other media).
Are you really SURE? [y/N] y[CLEANUP] Starting cleanup!
[CLEANUP] Umounting top volume...
[CLEANUP] Deleting /mnt
[CLEANUP] Cleanup done.
Mounting /dev/mmcblk0p28 on /mnt
sh: unlock: unknown operand
[OK] No lockcode has been set. Proceeding...
sh: unlock: unknown operand
sh: shell: unknown operand
[OK] Factory snapshots found.
Resetting procedure started!
Backing up current root and home subvolumes. If the backup fails, the old data will be deleted to let the recovery process continue.
[Done]
Restoring factory subvolumes...
Create a snapshot of '/mnt/factory-@' in '/mnt/@'
Create a snapshot of '/mnt/factory-@home' in '/mnt/@home'
[Done]
FSSync '/mnt'

Nothing more happens....

I think the problem can be related to [3] Now im now doing a balance on the recovery mode, to see if it can help.

/ # cat /proc/partitions
major minor  #blocks  name



179        0   15267840 mmcblk0
 179        1       4079 mmcblk0p1
 179        2      32768 mmcblk0p2
 179        3       4096 mmcblk0p3
 179        4       4096 mmcblk0p4
 179        5       4096 mmcblk0p5
 179        6       2048 mmcblk0p6
 179        7       2048 mmcblk0p7
 179        8       4096 mmcblk0p8
 179        9      49152 mmcblk0p9
 179       10       4096 mmcblk0p10
 179       11       4096 mmcblk0p11
 179       12       2048 mmcblk0p12
 179       13       2048 mmcblk0p13
 179       14       2048 mmcblk0p14
 179       15       2048 mmcblk0p15
 179       16       2048 mmcblk0p16
 179       17       2048 mmcblk0p17
 179       18      65536 mmcblk0p18
 179       19       8192 mmcblk0p19
 179       20      12288 mmcblk0p20
 179       21      12288 mmcblk0p21
 179       22       8192 mmcblk0p22
 179       23       8192 mmcblk0p23
 179       24     520184 mmcblk0p24
 179       25       8192 mmcblk0p25
 179       26          8 mmcblk0p26
 179       27       8192 mmcblk0p27
 179       28   14415855 mmcblk0p28
 179       32   61259776 mmcblk1


/ # btrfs balance start -dusage=0 /dev/mmcblk0p

/ # btrfs balance status /mnt
Balance on '/mnt' is running
0 out of about 10 chunks balanced (1 considered), 100% left

/ # dmesg

[  433.563619] btrfs: disk space caching is enabled
[  433.567373] btrfs: bdev /dev/mmcblk0p28 errs: wr 0, rd 0, flush 0, corrupt 0, gen 0
[  433.573477] Btrfs detected SSD devices, enabling SSD mode
[  433.577018] btrfs: unlinked 1 orphans
[  433.577536] btrfs: continuing balance
[  433.910941] btrfs: relocating block group 254506106880 flags 1
[  433.950343] leaf 242897231872 total ptrs 25 free space 2189
[  433.950373]  item 0 key (250089963520 a8 4096) itemoff 3944 itemsize 51
[  433.950373]          extent refs 1 gen 7208404 flags 2
[  433.950404]          tree block key (2066352 6c 0) level 0
[  433.950404]          tree block backref root 336
[  433.950434]  item 1 key (250091839488 a8 4096) itemoff 3893 itemsize 51
[  433.950434]          extent refs 1 gen 7431271 flags 2
[  433.950465]          tree block key (18446744073709551606 80 246342230016) level 0
[  433.950465]          tree block backref root 7
[  433.950465]  item 2 key (250098032640 a8 4096) itemoff 3842 itemsize 51
[  433.950495]          extent refs 1 gen 7429212 flags 2
[  433.950495]          tree block key (2064819 6c 2977792) level 0
[  433.950526]          tree block backref root 336
[  433.950526]  item 3 key (250104799232 a8 4096) itemoff 3791 itemsize 51
[  433.950556]          extent refs 1 gen 7456436 flags 2
[  433.950556]          tree block key (246484406272 a8 12288) level 0
[  433.950556]          tree block backref root 2
[  433.950587]  item 4 key (250106904576 a8 4096) itemoff 3740 itemsize 51
[  433.950587]          extent refs 1 gen 7447801 flags 2
[  433.950617]          tree block key (2066250 1 0) level 0
[  433.950617]          tree block backref root 336
[  433.950648]  item 5 key (250111938560 a8 4096) itemoff 3689 itemsize 51
[  433.950648]          extent refs 1 gen 7456477 flags 2
[  433.950648]          tree block key (2064819 6c 13864960) level 0
[  433.950679]          tree block backref root 336
[  433.950679]  item 6 key (250112942080 a8 4096) itemoff 3638 itemsize 51
[  433.950709]          extent refs 1 gen 7456477 flags 2
[  433.950709]          tree block key (2064809 6c 0) level 0
[  433.950740]          tree block backref root 336
[  433.950740]  item 7 key (250114068480 a8 4096) itemoff 3587 itemsize 51
[  433.950740]          extent refs 1 gen 7456401 flags 2
[  433.950770]          tree block key (2071156 1 0) level 0
[  433.950770]          tree block backref root 336
[  433.950801]  item 8 key (250114699264 a8 4096) itemoff 3536 itemsize 51
[  433.950801]          extent refs 1 gen 7456402 flags 2
[  433.950831]          tree block key (2069271 c 12971) level 0
[  433.950831]          tree block backref root 336
[  433.950831]  item 9 key (250116268032 a8 4096) itemoff 3485 itemsize 51
[  433.950862]          extent refs 1 gen 7456402 flags 2
[  433.950862]          tree block key (2072233 6c 0) level 0
[  433.950892]          tree block backref root 336
[  433.950892]  item 10 key (250116661248 a8 4096) itemoff 3434 itemsize 51
[  433.950923]          extent refs 1 gen 7391636 flags 2
[  433.950923]          tree block key (2069217 1 0) level 0
[  433.950923]          tree block backref root 336
[  433.950953]  item 11 key (250121084928 a8 4096) itemoff 3383 itemsize 51
[  433.950953]          extent refs 1 gen 6739341 flags 2
[  433.950984]          tree block key (247962054656 a8 262144) level 0
[  433.950984]          tree block backref root 2
[  433.951014]  item 12 key (250121093120 a8 4096) itemoff 3332 itemsize 51
[  433.951014]          extent refs 1 gen 6739341 flags 2
[  433.951014]          tree block key (18446744073709551606 80 247962054656) level 0
[  433.951045]          tree block backref root 7
[  433.951045]  item 13 key (250135265280 a8 4096) itemoff 3281 itemsize 51
[  433.951075]          extent refs 1 gen 4625261 flags 2
[  433.951075]          tree block key (18446744073709551606 80 246338273280) level 0
[  433.951106]          tree block backref root 7
[  433.951106]  item 14 key (250144661504 a8 4096) itemoff 3230 itemsize 51
[  433.951106]          extent refs 1 gen 6981030 flags 2
[  433.951136]          tree block key (18446744073709551606 80 246102278144) level 0
[  433.951136]          tree block backref root 7
[  433.951167]  item 15 key (250153447424 a8 4096) itemoff 3179 itemsize 51
[  433.951167]          extent refs 1 gen 7252311 flags 2
[  433.951197]          tree block key (2066269 6c 0) level 0
[  433.951197]          tree block backref root 336
[  433.951197]  item 16 key (250154614784 a8 4096) itemoff 3128 itemsize 51
[  433.951258]          extent refs 1 gen 7186807 flags 2
[  433.951258]          tree block key (2066102 6c 0) level 0
[  433.951289]          tree block backref root 336
[  433.951289]  item 17 key (250156175360 a8 4096) itemoff 3077 itemsize 51
[  433.951319]          extent refs 1 gen 7433064 flags 2
[  433.951319]          tree block key (2064819 6c 11526144) level 0
[  433.951319]          tree block backref root 336
[  433.951350]  item 18 key (250176483328 a8 4096) itemoff 3026 itemsize 51
[  433.951350]          extent refs 1 gen 7427296 flags 2
[  433.951380]          tree block key (2058189 1 0) level 0
[  433.951380]          tree block backref root 336
[  433.951380]  item 19 key (250211139584 c0 1073741824) itemoff 3002 itemsize 24
[  433.951411]          block group used 21102592
[  433.951411]  item 20 key (250237947904 a8 4096) itemoff 2965 itemsize 37
[  433.951442]          extent refs 1 gen 7456597 flags 1
[  433.951442]          shared data backref parent 243080945664 count 1
[  433.951472]  item 21 key (250286579712 a8 135168) itemoff 2912 itemsize 53
[  433.951472]          extent refs 1 gen 3355377 flags 1
[  433.951503]          extent data backref root 337 objectid 1430971 offset 1048576 count 1
[  433.951503]  item 22 key (250298494976 a8 2215936) itemoff 2875 itemsize 37
[  433.951533]          extent refs 1 gen 7456597 flags 1
[  433.951533]          shared data backref parent 243080982528 count 1
[  433.951564]  item 23 key (250305110016 a8 3375104) itemoff 2838 itemsize 37
[  433.951564]          extent refs 1 gen 7456597 flags 1
[  433.951594]          shared data backref parent 243077292032 count 1
[  433.951594]  item 24 key (253432365056 c0 1073741824) itemoff 2814 itemsize 24
[  433.951625]          block group used 3837952
[  433.951625] ------------[ cut here ]------------
[  433.951655] WARNING: at fs/btrfs/extent-tree.c:5074 __btrfs_free_extent+0x304/0x6b4()
[  433.951655] Modules linked in:
[  433.951686] [<c010b71c>] (unwind_backtrace+0x0/0x118) from [<c017365c>] (warn_slowpath_common+0x4c/0x64)
[  433.951716] [<c017365c>] (warn_slowpath_common+0x4c/0x64) from [<c0173704>] (warn_slowpath_null+0x18/0x20)
[  433.951747] [<c0173704>] (warn_slowpath_null+0x18/0x20) from [<c0332ce8>] (__btrfs_free_extent+0x304/0x6b4)
[  433.951777] [<c0332ce8>] (__btrfs_free_extent+0x304/0x6b4) from [<c03377fc>] (run_clustered_refs+0x804/0x918)
[  433.951808] [<c03377fc>] (run_clustered_refs+0x804/0x918) from [<c0337b44>] (btrfs_run_delayed_refs+0x234/0x3a4)
[  433.951838] [<c0337b44>] (btrfs_run_delayed_refs+0x234/0x3a4) from [<c0346d7c>] (btrfs_should_end_transaction+0x6c/0x80)
[  433.951869] [<c0346d7c>] (btrfs_should_end_transaction+0x6c/0x80) from [<c0339dd0>] (btrfs_drop_snapshot+0x380/0x564)
[  433.951899] [<c0339dd0>] (btrfs_drop_snapshot+0x380/0x564) from [<c034830c>] (btrfs_clean_old_snapshots+0xc0/0xe0)
[  433.951930] [<c034830c>] (btrfs_clean_old_snapshots+0xc0/0xe0) from [<c038f1e4>] (btrfs_relocate_block_group+0x140/0x2a4)
[  433.951960] [<c038f1e4>] (btrfs_relocate_block_group+0x140/0x2a4) from [<c036ea94>] (btrfs_relocate_chunk.isra.12+0x3c/0x688)
[  433.951991] [<c036ea94>] (btrfs_relocate_chunk.isra.12+0x3c/0x688) from [<c0372998>] (btrfs_balance+0xbbc/0xd74)
[  433.951991] [<c0372998>] (btrfs_balance+0xbbc/0xd74) from [<c0372b9c>] (balance_kthread+0x4c/0x6c)
[  433.952021] [<c0372b9c>] (balance_kthread+0x4c/0x6c) from [<c0191ecc>] (kthread+0x84/0x90)
[  433.952052] [<c0191ecc>] (kthread+0x84/0x90) from [<c0106758>] (kernel_thread_exit+0x0/0x8)
[  433.952082] ---[ end trace da227214a82491b9 ]---
[  433.952082] btrfs unable to find ref byte nr 250294984704 parent 243077521408 root 0  owner 2056951 offset 3883008
[  433.952205] leaf 242897231872 total ptrs 24 free space 2251
[  433.952205]  item 0 key (250089963520 a8 4096) itemoff 3944 itemsize 51
[  433.952235]          extent refs 1 gen 7208404 flags 2
[  433.952235]          tree block key (2066352 6c 0) level 0
[  433.952266]          tree block backref root 336
[  433.952266]  item 1 key (250091839488 a8 4096) itemoff 3893 itemsize 51
[  433.952296]          extent refs 1 gen 7431271 flags 2
[  433.952296]          tree block key (18446744073709551606 80 246342230016) level 0
[  433.952296]          tree block backref root 7
[  433.952327]  item 2 key (250098032640 a8 4096) itemoff 3842 itemsize 51
[  433.952327]          extent refs 1 gen 7429212 flags 2
[  433.952357]          tree block key (2064819 6c 2977792) level 0
[  433.952357]          tree block backref root 336
[  433.952388]  item 3 key (250104799232 a8 4096) itemoff 3791 itemsize 51
[  433.952388]          extent refs 1 gen 7456436 flags 2
[  433.952388]          tree block key (246484406272 a8 12288) level 0
[  433.952418]          tree block backref root 2
[  433.952418]  item 4 key (250106904576 a8 4096) itemoff 3740 itemsize 51
[  433.952449]          extent refs 1 gen 7447801 flags 2
[  433.952449]          tree block key (2066250 1 0) level 0
[  433.952449]          tree block backref root 336
[  433.952479]  item 5 key (250111938560 a8 4096) itemoff 3689 itemsize 51
[  433.952479]          extent refs 1 gen 7456477 flags 2
[  433.952510]          tree block key (2064819 6c 13864960) level 0
[  433.952510]          tree block backref root 336
[  433.952540]  item 6 key (250112942080 a8 4096) itemoff 3638 itemsize 51
[  433.952540]          extent refs 1 gen 7456477 flags 2
[  433.952571]          tree block key (2064809 6c 0) level 0
[  433.952571]          tree block backref root 336
[  433.952571]  item 7 key (250114068480 a8 4096) itemoff 3587 itemsize 51
[  433.952601]          extent refs 1 gen 7456401 flags 2
[  433.952601]          tree block key (2071156 1 0) level 0
[  433.952632]          tree block backref root 336
[  433.952632]  item 8 key (250114699264 a8 4096) itemoff 3536 itemsize 51
[  433.952632]          extent refs 1 gen 7456402 flags 2
[  433.952662]          tree block key (2069271 c 12971) level 0
[  433.952662]          tree block backref root 336
[  433.952693]  item 9 key (250116268032 a8 4096) itemoff 3485 itemsize 51
[  433.952693]          extent refs 1 gen 7456402 flags 2
[  433.952723]          tree block key (2072233 6c 0) level 0
[  433.952723]          tree block backref root 336
[  433.952723]  item 10 key (250116661248 a8 4096) itemoff 3434 itemsize 51
[  433.952754]          extent refs 1 gen 7391636 flags 2
[  433.952754]          tree block key (2069217 1 0) level 0
[  433.952784]          tree block backref root 336
[  433.952784]  item 11 key (250121084928 a8 4096) itemoff 3383 itemsize 51
[  433.952815]          extent refs 1 gen 6739341 flags 2
[  433.952815]          tree block key (247962054656 a8 262144) level 0
[  433.952815]          tree block backref root 2
[  433.952845]  item 12 key (250121093120 a8 4096) itemoff 3332 itemsize 51
[  433.952845]          extent refs 1 gen 6739341 flags 2
[  433.952876]          tree block key (18446744073709551606 80 247962054656) level 0
[  433.952876]          tree block backref root 7
[  433.952907]  item 13 key (250135265280 a8 4096) itemoff 3281 itemsize 51
[  433.952907]          extent refs 1 gen 4625261 flags 2
[  433.952907]          tree block key (18446744073709551606 80 246338273280) level 0
[  433.952937]          tree block backref root 7
[  433.952937]  item 14 key (250144661504 a8 4096) itemoff 3230 itemsize 51
[  433.952968]          extent refs 1 gen 6981030 flags 2
[  433.952968]          tree block key (18446744073709551606 80 246102278144) level 0
[  433.952998]          tree block backref root 7
[  433.952998]  item 15 key (250153447424 a8 4096) itemoff 3179 itemsize 51
[  433.953029]          extent refs 1 gen 7252311 flags 2
[  433.953029]          tree block key (2066269 6c 0) level 0
[  433.953029]          tree block backref root 336
[  433.953059]  item 16 key (250154614784 a8 4096) itemoff 3128 itemsize 51
[  433.953059]          extent refs 1 gen 7186807 flags 2
[  433.953090]          tree block key (2066102 6c 0) level 0
[  433.953090]          tree block backref root 336
[  433.953120]  item 17 key (250156175360 a8 4096) itemoff 3077 itemsize 51
[  433.953120]          extent refs 1 gen 7433064 flags 2
[  433.953120]          tree block key (2064819 6c 11526144) level 0
[  433.953151]          tree block backref root 336
[  433.953151]  item 18 key (250176483328 a8 4096) itemoff 3026 itemsize 51
[  433.953181]          extent refs 1 gen 7427296 flags 2
[  433.953181]          tree block key (2058189 1 0) level 0
[  433.953181]          tree block backref root 336
[  433.953212]  item 19 key (250211139584 c0 1073741824) itemoff 3002 itemsize 24
[  433.953212]          block group used 21102592
[  433.953242]  item 20 key (250237947904 a8 4096) itemoff 2965 itemsize 37
[  433.953242]          extent refs 1 gen 7456597 flags 1
[  433.953273]          shared data backref parent 243080945664 count 1
[  433.953273]  item 21 key (250286579712 a8 135168) itemoff 2912 itemsize 53
[  433.953303]          extent refs 1 gen 3355377 flags 1
[  433.953303]          extent data backref root 337 objectid 1430971 offset 1048576 count 1
[  433.953334]  item 22 key (250305110016 a8 3375104) itemoff 2875 itemsize 37
[  433.953334]          extent refs 1 gen 7456597 flags 1
[  433.953364]          shared data backref parent 243077292032 count 1
[  433.953364]  item 23 key (253432365056 c0 1073741824) itemoff 2851 itemsize 24
[  433.953395]          block group used 3837952
[  433.953395] ------------[ cut here ]------------
[  433.953395] WARNING: at fs/btrfs/extent-tree.c:5074 __btrfs_free_extent+0x304/0x6b4()
[  433.953425] Modules linked in:
[  433.953456] [<c010b71c>] (unwind_backtrace+0x0/0x118) from [<c017365c>] (warn_slowpath_common+0x4c/0x64)
[  433.953456] [<c017365c>] (warn_slowpath_common+0x4c/0x64) from [<c0173704>] (warn_slowpath_null+0x18/0x20)
[  433.953486] [<c0173704>] (warn_slowpath_null+0x18/0x20) from [<c0332ce8>] (__btrfs_free_extent+0x304/0x6b4)
[  433.953517] [<c0332ce8>] (__btrfs_free_extent+0x304/0x6b4) from [<c03377fc>] (run_clustered_refs+0x804/0x918)
[  433.953547] [<c03377fc>] (run_clustered_refs+0x804/0x918) from [<c0337b44>] (btrfs_run_delayed_refs+0x234/0x3a4)
[  433.953578] [<c0337b44>] (btrfs_run_delayed_refs+0x234/0x3a4) from [<c0346d7c>] (btrfs_should_end_transaction+0x6c/0x80)
[  433.953608] [<c0346d7c>] (btrfs_should_end_transaction+0x6c/0x80) from [<c0339dd0>] (btrfs_drop_snapshot+0x380/0x564)
[  433.953639] [<c0339dd0>] (btrfs_drop_snapshot+0x380/0x564) from [<c034830c>] (btrfs_clean_old_snapshots+0xc0/0xe0)
[  433.953670] [<c034830c>] (btrfs_clean_old_snapshots+0xc0/0xe0) from [<c038f1e4>] (btrfs_relocate_block_group+0x140/0x2a4)
[  433.953670] [<c038f1e4>] (btrfs_relocate_block_group+0x140/0x2a4) from [<c036ea94>] (btrfs_relocate_chunk.isra.12+0x3c/0x688)
[  433.953700] [<c036ea94>] (btrfs_relocate_chunk.isra.12+0x3c/0x688) from [<c0372998>] (btrfs_balance+0xbbc/0xd74)
[  433.953731] [<c0372998>] (btrfs_balance+0xbbc/0xd74) from [<c0372b9c>] (balance_kthread+0x4c/0x6c)
[  433.953761] [<c0372b9c>] (balance_kthread+0x4c/0x6c) from [<c0191ecc>] (kthread+0x84/0x90)
[  433.953792] [<c0191ecc>] (kthread+0x84/0x90) from [<c0106758>] (kernel_thread_exit+0x0/0x8)
[  433.953792] ---[ end trace da227214a82491ba ]---
[  433.953822] btrfs unable to find ref byte nr 250298494976 parent 243080982528 root 0  owner 2057837 offset 0
[  433.954005] leaf 242897231872 total ptrs 23 free space 2313
[  433.954005]  item 0 key (250089963520 a8 4096) itemoff 3944 itemsize 51
[  433.954036]          extent refs 1 gen 7208404 flags 2
[  433.954036]          tree block key (2066352 6c 0) level 0
[  433.954036]          tree block backref root 336
[  433.954066]  item 1 key (250091839488 a8 4096) itemoff 3893 itemsize 51
[  433.954066]          extent refs 1 gen 7431271 flags 2
[  433.954097]          tree block key (18446744073709551606 80 246342230016) level 0
[  433.954097]          tree block backref root 7
[  433.954127]  item 2 key (250098032640 a8 4096) itemoff 3842 itemsize 51
[  433.954127]          extent refs 1 gen 7429212 flags 2
[  433.954158]          tree block key (2064819 6c 2977792) level 0
[  433.954158]          tree block backref root 336
[  433.954158]  item 3 key (250104799232 a8 4096) itemoff 3791 itemsize 51
[  433.954188]          extent refs 1 gen 7456436 flags 2
[  433.954188]          tree block key (246484406272 a8 12288) level 0
[  433.954219]          tree block backref root 2
[  433.954219]  item 4 key (250106904576 a8 4096) itemoff 3740 itemsize 51
[  433.954249]          extent refs 1 gen 7447801 flags 2
[  433.954249]          tree block key (2066250 1 0) level 0
[  433.954249]          tree block backref root 336
[  433.954280]  item 5 key (250111938560 a8 4096) itemoff 3689 itemsize 51
[  433.954280]          extent refs 1 gen 7456477 flags 2
[  433.954310]          tree block key (2064819 6c 13864960) level 0
[  433.954310]          tree block backref root 336
[  433.954310]  item 6 key (250112942080 a8 4096) itemoff 3638 itemsize 51
[  433.954341]          extent refs 1 gen 7456477 flags 2
[  433.954341]          tree block key (2064809 6c 0) level 0
[  433.954371]          tree block backref root 336
[  433.954371]  item 7 key (250114068480 a8 4096) itemoff 3587 itemsize 51
[  433.954402]          extent refs 1 gen 7456401 flags 2
[  433.954402]          tree block key (2071156 1 0) level 0
[  433.954402]          tree block backref root 336
[  433.954433]  item 8 key (250114699264 a8 4096) itemoff 3536 itemsize 51
[  433.954433]          extent refs 1 gen 7456402 flags 2
[  433.954463]          tree block key (2069271 c 12971) level 0
[  433.954463]          tree block backref root 336
[  433.954494]  item 9 key (250116268032 a8 4096) itemoff 3485 itemsize 51
[  433.954494]          extent refs 1 gen 7456402 flags 2
[  433.954494]          tree block key (2072233 6c 0) level 0
[  433.954524]          tree block backref root 336
[  433.954524]  item 10 key (250116661248 a8 4096) itemoff 3434 itemsize 51
[  433.954555]          extent refs 1 gen 7391636 flags 2
[  433.954555]          tree block key (2069217 1 0) level 0
[  433.954555]          tree block backref root 336
[  433.954585]  item 11 key (250121084928 a8 4096) itemoff 3383 itemsize 51
[  433.954585]          extent refs 1 gen 6739341 flags 2
[  433.954616]          tree block key (247962054656 a8 262144) level 0
[  433.954616]          tree block backref root 2
[  433.954646]  item 12 key (250121093120 a8 4096) itemoff 3332 itemsize 51
[  433.954646]          extent refs 1 gen 6739341 flags 2
[  433.954677]          tree block key (18446744073709551606 80 247962054656) level 0
[  433.954677]          tree block backref root 7
[  433.954677]  item 13 key (250135265280 a8 4096) itemoff 3281 itemsize 51
[  433.954707]          extent refs 1 gen 4625261 flags 2
[  433.954707]          tree block key (18446744073709551606 80 246338273280) level 0
[  433.954738]          tree block backref root 7
[  433.954738]  item 14 key (250144661504 a8 4096) itemoff 3230 itemsize 51
[  433.954768]          extent refs 1 gen 6981030 flags 2
[  433.954768]          tree block key (18446744073709551606 80 246102278144) level 0
[  433.954768]          tree block backref root 7
[  433.954799]  item 15 key (250153447424 a8 4096) itemoff 3179 itemsize 51
[  433.954799]          extent refs 1 gen 7252311 flags 2
[  433.954829]          tree block key (2066269 6c 0) level 0
[  433.954829]          tree block backref root 336
[  433.954860]  item 16 key (250154614784 a8 4096) itemoff 3128 itemsize 51
[  433.954860]          extent refs 1 gen 7186807 flags 2
[  433.954860]          tree block key (2066102 6c 0) level 0
[  433.954890]          tree block backref root 336
[  433.954890]  item 17 key (250156175360 a8 4096) itemoff 3077 itemsize 51
[  433.954921]          extent refs 1 gen 7433064 flags 2
[  433.954921]          tree block key (2064819 6c 11526144) level 0
[  433.954951]          tree block backref root 336
[  433.954951]  item 18 key (250176483328 a8 4096) itemoff 3026 itemsize 51
[  433.954951]          extent refs 1 gen 7427296 flags 2
[  433.954982]          tree block key (2058189 1 0) level 0
[  433.954982]          tree block backref root 336
[  433.955012]  item 19 key (250211139584 c0 1073741824) itemoff 3002 itemsize 24
[  433.955012]          block group used 21102592
[  433.955043]  item 20 key (250237947904 a8 4096) itemoff 2965 itemsize 37
[  433.955043]          extent refs 1 gen 7456597 flags 1
[  433.955043]          shared data backref parent 243080945664 count 1
[  433.955073]  item 21 key (250286579712 a8 135168) itemoff 2912 itemsize 53
[  433.955073]          extent refs 1 gen 3355377 flags 1
[  433.955104]          extent data backref root 337 objectid 1430971 offset 1048576 count 1
[  433.955104]  item 22 key (253432365056 c0 1073741824) itemoff 2888 itemsize 24
[  433.955135]          block group used 3837952
[  433.955135] ------------[ cut here ]------------
[  433.955165] WARNING: at fs/btrfs/extent-tree.c:5074 __btrfs_free_extent+0x304/0x6b4()
[  433.955165] Modules linked in:
[  433.955196] [<c010b71c>] (unwind_backtrace+0x0/0x118) from [<c017365c>] (warn_slowpath_common+0x4c/0x64)
[  433.955226] [<c017365c>] (warn_slowpath_common+0x4c/0x64) from [<c0173704>] (warn_slowpath_null+0x18/0x20)
[  433.955257] [<c0173704>] (warn_slowpath_null+0x18/0x20) from [<c0332ce8>] (__btrfs_free_extent+0x304/0x6b4)
[  433.955287] [<c0332ce8>] (__btrfs_free_extent+0x304/0x6b4) from [<c03377fc>] (run_clustered_refs+0x804/0x918)
[  433.955287] [<c03377fc>] (run_clustered_refs+0x804/0x918) from [<c0337b44>] (btrfs_run_delayed_refs+0x234/0x3a4)
[  433.955318] [<c0337b44>] (btrfs_run_delayed_refs+0x234/0x3a4) from [<c0346d7c>] (btrfs_should_end_transaction+0x6c/0x80)
[  433.955348] [<c0346d7c>] (btrfs_should_end_transaction+0x6c/0x80) from [<c0339dd0>] (btrfs_drop_snapshot+0x380/0x564)
[  433.955379] [<c0339dd0>] (btrfs_drop_snapshot+0x380/0x564) from [<c034830c>] (btrfs_clean_old_snapshots+0xc0/0xe0)
[  433.955409] [<c034830c>] (btrfs_clean_old_snapshots+0xc0/0xe0) from [<c038f1e4>] (btrfs_relocate_block_group+0x140/0x2a4)
[  433.955440] [<c038f1e4>] (btrfs_relocate_block_group+0x140/0x2a4) from [<c036ea94>] (btrfs_relocate_chunk.isra.12+0x3c/0x688)
[  433.955470] [<c036ea94>] (btrfs_relocate_chunk.isra.12+0x3c/0x688) from [<c0372998>] (btrfs_balance+0xbbc/0xd74)
[  433.955470] [<c0372998>] (btrfs_balance+0xbbc/0xd74) from [<c0372b9c>] (balance_kthread+0x4c/0x6c)
[  433.955501] [<c0372b9c>] (balance_kthread+0x4c/0x6c) from [<c0191ecc>] (kthread+0x84/0x90)
[  433.955531] [<c0191ecc>] (kthread+0x84/0x90) from [<c0106758>] (kernel_thread_exit+0x0/0x8)
[  433.955531] ---[ end trace da227214a82491bb ]---
[  433.955562] btrfs unable to find ref byte nr 250305110016 parent 243077292032 root 0  owner 2056950 offset 0
[  433.969632] btrfs: free space inode generation (0) did not match free space cache generation (7456946)
[  434.042575] btrfs-balance (228): undefined instruction: pc=c033818c
[  434.042575] Code: 0a00001e e1a00008 eaffff09 0a000000 (e7f001f2)
[  434.042636] ------------[ cut here ]------------
[  434.042636] kernel BUG at fs/btrfs/extent-tree.c:2815!
[  434.042667] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM
[  434.042667] Modules linked in:
[  434.042697] CPU: 0    Tainted: G        W     (3.4.108.20150901.1 #1)
[  434.042728] PC is at btrfs_write_dirty_block_groups+0x4d8/0x58c
[  434.042728] LR is at btrfs_set_path_blocking+0x30/0x58
[  434.042758] pc : [<c033818c>]    lr : [<c03271e4>]    psr: 20000013
[  434.042758] sp : ee953c98  ip : 00000000  fp : ee34e0f0
[  434.042758] r10: ee34d708  r9 : ee944c00  r8 : 00000000
[  434.042789] r7 : ee75cd80  r6 : 00000001  r5 : 0000003b  r4 : 41bf0000
[  434.042789] r3 : 00000000  r2 : ee953c20  r1 : 00000000  r0 : 00000001
[  434.042820] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
[  434.042820] Control: 10c5787d  Table: ae99406a  DAC: 00000015
[  434.042850]
[  434.042850] PC: 0xc033810c:
[  434.042850] 810c  e1a0100b e1a02008 e59d302c eb012c72 e2506000 1a000002 e598306c e3530004
[  434.042911] 812c  0588606c e1c820d0 e1a00008 e5984009 e598500d e0944002 e0a55003 ebffe859
[  434.042942] 814c  e1940005 0a000022 e5990110 e1a02004 e58d7000 e1a03005 ebffd915 e3500000
[  434.042972] 816c  e1a08000 0a000028 e5d83068 e3130002 0a00001e e1a00008 eaffff09 0a000000
[  434.043033] 818c  e7f001f2 e59d302c e3a01019 e593a000 e5933020 e1a0000a e0010391 e2811065
[  434.043064] 81ac  eb00a0ff e2871011 e3a03018 e2802065 e1a0000a eb00d346 e1a0000a eb002f05
[  434.043094] 81cc  e59d002c ebffbc24 e1a00007 ebffe835 eafffeec e1a0000b e1a01009 e3e02000
[  434.043155] 81ec  ebfffdc7 e2506000 0affffd6 eaffff11 e598306c e1a00009 e3530004 0affffbf
[  434.043186]
[  434.043186] LR: 0xc0327164:
[  434.043216] 7164  ebfffa27 e2843020 e1932f9f e2822001 e1831f92 e3310000 1afffffa e3a03001
[  434.043247] 7184  e7884106 e3a00000 e58b3040 e58b0020 e28dd04c e8bd8ff0 c0b1e956 e59f3008
[  434.043277] 71a4  e3081050 e5930000 eafc1db2 c109aca8 e92d40f8 e2404004 e3a05000 e3a06003
[  434.043338] 71c4  e3a07004 e5b40004 e3500000 0a000009 e5941040 e3510000 0a000006 eb015378
[  434.043369] 71e4  e5943040 e3530002 05847040 0a000001 e3530001 05846040 e2855001 e3550008
[  434.043430] 7204  1affffef e8bd80f8 e92d40f8 e1a04000 e3a05007 e3a06002 e3a07001 e594001c
[  434.043460] 7224  e3500000 0a000009 e594105c e3510000 0a000006 eb01519f e594305c e3530003
[  434.043491] 7244  0584705c 0a000001 e3530004 0584605c e2455001 e2444004 e3750001 1affffee
[  434.043552]
[  434.043552] SP: 0xee953c18:
[  434.043552] 3c18  ee953c20 00000000 41bf0000 0000003b 00000001 ee75cd80 00000000 ee944c00
[  434.043613] 3c38  ee34d708 ee34e0f0 00000000 ee953c98 c03271e4 c033818c 20000013 ffffffff
[  434.043644] 3c58  00000000 00000000 00000000 ee34d708 00000033 00000000 0000003a 41bf0000
[  434.043674] 3c78  0000003b 00000000 ee75cd80 00000000 ee944c00 ee34d708 ee34e0f0 c0337e24
[  434.043735] 3c98  00000000 00000001 00010000 00000000 00010000 00000000 ee953cd8 ee34e0f0
[  434.043766] 3cb8  ee953cd8 ee32a088 ee31b320 ee35f1c0 00000000 00000000 00000000 00000000
[  434.043796] 3cd8  00000000 00000000 ee31b320 ee944ea4 ee7ac000 ee34e0f0 ee944c00 ee944c10
[  434.043857] 3cf8  ee7ac918 0011a000 00000000 c089465c 00000000 ee953d1c ee944400 c0396304
[  434.043888]
[  434.043888] FP: 0xee34e070:
[  434.043918] e070  a92ea000 00000038 00001000 00000000 00000000 00000000 00000000 00000000
[  434.043949] e090  ee34e060 ee318540 ee318660 00000000 a9cad000 00000038 00001000 00000000
[  434.043979] e0b0  00000000 00000000 00000000 00000000 ee34e090 00000000 00000000 00000000
[  434.044040] e0d0  ad4d4000 00000038 00001000 00000000 00000000 00000000 00000000 00000000
[  434.044071] e0f0  0071c8c9 00000000 00000000 00000000 00000001 00000038 00000002 0000001c
[  434.044101] e110  ee32a000 00000000 00000000 00000000 ee34e150 c0263458 00000000 ee34e12c
[  434.044162] e130  ee34e12c 00000000 00000000 00000000 ee34e180 ee34e100 c18b1560 00000000
[  434.044193] e150  ee34e180 00000000 00000200 ee8ab800 00000000 c0263458 00000000 ee34e16c
[  434.044254]
[  434.044254] R2: 0xee953ba0:
[  434.044254] 3ba0  00000032 c03295a0 ee992547 0075cd80 3a463e20 a8000000 00021000 00000000
[  434.044285] 3bc0  00000033 c032968c ee953bdc ee953be0 ee35f230 000002ef ee992000 00000000
[  434.044346] 3be0  00001000 ee32a000 00001000 ee953c54 0000000c c0388938 00000001 c0338190
[  434.044376] 3c00  20000013 c08a1354 00000000 c08a10ac 00000001 00000000 ee953c20 00000000
[  434.044407] 3c20  41bf0000 0000003b 00000001 ee75cd80 00000000 ee944c00 ee34d708 ee34e0f0
[  434.044468] 3c40  00000000 ee953c98 c03271e4 c033818c 20000013 ffffffff 00000000 00000000
[  434.044498] 3c60  00000000 ee34d708 00000033 00000000 0000003a 41bf0000 0000003b 00000000
[  434.044559] 3c80  ee75cd80 00000000 ee944c00 ee34d708 ee34e0f0 c0337e24 00000000 00000001
[  434.044590]
[  434.044590] R7: 0xee75cd00:
[  434.044590] cd00  00000000 00000000 ee716d80 00000000 00000000 00000000 00000000 00000000
[  434.044651] cd20  00000000 00000000 00000000 00000000 00000000 00000000 00000000 ee75cd3c
[  434.044681] cd40  ee75cd3c ee75cd44 ee75cd44 00000000 00000000 00000000 00000000 00000000
[  434.044712] cd60  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  434.044773] cd80  01bf0000 0000003b 000000c0 00000040 00000000 00000000 00010000 00000000
[  434.044803] cda0  00000100 00000000 00000000 ee7ac000 ee38a140 00660066 003a9000 00000000
[  434.044834] cdc0  00000000 00000000 00000000 00000000 00000001 00000000 00001000 00000000
[  434.044895] cde0  00000000 00000000 00000004 00000000 00000000 00000000 00000000 00000000
[  434.044925]
[  434.044925] R9: 0xee944b80:
[  434.044956] 4b80  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  434.044986] 4ba0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  434.045017] 4bc0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  434.045078] 4be0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  434.045109] 4c00  ee34b4b0 ee328c80 00000000 00000000 00000001 00000000 00000000 00000000
[  434.045139] 4c20  00000003 00000000 00001000 00000000 00000000 00000000 00000001 00000000
[  434.045200] 4c40  00000000 000041ed 00000000 00000000 00000000 00000000 00000000 00000000
[  434.045231] 4c60  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  434.045261]
[  434.045261] R10: 0xee34d688:
[  434.045292] d688  00000000 00000000 00000000 00000000 00000000 00000000 00010001 ee34d6a4
[  434.045322] d6a8  ee34d6a4 00000000 ee34d6b0 ee34d6b0 00000000 00000000 00000000 c18b3220
[  434.045353] d6c8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  434.045414] d6e8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 ee34d6c4
[  434.045444] d708  8dc64000 00000038 00001000 00000000 00000000 00000025 ee364028 00350035
[  434.045505] d728  00000002 00000000 00000000 00000000 00000000 00000000 00000000 000000e4
[  434.045536] d748  00000001 00000000 00000001 00000000 00000000 00000000 00000000 00000000
[  434.045566] d768  00080008 ee34d76c ee34d76c 00000000 ee34d778 ee34d778 00000000 00000000
[  434.045627] Process btrfs-balance (pid: 228, stack limit = 0xee9522f0)
[  434.045627] Stack: (0xee953c98 to 0xee954000)
[  434.045658] 3c80:                                                       00000000 00000001
[  434.045658] 3ca0: 00010000 00000000 00010000 00000000 ee953cd8 ee34e0f0 ee953cd8 ee32a088
[  434.045688] 3cc0: ee31b320 ee35f1c0 00000000 00000000 00000000 00000000 00000000 00000000
[  434.045688] 3ce0: ee31b320 ee944ea4 ee7ac000 ee34e0f0 ee944c00 ee944c10 ee7ac918 0011a000
[  434.045719] 3d00: 00000000 c089465c 00000000 ee953d1c ee944400 c0396304 00000001 ee31b320
[  434.045719] 3d20: ee34e0f0 ee944800 ee34e0f0 ee32a000 00000000 ee952008 00000000 00000000
[  434.045749] 3d40: 00000001 c034745c 00000001 c0002180 ede67500 00000004 00000000 ee898000
[  434.045780] 3d60: c01926e0 ee953d64 ee953d64 00000000 00000001 ee6f4800 00000000 ee35f150
[  434.045780] 3d80: 00000001 ee6f4800 00000000 ee35f150 00000001 ee7ac3e0 00000518 ee6f4800
[  434.045811] 3da0: 00000000 c0389514 00000001 ee6f4800 ee7ac000 c038eb34 00000000 ee75c640
[  434.045811] 3dc0: 00000000 1b000013 00001f61 0c000000 00000000 00000000 ee7ac000 ee945aac
[  434.045841] 3de0: ee953e00 ee945800 00100100 00200200 00000518 00000510 00000000 ee6f4800
[  434.045841] 3e00: ee7ac000 ee944800 00000001 ee7ac3e0 00000518 00000510 00000000 c038f1ec
[  434.045872] 3e20: 00000001 00000000 41bf0000 ee7ac000 00000001 ee3120c8 ee7ac000 41bf0000
[  434.045902] 3e40: 0000003b ee945000 ee35f0e0 c036ea94 ffffffff ee953e98 00000004 c10ac9fc
[  434.045902] 3e60: 00000000 ee3120c8 ee953f76 ee953ed0 00000001 ffffffff ee35f0e0 00000000
[  434.045933] 3e80: 00000003 c03271e4 00000011 00000039 ee944800 ee312134 00000100 00000000
[  434.045933] 3ea0: 00000003 00000000 00000000 ee7ac9d0 ee953edc c019b76c 00000000 ee3120c8
[  434.045963] 3ec0: 000009fe ee3120c8 00000008 00000000 ee7ac000 00000000 ee35f0e0 00000000
[  434.045994] 3ee0: 00000001 ee3120c8 ee7ac000 41bf0000 0000003b ee7ac9d0 ee35f0e0 c0372998
[  434.045994] 3f00: 41bf0000 0000003b 9999999a 00000005 c0000000 00000008 00000001 00000000
[  434.046024] 3f20: 00000001 00000000 41bf0000 0000003b c0eec5f0 00000999 00010000 00000000
[  434.046024] 3f40: ee786000 ee7ac9e8 00000000 000009fe 00000000 ee945000 00000100 00000000
[  434.046055] 3f60: 00000000 ee7ac9d4 00000000 00000000 00000000 0100c000 00000000 ffe40000
[  434.046055] 3f80: ffffffff 00ffffff 00000001 e4000000 41bf0000 0000003b c0b2f59d ee7ac000
[  434.046085] 3fa0: ee7ac408 ee7ac9d4 00000013 00000000 00000000 00000000 00000000 c0372b9c
[  434.046116] 3fc0: ee887d28 ee7ac000 c0372b50 c0191ecc 00000000 ee7ac000 00000000 00000000
[  434.046116] 3fe0: ee953fe0 ee953fe0 ee887d28 c0191e48 c0106758 c0106758 00000000 00000000
[  434.046146] [<c033818c>] (btrfs_write_dirty_block_groups+0x4d8/0x58c) from [<c089465c>] (commit_cowonly_roots+0x178/0x1b4)
[  434.046177] [<c089465c>] (commit_cowonly_roots+0x178/0x1b4) from [<c034745c>] (btrfs_commit_transaction+0x414/0x914)
[  434.046207] [<c034745c>] (btrfs_commit_transaction+0x414/0x914) from [<c0389514>] (prepare_to_relocate+0xa8/0xbc)
[  434.046238] [<c0389514>] (prepare_to_relocate+0xa8/0xbc) from [<c038eb34>] (relocate_block_group+0x30/0x5a0)
[  434.046268] [<c038eb34>] (relocate_block_group+0x30/0x5a0) from [<c038f1ec>] (btrfs_relocate_block_group+0x148/0x2a4)
[  434.046299] [<c038f1ec>] (btrfs_relocate_block_group+0x148/0x2a4) from [<c036ea94>] (btrfs_relocate_chunk.isra.12+0x3c/0x688)
[  434.046329] [<c036ea94>] (btrfs_relocate_chunk.isra.12+0x3c/0x688) from [<c0372998>] (btrfs_balance+0xbbc/0xd74)
[  434.046329] [<c0372998>] (btrfs_balance+0xbbc/0xd74) from [<c0372b9c>] (balance_kthread+0x4c/0x6c)
[  434.046360] [<c0372b9c>] (balance_kthread+0x4c/0x6c) from [<c0191ecc>] (kthread+0x84/0x90)
[  434.046390] [<c0191ecc>] (kthread+0x84/0x90) from [<c0106758>] (kernel_thread_exit+0x0/0x8)
[  434.046421] Code: 0a00001e e1a00008 eaffff09 0a000000 (e7f001f2)
[  434.046421] ---[ end trace da227214a82491bc ]---
[  434.046451] kevent_trigger: queue event work event id is 0
[  434.046482] kevent_work: send kobject uevent, EVENT=Oops
[  523.141187] killall(244) send signal 9 to powerkey-handle(242)
[  669.603814] [BAT]## SOC=100(100,100),4310(4307),A=-001,T=239,On=1,0,(1),USB 500(500),vd=4350(0,0),ib=1000,1,F01,R08,W01

What i want with this topic is (get my phone to life of course) and see how we can learn more about overcoming and tackling this kind of problems

References

[1] .- https://jolla.zendesk.com/hc/en-us/articles/204709607-Jolla-Phone-How-do-I-use-the-Recovery-Mode-

[2]. - https://together.jolla.com/question/133605/sfos-20111-cannot-be-updated/

[3] .- https://together.jolla.com/question/30822/root-and-home-disks-full-and-causing-various-problems/

[4].- https://together.jolla.com/question/133641/bricked-after-trying-update-to-20111-btrfs-balancing-issue/

edit retag flag offensive close delete

Comments

1

HI just had the same thing occur to me, have retrieved all my data currently in the process of trying to get my phone back to being a phone again ...

ShaneQful ( 2016-05-11 01:28:55 +0200 )edit

1 Answer

Sort by » oldest newest most voted
4

answered 2016-05-11 00:19:56 +0200

cferr gravatar image

updated 2016-05-11 22:28:35 +0200

Hi corsarium, you may just add me to the list, I'm experiencing the same issue. My Jolla is now bricked !

Have you got any clue on what can be happening during this very failed balance process ? And, indeed, I'm really surprised this happpens to several people -this means something's wrong within the update process.

I'd like to add one more question to your issue.

If I've got to restore my phone anyway, I'd like to backup the "/home/nemo" directory before losing any data. Do you think I can still do that this very late or it's too late, my data is already lost ?

Edit : Here's how I managed to get out of this issue.

First of all, I backed up all of my personal data via an SD card, see my own comment below for info on how to do it. I think it's important to keep a copy of your data whenver the filesystem is under harm ;-)

Then, seeing /myhome couldn't be unmounted (unmounting it took forever), I had to forcefully shut down the phone, the bad way. Try to avoid this as much as you can...

I then chose to mount mmcblk0p28 with the -o rw,skip_balance option, and ran btrfs balance cancel /mnt to cancel the ongoing balance that couldn't be completed.

At the next reboot, the phone booted properly, though I don't know whether the file system is clean or not. For this very reason, I'm no longer going to upgrade the system.

What was happening ?

Like, I think, most of the people who will come here after an unsuccessful try to upgrade to the latest Sailfish OS (2.xxxxxxxx, I don't remember but that doesn't really matter), I interrupted the phone while it was booting as the boot process took really, really long to complete.

Actually, the filesystem balance was still taking place -I absolutely don't know which purpose this balance serves, but anyway- and the balance can take hours, if not days. My phone has really few free space left, so this balance can take really long.

So, the rule was to be patient.

edit flag offensive delete publish link more

Comments

2

Okay, I answered my own question, and with a bit of luck, the data was still there.

What I did is more or less what's explained here : https://jolla.zendesk.com/hc/en-us/articles/202514138-How-to-copy-data-from-Home-to-SD-card-in-Recovery-Mode

(one should in particular note the command mount -o subvol=@home /dev/mmcblk0p28 /myhome used to mount /home/nemo).

Now, let's just wait for more people to come here and complain they've got the same issue as us.

cferr ( 2016-05-11 01:33:09 +0200 )edit

I'm complaining Coco. ;)

JarnoF ( 2016-05-11 10:14:20 +0200 )edit

complaining too. same issue

Michaell ( 2016-06-02 08:04:40 +0200 )edit
Login/Signup to Answer

Question tools

Follow
3 followers

Stats

Asked: 2016-05-10 23:10:21 +0200

Seen: 903 times

Last updated: May 11 '16