From owner-freebsd-hackers@freebsd.org Mon Oct 24 15:40:42 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B8AB6C1FB9D for ; Mon, 24 Oct 2016 15:40:42 +0000 (UTC) (envelope-from claudiu.ciurdariu@gmail.com) Received: from mail-lf0-x235.google.com (mail-lf0-x235.google.com [IPv6:2a00:1450:4010:c07::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 20137AC9 for ; Mon, 24 Oct 2016 15:40:42 +0000 (UTC) (envelope-from claudiu.ciurdariu@gmail.com) Received: by mail-lf0-x235.google.com with SMTP id f134so35248320lfg.2 for ; Mon, 24 Oct 2016 08:40:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=1JeVdRhqR+E82llIbdruZWC2xJHO5hl2RMLjD/8QePo=; b=OibhJOsilUwbvWCu96twkvWNS4s+3iP+RejS2Wx4rtNURQHwfd3LXIfedf7v11sv+O BSk1QL7nYmT+SA2CGBE872ql7UZlj/iS5a9aMYCY5ycHzKthL6eczKrig+HIqjNSdDB1 zgRev+485LoRlLw+toQHV1ROWZbdnQyLDocwpQIMoewYvXwlAILxXkTwljwcNLBkA4C3 ev3HI295hGP3TlizkBD67+1IB2UX2Qnh7BldJGTnTgvVKeCEOgz2sOI5WolIeT3K3Ano ErQFSc3k/wqRUihYYL/ZTFskNcVIEdJtjjn3QeqionJYTAdheUiaGS7HjCwd2rdwdDen AdVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=1JeVdRhqR+E82llIbdruZWC2xJHO5hl2RMLjD/8QePo=; b=gYBL/cSxjV3kiyHHS8YL0KLOw6HE0Ueiukdj8unZF85F66QQ0HGW2tM18GTqUPquxO aKBTyUesOhV2LZqzHZccH/IK85IidmyrhbnpoDgqDntbERscV4opIspR37kQMMW5D4IQ T8K5uMNynC81WvTwLL5cDaC6VBVSntjPRk4h+PyJncx++h8mHiz0fXKQ1Z9MqLTgO7gt rhUTDLndzXlc7YtcSoQ7zu8N+pvHZeNDC0xEvhtgHoPgrTT2vEMpJnTVvFg9gbm0krCa AjrJExAtHDHviMYlOh39g2//ykiwPrCFakgvL61tUd7wxDmITPthx9aml36/Jabr7XLd Ht8A== X-Gm-Message-State: ABUngveXV3otmGhvXo3GRChJ9d/2rnbm6JwaRSyIcqS+ga10Juvs/ThMWuFauczaJd7/g6YBjLk2DXo9IiCT1w== X-Received: by 10.25.76.130 with SMTP id z124mr3495074lfa.53.1477323639976; Mon, 24 Oct 2016 08:40:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.127.150 with HTTP; Mon, 24 Oct 2016 08:40:39 -0700 (PDT) From: Claudiu Ciurdariu Date: Mon, 24 Oct 2016 16:40:39 +0100 Message-ID: Subject: FreeBSD 11 boot problem in a UEFI ZFS-root with 4K native HDDs setup To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Oct 2016 15:40:42 -0000 Trying to boot FreeBSD 11 RELEASE in UEFI mode after installing the OS with root on a 4K native 2-disk ZFS mirror and getting the error below: >> FreeBSD EFI boot block Loader path: /boot/loader.efi Initializing modules: ZFS UFS Probing 14 block devices...........*.+ done ZFS found the following pools zroot UFS found no partitions ZFS: i/o error - all block copies unavailable ZFS: can't read MOS of pool zroot ZFS: i/o error - all block copies unavailable ZFS: can't read MOS of pool zroot Failed to load '/boot/loader.efi' panic: No bootable partitions found! The partition layout looks like this: # gpart show => 6 488378629 ada0 GPT (1.8T) 6 200 1 efi (800K) 206 50 - free - (200K) 256 488378368 2 freebsd-zfs (1.8T) 488378624 11 - free - (44K) => 6 488378629 ada1 GPT (1.8T) 6 200 1 efi (800K) 206 50 - free - (200K) 256 488378368 2 freebsd-zfs (1.8T) 488378624 11 - free - (44K) # gpart list Geom name: ada0 modified: false state: OK fwheads: 16 fwsectors: 63 last: 488378634 first: 6 entries: 128 scheme: GPT Providers: 1. Name: ada0p1 Mediasize: 819200 (800K) Sectorsize: 4096 Stripesize: 0 Stripeoffset: 24576 Mode: r0w0e0 rawuuid: 1f029d6d-99f4-11e6-819b-001e67e6cc2f rawtype: c12a7328-f81f-11d2-ba4b-00a0c93ec93b label: efiboot0 length: 819200 offset: 24576 type: efi index: 1 end: 205 start: 6 2. Name: ada0p2 Mediasize: 2000397795328 (1.8T) Sectorsize: 4096 Stripesize: 0 Stripeoffset: 1048576 Mode: r1w1e1 rawuuid: 1f496f99-99f4-11e6-819b-001e67e6cc2f rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b label: zfs0 length: 2000397795328 offset: 1048576 type: freebsd-zfs index: 2 end: 488378623 start: 256 Consumers: 1. Name: ada0 Mediasize: 2000398909440 (1.8T) Sectorsize: 4096 Mode: r1w1e2 Geom name: ada1 modified: false state: OK fwheads: 16 fwsectors: 63 last: 488378634 first: 6 entries: 128 scheme: GPT Providers: 1. Name: ada1p1 Mediasize: 819200 (800K) Sectorsize: 4096 Stripesize: 0 Stripeoffset: 24576 Mode: r0w0e0 rawuuid: 1faf567b-99f4-11e6-819b-001e67e6cc2f rawtype: c12a7328-f81f-11d2-ba4b-00a0c93ec93b label: efiboot1 length: 819200 offset: 24576 type: efi index: 1 end: 205 start: 6 2. Name: ada1p2 Mediasize: 2000397795328 (1.8T) Sectorsize: 4096 Stripesize: 0 Stripeoffset: 1048576 Mode: r1w1e1 rawuuid: 1fc2d874-99f4-11e6-819b-001e67e6cc2f rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b label: zfs1 length: 2000397795328 offset: 1048576 type: freebsd-zfs index: 2 end: 488378623 start: 256 Consumers: 1. Name: ada1 Mediasize: 2000398909440 (1.8T) Sectorsize: 4096 Mode: r1w1e2 And the ZFS dataset: # zfs list NAME USED AVAIL REFER MOUNTPOINT zroot 301M 1.76T 96K /mnt/zroot zroot/ROOT 299M 1.76T 96K none zroot/ROOT/default 299M 1.76T 299M /mnt zroot/tmp 128K 1.76T 128K /mnt/tmp zroot/usr 384K 1.76T 96K /mnt/usr zroot/usr/home 96K 1.76T 96K /mnt/usr/home zroot/usr/ports 96K 1.76T 96K /mnt/usr/ports zroot/usr/src 96K 1.76T 96K /mnt/usr/src zroot/var 588K 1.76T 96K /mnt/var zroot/var/audit 96K 1.76T 96K /mnt/var/audit zroot/var/crash 96K 1.76T 96K /mnt/var/crash zroot/var/log 108K 1.76T 108K /mnt/var/log zroot/var/mail 96K 1.76T 96K /mnt/var/mail zroot/var/tmp 96K 1.76T 96K /mnt/var/tmp The HDDs are 2 Tohsiba 4Kn spinning disks: # camcontrol devlist at scbus4 target 0 lun 0 (ses0,pass0) at scbus7 target 0 lun 0 (ada0,pass1) at scbus8 target 0 lun 0 (ada1,pass2) at scbus11 target 0 lun 0 (ses1,pass3) at scbus12 target 0 lun 0 (pass4,cd0) at scbus12 target 0 lun 1 (da0,pass5) Any idea what the issue might be? Thanks, Claudiu