Trying to write an image to an SD Card but receiving errors. Oddly I get two types of errors on different occasions.
The error states “Something went wrong. If it is a compressed image , please check that the archive is not corrupted.
The writer process ended unexpectedly”
Other times the 2nd part is replaced with
“The value of “offset” is out of range. It must be >=0 && <= 1048576. Received 1048576”
I have tried running as root user and opening Balena with sudo but no joy.
Here is the console report:
Thu Nov 26 2020 11:04:28 GMT+0000 (Greenwich Mean Time) Application start ({“packageType”:“dmg”,“version”:“1.5.111”,“sample”:0.1,“applicationSessionUuid”:“cd2fa702-0942-498b-a3a2-c74aca2e3174”,“flashingWorkflowUuid”:“02b302db-eafe-45cd-8bde-990caebfa113”})
gui.js:56894 Thu Nov 26 2020 11:05:06 GMT+0000 (Greenwich Mean Time) Open image selector ({“sample”:0.1,“applicationSessionUuid”:“cd2fa702-0942-498b-a3a2-c74aca2e3174”,“flashingWorkflowUuid”:“02b302db-eafe-45cd-8bde-990caebfa113”})
gui.js:56894 Thu Nov 26 2020 11:05:09 GMT+0000 (Greenwich Mean Time) Select image ({“image”:{“size”:124326613504,“name”:“128GB VIRTUALMAN.img”,“hasMBR”:true,“partitions”:[{“offset”:4194304,“size”:268435456,“type”:12,“index”:1},{“offset”:272629760,“size”:124053983744,“type”:131,“index”:2}],“extension”:“img”,“path”:"/Volumes/Samsung_T5/128GB VIRTUALMAN.img",“logo”:false,“blockMap”:false},“sample”:0.1,“applicationSessionUuid”:“cd2fa702-0942-498b-a3a2-c74aca2e3174”,“flashingWorkflowUuid”:“02b302db-eafe-45cd-8bde-990caebfa113”})
gui.js:56894 Thu Nov 26 2020 11:05:12 GMT+0000 (Greenwich Mean Time) Toggle drive ({“drive”:{“size”:127865454592,“isVirtual”:false,“enumerator”:“DiskArbitration”,“logicalBlockSize”:512,“raw”:"/dev/rdisk3",“error”:null,“isReadOnly”:false,“displayName”:"/dev/disk3",“blockSize”:512,“isSCSI”:false,“isRemovable”:true,“device”:"/dev/disk3",“busVersion”:null,“isSystem”:false,“busType”:“USB”,“isCard”:true,“isUSB”:true,“devicePath”:“IODeviceTree:/PCI0@0/XHC1@14”,“mountpoints”:[{“path”:"/Volumes/boot",“label”:“boot”}],“description”:“APPLE SD Card Reader Media”,“isUAS”:null,“partitionTableType”:“mbr”},“previouslySelected”:false,“sample”:0.1,“applicationSessionUuid”:“cd2fa702-0942-498b-a3a2-c74aca2e3174”,“flashingWorkflowUuid”:“02b302db-eafe-45cd-8bde-990caebfa113”})
gui.js:56894 Thu Nov 26 2020 11:05:14 GMT+0000 (Greenwich Mean Time) Flash ({“image”:{“size”:124326613504,“name”:“128GB VIRTUALMAN.img”,“hasMBR”:true,“partitions”:[{“offset”:4194304,“size”:268435456,“type”:12,“index”:1},{“offset”:272629760,“size”:124053983744,“type”:131,“index”:2}],“extension”:“img”,“path”:"/Volumes/Samsung_T5/128GB VIRTUALMAN.img"},“drives”:[{“size”:127865454592,“isVirtual”:false,“enumerator”:“DiskArbitration”,“logicalBlockSize”:512,“raw”:"/dev/rdisk3",“error”:null,“isReadOnly”:false,“displayName”:"/dev/disk3",“blockSize”:512,“isSCSI”:false,“isRemovable”:true,“device”:"/dev/disk3",“busVersion”:null,“isSystem”:false,“busType”:“USB”,“isCard”:true,“isUSB”:true,“devicePath”:“IODeviceTree:/PCI0@0/XHC1@14”,“mountpoints”:[{“path”:"/Volumes/boot",“label”:“boot”}],“description”:“APPLE SD Card Reader Media”,“isUAS”:null,“partitionTableType”:“mbr”}],“driveCount”:1,“uuid”:“3d3adba7-42d5-42ef-a186-40a874fb3809”,“status”:“started”,“flashInstanceUuid”:“3d3adba7-42d5-42ef-a186-40a874fb3809”,“unmountOnSuccess”:true,“sample”:0.1,“applicationSessionUuid”:“cd2fa702-0942-498b-a3a2-c74aca2e3174”,“flashingWorkflowUuid”:“02b302db-eafe-45cd-8bde-990caebfa113”})
gui.js:56894 Elevating command: /Applications/balenaEtcher.app/Contents/Frameworks/balenaEtcher Helper (Renderer).app/Contents/MacOS/balenaEtcher Helper (Renderer) /Applications/balenaEtcher.app/Contents/Resources/app/generated/child-writer.js
gui.js:56894 Thu Nov 26 2020 11:05:14 GMT+0000 (Greenwich Mean Time) SafeWebview loaded ({“event”:{“id”:1,“url”:“https://assets.balena.io/etcher-featured/index.html?borderRight=false&darkBackground=true&etcher-version=1.5.111&api-version=2&optOutAnalytics=false",“method”:“GET”,“timestamp”:1606388714744.792,“resourceType”:“mainFrame”,“ip”:“104.31.82.157”,“fromCache”:false,“statusLine”:"HTTP/1.1 200”,“statusCode”:200,“responseHeaders”:{“access-control-allow-origin”:["*"],“age”:[“161”],“cache-control”:[“max-age=600”],“cf-cache-status”:[“DYNAMIC”],“cf-ray”:[“5f83221afb152c76-LHR”],“cf-request-id”:[“06a5d3a4db00002c7629126000000001”],“content-encoding”:[“br”],“content-type”:[“text/html; charset=utf-8”],“date”:[“Thu, 26 Nov 2020 11:05:14 GMT”],“expect-ct”:[“max-age=604800, report-uri=“https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct””],“expires”:[“Thu, 26 Nov 2020 11:01:30 GMT”],“last-modified”:[“Thu, 26 Nov 2020 10:50:28 GMT”],“nel”:["{“report_to”:“cf-nel”,“max_age”:604800}"],“report-to”:["{“endpoints”:[{“url”:“https:\/\/a.nel.cloudflare.com\/report?s=legfgB5ZEOp2MEfKqtbmKsNabN0FbiYqtXNVZqDTVrUtraY%2BsCKTJINXB5Fdrixfndyr25qgNyPXIgcqKjeLFnioz6xn6ICQNVAR%2BshbPJE3”}],“group”:“cf-nel”,“max_age”:604800}"],“server”:[“cloudflare”],“status”:[“200”],“vary”:[“Accept-Encoding”],“via”:[“1.1 varnish”],“x-cache”:[“HIT”],“x-cache-hits”:[“3”],“x-fastly-request-id”:[“4cac2e61ad9c8abffdbbf10238730031bd9d1f20”],“x-github-request-id”:[“884A:8DBF:F26502:100532A:5FBF88B2”],“x-origin-cache”:[“HIT”],“x-proxy-cache”:[“MISS”],“x-served-by”:[“cache-lcy19272-LCY”],“x-timer”:[“S1606388715.725078,VS0,VE0”]},“referrer”:"",“error”:“net::OK”},“sample”:0.1,“applicationSessionUuid”:“cd2fa702-0942-498b-a3a2-c74aca2e3174”,“flashingWorkflowUuid”:“02b302db-eafe-45cd-8bde-990caebfa113”})
gui.js:6038 0 devices, 0% at 0.00 MB/s (total 0.00 MB/s) with 0 failed devices
gui.js:56894 Successfully connected to IPC server: etcher-server-3200, socket root /var/folders/_l/487p_grx6qlgtg6603wgtg6c0000gp/T/
gui.js:56894 Image: /Volumes/Samsung_T5/128GB VIRTUALMAN.img
gui.js:56894 Devices: /dev/disk3
gui.js:56894 Umount on success: true
gui.js:56894 Auto blockmapping: true
gui.js:56894 Decompress first: true
gui.js:56894 Thu Nov 26 2020 11:09:05 GMT+0000 (Greenwich Mean Time) Flash error ({“image”:{“size”:124326613504,“name”:“128GB VIRTUALMAN.img”,“hasMBR”:true,“partitions”:[{“offset”:4194304,“size”:268435456,“type”:12,“index”:1},{“offset”:272629760,“size”:124053983744,“type”:131,“index”:2}],“extension”:“img”,“path”:"/Volumes/Samsung_T5/128GB VIRTUALMAN.img"},“drives”:[{“size”:127865454592,“isVirtual”:false,“enumerator”:“DiskArbitration”,“logicalBlockSize”:512,“raw”:"/dev/rdisk3",“error”:null,“isReadOnly”:false,“displayName”:"/dev/disk3",“blockSize”:512,“isSCSI”:false,“isRemovable”:true,“device”:"/dev/disk3",“busVersion”:null,“isSystem”:false,“busType”:“USB”,“isCard”:true,“isUSB”:true,“devicePath”:“IODeviceTree:/PCI0@0/XHC1@14”,“mountpoints”:[{“path”:"/Volumes/boot",“label”:“boot”}],“description”:“APPLE SD Card Reader Media”,“isUAS”:null,“partitionTableType”:“mbr”}],“driveCount”:1,“uuid”:“3d3adba7-42d5-42ef-a186-40a874fb3809”,“flashInstanceUuid”:“3d3adba7-42d5-42ef-a186-40a874fb3809”,“unmountOnSuccess”:true,“error”:{“name”:“Error”,“message”:“EBUSY: resource busy or locked, open ‘/dev/rdisk3’”,“stack”:“Error: EBUSY: resource busy or locked, open ‘/dev/rdisk3’”,“code”:“EBUSY”,“syscall”:“open”,“errno”:-16},“sample”:0.1,“applicationSessionUuid”:“cd2fa702-0942-498b-a3a2-c74aca2e3174”,“flashingWorkflowUuid”:“02b302db-eafe-45cd-8bde-990caebfa113”})
gui.js:6038 0 devices, 0% at 0.00 MB/s (total 0.00 MB/s) with 0 failed devices
gui.js:56894 Finish: 0
gui.js:56894 Terminating IPC server
gui.js:56894 Flash results Object
gui.js:56894 Thu Nov 26 2020 11:09:08 GMT+0000 (Greenwich Mean Time) Write failed ({“image”:{“size”:124326613504,“name”:“128GB VIRTUALMAN.img”,“hasMBR”:true,“partitions”:[{“offset”:4194304,“size”:268435456,“type”:12,“index”:1},{“offset”:272629760,“size”:124053983744,“type”:131,“index”:2}],“extension”:“img”,“path”:"/Volumes/Samsung_T5/128GB VIRTUALMAN.img"},“drives”:[{“size”:127865454592,“isVirtual”:false,“enumerator”:“DiskArbitration”,“logicalBlockSize”:512,“raw”:"/dev/rdisk3",“error”:null,“isReadOnly”:false,“displayName”:"/dev/disk3",“blockSize”:512,“isSCSI”:false,“isRemovable”:true,“device”:"/dev/disk3",“busVersion”:null,“isSystem”:false,“busType”:“USB”,“isCard”:true,“isUSB”:true,“devicePath”:“IODeviceTree:/PCI0@0/XHC1@14”,“mountpoints”:[{“path”:"/Volumes/boot",“label”:“boot”}],“description”:“APPLE SD Card Reader Media”,“isUAS”:null,“partitionTableType”:“mbr”}],“driveCount”:1,“uuid”:“3d3adba7-42d5-42ef-a186-40a874fb3809”,“status”:“failed”,“flashInstanceUuid”:“3d3adba7-42d5-42ef-a186-40a874fb3809”,“unmountOnSuccess”:true,“error”:{“description”:“Please try again, and contact the Etcher team if the problem persists”,“report”:false},“sample”:0.1,“applicationSessionUuid”:“cd2fa702-0942-498b-a3a2-c74aca2e3174”,“flashingWorkflowUuid”:“02b302db-eafe-45cd-8bde-990caebfa113”})
gui.js:56894 {“stack”:“Error: The writer process ended unexpectedly\n at createError (file:///Applications/balenaEtcher.app/Contents/Resources/app/generated/gui.js:71076:23)\n at createUserError (file:///Applications/balenaEtcher.app/Contents/Resources/app/generated/gui.js:71087:16)\n at Server. (file:///Applications/balenaEtcher.app/Contents/Resources/app/generated/gui.js:87446:28)”,“message”:“The writer process ended unexpectedly”,“description”:“Please try again, and contact the Etcher team if the problem persists”,“report”:false,“image”:“128GB VIRTUALMAN.img”}