arm64: savecore reports error on every boot

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

arm64: savecore reports error on every boot

Christian Weisgerber
On arm64, the default savecore invocation from /etc/rc results in an
error every time, e.g.:

  bootfile: sd0a:/bsd
  boot device: sd0
  root on sd0a (c8405fa6843cfe97.a) swap on sd0b dump on sd0b
  ...
  savecore: can't find device 18/0

The error is different each time:

Sep  5 16:41:08 kemoauc savecore: can't find device 2/155
Sep  5 17:09:15 kemoauc savecore: can't find device 2/41226
Sep  5 17:13:40 kemoauc savecore: /dev/sd1k: Device not configured
Sep  5 17:25:11 kemoauc savecore: can't find device 127/42304
Sep  5 17:29:55 kemoauc savecore: can't find device 21/61
Sep  5 21:56:24 kemoauc savecore: can't find device 219/16436
Sep 11 21:28:56 kemoauc savecore: can't find device 0/228
Sep 11 21:41:21 kemoauc savecore: can't find device 18/0

This suggests that savecore's kvm_read() of the "dumpdev" kernel
variable returns random garbage, but how is this possible?

--
Christian "naddy" Weisgerber                          [hidden email]