Closed
Bug 1073335
Opened 10 years ago
Closed 10 years ago
[Flame][KK] Could not format internal storage
Categories
(Firefox OS Graveyard :: GonkIntegration, defect)
Tracking
(blocking-b2g:2.1+, b2g-v2.0 verified, b2g-v2.1 verified, b2g-v2.2 verified)
VERIFIED
FIXED
blocking-b2g | 2.1+ |
People
(Reporter: ashiue, Assigned: viralwang)
References
Details
(Keywords: regression, Whiteboard: [POVB])
Attachments
(1 file)
69.32 KB,
text/x-log
|
Details |
Gaia-Rev 86905e14c3ff06a0e6952ba635b6066ad2eea6b4
Gecko-Rev https://hg.mozilla.org/releases/mozilla-aurora/rev/572b666c54bd
Build-ID 20140925160208
Version 34.0a2
STR:
1. Store some files at internal SD card
2. Go to Settings -> Media storage, press "Format internal storage"
Expect result:
Internal SD card be formatted successfully
Actual result:
Do not format internal SD card (http://youtu.be/RJWO713nRP8)
Reporter | ||
Comment 1•10 years ago
|
||
[Blocking Requested - why for this release]:
basic functional issue
blocking-b2g: --- → 2.1?
QA Whiteboard: [COM=Storage]
Comment 2•10 years ago
|
||
After put some console.log for debugging format() API, it will go into onsuccess. It means we already do format(), but the functionality is working normally. This issue is needed to investigate in Gecko side.
=== log ===
I/Settings( 1876): Content JS LOG: --> format internal...
I/Settings( 1876): at volume_formatSDCard (app://settings.gaiamobile.org/js/media_storage.js:472:6)
I/Gecko ( 1421): *** UTM:SVC TimerManager:notify - notified @mozilla.org/b2g/webapps-update-timer;1
I/GeckoConsole( 1421): UTM:SVC TimerManager:notify - notified @mozilla.org/b2g/webapps-update-timer;1
I/Settings( 1876): Content JS LOG: --> self.external = false
I/Settings( 1876): at volume_formatSDCard/confirmHandler (app://settings.gaiamobile.org/js/media_storage.js:488:6)
I/Settings( 1876): Content JS LOG: --> self.name = sdcard
I/Settings( 1876): at volume_formatSDCard/confirmHandler (app://settings.gaiamobile.org/js/media_storage.js:489:6)
I/VolumeManager( 1421): SetUnmountRequested for volume sdcard to 0 CanBeMounted = 1
I/VolumeManager( 1421): SetMountRequested for volume sdcard to 0 CanBeMounted = 1
I/VolumeManager( 1421): SetFormatRequested for volume sdcard to 1 CanBeFormatted = 1
I/AutoMounter( 1421): AutoMounter state changed from UMS_CONFIGURED to IDLE
I/AutoMounter( 1421): UpdateState: ums:A1C1E0 mtp:A1C0E0 mode:0 usb:1 tryToShare:0 state:IDLE
I/AutoMounter( 1421): UpdateState: Volume sdcard is Mounted and inserted @ /storage/sdcard gen 1 locked 0 sharing en-n
I/VolumeManager( 1421): Volume sdcard: IsFormatting set to 1 state Mounted
I/Settings( 1876): Content JS LOG: --> requestFormatOnsuccess()...
I/Settings( 1876): at requestFormatOnsuccess (app://settings.gaiamobile.org/js/media_storage.js:492:8)
I/Settings( 1876): Content JS LOG: e.target.result = formatting
I/Settings( 1876): at requestFormatOnsuccess (app://settings.gaiamobile.org/js/media_storage.js:493:8)
I/AutoMounter( 1421): UpdateState: Unmounting sdcard
Gaia-Rev 3090e390bef48ed425ec355e18451acb266be716
Gecko-Rev https://hg.mozilla.org/mozilla-central/rev/9e3d649b80a2
Build-ID 20140925134737
Version 35.0a1
Device-Name flame
FW-Release 4.4.2
FW-Incremental eng.cltbld.20140925.170254
FW-Date Thu Sep 25 17:03:04 EDT 2014
Bootloader L1TC30011620
Flags: needinfo?(alchen)
Comment 3•10 years ago
|
||
(In reply to Ian Liu [:ianliu] from comment #2)
> After put some console.log for debugging format() API, it will go into
> onsuccess. It means we already do format(), but the functionality is working
> normally.
^.... wording: 'is not'
Comment 4•10 years ago
|
||
From log, we've asked vold to format sdcard1 and got successful result.
Gaia a06714c555ca7068545f10b4437a16c14cd8e7f5
Gecko https://hg.mozilla.org/mozilla-central/rev/9e3d649b80a2
BuildID 20140925160206
Version 35.0a1
ro.build.version.incremental=27
ro.build.date=Thu Sep 4 14:59:02 CST 2014
(logcat)
09-25 20:15:28.110 205 553 I AutoMounter: UpdateState: Formatting sdcard1
09-25 20:15:28.110 205 553 I VolumeManager: Volume sdcard1 (2): changing state from Idle to Formatting (4 observers)
09-25 20:15:28.110 192 315 I config_mbr: Configuring pentry. status=0x80 type=0xc start_lba=2048 len_lba=7742464
09-25 20:15:28.110 192 315 I config_mbr: Configuring pentry. status=0x0 type=0x0 start_lba=0 len_lba=0
09-25 20:15:28.110 192 315 I config_mbr: Configuring pentry. status=0x0 type=0x0 start_lba=0 len_lba=0
09-25 20:15:28.110 192 315 I config_mbr: Configuring pentry. status=0x0 type=0x0 start_lba=0 len_lba=0
09-25 20:15:28.110 192 315 D Vold : Volume sdcard1 state changing 1 (Idle-Unmounted) -> 6 (Formatting)
09-25 20:15:28.160 192 237 D DirectVolume: Volume sdcard1 /mnt/media_rw/sdcard1 partition 179:65 removed
09-25 20:15:28.160 192 315 I Vold : Volume::formatVol sdcard1 (/dev/block/vold/179:65)
09-25 20:15:28.160 192 237 I DirectVolume: Volume sdcard1 disk has changed
09-25 20:15:28.160 192 237 D Vold : Volume::createDeviceNode path:/dev/block/vold/179:65, major:179, minor:65
09-25 20:15:28.170 288 288 I cat : <6>[ 105.064348] mmcblk1: p1
09-25 20:15:28.190 192 315 I newfs_msdos: /system/bin/newfs_msdos: warning, /dev/block/vold/179:65 is not a character device
09-25 20:15:28.190 192 315 I newfs_msdos: /system/bin/newfs_msdos: Skipping mount checks
09-25 20:15:28.190 192 315 I newfs_msdos: /dev/block/vold/179:65: 7727336 sectors in 965917 FAT32 clusters (4096 bytes/cluster)
09-25 20:15:28.190 192 315 I newfs_msdos: bps=512 spc=8 res=32 nft=2 mid=0xf0 spt=16 hds=4 hid=0 bsec=7742464 bspf=7547 rdcl=2 infs=1 bkbs=2
09-25 20:15:31.460 192 315 I Vold : Filesystem formatted OK
Comment 5•10 years ago
|
||
Gaia-Rev 86905e14c3ff06a0e6952ba635b6066ad2eea6b4
Gecko-Rev https://hg.mozilla.org/releases/mozilla-aurora/rev/572b666c54bd
Build-ID 20140925160208
Version 34.0a2
The following is failed case, which happened on internal storage.
But I can format SD card sucessfully.
09-26 15:08:57.249 212 466 I AutoMounter: UpdateState: Formatting sdcard
09-26 15:08:57.249 192 262 I Vold : /mnt/media_rw/sdcard sucessfully unmounted
09-26 15:08:57.249 192 262 I Vold : /mnt/media_rw/sdcard unmounted successfully
09-26 15:08:57.249 192 262 D Vold : Volume sdcard state changing 5 (Unmounting) -> 1 (Idle-Unmounted)
09-26 15:08:57.259 212 466 I VolumeManager: Volume sdcard (1): changing state from Idle to Formatting (4 observers)
09-26 15:08:57.259 192 262 D Vold : Volume sdcard state changing 1 (Idle-Unmounted) -> 6 (Formatting)
09-26 15:08:57.259 192 262 I Vold : Volume::formatVol sdcard (/dev/block/vold/179:62)
09-26 15:08:57.279 192 262 I newfs_msdos: /system/bin/newfs_msdos: /dev/block/vold/179:62: No such file or directory
09-26 15:08:57.279 192 262 I newfs_msdos: newfs_msdos terminated by exit(1)
09-26 15:08:57.279 212 466 I VolumeManager: Volume sdcard (1): changing state from Formatting to Idle (4 observers)
09-26 15:08:57.279 192 262 E Vold : Format failed (unknown exit code 1)
09-26 15:08:57.279 192 262 E Vold : Failed to format (I/O error)
09-26 15:08:57.279 192 262 D Vold : Volume sdcard state changing 6 (Formatting) -> 1 (Idle-Unmounted)
09-26 15:08:57.289 212 466 E AutoMounter: Command '0 volume format sdcard' failed: 403 'volume operation failed (I/O error)'
09-26 15:08:57.289 212 466 I AutoMounter: AutoMounter state changed from UMS_CONFIGURED to IDLE
09-26 15:08:57.289 212 466 I AutoMounter: UpdateState: ums:A1C1E0 mtp:A1C0E0 mode:0 usb:1 tryToShare:0 state:IDLE
09-26 15:08:57.289 212 466 I AutoMounter: UpdateState: Volume sdcard is Idle and inserted
09-26 15:08:57.289 212 466 I AutoMounter: UpdateState: Mounting sdcard
Flags: needinfo?(alchen)
Comment 6•10 years ago
|
||
Hi Viral,
as discussed, this symptom is also happened on pure vendor ROM (Flame_2.0_v180_1).
From log, it should be related to vold.
Please help on this.
Thanks.
Flags: needinfo?(vwang)
Assignee | ||
Comment 7•10 years ago
|
||
Hi Francis,
Shall we have t2m's support for this?
We can also find the problem in pure v180 base image.
Thanks.
Flags: needinfo?(vwang) → needinfo?(frlee)
Comment 8•10 years ago
|
||
hi Wesly,
please communicate with T2M and see if there's chance to address it before next release
Flags: needinfo?(frlee) → needinfo?(wehuang)
Comment 9•10 years ago
|
||
ok, I've added it into the list I consolidated and will talk to T2M with rest items today.
Flags: needinfo?(wehuang)
Comment 11•10 years ago
|
||
Tested with Shallow Flash on 319mb
This bug repro's on Flame KK builds: Flame 2.2 KK, Flame 2.1 KK, Flame 2.0 KK, Flame 2.0 Base KK
Actual Results: Unable to format internal storage.
Repro Rate: 6/6
Environmental Variables:
Device: Flame Master KK
BuildID: 20141001160320
Gaia: a23d2c490b39c4699c9375e25c4acdf396a2fa85
Gecko: f771fd927304
Version: 35.0a1 (Master)
Firmware Version: L1TC10011800
User Agent: Mozilla/5.0 (Mobile; rv:35.0) Gecko/35.0 Firefox/35.0
-----------------------------------------------------------------
Environmental Variables:
Device: Flame 2.1 KK
BuildID: 20141002071122
Gaia: 94dcc25f2e34a4900ea58310c26be52bcb089161
Gecko: 2886eca89559
Version: 34.0a2
Firmware Version: L1TC10011800
User Agent: Mozilla/5.0 (Mobile; rv:34.0) Gecko/34.0 Firefox/34.0
-----------------------------------------------------------------
Environmental Variables:
Device: Flame 2.0 KK
BuildID: 20141001174325
Gaia: 9725d188a733a4aeebcfcf4c52d28e1ad8a2ba6f
Gecko: 05c6a4fed6bc
Version: 32.0 (2.0)
Firmware Version: L1TC10011800
User Agent: Mozilla/5.0 (Mobile; rv:32.0) Gecko/32.0 Firefox/32.0
-----------------------------------------------------------------
Environmental Variables:
Device: Flame 2.0 Base KK
BuildID: 20140904160718
Gaia: 506da297098326c671523707caae6eaba7e718da
Gecko:
Gonk:
Version: 32.0 (2.0)
Firmware: V180
User Agent: Mozilla/5.0 (Mobile; rv:32.0) Gecko/32.0 Firefox/32.0
QA Whiteboard: [COM=Storage] → [COM=Storage][QAnalyst-Triage?]
status-b2g-v2.0:
--- → affected
status-b2g-v2.1:
--- → affected
status-b2g-v2.2:
--- → affected
Flags: needinfo?(jmitchell)
Keywords: qawanted
QA Contact: croesch
Updated•10 years ago
|
QA Whiteboard: [COM=Storage][QAnalyst-Triage?] → [COM=Storage][QAnalyst-Triage+]
Flags: needinfo?(jmitchell)
Updated•10 years ago
|
Flags: in-moztrap?
Comment 12•10 years ago
|
||
Hi Wesly, do you have any update from vendor? Thanks.
Flags: needinfo?(wehuang)
Comment 13•10 years ago
|
||
Hi Howei: T2M is still analyzing it and is not able to fix in v184, I'm keeping following this together with other few issues with them (there is a list in my hand including this one). Next sync. with them is Oct./9 after they finish China Golden week.
Flags: needinfo?(wehuang)
Comment 14•10 years ago
|
||
Major regression, blocking+. Vendcom though, so blocking to keep a focus on fixing within this release timeframe.
Comment 15•10 years ago
|
||
per T2M feedback this issue can be fixed in coming SW. FYI.
Comment 16•10 years ago
|
||
Hi Wesly, do you know when will the next SW coming?
Flags: needinfo?(wehuang)
Comment 17•10 years ago
|
||
Hi Howie:
Current plan is no later then end of next week for b2g-internal first. (then to MDN if no critical issue reported)
Flags: needinfo?(wehuang)
Comment 18•10 years ago
|
||
verified and fixed with Flame KK base image v188
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Whiteboard: [POVB]
Reporter | ||
Comment 19•10 years ago
|
||
I tried full flash 2.1 KK build with v188 base image, internal storage still could not be formatted.
Shallow flash does not have this problem.
Comment 20•10 years ago
|
||
refer to comment 18 and comment 19, reopen this issue and change component to GonkIntegration
Status: RESOLVED → REOPENED
Component: Vendcom → GonkIntegration
Resolution: FIXED → ---
Comment 21•10 years ago
|
||
Hi Viral, can you help to take a look on this? Thanks.
Flags: needinfo?(vwang)
Assignee | ||
Comment 22•10 years ago
|
||
since we already use partner's vold in bug 1066128, I think we should only wait for bug 1085759 landing to update backup-flame to v188 (vold will update to v188 as well)
Flags: needinfo?(vwang)
Updated•10 years ago
|
Comment 23•10 years ago
|
||
Hi Viral, assign to you. Please check if this bug is fixed after bug 1085759 is landed.
Assignee: nobody → vwang
Assignee | ||
Comment 25•10 years ago
|
||
as my description in comment 22, it works in my side now.
Status: REOPENED → RESOLVED
Closed: 10 years ago → 10 years ago
Flags: needinfo?(vwang)
Resolution: --- → FIXED
Updated•10 years ago
|
QA Contact: croesch
Reporter | ||
Comment 26•10 years ago
|
||
Verified on
[2.0]
Gaia-Rev 124c2f85f1b956e9e8429dab5121de702a3bc197
Gecko-Rev https://hg.mozilla.org/releases/mozilla-b2g32_v2_0/rev/fc90ac008cc1
Build-ID 20141124000201
Version 32.0
[2.1]
Gaia-Rev 8ae086c39011bc8842b2a19bb5267906fa22345a
Gecko-Rev https://hg.mozilla.org/releases/mozilla-b2g34_v2_1/rev/ebbd5c65c3c1
Build-ID 20141124094013
Version 34.0
[2.2]
Gaia-Rev aad40f6d6eb8f626c6a20db55b9f00d2e832f113
Gecko-Rev https://hg.mozilla.org/mozilla-central/rev/be4ba3d5ca9a
Build-ID 20141124100136
Version 36.0a1
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•