Skip to content

Still not finaly fixed: web based upgrade and hanging / LZMA read errors with serial Flashes E1200 & co. #32

@maverick3005

Description

@maverick3005

In Reference to:
#23

There is still an issue when remote updating a few devices.

Based of my finding from the last days, today i have repeated new flashings. and the same device, which hangs last week hangs again,
shows today the old "lzma read errors" in tri-state.

This device has one changed option:
The WIRELESS Module wl0 on this device is actualy on DISABLED. The other devices have Wifi enabled.

So basicly when wireless is anyway not enabled i asume another "timing" in preparation for web based flashing,
maybe it´s faster.

We should better handle the situation when in middle of a slow serial flashing an LZMA-read errors comes in the way,
because of not completly clean flushed buffers and "unmount", eventualy rise the actual "sleep 2" a little higher,
or let the flashing runs with a check loop or use a watchdog.

At the moment, the lzma read error comes up, the reboot phase will never be reached. So all daemons are down,
interfaces are still up and device is only pingable and nothing else. Needs hard reboot and fired up with a good flashed new image.

In my case mostly when the new image differ in the filesize, this problems shows up. Flashing the same image
a few times in a row, reboot works basicly (because the byte-positions in the LZMA/Filesys are not changing)

There must still be something running, which try to read in middle of flashing from the already unmounted rootfs ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions