Flashing new 5x system image hangs #484

Closed
weajr opened this Issue Oct 31, 2016 · 8 comments

Comments

Projects
None yet
2 participants
@weajr

weajr commented Oct 31, 2016

Using the latest image files from CH running SDK on Linux. System starts to flash, the device responds, then when it gets to the System Image (500k) file 1 of 3 it hangs, the device just shows downloading.

The device and the flash-all.sh run fine, I am able to reflash the device back to the factory image with no problem.

I have redownloaded and tried 2 of the latest 5x image sets, reflashed back to factory image and started over, all results are the same.

Any ideas?

@thestinger

This comment has been minimized.

Show comment Hide comment
@thestinger

thestinger Oct 31, 2016

Contributor

Maybe you don't have enough memory or space in /tmp if it's using /tmp. The CopperheadOS factory image tarballs don't use compression for the inner image zip file in order to properly take advantage of the outer xz compression, so it's quite large.

Contributor

thestinger commented Oct 31, 2016

Maybe you don't have enough memory or space in /tmp if it's using /tmp. The CopperheadOS factory image tarballs don't use compression for the inner image zip file in order to properly take advantage of the outer xz compression, so it's quite large.

@weajr

This comment has been minimized.

Show comment Hide comment
@weajr

weajr Oct 31, 2016

Plenty of system RAM, only terminal running. /tmp is empty

Still hanging at

sending sparse ‘system’ 1/3

From: Daniel Micay [mailto:notifications@github.com]
Sent: Monday, October 31, 2016 2:19 PM
To: copperhead/bugtracker bugtracker@noreply.github.com
Cc: weajr adamsoftind@gmail.com; Author author@noreply.github.com
Subject: Re: [copperhead/bugtracker] Flashing new 5x system image hangs (#484)

Maybe you don't have enough memory or space in /tmp if it's using /tmp. The CopperheadOS images don't use compression for the inner image zip file in order to properly take advantage of the outer xz compression, so it's quite large.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub #484 (comment) , or mute the thread https://github.com/notifications/unsubscribe-auth/AWF8yIwmtP4N1ZApdKIXzLuyPFwu96Whks5q5cB5gaJpZM4Kk2UQ . https://github.com/notifications/beacon/AWF8yItLpbmhUnAO5tPEDbsY3gPOH_-Iks5q5cB5gaJpZM4Kk2UQ.gif

weajr commented Oct 31, 2016

Plenty of system RAM, only terminal running. /tmp is empty

Still hanging at

sending sparse ‘system’ 1/3

From: Daniel Micay [mailto:notifications@github.com]
Sent: Monday, October 31, 2016 2:19 PM
To: copperhead/bugtracker bugtracker@noreply.github.com
Cc: weajr adamsoftind@gmail.com; Author author@noreply.github.com
Subject: Re: [copperhead/bugtracker] Flashing new 5x system image hangs (#484)

Maybe you don't have enough memory or space in /tmp if it's using /tmp. The CopperheadOS images don't use compression for the inner image zip file in order to properly take advantage of the outer xz compression, so it's quite large.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub #484 (comment) , or mute the thread https://github.com/notifications/unsubscribe-auth/AWF8yIwmtP4N1ZApdKIXzLuyPFwu96Whks5q5cB5gaJpZM4Kk2UQ . https://github.com/notifications/beacon/AWF8yItLpbmhUnAO5tPEDbsY3gPOH_-Iks5q5cB5gaJpZM4Kk2UQ.gif

@thestinger

This comment has been minimized.

Show comment Hide comment
@thestinger

thestinger Oct 31, 2016

Contributor

How big is /tmp though? And how much memory is there specifically?

Contributor

thestinger commented Oct 31, 2016

How big is /tmp though? And how much memory is there specifically?

@weajr

This comment has been minimized.

Show comment Hide comment
@weajr

weajr Oct 31, 2016

783M, most likely not big enough, correct?

From: Daniel Micay [mailto:notifications@github.com]
Sent: Monday, October 31, 2016 2:44 PM
To: copperhead/bugtracker bugtracker@noreply.github.com
Cc: weajr adamsoftind@gmail.com; Author author@noreply.github.com
Subject: Re: [copperhead/bugtracker] Flashing new 5x system image hangs (#484)

How big is /tmp though? And how much memory is there specifically?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub #484 (comment) , or mute the thread https://github.com/notifications/unsubscribe-auth/AWF8yOOQCdvB2TKjkOXmDvMYsmqfM-hJks5q5caIgaJpZM4Kk2UQ . https://github.com/notifications/beacon/AWF8yEPSm6aYuRmRAo0w5LNrnFZ4-ERWks5q5caIgaJpZM4Kk2UQ.gif

weajr commented Oct 31, 2016

783M, most likely not big enough, correct?

From: Daniel Micay [mailto:notifications@github.com]
Sent: Monday, October 31, 2016 2:44 PM
To: copperhead/bugtracker bugtracker@noreply.github.com
Cc: weajr adamsoftind@gmail.com; Author author@noreply.github.com
Subject: Re: [copperhead/bugtracker] Flashing new 5x system image hangs (#484)

How big is /tmp though? And how much memory is there specifically?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub #484 (comment) , or mute the thread https://github.com/notifications/unsubscribe-auth/AWF8yOOQCdvB2TKjkOXmDvMYsmqfM-hJks5q5caIgaJpZM4Kk2UQ . https://github.com/notifications/beacon/AWF8yEPSm6aYuRmRAo0w5LNrnFZ4-ERWks5q5caIgaJpZM4Kk2UQ.gif

@thestinger

This comment has been minimized.

Show comment Hide comment
@thestinger

thestinger Oct 31, 2016

Contributor

If it's actually using /tmp then it would be too small.

Contributor

thestinger commented Oct 31, 2016

If it's actually using /tmp then it would be too small.

@weajr

This comment has been minimized.

Show comment Hide comment
@weajr

weajr Oct 31, 2016

The default Nexus 5X factory image is over 2G, it flashes with no problem?

From: Daniel Micay [mailto:notifications@github.com]
Sent: Monday, October 31, 2016 2:52 PM
To: copperhead/bugtracker bugtracker@noreply.github.com
Cc: weajr adamsoftind@gmail.com; Author author@noreply.github.com
Subject: Re: [copperhead/bugtracker] Flashing new 5x system image hangs (#484)

If it's actually using /tmp then it would be too small.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub #484 (comment) , or mute the thread https://github.com/notifications/unsubscribe-auth/AWF8yIRFvj5-f5kFs7CTFyPzB38jemusks5q5cg5gaJpZM4Kk2UQ . https://github.com/notifications/beacon/AWF8yJdeGLj_3DgffgwMnliYSz7mNkpyks5q5cg5gaJpZM4Kk2UQ.gif

weajr commented Oct 31, 2016

The default Nexus 5X factory image is over 2G, it flashes with no problem?

From: Daniel Micay [mailto:notifications@github.com]
Sent: Monday, October 31, 2016 2:52 PM
To: copperhead/bugtracker bugtracker@noreply.github.com
Cc: weajr adamsoftind@gmail.com; Author author@noreply.github.com
Subject: Re: [copperhead/bugtracker] Flashing new 5x system image hangs (#484)

If it's actually using /tmp then it would be too small.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub #484 (comment) , or mute the thread https://github.com/notifications/unsubscribe-auth/AWF8yIRFvj5-f5kFs7CTFyPzB38jemusks5q5cg5gaJpZM4Kk2UQ . https://github.com/notifications/beacon/AWF8yJdeGLj_3DgffgwMnliYSz7mNkpyks5q5cg5gaJpZM4Kk2UQ.gif

@thestinger

This comment has been minimized.

Show comment Hide comment
@thestinger

thestinger Nov 1, 2016

Contributor

Just try with a larger /tmp and more memory (by adding a swap file perhaps).

Contributor

thestinger commented Nov 1, 2016

Just try with a larger /tmp and more memory (by adding a swap file perhaps).

@thestinger thestinger closed this Nov 1, 2016

@weajr

This comment has been minimized.

Show comment Hide comment
@weajr

weajr Nov 1, 2016

Got it, had to use another system with more RAM.

Installed OK, thanks a bunch

R/

Bill

From: Daniel Micay [mailto:notifications@github.com]
Sent: Tuesday, November 1, 2016 6:04 AM
To: copperhead/bugtracker bugtracker@noreply.github.com
Cc: weajr adamsoftind@gmail.com; Author author@noreply.github.com
Subject: Re: [copperhead/bugtracker] Flashing new 5x system image hangs (#484)

Just try with a larger /tmp and more memory (by adding a swap file perhaps).


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub #484 (comment) , or mute the thread https://github.com/notifications/unsubscribe-auth/AWF8yHNco2xfMo6w7HGa63rpF3Egd7-Wks5q5p4TgaJpZM4Kk2UQ . https://github.com/notifications/beacon/AWF8yMCN7-BukHHd9dpdLbc4LojDIMxyks5q5p4TgaJpZM4Kk2UQ.gif

weajr commented Nov 1, 2016

Got it, had to use another system with more RAM.

Installed OK, thanks a bunch

R/

Bill

From: Daniel Micay [mailto:notifications@github.com]
Sent: Tuesday, November 1, 2016 6:04 AM
To: copperhead/bugtracker bugtracker@noreply.github.com
Cc: weajr adamsoftind@gmail.com; Author author@noreply.github.com
Subject: Re: [copperhead/bugtracker] Flashing new 5x system image hangs (#484)

Just try with a larger /tmp and more memory (by adding a swap file perhaps).


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub #484 (comment) , or mute the thread https://github.com/notifications/unsubscribe-auth/AWF8yHNco2xfMo6w7HGa63rpF3Egd7-Wks5q5p4TgaJpZM4Kk2UQ . https://github.com/notifications/beacon/AWF8yMCN7-BukHHd9dpdLbc4LojDIMxyks5q5p4TgaJpZM4Kk2UQ.gif

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment