kmisterk

Untitled

Nov 4th, 2020
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 57.31 KB | None | 0 0
  1. + initialize
  2. + init_check_clock
  3. + date '+%Y'
  4. + '[' 2020 -lt 1970 ]
  5. + init_mounts
  6. + mount -n -t proc -o nodev,noexec,nosuid proc /proc
  7. + mount -n -t sysfs -o nodev,noexec,nosuid sysfs /sys
  8. + mount -t devtmpfs -o 'mode=0755,nosuid' devtmpfs /dev
  9. + ln -sf /proc/self/fd /dev/fd
  10. + ln -sf fd/0 /dev/stdin
  11. + ln -sf fd/1 /dev/stdout
  12. + ln -sf fd/2 /dev/stderr
  13. + mkdir -p /dev/pts
  14. + mount -n -t devpts -o noexec,nosuid devpts /dev/pts
  15. + mount -n -t debugfs debugfs /sys/kernel/debug
  16. /init: line 511: can't create /dev/console: No such device
  17. + tail -f -n +1 /log/recovery.log
  18. + cat+ /proc/cmdlinesed
  19. -e 's/"[^"]*"/DROPPED/g'
  20. + export_args cros_secure 'console=' 'loglevel=7' 'init=/sbin/init' cros_secure 'drm.trace=0x106' 'root=PARTUUID=1f01a3c9-9396-e24c-9ddd-7c6012269a5c/PARTNROFF=1' rootwait ro 'dm_verity.error_behavior=3' 'dm_verity.max_bios=-1' 'dm_verity.dev_wait=0' noinitrd 'panic=60' cros_recovery 'kern_b_hash=b731bc8e45b5db08a45348d784c6bc33894d411ceb10953ea4278a4e28f2e080' 'vt.global_cursor_default=0' 'kern_guid=1f01a3c9-9396-e24c-9ddd-7c6012269a5c' add_efi_memmap 'boot=local' noresume noswap 'i915.modeset=1' 'nmi_watchdog=panic,lapic'
  21. + local 'arg='
  22. + local 'key='
  23. + local 'val='
  24. + local 'acceptable_set=[A-Za-z0-9]_'
  25. + + tr+ -dctr '[A-Za-z0-9]_' a-z _ A-Z
  26.  
  27. echo cros_secure
  28. + key=CROS_SECURE
  29. + val=cros_secure
  30. + export 'KERN_ARG_CROS_SECURE=cros_secure'
  31. + dlog 'Exporting kernel argument CROS_SECURE as KERN_ARG_CROS_SECURE'
  32. + echo 'Exporting kernel argument CROS_SECURE as KERN_ARG_CROS_SECURE'
  33. + echo console
  34. + tr -dc '[A-Za-z0-9]_' _
  35. + tr a-z A-Z
  36. + key=CONSOLE
  37. + val=
  38. + export 'KERN_ARG_CONSOLE='
  39. + dlog 'Exporting kernel argument CONSOLE as KERN_ARG_CONSOLE'
  40. + echo 'Exporting kernel argument CONSOLE as KERN_ARG_CONSOLE'
  41. + + tr+ -dctr '[A-Za-z0-9]_' a-z _ A-Z
  42.  
  43. echo loglevel
  44. + key=LOGLEVEL
  45. + val=7
  46. + export 'KERN_ARG_LOGLEVEL=7'
  47. + dlog 'Exporting kernel argument LOGLEVEL as KERN_ARG_LOGLEVEL'
  48. + echo 'Exporting kernel argument LOGLEVEL as KERN_ARG_LOGLEVEL'
  49. + echo init
  50. + tr a-z A-Z
  51. + tr -dc '[A-Za-z0-9]_' _
  52. + key=INIT
  53. + val=/sbin/init
  54. + export 'KERN_ARG_INIT=/sbin/init'
  55. + dlog 'Exporting kernel argument INIT as KERN_ARG_INIT'
  56. + echo 'Exporting kernel argument INIT as KERN_ARG_INIT'
  57. + echo cros_secure+ tr+ -dctr '[A-Za-z0-9]_' a-z _ A-Z
  58.  
  59.  
  60. + key=CROS_SECURE
  61. + val=cros_secure
  62. + export 'KERN_ARG_CROS_SECURE=cros_secure'
  63. + dlog 'Exporting kernel argument CROS_SECURE as KERN_ARG_CROS_SECURE'
  64. + echo 'Exporting kernel argument CROS_SECURE as KERN_ARG_CROS_SECURE'
  65. + + trtr -dc a-z '[A-Za-z0-9]_' A-Z _
  66.  
  67. + echo drm.trace
  68. + key=DRMTRACE
  69. + val=0x106
  70. + export 'KERN_ARG_DRMTRACE=0x106'
  71. + dlog 'Exporting kernel argument DRMTRACE as KERN_ARG_DRMTRACE'
  72. + echo 'Exporting kernel argument DRMTRACE as KERN_ARG_DRMTRACE'
  73. + tr+ -dctr '[A-Za-z0-9]_' a-z _ A-Z
  74.  
  75. + echo root
  76. + key=ROOT
  77. + val='PARTUUID=1f01a3c9-9396-e24c-9ddd-7c6012269a5c/PARTNROFF=1'
  78. + export 'KERN_ARG_ROOT=PARTUUID=1f01a3c9-9396-e24c-9ddd-7c6012269a5c/PARTNROFF=1'
  79. + dlog 'Exporting kernel argument ROOT as KERN_ARG_ROOT'
  80. + echo 'Exporting kernel argument ROOT as KERN_ARG_ROOT'
  81. + tr+ -dctr '[A-Za-z0-9]_' a-z _ A-Z
  82.  
  83. + echo rootwait
  84. + key=ROOTWAIT
  85. + val=rootwait
  86. + export 'KERN_ARG_ROOTWAIT=rootwait'
  87. + dlog 'Exporting kernel argument ROOTWAIT as KERN_ARG_ROOTWAIT'
  88. + echo 'Exporting kernel argument ROOTWAIT as KERN_ARG_ROOTWAIT'
  89. + tr+ -dctr '[A-Za-z0-9]_' a-z _ A-Z
  90.  
  91. + echo ro
  92. + key=RO
  93. + val=ro
  94. + export 'KERN_ARG_RO=ro'
  95. + dlog 'Exporting kernel argument RO as KERN_ARG_RO'
  96. + echo 'Exporting kernel argument RO as KERN_ARG_RO'
  97. + tr+ -dctr '[A-Za-z0-9]_' a-z _ A-Z
  98.  
  99. + echo dm_verity.error_behavior
  100. + key=DM_VERITYERROR_BEHAVIOR
  101. + val=3
  102. + export 'KERN_ARG_DM_VERITYERROR_BEHAVIOR=3'
  103. + dlog 'Exporting kernel argument DM_VERITYERROR_BEHAVIOR as KERN_ARG_DM_VERITYERROR_BEHAVIOR'
  104. + echo 'Exporting kernel argument DM_VERITYERROR_BEHAVIOR as KERN_ARG_DM_VERITYERROR_BEHAVIOR'
  105. + tr+ -dctr '[A-Za-z0-9]_' a-z _ A-Z
  106.  
  107. + echo dm_verity.max_bios
  108. + key=DM_VERITYMAX_BIOS
  109. + val=-1
  110. + export 'KERN_ARG_DM_VERITYMAX_BIOS=-1'
  111. + dlog 'Exporting kernel argument DM_VERITYMAX_BIOS as KERN_ARG_DM_VERITYMAX_BIOS'
  112. + echo 'Exporting kernel argument DM_VERITYMAX_BIOS as KERN_ARG_DM_VERITYMAX_BIOS'
  113. + tr+ -dctr '[A-Za-z0-9]_' a-z _ A-Z
  114.  
  115. + echo dm_verity.dev_wait
  116. + key=DM_VERITYDEV_WAIT
  117. + val=0
  118. + export 'KERN_ARG_DM_VERITYDEV_WAIT=0'
  119. + dlog 'Exporting kernel argument DM_VERITYDEV_WAIT as KERN_ARG_DM_VERITYDEV_WAIT'
  120. + echo 'Exporting kernel argument DM_VERITYDEV_WAIT as KERN_ARG_DM_VERITYDEV_WAIT'
  121. + tr+ -dctr '[A-Za-z0-9]_' a-z _ A-Z
  122.  
  123. + echo noinitrd
  124. + key=NOINITRD
  125. + val=noinitrd
  126. + export 'KERN_ARG_NOINITRD=noinitrd'
  127. + dlog 'Exporting kernel argument NOINITRD as KERN_ARG_NOINITRD'
  128. + echo 'Exporting kernel argument NOINITRD as KERN_ARG_NOINITRD'
  129. + tr+ -dctr '[A-Za-z0-9]_' a-z _ A-Z
  130.  
  131. + echo panic
  132. + key=PANIC
  133. + val=60
  134. + export 'KERN_ARG_PANIC=60'
  135. + dlog 'Exporting kernel argument PANIC as KERN_ARG_PANIC'
  136. + echo 'Exporting kernel argument PANIC as KERN_ARG_PANIC'
  137. + tr+ -dctr '[A-Za-z0-9]_' a-z _ A-Z
  138.  
  139. + echo cros_recovery
  140. + key=CROS_RECOVERY
  141. + val=cros_recovery
  142. + export 'KERN_ARG_CROS_RECOVERY=cros_recovery'
  143. + dlog 'Exporting kernel argument CROS_RECOVERY as KERN_ARG_CROS_RECOVERY'
  144. + echo 'Exporting kernel argument CROS_RECOVERY as KERN_ARG_CROS_RECOVERY'
  145. + + trtr a-z -dc A-Z '[A-Za-z0-9]_'
  146. _
  147. + echo kern_b_hash
  148. + key=KERN_B_HASH
  149. + val=b731bc8e45b5db08a45348d784c6bc33894d411ceb10953ea4278a4e28f2e080
  150. + export 'KERN_ARG_KERN_B_HASH=b731bc8e45b5db08a45348d784c6bc33894d411ceb10953ea4278a4e28f2e080'
  151. + dlog 'Exporting kernel argument KERN_B_HASH as KERN_ARG_KERN_B_HASH'
  152. + echo 'Exporting kernel argument KERN_B_HASH as KERN_ARG_KERN_B_HASH'
  153. + tr+ -dctr '[A-Za-z0-9]_' a-z _ A-Z
  154.  
  155. + echo vt.global_cursor_default
  156. + key=VTGLOBAL_CURSOR_DEFAULT
  157. + val=0
  158. + export 'KERN_ARG_VTGLOBAL_CURSOR_DEFAULT=0'
  159. + dlog 'Exporting kernel argument VTGLOBAL_CURSOR_DEFAULT as KERN_ARG_VTGLOBAL_CURSOR_DEFAULT'
  160. + echo 'Exporting kernel argument VTGLOBAL_CURSOR_DEFAULT as KERN_ARG_VTGLOBAL_CURSOR_DEFAULT'
  161. + tr+ -dctr '[A-Za-z0-9]_' a-z _ A-Z
  162.  
  163. + echo kern_guid
  164. + key=KERN_GUID
  165. + val=1f01a3c9-9396-e24c-9ddd-7c6012269a5c
  166. + export 'KERN_ARG_KERN_GUID=1f01a3c9-9396-e24c-9ddd-7c6012269a5c'
  167. + dlog 'Exporting kernel argument KERN_GUID as KERN_ARG_KERN_GUID'
  168. + echo 'Exporting kernel argument KERN_GUID as KERN_ARG_KERN_GUID'
  169. + tr+ -dctr '[A-Za-z0-9]_' a-z _ A-Z
  170.  
  171. + echo add_efi_memmap
  172. + key=ADD_EFI_MEMMAP
  173. + val=add_efi_memmap
  174. + export 'KERN_ARG_ADD_EFI_MEMMAP=add_efi_memmap'
  175. + dlog 'Exporting kernel argument ADD_EFI_MEMMAP as KERN_ARG_ADD_EFI_MEMMAP'
  176. + echo 'Exporting kernel argument ADD_EFI_MEMMAP as KERN_ARG_ADD_EFI_MEMMAP'
  177. + tr+ -dctr '[A-Za-z0-9]_' a-z _ A-Z
  178.  
  179. + echo boot
  180. + key=BOOT
  181. + val=local
  182. + export 'KERN_ARG_BOOT=local'
  183. + dlog 'Exporting kernel argument BOOT as KERN_ARG_BOOT'
  184. + echo 'Exporting kernel argument BOOT as KERN_ARG_BOOT'
  185. + tr+ -dctr '[A-Za-z0-9]_' a-z _ A-Z
  186.  
  187. + echo noresume
  188. + key=NORESUME
  189. + val=noresume
  190. + export 'KERN_ARG_NORESUME=noresume'
  191. + dlog 'Exporting kernel argument NORESUME as KERN_ARG_NORESUME'
  192. + echo 'Exporting kernel argument NORESUME as KERN_ARG_NORESUME'
  193. + tr+ -dctr '[A-Za-z0-9]_' a-z _ A-Z
  194.  
  195. + echo noswap
  196. + key=NOSWAP
  197. + val=noswap
  198. + export 'KERN_ARG_NOSWAP=noswap'
  199. + dlog 'Exporting kernel argument NOSWAP as KERN_ARG_NOSWAP'
  200. + echo 'Exporting kernel argument NOSWAP as KERN_ARG_NOSWAP'
  201. + tr+ -dctr '[A-Za-z0-9]_' a-z _ A-Z
  202.  
  203. + echo i915.modeset
  204. + key=I915MODESET
  205. + val=1
  206. + export 'KERN_ARG_I915MODESET=1'
  207. + dlog 'Exporting kernel argument I915MODESET as KERN_ARG_I915MODESET'
  208. + echo 'Exporting kernel argument I915MODESET as KERN_ARG_I915MODESET'
  209. + tr+ -dctr '[A-Za-z0-9]_' a-z _ A-Z
  210.  
  211. + echo nmi_watchdog
  212. + key=NMI_WATCHDOG
  213. + val=panic,lapic
  214. + export 'KERN_ARG_NMI_WATCHDOG=panic,lapic'
  215. + dlog 'Exporting kernel argument NMI_WATCHDOG as KERN_ARG_NMI_WATCHDOG'
  216. + echo 'Exporting kernel argument NMI_WATCHDOG as KERN_ARG_NMI_WATCHDOG'
  217. + setup_oobe_auto_config_keys
  218. + set +x
  219. + echo '-----BEGIN PUBLIC KEY-----
  220. MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEesVh+E3UBwwOhWK1qZ7sdqFQcaAo
  221. 8Qigpr2GNh0/qSg0keg4BscDPepqBzG2dew2XTkwrcvFmBRszZ6KJa7/mA==
  222. -----END PUBLIC KEY-----'
  223. + + grephead -Eo -n 32 '[a-zA-Z0-9]{2}'
  224.  
  225. + sha256sum
  226. + local 'pub_bytes=d1
  227. 7d
  228. 10
  229. cd
  230. 10
  231. 65
  232. 1c
  233. 03
  234. 3c
  235. d7
  236. c8
  237. 6d
  238. 67
  239. d7
  240. 14
  241. 46
  242. 37
  243. b9
  244. c5
  245. c2
  246. 94
  247. d5
  248. c4
  249. f5
  250. 4f
  251. 9e
  252. cd
  253. 20
  254. e5
  255. 3f
  256. 08
  257. 63'
  258. + local 'permissions='
  259. + tpmc tpmver
  260. + '[' 1.2 '==' 2.0 ]
  261. + permissions=0x1
  262. + tpmc definespace 0x100c 0x20 0x1
  263. + tpmc write 0x100c d1 7d 10 cd 10 65 1c 03 3c d7 c8 6d 67 d7 14 46 37 b9 c5 c2 94 d5 c4 f5 4f 9e cd 20 e5 3f 08 63
  264. writing 32 bytes
  265. + lock_tpm
  266. + '[' -z ]
  267. + tpmc startup
  268. + tpmc ctest
  269. + tpmc block
  270. + TPM_B_LOCKED=y
  271. + '[' -z ]
  272. + TPM_PP_LOCKED=y
  273. + return 0
  274. + verify_fw_version
  275. + local fwver recver
  276. + crossystem tpm_fwver
  277. + fwver=0x00010002
  278. + : 0
  279. + echo 'FW version from TPM: 0x00010002'
  280. FW version from TPM: 0x00010002
  281. + echo 'Recovery version from top nibble: 0'
  282. Recovery version from top nibble: 0
  283. + '[' 0 -gt 0 ]
  284. + return 0
  285. + select_locale
  286. + is_nonchrome
  287. + crossystem 'mainfw_type?nonchrome'
  288. + crossystem 'mainfw_type?netboot'
  289. + read_vpd_locale
  290. + vpd -g region
  291. [WARN] VPD partition not formatted. It's fine.
  292. findString(): Vpd data 'region' was not found.
  293. + local 'region='
  294. + local 'locale='
  295. + '[' -n ]
  296. + + vpdsed -g 's/,.*//' initial_locale
  297.  
  298. [WARN] VPD partition not formatted. It's fine.
  299. findString(): Vpd data 'initial_locale' was not found.
  300. + LANGDIR=
  301. + '[' -z -o '!' -d /etc/screens/ ]
  302. + dlog 'initial locale '"''"' not found'
  303. + echo 'initial locale '"''"' not found'
  304. + LANGDIR=en-US
  305. + dlog 'selected locale en-US'
  306. + echo 'selected locale en-US'
  307. + message recovery_in_progress
  308. + '[' -z ]
  309. + FIRST_MESSAGE_RECEIVED=1
  310. + message_startup
  311. + frecon-lite --print-resolution
  312. <3>frecon[256]: Failed to set atomic cap.
  313. <6>frecon[256]: Frecon using drm driver i915, version 1.6, date(20160411), desc(Intel Graphics)
  314. + local 'resolution=1366 768'
  315. + local 'x_res=1366'
  316. + '[' 1366 -ge 1920 ]
  317. + FRECON_SCALING_FACTOR=1
  318. + frecon-lite --enable-vt1 --daemon --no-login --enable-gfx --enable-vts '--scale=1' --clear 0xfefefe --pre-create-vts /etc/screens/boot_message.png
  319. + TTY_CONSOLE=/run/frecon/vt0
  320. + TTY_LOG=/run/frecon/vt1
  321. + TTY_DEBUG=/run/frecon/vt2
  322. + message_recovery_in_progress
  323. /init: line 59: message_recovery_in_progress: not found
  324. + find_official_root
  325. + dlogf 'Checking for an official recovery image . . .'
  326. + printf 'Checking for an official recovery image . . .'
  327. + wait_for_gpt_root
  328. + '[' -z 1f01a3c9-9396-e24c-9ddd-7c6012269a5c ]
  329. + '[' -n ]
  330. + dlog -n 'Looking for rootfs using kern_guid...'
  331. + echo -n 'Looking for rootfs using kern_guid...'
  332. + local 'try=0'
  333. + '[' 1 -lt 600 ]
  334. + dlogf ' .'
  335. + printf ' .'
  336. + cgpt find -1 -u 1f01a3c9-9396-e24c-9ddd-7c6012269a5c
  337. + tail -f -n +1 /log/recovery.log
  338. + kern=/dev/sda2
  339. + newroot=/dev/sda3
  340. + '[' -b /dev/sda3 ]
  341. + USB_DEV=/dev/sda3
  342. + dlog 'Found /dev/sda3'
  343. + echo 'Found /dev/sda3'
  344. + return 0
  345. + strip_partition /dev/sda3
  346. + local 'dev=/dev/sda'
  347. + echo /dev/sda
  348. + cgpt find -t rootfs /dev/sda
  349. /dev/sda3
  350. /dev/sda5
  351. /dev/sda7
  352. + REAL_USB_DEV=/dev/sda3
  353. + LOG_DEV=/dev/sda1
  354. + verify_install_kernel_hash
  355. + init_kern_b_cache
  356. + '[' -e /tmp/kern_b_cache.bin ]
  357. + local 'dev=/dev/sda4'
  358. + '[' '!' -b /dev/sda4 ]
  359. + dd 'if=/dev/sda4' 'of=/tmp/kern_b_cache.bin'
  360. 32768+0 records in
  361. 32768+0 records out
  362. 16777216 bytes (16.0MB) copied, 0.690957 seconds, 23.2MB/s
  363. + return 0
  364. + get_real_kern_b_hash
  365. + sha256sum+ /tmp/kern_b_cache.bincut
  366. -f1 '-d '
  367. + REAL_KERN_B_HASH=b731bc8e45b5db08a45348d784c6bc33894d411ceb10953ea4278a4e28f2e080
  368. + '[' -n b731bc8e45b5db08a45348d784c6bc33894d411ceb10953ea4278a4e28f2e080 ]
  369. + '[' b731bc8e45b5db08a45348d784c6bc33894d411ceb10953ea4278a4e28f2e080 '!=' b731bc8e45b5db08a45348d784c6bc33894d411ceb10953ea4278a4e28f2e080 ]
  370. + return 0
  371. + check_if_dm_root
  372. + dump_kernel_config+ /tmp/kern_b_cache.bin
  373. grep -q 'root=/dev/dm-'
  374. + return 0
  375. + setup_dm_root
  376. + local eio
  377. + dlog -n 'Extracting the device mapper configuration...'
  378. + echo -n 'Extracting the device mapper configuration...'
  379. + sed+ -esed 's/%U/1f01a3c9-9396-e24c-9ddd-7c6012269a5c/g' -e
  380. 's/.*dm="\([^"]*\)".*/\1/g;t;d'
  381. + dump_kernel_config /tmp/kern_b_cache.bin
  382. + DMARG='1 vroot none ro 1,0 4077568 verity payload=PARTUUID=1f01a3c9-9396-e24c-9ddd-7c6012269a5c/PARTNROFF=1 hashtree=PARTUUID=1f01a3c9-9396-e24c-9ddd-7c6012269a5c/PARTNROFF=1 hashstart=4077568 alg=sha256 root_hexdigest=5331b2293c99a3baac595278582eacd147b3370a5311cc62b1a2f747af5301cf salt=e1c8203c7363fd34af5cf2128cb679859d901f5b2547b35e9087c3a5272962a4'
  383. + '[' -z '1 vroot none ro 1,0 4077568 verity payload=PARTUUID=1f01a3c9-9396-e24c-9ddd-7c6012269a5c/PARTNROFF=1 hashtree=PARTUUID=1f01a3c9-9396-e24c-9ddd-7c6012269a5c/PARTNROFF=1 hashstart=4077568 alg=sha256 root_hexdigest=5331b2293c99a3baac595278582eacd147b3370a5311cc62b1a2f747af5301cf salt=e1c8203c7363fd34af5cf2128cb679859d901f5b2547b35e9087c3a5272962a4' ]
  384. + DM_NAME=vroot
  385. + parse_dm_table 1 vroot none ro 1,0 4077568 verity 'payload=PARTUUID=1f01a3c9-9396-e24c-9ddd-7c6012269a5c/PARTNROFF=1' 'hashtree=PARTUUID=1f01a3c9-9396-e24c-9ddd-7c6012269a5c/PARTNROFF=1' 'hashstart=4077568' 'alg=sha256' 'root_hexdigest=5331b2293c99a3baac595278582eacd147b3370a5311cc62b1a2f747af5301cf' 'salt=e1c8203c7363fd34af5cf2128cb679859d901f5b2547b35e9087c3a5272962a4'
  386. + local 'vroot= none ro 1,0 4077568 verity payload=PARTUUID=1f01a3c9-9396-e24c-9ddd-7c6012269a5c/PARTNROFF=1 hashtree=PARTUUID=1f01a3c9-9396-e24c-9ddd-7c6012269a5c/PARTNROFF=1 hashstart=4077568 alg=sha256 root_hexdigest=5331b2293c99a3baac595278582eacd147b3370a5311cc62b1a2f747af5301cf salt=e1c8203c7363fd34af5cf2128cb679859d901f5b2547b35e9087c3a5272962a4'
  387. + local 'table=0 4077568 verity payload=PARTUUID=1f01a3c9-9396-e24c-9ddd-7c6012269a5c/PARTNROFF=1 hashtree=PARTUUID=1f01a3c9-9396-e24c-9ddd-7c6012269a5c/PARTNROFF=1 hashstart=4077568 alg=sha256 root_hexdigest=5331b2293c99a3baac595278582eacd147b3370a5311cc62b1a2f747af5301cf salt=e1c8203c7363fd34af5cf2128cb679859d901f5b2547b35e9087c3a5272962a4'
  388. + is_old_style_verity_argv '0 4077568 verity payload=PARTUUID=1f01a3c9-9396-e24c-9ddd-7c6012269a5c/PARTNROFF=1 hashtree=PARTUUID=1f01a3c9-9396-e24c-9ddd-7c6012269a5c/PARTNROFF=1 hashstart=4077568 alg=sha256 root_hexdigest=5331b2293c99a3baac595278582eacd147b3370a5311cc62b1a2f747af5301cf salt=e1c8203c7363fd34af5cf2128cb679859d901f5b2547b35e9087c3a5272962a4'
  389. + echo '0 4077568 verity payload=PARTUUID=1f01a3c9-9396-e24c-9ddd-7c6012269a5c/PARTNROFF=1 hashtree=PARTUUID=1f01a3c9-9396-e24c-9ddd-7c6012269a5c/PARTNROFF=1 hashstart=4077568 alg=sha256 root_hexdigest=5331b2293c99a3baac595278582eacd147b3370a5311cc62b1a2f747af5301cf salt=e1c8203c7363fd34af5cf2128cb679859d901f5b2547b35e9087c3a5272962a4'+
  390. cut -f7 '-d '
  391. + local 'depth=alg=sha256'
  392. + '[' 'alg=sha256' '=' 0 ]
  393. + return 1
  394. + local 'eio=error_behavior=eio'
  395. + echo '0 4077568 verity payload=PARTUUID=1f01a3c9-9396-e24c-9ddd-7c6012269a5c/PARTNROFF=1 hashtree=PARTUUID=1f01a3c9-9396-e24c-9ddd-7c6012269a5c/PARTNROFF=1 hashstart=4077568 alg=sha256 root_hexdigest=5331b2293c99a3baac595278582eacd147b3370a5311cc62b1a2f747af5301cf salt=e1c8203c7363fd34af5cf2128cb679859d901f5b2547b35e9087c3a5272962a4 error_behavior=eio'
  396. + DM_TABLE='0 4077568 verity payload=PARTUUID=1f01a3c9-9396-e24c-9ddd-7c6012269a5c/PARTNROFF=1 hashtree=PARTUUID=1f01a3c9-9396-e24c-9ddd-7c6012269a5c/PARTNROFF=1 hashstart=4077568 alg=sha256 root_hexdigest=5331b2293c99a3baac595278582eacd147b3370a5311cc62b1a2f747af5301cf salt=e1c8203c7363fd34af5cf2128cb679859d901f5b2547b35e9087c3a5272962a4 error_behavior=eio'
  397. + '[' -n 1f01a3c9-9396-e24c-9ddd-7c6012269a5c ]
  398. + '[' '0 4077568 verity payload=PARTUUID=1f01a3c9-9396-e24c-9ddd-7c6012269a5c/PARTNROFF=1 hashtree=PARTUUID=' '=' '0 4077568 verity payload=PARTUUID=1f01a3c9-9396-e24c-9ddd-7c6012269a5c/PARTNROFF=1 hashtree=PARTUUID=1f01a3c9-9396-e24c-9ddd-7c6012269a5c/PARTNROFF=1 hashstart=4077568 alg=sha256 root_hexdigest=5331b2293c99a3baac595278582eacd147b3370a5311cc62b1a2f747af5301cf salt=e1c8203c7363fd34af5cf2128cb679859d901f5b2547b35e9087c3a5272962a4 error_behavior=eio' ]
  399. + dmsetup create -r vroot --table '0 4077568 verity payload=PARTUUID=1f01a3c9-9396-e24c-9ddd-7c6012269a5c/PARTNROFF=1 hashtree=PARTUUID=1f01a3c9-9396-e24c-9ddd-7c6012269a5c/PARTNROFF=1 hashstart=4077568 alg=sha256 root_hexdigest=5331b2293c99a3baac595278582eacd147b3370a5311cc62b1a2f747af5301cf salt=e1c8203c7363fd34af5cf2128cb679859d901f5b2547b35e9087c3a5272962a4 error_behavior=eio'
  400. + USB_DEV=/dev/dm-0
  401. + '[' '!' -b /dev/dm-0 ]
  402. + dlog 'Created device mapper root vroot.'
  403. + echo 'Created device mapper root vroot.'
  404. + return 0
  405. + mount_usb
  406. + dlog -n 'Mounting usb'
  407. + echo -n 'Mounting usb'
  408. + seq 20
  409. + dlogf ' .'
  410. + printf ' .'
  411. + mount -n -o ro /dev/dm-0 /usb
  412. + dlog ok
  413. + echo ok
  414. + return 0
  415. + return 0
  416. + get_stateful_dev
  417. + STATE_DEV=/dev/sda1
  418. + '[' '!' -b /dev/sda1 ]
  419. + return 0
  420. + request_oobe_autoconfig_acknowledgment
  421. + is_oobe_autoconfig
  422. + local 'has_config=1'
  423. + get_stateful_dev
  424. + STATE_DEV=/dev/sda1
  425. + '[' '!' -b /dev/sda1 ]
  426. + return 0
  427. + mount -n -o sync,ro /dev/sda1 /stateful
  428. + local 'oobe_dir=/stateful/unencrypted/oobe_auto_config'
  429. + local 'config_path=/stateful/unencrypted/oobe_auto_config/config.json'
  430. + '[' -f /stateful/unencrypted/oobe_auto_config/config.json ]
  431. + local 'domain_path=/stateful/unencrypted/oobe_auto_config/enrollment_domain'
  432. + '[' -f /stateful/unencrypted/oobe_auto_config/enrollment_domain ]
  433. + umount /stateful
  434. + return 1
  435. + return
  436. + message validate
  437. + '[' -z 1 ]
  438. + message_validate
  439. + instructions cancel
  440. + showbox -115 cancel
  441. + local 'offset=0,-115'
  442. + shift
  443. + local 'message_token=cancel'
  444. + shift
  445. + local 'message_file=/etc/screens/en-US/cancel.png'
  446. + '[' '!' -f /etc/screens/en-US/cancel.png ]
  447. + showimage /etc/screens/en-US/cancel.png 0,-115
  448. + local 'image=/etc/screens/en-US/cancel.png'
  449. + local 'offset=0,-115'
  450. + shift
  451. + shift
  452. + printf '\033]image:file=%s;offset=%s;scale=%d\033\' /etc/screens/en-US/cancel.png 0,-115 1
  453. + progress validating
  454. + showbox 0 validating
  455. + local 'offset=0,0'
  456. + shift
  457. + local 'message_token=validating'
  458. + shift
  459. + local 'message_file=/etc/screens/en-US/validating.png'
  460. + '[' '!' -f /etc/screens/en-US/validating.png ]
  461. + showimage /etc/screens/en-US/validating.png 0,0
  462. + local 'image=/etc/screens/en-US/validating.png'
  463. + local 'offset=0,0'
  464. + shift
  465. + shift
  466. + printf '\033]image:file=%s;offset=%s;scale=%d\033\' /etc/screens/en-US/validating.png 0,0 1
  467. + is_nonchrome
  468. + crossystem 'mainfw_type?nonchrome'
  469. + crossystem 'mainfw_type?netboot'
  470. + is_developer_mode
  471. + is_nonchrome
  472. + crossystem 'mainfw_type?nonchrome'
  473. + crossystem 'mainfw_type?netboot'
  474. + crossystem 'devsw_boot?1'
  475. + dev_notice empty
  476. + showbox 115 empty
  477. + local 'offset=0,115'
  478. + shift
  479. + local 'message_token=empty'
  480. + shift
  481. + local 'message_file=/etc/screens/en-US/empty.png'
  482. + '[' '!' -f /etc/screens/en-US/empty.png ]
  483. + showimage /etc/screens/en-US/empty.png 0,115
  484. + local 'image=/etc/screens/en-US/empty.png'
  485. + local 'offset=0,115'
  486. + shift
  487. + shift
  488. + printf '\033]image:file=%s;offset=%s;scale=%d\033\' /etc/screens/en-US/empty.png 0,115 1
  489. + set_brightness
  490. + local 'backlight_device='
  491. + local 'brightness='
  492. + local 'i='
  493. + seq 1 5
  494. + echo 0
  495. + cat /sys/class/backlight/intel_backlight/max_brightness
  496. + brightness=7812
  497. + echo 7812
  498. + cat /sys/class/backlight/intel_backlight/actual_brightness
  499. + '[' 7812 '=' 7812 ]
  500. + break
  501. + recovery_install
  502. + NEWROOT_MNT=/usb
  503. + lock_tpm
  504. + '[' -z y ]
  505. + '[' -z y ]
  506. + return 0
  507. + maybe_get_debugging_logs
  508. + get_usb_debugging_flag
  509. + local 'decrypt='
  510. + get_stateful_dev
  511. + STATE_DEV=/dev/sda1
  512. + '[' '!' -b /dev/sda1 ]
  513. + return 0
  514. + mount -n -o sync,ro /dev/sda1 /tmp
  515. + '[' -f /tmp/decrypt_stateful ]
  516. + umount /tmp
  517. + echo
  518. + local 'state='
  519. + '[' -z ]
  520. + return 0
  521. + is_dev_channel
  522. + sed -n 's/^CHROMEOS_RELEASE_TRACK=//p' /usb/etc/lsb-release
  523. + local 'channel=stable-channel'
  524. + test stable-channel '=' dev-channel -o stable-channel '=' testimage-channel -o stable-channel '=' canary-channel
  525. + validate_recovery_root
  526. + '[' /dev/dm-0 '!=' /dev/dm-0 ]
  527. + is_unofficial_root
  528. + '[' 0 -eq 1 ]
  529. + verify_recovery_root
  530. + basename /dev/dm-0
  531. + local 'usb_base=dm-0'
  532. + cat /sys/block/dm-0/size
  533. + local 'size=2087714816'
  534. + set +x
  535. + cat /tmp/verification_status
  536. + '[' 0 '!=' 0 ]
  537. + return 0
  538. + return 0
  539. + setup_install_mounts
  540. + mount -t tmpfs -o 'mode=1777' none /usb/tmp
  541. + mount -t tmpfs -o 'mode=0755' run /usb/run
  542. + mkdir -p -m 0755 /usb/run/lock
  543. + dlog 'Re-binding /sys /proc /dev for /usb'
  544. + echo 'Re-binding /sys /proc /dev for /usb'
  545. + mkdir -p /usb/sys
  546. + mount -n -o bind /sys /usb/sys
  547. + mkdir -p /usb/proc
  548. + mount -n -o bind /proc /usb/proc
  549. + mkdir -p /usb/dev
  550. + mount -n -o bind /dev /usb/dev
  551. + dlog Done.
  552. + echo Done.
  553. + return 0
  554. + update_tpm_firmware
  555. + tpm_firmware_update_applicable
  556. + is_unofficial_root
  557. + '[' 0 -eq 1 ]
  558. + '[' -x /usb/usr/sbin/tpm-firmware-updater ]
  559. + '[' -n ]
  560. + vpd -i RW_VPD -g tpm_firmware_update_params
  561. findString(): Vpd data 'tpm_firmware_update_params' was not found.
  562. + local 'vpd_params='
  563. + echo+ ,,
  564. grep -qF ,mode:recovery,
  565. + return 1
  566. + return 0
  567. + '[' -z ]
  568. + get_dst
  569. + load_base_vars
  570. + DEFAULT_ROOTDEV=/sys/devices/platform/80860F14:00/mmc_host/mmc0/mmc0:0001/block/mmcblk0
  571. + PARTITION_SIZE_RWFW=8388608
  572. + RESERVED_EBS_RWFW=0
  573. + DATA_SIZE_RWFW=8388608
  574. + FORMAT_RWFW=
  575. + FS_FORMAT_RWFW=
  576. + FS_OPTIONS_RWFW=
  577. + PARTITION_NUM_RWFW=11
  578. + PARTITION_SIZE_11=8388608
  579. + RESERVED_EBS_11=0
  580. + DATA_SIZE_11=8388608
  581. + FORMAT_11=
  582. + FS_FORMAT_11=
  583. + FS_OPTIONS_11=
  584. + PARTITION_NUM_11=11
  585. + PARTITION_SIZE_KERN_C=1
  586. + RESERVED_EBS_KERN_C=0
  587. + DATA_SIZE_KERN_C=1
  588. + FORMAT_KERN_C=
  589. + FS_FORMAT_KERN_C=
  590. + FS_OPTIONS_KERN_C=
  591. + PARTITION_NUM_KERN_C=6
  592. + PARTITION_SIZE_6=1
  593. + RESERVED_EBS_6=0
  594. + DATA_SIZE_6=1
  595. + FORMAT_6=
  596. + FS_FORMAT_6=
  597. + FS_OPTIONS_6=
  598. + PARTITION_NUM_6=6
  599. + PARTITION_SIZE_ROOT_C=1
  600. + RESERVED_EBS_ROOT_C=0
  601. + DATA_SIZE_ROOT_C=1
  602. + FORMAT_ROOT_C=
  603. + FS_FORMAT_ROOT_C=
  604. + FS_OPTIONS_ROOT_C=
  605. + PARTITION_NUM_ROOT_C=7
  606. + PARTITION_SIZE_7=1
  607. + RESERVED_EBS_7=0
  608. + DATA_SIZE_7=1
  609. + FORMAT_7=
  610. + FS_FORMAT_7=
  611. + FS_OPTIONS_7=
  612. + PARTITION_NUM_7=7
  613. + PARTITION_SIZE_RESERVED=1
  614. + RESERVED_EBS_RESERVED=0
  615. + DATA_SIZE_RESERVED=1
  616. + FORMAT_RESERVED=
  617. + FS_FORMAT_RESERVED=
  618. + FS_OPTIONS_RESERVED=
  619. + PARTITION_NUM_RESERVED=9
  620. + PARTITION_SIZE_9=1
  621. + RESERVED_EBS_9=0
  622. + DATA_SIZE_9=1
  623. + FORMAT_9=
  624. + FS_FORMAT_9=
  625. + FS_OPTIONS_9=
  626. + PARTITION_NUM_9=9
  627. + PARTITION_SIZE_RESERVED=1
  628. + RESERVED_EBS_RESERVED=0
  629. + DATA_SIZE_RESERVED=1
  630. + FORMAT_RESERVED=
  631. + FS_FORMAT_RESERVED=
  632. + FS_OPTIONS_RESERVED=
  633. + PARTITION_NUM_RESERVED=10
  634. + PARTITION_SIZE_10=1
  635. + RESERVED_EBS_10=0
  636. + DATA_SIZE_10=1
  637. + FORMAT_10=
  638. + FS_FORMAT_10=
  639. + FS_OPTIONS_10=
  640. + PARTITION_NUM_10=10
  641. + PARTITION_SIZE_KERN_A=16777216
  642. + RESERVED_EBS_KERN_A=0
  643. + DATA_SIZE_KERN_A=16777216
  644. + FORMAT_KERN_A=
  645. + FS_FORMAT_KERN_A=
  646. + FS_OPTIONS_KERN_A=
  647. + PARTITION_NUM_KERN_A=2
  648. + PARTITION_SIZE_2=16777216
  649. + RESERVED_EBS_2=0
  650. + DATA_SIZE_2=16777216
  651. + FORMAT_2=
  652. + FS_FORMAT_2=
  653. + FS_OPTIONS_2=
  654. + PARTITION_NUM_2=2
  655. + PARTITION_SIZE_KERN_B=16777216
  656. + RESERVED_EBS_KERN_B=0
  657. + DATA_SIZE_KERN_B=16777216
  658. + FORMAT_KERN_B=
  659. + FS_FORMAT_KERN_B=
  660. + FS_OPTIONS_KERN_B=
  661. + PARTITION_NUM_KERN_B=4
  662. + PARTITION_SIZE_4=16777216
  663. + RESERVED_EBS_4=0
  664. + DATA_SIZE_4=16777216
  665. + FORMAT_4=
  666. + FS_FORMAT_4=
  667. + FS_OPTIONS_4=
  668. + PARTITION_NUM_4=4
  669. + PARTITION_SIZE_OEM=16777216
  670. + RESERVED_EBS_OEM=0
  671. + DATA_SIZE_OEM=16777216
  672. + FORMAT_OEM=
  673. + FS_FORMAT_OEM=ext4
  674. + FS_OPTIONS_OEM=
  675. + PARTITION_NUM_OEM=8
  676. + PARTITION_SIZE_8=16777216
  677. + RESERVED_EBS_8=0
  678. + DATA_SIZE_8=16777216
  679. + FORMAT_8=
  680. + FS_FORMAT_8=ext4
  681. + FS_OPTIONS_8=
  682. + PARTITION_NUM_8=8
  683. + PARTITION_SIZE_EFI_SYSTEM=33554432
  684. + RESERVED_EBS_EFI_SYSTEM=0
  685. + DATA_SIZE_EFI_SYSTEM=33554432
  686. + FORMAT_EFI_SYSTEM=
  687. + FS_FORMAT_EFI_SYSTEM=vfat
  688. + FS_OPTIONS_EFI_SYSTEM=
  689. + PARTITION_NUM_EFI_SYSTEM=12
  690. + PARTITION_SIZE_12=33554432
  691. + RESERVED_EBS_12=0
  692. + DATA_SIZE_12=33554432
  693. + FORMAT_12=
  694. + FS_FORMAT_12=vfat
  695. + FS_OPTIONS_12=
  696. + PARTITION_NUM_12=12
  697. + PARTITION_SIZE_ROOT_B=2147483648
  698. + RESERVED_EBS_ROOT_B=0
  699. + DATA_SIZE_ROOT_B=2147483648
  700. + FORMAT_ROOT_B=
  701. + FS_FORMAT_ROOT_B=
  702. + FS_OPTIONS_ROOT_B=
  703. + PARTITION_NUM_ROOT_B=5
  704. + PARTITION_SIZE_5=2147483648
  705. + RESERVED_EBS_5=0
  706. + DATA_SIZE_5=2147483648
  707. + FORMAT_5=
  708. + FS_FORMAT_5=
  709. + FS_OPTIONS_5=
  710. + PARTITION_NUM_5=5
  711. + PARTITION_SIZE_ROOT_A=2147483648
  712. + RESERVED_EBS_ROOT_A=0
  713. + DATA_SIZE_ROOT_A=2087714816
  714. + FORMAT_ROOT_A=
  715. + FS_FORMAT_ROOT_A=ext2
  716. + FS_OPTIONS_ROOT_A=
  717. + PARTITION_NUM_ROOT_A=3
  718. + PARTITION_SIZE_3=2147483648
  719. + RESERVED_EBS_3=0
  720. + DATA_SIZE_3=2087714816
  721. + FORMAT_3=
  722. + FS_FORMAT_3=ext2
  723. + FS_OPTIONS_3=
  724. + PARTITION_NUM_3=3
  725. + PARTITION_SIZE_STATE=3221225472
  726. + RESERVED_EBS_STATE=0
  727. + DATA_SIZE_STATE=3221225472
  728. + FORMAT_STATE=
  729. + FS_FORMAT_STATE=ext4
  730. + FS_OPTIONS_STATE=
  731. + PARTITION_NUM_STATE=1
  732. + PARTITION_SIZE_1=3221225472
  733. + RESERVED_EBS_1=0
  734. + DATA_SIZE_1=3221225472
  735. + FORMAT_1=
  736. + FS_FORMAT_1=ext4
  737. + FS_OPTIONS_1=
  738. + PARTITION_NUM_1=1
  739. + get_fixed_dst_drive
  740. + local dev rootdev
  741. + '[' -n /sys/devices/platform/80860F14:00/mmc_host/mmc0/mmc0:0001/block/mmcblk0 ]
  742. + basename /sys/devices/platform/80860F14:00/mmc_host/mmc0/mmc0:0001/block/mmcblk0
  743. + dev=/dev/mmcblk0
  744. + '[' -b /dev/mmcblk0 ]
  745. + break
  746. + echo /dev/mmcblk0
  747. + DST=/dev/mmcblk0
  748. + '[' -z /dev/mmcblk0 ]
  749. + '[' /dev/mmcblk '=' /dev/mmcblk0 ]
  750. + DST_DEV_BASE=/dev/mmcblk0p
  751. + local 'src_dev_base=/dev/sda'
  752. + '[' /dev/sda '=' /dev/mmcblk0p ]
  753. + SRC_DEV_BASE=/dev/sda
  754. + recover_system
  755. + strip_partition /dev/sda3
  756. + local 'dev=/dev/sda'
  757. + echo /dev/sda
  758. + local 'source=/dev/sda'
  759. + dlog 'Beginning system recovery from /dev/sda'
  760. + echo 'Beginning system recovery from /dev/sda'
  761. + verify_install_kernel
  762. + '[' b731bc8e45b5db08a45348d784c6bc33894d411ceb10953ea4278a4e28f2e080 '!=' b731bc8e45b5db08a45348d784c6bc33894d411ceb10953ea4278a4e28f2e080 ]
  763. + dlog 'Checking the install kernel for valid versions and signature . . .'
  764. + echo 'Checking the install kernel for valid versions and signature . . .'
  765. + verify_kernel_version /tmp/kern_b_cache.bin
  766. + local 'kern_dev=/tmp/kern_b_cache.bin'
  767. + local 'minversion=0x10001'
  768. + crossystem tpm_kernver
  769. + minversion=0x00020001
  770. + dlog 'Rollback version stored in the TPM: 0x00020001'
  771. + echo 'Rollback version stored in the TPM: 0x00020001'
  772. + vbutil_kernel --verify /tmp/kern_b_cache.bin --minversion 0x00020001
  773. Keyblock:
  774. Signature: ignored
  775. Size: 0x4b8
  776. Flags: 7 !DEV DEV !REC
  777. Data key algorithm: 4 RSA2048 SHA256
  778. Data key version: 2
  779. Data key sha1sum: dff782a1e50e95f42b29a46f3cba5371a72b9399
  780. Preamble:
  781. Size: 0xfb48
  782. Header version: 2.2
  783. Kernel version: 1
  784. Body load address: 0x100000
  785. Body size: 0x68b000
  786. Bootloader address: 0x783000
  787. Bootloader size: 0x4000
  788. Vmlinuz header address: 0x787000
  789. Vmlinuz header size: 0x3c00
  790. Flags : 0
  791. Body verification succeeded.
  792. Config:
  793. console= loglevel=7 init=/sbin/init cros_secure drm.trace=0x106 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 4077568 verity payload=PARTUUID=%U/PARTNROFF=1 hashtree=PARTUUID=%U/PARTNROFF=1 hashstart=4077568 alg=sha256 root_hexdigest=5331b2293c99a3baac595278582eacd147b3370a5311cc62b1a2f747af5301cf salt=e1c8203c7363fd34af5cf2128cb679859d901f5b2547b35e9087c3a5272962a4" noinitrd vt.global_cursor_default=0 kern_guid=%U add_efi_memmap boot=local noresume noswap i915.modeset=1 nmi_watchdog=panic,lapic
  794. + return 0
  795. + return 0
  796. + clear_tpm
  797. + dlogf 'Resetting security device . . .'
  798. + printf 'Resetting security device . . .'
  799. + tpmc ppon
  800. + tpmc clear
  801. + tpmc enable
  802. + tpmc activate
  803. + clobber_lockbox_space
  804. + local 'ppwrite_permission=0x1'
  805. + local 'temporary_lockbox_size=1'
  806. + tpmc def 0x20000004 1 0x1
  807. + tpmc pplock
  808. + dlog ' done.'
  809. + echo ' done.'
  810. + return 0
  811. + verify_rw_vpd
  812. + mktemp /tmp/rw_vpd.XXXXXX
  813. + local 'tmpfile=/tmp/rw_vpd.EXBf9d'
  814. + local 'rc=0'
  815. + dlog 'Verifying RW_VPD'
  816. + echo 'Verifying RW_VPD'
  817. + ls -1A /sys/firmware/vpd/rw
  818. ls: /sys/firmware/vpd/rw: No such file or directory
  819. + grep -q .
  820. + '[' 1 -eq 0 ]
  821. + flashrom -p host -i RW_VPD:/tmp/rw_vpd.EXBf9d -r
  822. flashrom 0.9.9 : 00f8a8f3 : Aug 19 2020 08:32:20 UTC on Linux 4.4.232-19103-g45c370e0810f (x86_64)
  823. flashrom is free software, get the source code at https://flashrom.org
  824.  
  825. on Linux 4.4.232-19103-g45c370e0810f (x86_64)Calibrating delay loop... OK.
  826. coreboot table found at 0x7ae6e000.
  827. dmidecode execution unsuccessful - continuing without DMI info
  828. Found chipset "Intel Bay Trail".
  829. Enabling flash write... SPI Configuration is locked down.
  830. FREG0: Flash Descriptor region (0x00000000-0x00000fff) is read-only.
  831. FREG2: Management Engine region (0x00001000-0x001fffff) is locked.
  832. Not all flash regions are freely accessible by flashrom. This is most likely
  833. due to an active ME. Please see https://flashrom.org/ME for details.
  834. At least some flash regions are read protected. You have to use a flash
  835. layout and include only accessible regions. For write operations, you'll
  836. additionally need the --noverify-all switch. See manpage for more details.
  837. OK.
  838. Reading flash... SUCCESS
  839. + '[' 0 -ne 0 ]
  840. + rm -f /tmp/rw_vpd.EXBf9d
  841. + vpd -i RW_VPD -l
  842. "block_devmode"="0"
  843. "check_enrollment"="0"
  844. + rc=0
  845. + dlog 'Successfully read VPD from RW_VPD.'
  846. + echo 'Successfully read VPD from RW_VPD.'
  847. + return 0
  848. + local 'extra_flags='
  849. + '[' -n ]
  850. + sleep 2
  851. + is_dev_channel
  852. + sed -n 's/^CHROMEOS_RELEASE_TRACK=//p' /usb/etc/lsb-release
  853. + local 'channel=stable-channel'
  854. + test stable-channel '=' dev-channel -o stable-channel '=' testimage-channel -o stable-channel '=' canary-channel
  855. + message recovery_start
  856. + '[' -z 1 ]
  857. + message_recovery_start
  858. + instructions recovering
  859. + showbox -115 recovering
  860. + local 'offset=0,-115'
  861. + shift
  862. + local 'message_token=recovering'
  863. + shift
  864. + local 'message_file=/etc/screens/en-US/recovering.png'
  865. + '[' '!' -f /etc/screens/en-US/recovering.png ]
  866. + showimage /etc/screens/en-US/recovering.png 0,-115
  867. + local 'image=/etc/screens/en-US/recovering.png'
  868. + local 'offset=0,-115'
  869. + shift
  870. + shift
  871. + printf '\033]image:file=%s;offset=%s;scale=%d\033\' /etc/screens/en-US/recovering.png 0,-115 1
  872. + progress empty
  873. + showbox 0 empty
  874. + local 'offset=0,0'
  875. + shift
  876. + local 'message_token=empty'
  877. + shift
  878. + local 'message_file=/etc/screens/en-US/empty.png'
  879. + '[' '!' -f /etc/screens/en-US/empty.png ]
  880. + showimage /etc/screens/en-US/empty.png 0,0
  881. + local 'image=/etc/screens/en-US/empty.png'
  882. + local 'offset=0,0'
  883. + shift
  884. + shift
  885. + printf '\033]image:file=%s;offset=%s;scale=%d\033\' /etc/screens/en-US/empty.png 0,0 1
  886. + SPINNER_PID=354
  887. + call_image_recovery_script /dev/sda
  888. + dlog 'Installing software; this will take some time.'
  889. + echo 'Installing software; this will take some time.'
  890. + dlog 'See the debug log on VT3 for the full output.'
  891. + echo 'See the debug log on VT3 for the full output.'
  892. + echo 1
  893. + chroot /usb /usr/sbin/chromeos-recovery /dev/sda
  894. + show_install_spinner
  895. initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
  896. This will install from '/dev/sda' to '/dev/mmcblk0'.
  897. This will erase all data at this destination: /dev/mmcblk0
  898. 64+0 records in
  899. 64+0 records out
  900. 32768 bytes (33 kB, 32 KiB) copied, 0.00387539 s, 8.5 MB/s
  901. 64+0 records in
  902. 64+0 records out
  903. 32768 bytes (33 kB, 32 KiB) copied, 0.0020424 s, 16.0 MB/s
  904. WARNING: Primary GPT header is invalid
  905. FBDAA2E7-ACC1-5145-AF6B-0CE668AA26FD
  906. start size part contents
  907. 0 1 PMBR (Boot GUID: FBDAA2E7-ACC1-5145-AF6B-0CE668AA26FD)
  908. 1 1 Pri GPT header
  909. 2 32 Pri GPT table
  910. 8704000 21831632 1 Label: "STATE"
  911. Type: Linux data
  912. UUID: 9572C8B1-3A1B-EB41-918F-B52CFCF2C8B7
  913. 20480 32768 2 Label: "KERN-A"
  914. Type: ChromeOS kernel
  915. UUID: 852A583A-F29E-7C41-AED2-B2604287D203
  916. Attr: priority=15 tries=15 successful=0
  917. 4509696 4194304 3 Label: "ROOT-A"
  918. Type: ChromeOS rootfs
  919. UUID: 2088F268-C462-7E41-87AB-5837AAC93887
  920. 53248 32768 4 Label: "KERN-B"
  921. Type: ChromeOS kernel
  922. UUID: F3CEDA11-DA63-BC45-971F-7770C9E1BDB6
  923. Attr: priority=0 tries=15 successful=0
  924. 315392 4194304 5 Label: "ROOT-B"
  925. Type: ChromeOS rootfs
  926. UUID: 67CA39BB-3217-4948-A790-441315D7918D
  927. 16448 1 6 Label: "KERN-C"
  928. Type: ChromeOS kernel
  929. UUID: 8B0B511E-19D1-4F4F-981B-BFD3A1C9C871
  930. Attr: priority=0 tries=15 successful=0
  931. 16449 1 7 Label: "ROOT-C"
  932. Type: ChromeOS rootfs
  933. UUID: 74FCE6E7-3CA5-0740-BDC9-0ABDD9F6267E
  934. 86016 32768 8 Label: "OEM"
  935. Type: Linux data
  936. UUID: CC23676D-1F29-104B-BC6B-7CF1957C9DD7
  937. 16450 1 9 Label: "reserved"
  938. Type: ChromeOS reserved
  939. UUID: CD53C98D-99D2-C240-8041-ED3613E87AB0
  940. 16451 1 10 Label: "reserved"
  941. Type: ChromeOS reserved
  942. UUID: 7F744D44-4C3A-6D41-8CE6-ADB0BC6A3724
  943. 64 16384 11 Label: "RWFW"
  944. Type: ChromeOS firmware
  945. UUID: B8F73686-33AE-4246-B4C7-6A8FE8E2B350
  946. 249856 65536 12 Label: "EFI-SYSTEM"
  947. Type: EFI System Partition
  948. UUID: FBDAA2E7-ACC1-5145-AF6B-0CE668AA26FD
  949. Attr: legacy_boot=1
  950. 30535647 32 Sec GPT table
  951. 30535679 1 Sec GPT header
  952. Clearing the stateful partition...
  953. mke2fs 1.45.5 (07-Jan-2020)
  954. Discarding device blocks: 4096/2728954 done
  955. Creating filesystem with 2728954 4k blocks and 682752 inodes
  956. Filesystem UUID: 109ef53a-5dea-407e-b9a8-a41272234263
  957. Superblock backups stored on blocks:
  958. 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208
  959.  
  960. Allocating group tables: 0/84 done
  961. Writing inode tables: 0/84 done
  962. Creating journal (16384 blocks): done
  963. Writing superblocks and filesystem accounting information: 0/84 done
  964.  
  965. Installing partition 12 to /dev/mmcblk0
  966.  
  967. 25165824 bytes (25 MB, 24 MiB) copied, 1.01245 s, 24.9 MB/s
  968. 16+0 records in
  969. 16+0 records out
  970. 33554432 bytes (34 MB, 32 MiB) copied, 1.77509 s, 18.9 MB/s
  971. Installing partition 11 to /dev/mmcblk0
  972. DD with block size 32768
  973. 256+0 records in
  974. 256+0 records out
  975. 8388608 bytes (8.4 MB, 8.0 MiB) copied, 0.452155 s, 18.6 MB/s
  976. Installing partition 10 to /dev/mmcblk0
  977. Installing partition 9 to /dev/mmcblk0
  978. Installing partition 8 to /dev/mmcblk0
  979. 8+0 records in
  980. 8+0 records out
  981. 16777216 bytes (17 MB, 16 MiB) copied, 0.861687 s, 19.5 MB/s
  982. Installing partition 7 to /dev/mmcblk0
  983. Installing partition 6 to /dev/mmcblk0
  984. Installing partition 4 to /dev/mmcblk0
  985. 8+0 records in
  986. 8+0 records out
  987. 16777216 bytes (17 MB, 16 MiB) copied, 0.888629 s, 18.9 MB/s
  988. Installing partition 2 to /dev/mmcblk0
  989. 8+0 records in
  990. 8+0 records out
  991. 16777216 bytes (17 MB, 16 MiB) copied, 0.236983 s, 70.8 MB/s
  992. Installing partition 5 to /dev/mmcblk0, chunk 1 of 4
  993.  
  994. 25165824 bytes (25 MB, 24 MiB) copied, 1.00994 s, 24.9 MB/s
  995. 50331648 bytes (50 MB, 48 MiB) copied, 2.03272 s, 24.8 MB/s
  996. 77594624 bytes (78 MB, 74 MiB) copied, 3.00325 s, 25.8 MB/s
  997. 106954752 bytes (107 MB, 102 MiB) copied, 4.05115 s, 26.4 MB/s
  998. 132120576 bytes (132 MB, 126 MiB) copied, 5.0212 s, 26.3 MB/s
  999. 157286400 bytes (157 MB, 150 MiB) copied, 6.08118 s, 25.9 MB/s
  1000. 180355072 bytes (180 MB, 172 MiB) copied, 7.02596 s, 25.7 MB/s
  1001. 207618048 bytes (208 MB, 198 MiB) copied, 8.04734 s, 25.8 MB/s
  1002. 234881024 bytes (235 MB, 224 MiB) copied, 9.01542 s, 26.1 MB/s
  1003. 262144000 bytes (262 MB, 250 MiB) copied, 10.0078 s, 26.2 MB/s
  1004. 287309824 bytes (287 MB, 274 MiB) copied, 11.0769 s, 25.9 MB/s
  1005. 310378496 bytes (310 MB, 296 MiB) copied, 12.0527 s, 25.8 MB/s
  1006. 333447168 bytes (333 MB, 318 MiB) copied, 13.0175 s, 25.6 MB/s
  1007. 362807296 bytes (363 MB, 346 MiB) copied, 14.0639 s, 25.8 MB/s
  1008. 390070272 bytes (390 MB, 372 MiB) copied, 15.0391 s, 25.9 MB/s
  1009. 415236096 bytes (415 MB, 396 MiB) copied, 16.0107 s, 25.9 MB/s
  1010. 440401920 bytes (440 MB, 420 MiB) copied, 17.0845 s, 25.8 MB/s
  1011. 465567744 bytes (466 MB, 444 MiB) copied, 18.0681 s, 25.8 MB/s
  1012. 492830720 bytes (493 MB, 470 MiB) copied, 19.0431 s, 25.9 MB/s
  1013. 520093696 bytes (520 MB, 496 MiB) copied, 20.0198 s, 26.0 MB/s
  1014. 256+0 records in
  1015. 256+0 records out
  1016. 536870912 bytes (537 MB, 512 MiB) copied, 25.5154 s, 21.0 MB/s
  1017. Installing partition 3 to /dev/mmcblk0, chunk 1 of 4
  1018. 256+0 records in
  1019. 256+0 records out
  1020. 536870912 bytes (537 MB, 512 MiB) copied, 7.19434 s, 74.6 MB/s
  1021. Installing partition 5 to /dev/mmcblk0, chunk 2 of 4
  1022.  
  1023. 25165824 bytes (25 MB, 24 MiB) copied, 1.03636 s, 24.3 MB/s
  1024. 50331648 bytes (50 MB, 48 MiB) copied, 2.0732 s, 24.3 MB/s
  1025. 73400320 bytes (73 MB, 70 MiB) copied, 3.04904 s, 24.1 MB/s
  1026. 96468992 bytes (96 MB, 92 MiB) copied, 4.04319 s, 23.9 MB/s
  1027. 123731968 bytes (124 MB, 118 MiB) copied, 5.01325 s, 24.7 MB/s
  1028. 148897792 bytes (149 MB, 142 MiB) copied, 6.01542 s, 24.8 MB/s
  1029. 174063616 bytes (174 MB, 166 MiB) copied, 7.04469 s, 24.7 MB/s
  1030. 197132288 bytes (197 MB, 188 MiB) copied, 8.00698 s, 24.6 MB/s
  1031. 222298112 bytes (222 MB, 212 MiB) copied, 9.05429 s, 24.6 MB/s
  1032. 247463936 bytes (247 MB, 236 MiB) copied, 10.0833 s, 24.5 MB/s
  1033. 270532608 bytes (271 MB, 258 MiB) copied, 11.0185 s, 24.6 MB/s
  1034. 295698432 bytes (296 MB, 282 MiB) copied, 12.0471 s, 24.5 MB/s
  1035. 320864256 bytes (321 MB, 306 MiB) copied, 13.0771 s, 24.5 MB/s
  1036. 343932928 bytes (344 MB, 328 MiB) copied, 14.0217 s, 24.5 MB/s
  1037. 369098752 bytes (369 MB, 352 MiB) copied, 15.05 s, 24.5 MB/s
  1038. 392167424 bytes (392 MB, 374 MiB) copied, 16.0033 s, 24.5 MB/s
  1039. 417333248 bytes (417 MB, 398 MiB) copied, 17.0364 s, 24.5 MB/s
  1040. 442499072 bytes (442 MB, 422 MiB) copied, 18.0597 s, 24.5 MB/s
  1041. 465567744 bytes (466 MB, 444 MiB) copied, 19.0268 s, 24.5 MB/s
  1042. 490733568 bytes (491 MB, 468 MiB) copied, 20.0776 s, 24.4 MB/s
  1043. 513802240 bytes (514 MB, 490 MiB) copied, 21.0449 s, 24.4 MB/s
  1044. 536870912 bytes (537 MB, 512 MiB) copied, 22.0032 s, 24.4 MB/s
  1045. 256+0 records in
  1046. 256+0 records out
  1047. 536870912 bytes (537 MB, 512 MiB) copied, 26.7614 s, 20.1 MB/s
  1048. Installing partition 3 to /dev/mmcblk0, chunk 2 of 4
  1049. 256+0 records in
  1050. 256+0 records out
  1051. 536870912 bytes (537 MB, 512 MiB) copied, 7.25811 s, 74.0 MB/s
  1052. Installing partition 5 to /dev/mmcblk0, chunk 3 of 4
  1053.  
  1054. 25165824 bytes (25 MB, 24 MiB) copied, 1.03907 s, 24.2 MB/s
  1055. 50331648 bytes (50 MB, 48 MiB) copied, 2.07603 s, 24.2 MB/s
  1056. 73400320 bytes (73 MB, 70 MiB) copied, 3.0388 s, 24.2 MB/s
  1057. 98566144 bytes (99 MB, 94 MiB) copied, 4.07457 s, 24.2 MB/s
  1058. 121634816 bytes (122 MB, 116 MiB) copied, 5.01564 s, 24.3 MB/s
  1059. 146800640 bytes (147 MB, 140 MiB) copied, 6.05175 s, 24.3 MB/s
  1060. 169869312 bytes (170 MB, 162 MiB) copied, 7.01455 s, 24.2 MB/s
  1061. 195035136 bytes (195 MB, 186 MiB) copied, 8.05144 s, 24.2 MB/s
  1062. 218103808 bytes (218 MB, 208 MiB) copied, 9.01798 s, 24.2 MB/s
  1063. 243269632 bytes (243 MB, 232 MiB) copied, 10.0625 s, 24.2 MB/s
  1064. 266338304 bytes (266 MB, 254 MiB) copied, 11.0085 s, 24.2 MB/s
  1065. 291504128 bytes (292 MB, 278 MiB) copied, 12.022 s, 24.2 MB/s
  1066. 316669952 bytes (317 MB, 302 MiB) copied, 13.0559 s, 24.3 MB/s
  1067. 339738624 bytes (340 MB, 324 MiB) copied, 14.0137 s, 24.2 MB/s
  1068. 364904448 bytes (365 MB, 348 MiB) copied, 15.06 s, 24.2 MB/s
  1069. 387973120 bytes (388 MB, 370 MiB) copied, 16.024 s, 24.2 MB/s
  1070. 413138944 bytes (413 MB, 394 MiB) copied, 17.0817 s, 24.2 MB/s
  1071. 436207616 bytes (436 MB, 416 MiB) copied, 18.0527 s, 24.2 MB/s
  1072. 459276288 bytes (459 MB, 438 MiB) copied, 19.0032 s, 24.2 MB/s
  1073. 486539264 bytes (487 MB, 464 MiB) copied, 20.0552 s, 24.3 MB/s
  1074. 513802240 bytes (514 MB, 490 MiB) copied, 21.0317 s, 24.4 MB/s
  1075. 256+0 records in
  1076. 256+0 records out
  1077. 536870912 bytes (537 MB, 512 MiB) copied, 26.6077 s, 20.2 MB/s
  1078. Installing partition 3 to /dev/mmcblk0, chunk 3 of 4
  1079. 256+0 records in
  1080. 256+0 records out
  1081. 536870912 bytes (537 MB, 512 MiB) copied, 7.44012 s, 72.2 MB/s
  1082. Installing partition 5 to /dev/mmcblk0, chunk 4 of 4
  1083.  
  1084. 25165824 bytes (25 MB, 24 MiB) copied, 1.01204 s, 24.9 MB/s
  1085. 50331648 bytes (50 MB, 48 MiB) copied, 2.05184 s, 24.5 MB/s
  1086. 75497472 bytes (75 MB, 72 MiB) copied, 3.05376 s, 24.7 MB/s
  1087. 102760448 bytes (103 MB, 98 MiB) copied, 4.072 s, 25.2 MB/s
  1088. 130023424 bytes (130 MB, 124 MiB) copied, 5.03928 s, 25.8 MB/s
  1089. 155189248 bytes (155 MB, 148 MiB) copied, 6.00199 s, 25.9 MB/s
  1090. 182452224 bytes (182 MB, 174 MiB) copied, 7.0398 s, 25.9 MB/s
  1091. 209715200 bytes (210 MB, 200 MiB) copied, 8.01008 s, 26.2 MB/s
  1092. 239075328 bytes (239 MB, 228 MiB) copied, 9.07686 s, 26.3 MB/s
  1093. 266338304 bytes (266 MB, 254 MiB) copied, 10.0501 s, 26.5 MB/s
  1094. 291504128 bytes (292 MB, 278 MiB) copied, 11.0047 s, 26.5 MB/s
  1095. 316669952 bytes (317 MB, 302 MiB) copied, 12.0403 s, 26.3 MB/s
  1096. 341835776 bytes (342 MB, 326 MiB) copied, 13.0548 s, 26.2 MB/s
  1097. 367001600 bytes (367 MB, 350 MiB) copied, 14.0439 s, 26.1 MB/s
  1098. 394264576 bytes (394 MB, 376 MiB) copied, 15.0727 s, 26.2 MB/s
  1099. 419430400 bytes (419 MB, 400 MiB) copied, 16.0457 s, 26.1 MB/s
  1100. 446693376 bytes (447 MB, 426 MiB) copied, 17.0563 s, 26.2 MB/s
  1101. 473956352 bytes (474 MB, 452 MiB) copied, 18.0681 s, 26.2 MB/s
  1102. 499122176 bytes (499 MB, 476 MiB) copied, 19.052 s, 26.2 MB/s
  1103. 526385152 bytes (526 MB, 502 MiB) copied, 20.0242 s, 26.3 MB/s
  1104. 256+0 records in
  1105. 256+0 records out
  1106. 536870912 bytes (537 MB, 512 MiB) copied, 22.42 s, 23.9 MB/s
  1107. Installing partition 3 to /dev/mmcblk0, chunk 4 of 4
  1108. 256+0 records in
  1109. 256+0 records out
  1110. 536870912 bytes (537 MB, 512 MiB) copied, 7.32058 s, 73.3 MB/s
  1111. Installing partition 1 to /dev/mmcblk0
  1112. Installing the stateful partition...
  1113. dm:dm bht[DEBUG] Setting block_count 509696
  1114. dm:dm bht[DEBUG] Setting depth to 3.
  1115. dm:dm bht[DEBUG] depth: 0 entries: 1
  1116. dm:dm bht[DEBUG] depth: 1 entries: 32
  1117. dm:dm bht[DEBUG] depth: 2 entries: 3982
  1118. Couldn't check the current permission, ignored: No such file or directory
  1119. PostInstall Configured: (A, /dev/mmcblk0p3, /dev/mmcblk0p2, /dev/mmcblk0p12)
  1120.  
  1121. Current Kernel Info: sysname(Linux) nodename(localhost) release(4.4.232-19103-g45c370e0810f) version(#2 SMP PREEMPT Tue Oct 20 11:23:35 PDT 2020) machine(x86_64)
  1122.  
  1123. lsb-release inside the new rootfs:
  1124. CHROMEOS_AUSERVER=https://tools.google.com/service/update2
  1125. CHROMEOS_BOARD_APPID={BB86912A-29BE-A59B-31EF-8F4DD1C023E2}
  1126. CHROMEOS_CANARY_APPID={90F229CE-83E2-4FAF-8479-E368A34938B1}
  1127. CHROMEOS_DEVSERVER=
  1128. CHROMEOS_RELEASE_APPID={BB86912A-29BE-A59B-31EF-8F4DD1C023E2}
  1129. CHROMEOS_RELEASE_BOARD=enguarde-signed-mp-v25keys
  1130. CHROMEOS_RELEASE_BRANCH_NUMBER=73
  1131. CHROMEOS_RELEASE_BUILDER_PATH=enguarde-release/R86-13421.73.0
  1132. CHROMEOS_RELEASE_BUILD_NUMBER=13421
  1133. CHROMEOS_RELEASE_BUILD_TYPE=Official Build
  1134. CHROMEOS_RELEASE_CHROME_MILESTONE=86
  1135. CHROMEOS_RELEASE_DESCRIPTION=13421.73.0 (Official Build) stable-channel enguarde
  1136. CHROMEOS_RELEASE_KEYSET=mp-v25
  1137. CHROMEOS_RELEASE_NAME=Chrome OS
  1138. CHROMEOS_RELEASE_PATCH_NUMBER=0
  1139. CHROMEOS_RELEASE_TRACK=stable-channel
  1140. CHROMEOS_RELEASE_VERSION=13421.73.0
  1141. DEVICETYPE=CHROMEBOOK
  1142. GOOGLE_RELEASE=13421.73.0
  1143.  
  1144. Set boot target to /dev/mmcblk0p3: Partition 3, Slot A
  1145. SetImage
  1146. KERNEL_CONFIG: console= loglevel=7 init=/sbin/init cros_secure drm.trace=0x106 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 4077568 verity payload=PARTUUID=%U/PARTNROFF=1 hashtree=PARTUUID=%U/PARTNROFF=1 hashstart=4077568 alg=sha256 root_hexdigest=5331b2293c99a3baac595278582eacd147b3370a5311cc62b1a2f747af5301cf salt=e1c8203c7363fd34af5cf2128cb679859d901f5b2547b35e9087c3a5272962a4" noinitrd vt.global_cursor_default=0 kern_guid=%U add_efi_memmap boot=local noresume noswap i915.modeset=1 nmi_watchdog=panic,lapic
  1147. Setting up verity.
  1148. Finished after 37 seconds.
  1149. Clearing network driver boot cache: /var/lib/preload-network-drivers.
  1150. Syncing filesystems before changing boot order...
  1151. Finished after 0 seconds.
  1152. Updating Partition Table Attributes using CgptManager...
  1153. Updated kernel 2 with Successful = 1 and NumTriesLeft = 6
  1154. Checking /mnt/stateful_partition/unencrypted permission.
  1155. RemovePackFiles Failed
  1156. Touch(/mnt/stateful_partition/.install_completed) FAILED
  1157. Starting firmware updater (//usr/sbin/chromeos-firmwareupdate --mode=recovery)
  1158. Command: //usr/sbin/chromeos-firmwareupdate --mode=recovery
  1159.  
  1160. Machine Model: enguarde
  1161. Write Protect: HW=0 SW=1
  1162. Last Boot Version: RO=Google_Enguarde.5216.201.8 ACT/recovery=Google_Enguarde.5216.201.8
  1163. Firmware Updater: RO=Google_Enguarde.5216.201.8 RW=Google_Enguarde.5216.201.178
  1164.  
  1165. INFO: updater_apply_white_label: Loading system firmware for white label...
  1166. WARNING: model_apply_white_label: No VPD 'whitelabel_tag' set for white label - use default keys.
  1167. ERROR: model_apply_white_label: No keys found for signature_id: ''
  1168. WARNING: updater_setup_archive: No VPD for white label.
  1169. >> Starting firmware updater.
  1170. >> Target image: bios.bin (RO:Google_Enguarde.5216.201.8, RW/A:Google_Enguarde.5216.201.178, RW/B:Google_Enguarde.5216.201.178).
  1171. >> Current system: /tmp/fwupdater.GVujRL (RO:Google_Enguarde.5216.201.8, RW/A:Google_Enguarde.5216.201.178, RW/B:Google_Enguarde.5216.201.178).
  1172. >> Write protection: 0 (disabled; HW=0, SW=1).
  1173. >> FULL UPDATE: Updating whole firmware image(s), RO+RW.
  1174. INFO: update_whole_firmware: Checking compatibility...
  1175. INFO: host_flashrom: Executing: flashrom -w /tmp/fwupdater.ed5Afd -p host
  1176. flashrom 0.9.9 : 00f8a8f3 : Aug 19 2020 08:32:20 UTC on Linux 4.4.232-19103-g45c370e0810f (x86_64)
  1177. flashrom is free software, get the source code at https://flashrom.org
  1178.  
  1179. on Linux 4.4.232-19103-g45c370e0810f (x86_64)Calibrating delay loop... OK.
  1180. coreboot table found at 0x7ae6e000.
  1181. Found chipset "Intel Bay Trail".
  1182. Enabling flash write... SPI Configuration is locked down.
  1183. FREG0: Flash Descriptor region (0x00000000-0x00000fff) is read-only.
  1184. FREG2: Management Engine region (0x00001000-0x001fffff) is locked.
  1185. Not all flash regions are freely accessible by flashrom. This is most likely
  1186. due to an active ME. Please see https://flashrom.org/ME for details.
  1187. At least some flash regions are read protected. You have to use a flash
  1188. layout and include only accessible regions. For write operations, you'll
  1189. additionally need the --noverify-all switch. See manpage for more details.
  1190. OK.
  1191. spi_write_cmd failed during command execution at address 0x0
  1192. spi_simple_write_cmd failed during command execution
  1193. spi_simple_write_cmd failed during command execution
  1194. Erasing and writing flash chip... spi_write_cmd failed during command execution at address 0x1000
  1195. spi_write_cmd failed during command execution at address 0x4000
  1196. spi_write_cmd failed during command execution at address 0x8000
  1197. spi_write_cmd failed during command execution at address 0xc000
  1198. spi_write_cmd failed during command execution at address 0x10000
  1199. spi_write_cmd failed during command execution at address 0x14000
  1200. spi_write_cmd failed during command execution at address 0x15000
  1201. spi_write_cmd failed during command execution at address 0x16000
  1202. spi_write_cmd failed during command execution at address 0x17000
  1203. spi_write_cmd failed during command execution at address 0x18000
  1204. spi_write_cmd failed during command execution at address 0x19000
  1205. spi_write_cmd failed during command execution at address 0x1a000
  1206. spi_write_cmd failed during command execution at address 0x1b000
  1207. spi_write_cmd failed during command execution at address 0x1c000
  1208. spi_write_cmd failed during command execution at address 0x1d000
  1209. spi_write_cmd failed during command execution at address 0x1e000
  1210. spi_write_cmd failed during command execution at address 0x1f000
  1211. spi_write_cmd failed during command execution at address 0x20000
  1212. spi_write_cmd failed during command execution at address 0x21000
  1213. spi_write_cmd failed during command execution at address 0x22000
  1214. spi_write_cmd failed during command execution at address 0x23000
  1215. spi_write_cmd failed during command execution at address 0x24000
  1216. spi_write_cmd failed during command execution at address 0x25000
  1217. spi_write_cmd failed during command execution at address 0x26000
  1218. spi_write_cmd failed during command execution at address 0x27000
  1219. spi_write_cmd failed during command execution at address 0x28000
  1220. spi_write_cmd failed during command execution at address 0x29000
  1221. spi_write_cmd failed during command execution at address 0x2a000
  1222. spi_write_cmd failed during command execution at address 0x2b000
  1223. spi_write_cmd failed during command execution at address 0x2c000
  1224. spi_write_cmd failed during command execution at address 0x2d000
  1225. spi_write_cmd failed during command execution at address 0x2e000
  1226. spi_write_cmd failed during command execution at address 0x2f000
  1227. spi_write_cmd failed during command execution at address 0x30000
  1228. spi_write_cmd failed during command execution at address 0x31000
  1229. spi_write_cmd failed during command execution at address 0x32000
  1230. spi_write_cmd failed during command execution at address 0x33000
  1231. spi_write_cmd failed during command execution at address 0x34000
  1232. spi_write_cmd failed during command execution at address 0x35000
  1233. spi_write_cmd failed during command execution at address 0x36000
  1234. spi_write_cmd failed during command execution at address 0x37000
  1235. spi_write_cmd failed during command execution at address 0x38000
  1236. spi_write_cmd failed during command execution at address 0x39000
  1237. spi_write_cmd failed during command execution at address 0x3a000
  1238. spi_write_cmd failed during command execution at address 0x3b000
  1239. spi_write_cmd failed during command execution at address 0x3c000
  1240. spi_write_cmd failed during command execution at address 0x3d000
  1241. spi_write_cmd failed during command execution at address 0x3e000
  1242. spi_write_cmd failed during command execution at address 0x3f000
  1243. spi_write_cmd failed during command execution at address 0x40000
  1244. spi_write_cmd failed during command execution at address 0x41000
  1245. spi_write_cmd failed during command execution at address 0x42000
  1246. spi_write_cmd failed during command execution at address 0x43000
  1247. spi_write_cmd failed during command execution at address 0x44000
  1248. spi_write_cmd failed during command execution at address 0x45000
  1249. spi_write_cmd failed during command execution at address 0x46000
  1250. spi_write_cmd failed during command execution at address 0x47000
  1251. spi_write_cmd failed during command execution at address 0x48000
  1252. spi_write_cmd failed during command execution at address 0x49000
  1253. spi_write_cmd failed during command execution at address 0x4a000
  1254. spi_write_cmd failed during command execution at address 0x4b000
  1255. spi_write_cmd failed during command execution at address 0x4c000
  1256. spi_write_cmd failed during command execution at address 0x4d000
  1257. spi_write_cmd failed during command execution at address 0x4e000
  1258. spi_write_cmd failed during command execution at address 0x4f000
  1259. spi_write_cmd failed during command execution at address 0x50000
  1260. spi_write_cmd failed during command execution at address 0x51000
  1261. spi_write_cmd failed during command execution at address 0x52000
  1262. spi_write_cmd failed during command execution at address 0x53000
  1263. spi_write_cmd failed during command execution at address 0x54000
  1264. spi_write_cmd failed during command execution at address 0x55000
  1265. spi_write_cmd failed during command execution at address 0x56000
  1266. spi_write_cmd failed during command execution at address 0x57000
  1267. spi_write_cmd failed during command execution at address 0x58000
  1268. spi_write_cmd failed during command execution at address 0x59000
  1269. spi_write_cmd failed during command execution at address 0x5a000
  1270. spi_write_cmd failed during command execution at address 0x5b000
  1271. spi_write_cmd failed during command execution at address 0x5c000
  1272. spi_write_cmd failed during command execution at address 0x5d000
  1273. spi_write_cmd failed during command execution at address 0x5e000
  1274. spi_write_cmd failed during command execution at address 0x5f000
  1275. spi_write_cmd failed during command execution at address 0x60000
  1276. spi_write_cmd failed during command execution at address 0x61000
  1277. spi_write_cmd failed during command execution at address 0x62000
  1278. spi_write_cmd failed during command execution at address 0x63000
  1279. spi_write_cmd failed during command execution at address 0x64000
  1280. spi_write_cmd failed during command execution at address 0x65000
  1281. spi_write_cmd failed during command execution at address 0x66000
  1282. spi_write_cmd failed during command execution at address 0x67000
  1283. spi_write_cmd failed during command execution at address 0x68000
  1284. spi_write_cmd failed during command execution at address 0x69000
  1285. spi_write_cmd failed during command execution at address 0x6a000
  1286. spi_write_cmd failed during command execution at address 0x6b000
  1287. spi_write_cmd failed during command execution at address 0x6c000
  1288. spi_write_cmd failed during command execution at address 0x6d000
  1289. spi_write_cmd failed during command execution at address 0x6e000
  1290. spi_write_cmd failed during command execution at address 0x6f000
  1291. spi_write_cmd failed during command execution at address 0x70000
  1292. spi_write_cmd failed during command execution at address 0x71000
  1293. spi_write_cmd failed during command execution at address 0x72000
  1294. spi_write_cmd failed during command execution at address 0x73000
  1295. spi_write_cmd failed during command execution at address 0x74000
  1296. spi_write_cmd failed during command execution at address 0x75000
  1297. spi_write_cmd failed during command execution at address 0x76000
  1298. spi_write_cmd failed during command execution at address 0x77000
  1299. spi_write_cmd failed during command execution at address 0x78000
  1300. spi_write_cmd failed during command execution at address 0x79000
  1301. spi_write_cmd failed during command execution at address 0x7a000
  1302. spi_write_cmd failed during command execution at address 0x7b000
  1303. spi_write_cmd failed during command execution at address 0x7c000
  1304. spi_write_cmd failed during command execution at address 0x7d000
  1305. spi_write_cmd failed during command execution at address 0x7e000
  1306. spi_write_cmd failed during command execution at address 0x7f000
  1307. spi_write_cmd failed during command execution at address 0x80000
  1308. spi_write_cmd failed during command execution at address 0x81000
  1309. spi_write_cmd failed during command execution at address 0x82000
  1310. spi_write_cmd failed during command execution at address 0x83000
  1311. spi_write_cmd failed during command execution at address 0x84000
  1312. spi_write_cmd failed during command execution at address 0x85000
  1313. spi_write_cmd failed during command execution at address 0x86000
  1314. spi_write_cmd failed during command execution at address 0x87000
  1315. spi_write_cmd failed during command execution at address 0x88000
  1316. spi_write_cmd failed during command execution at address 0x89000
  1317. spi_write_cmd failed during command execution at address 0x8a000
  1318. spi_write_cmd failed during command execution at address 0x8b000
  1319. spi_write_cmd failed during command execution at address 0xa6000
  1320. spi_write_cmd failed during command execution at address 0x200000
  1321. Verifying flash... FAILED at 0x00200074! Expected=0x3d, Found=0xbf, failed byte count from 0x00200000-0x002000ff: 0x8b
  1322. failed byte count from 0x00000000-0x007fffff: 0xffffffff
  1323. Your flash chip is in an unknown state.
  1324. Get help on IRC at irc.freenode.net (channel #flashrom) or
  1325. mail [email protected] with FAILED: your board name in the subject line!
  1326. -------------------------------------------------------------------------------
  1327. DO NOT REBOOT OR POWEROFF!
  1328. FAILED
  1329. ERROR: host_flashrom: Error code: 65280
  1330. ERROR: do_update: Failed writing firmware.
  1331. >> FAILED: Firmware updater aborted.
  1332. Finished after 16 seconds.
  1333. Failed Command: //usr/sbin/chromeos-firmwareupdate --mode=recovery - Exit Code 1
  1334. Firmware update failed (error code: 1).
  1335. Rolling back update due to failure installing required firmware.
  1336. Successfully updated GPT with all settings to rollback.
  1337. PostInstall Failed
  1338. Running a hw diagnostics test -- this might take a couple minutes.
  1339. Checking blocks 0 to 15267839
  1340. Checking for bad blocks (read-only test): 0.00% done, 0:00 elapsed. (0/0/0 errors) 0.83% done, 0:01 elapsed. (0/0/0 errors) 1.62% done, 0:02 elapsed. (0/0/0 errors) 2.42% done, 0:03 elapsed. (0/0/0 errors) 3.18% done, 0:04 elapsed. (0/0/0 errors) 3.93% done, 0:05 elapsed. (0/0/0 errors) 4.65% done, 0:06 elapsed. (0/0/0 errors) 5.45% done, 0:07 elapsed. (0/0/0 errors) 6.24% done, 0:08 elapsed. (0/0/0 errors) 7.04% done, 0:09 elapsed. (0/0/0 errors) 7.80% done, 0:10 elapsed. (0/0/0 errors) 8.59% done, 0:11 elapsed. (0/0/0 errors) 9.39% done, 0:12 elapsed. (0/0/0 errors) 10.18% done, 0:13 elapsed. (0/0/0 errors) 10.98% done, 0:14 elapsed. (0/0/0 errors) 11.76% done, 0:15 elapsed. (0/0/0 errors) 12.54% done, 0:16 elapsed. (0/0/0 errors) 13.32% done, 0:17 elapsed. (0/0/0 errors) 14.11% done, 0:18 elapsed. (
Advertisement
Add Comment
Please, Sign In to add comment