On a fresh utop session:
utop # #require "irmin.mirage";;
Error: The external function `caml_alloc_pages' is not available
Can be fixed loading io-page.unix first (credits to @yomimono):
utop # #require "io-page.unix";;
utop # #require "irmin.mirage";;