From owner-freebsd-bugs@freebsd.org Fri Feb 10 13:14:01 2017 Return-Path: Delivered-To: freebsd-bugs@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 9E99DCD6C35 for ; Fri, 10 Feb 2017 13:14:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8E64E182 for ; Fri, 10 Feb 2017 13:14:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v1ADE17M010484 for ; Fri, 10 Feb 2017 13:14:01 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 216964] boot1.efi: can't boot from ZFS on 4kn HDD Date: Fri, 10 Feb 2017 13:14:01 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: kozlov.sergey.404@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Feb 2017 13:14:01 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216964 Bug ID: 216964 Summary: boot1.efi: can't boot from ZFS on 4kn HDD Product: Base System Version: 11.0-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: kozlov.sergey.404@gmail.com CC: freebsd-amd64@FreeBSD.org CC: freebsd-amd64@FreeBSD.org Created attachment 179826 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D179826&action= =3Dedit Screenshot of boot1 failure w/EFI_DEBUG enabled boot1.efi can't find /boot/loader.efi on ZFS root installed onto 4kn drive Details: - The OS was installed by using standard bsdinstall approach with the follo= wing options: - Drive schema: ada0 stripe - Swap size: 2g - Encrypt swap: YES - Boot schema: GPT (UEFI) - The screenshot of failure is attached. boot1.efifat was built with -DEFI_DEBUG flag - Able to boot from UFS root on the same HW w/o a problem - Able to get the same behavior emulated in bhyve using file-backed memory = disk with 4096 sector size. Might be useful for debugging - Additional information about the drive: # camcontrol identify ada0 pass1: ACS-3 ATA SATA 3.x device pass1: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes) protocol ATA/ATAPI-10 SATA 3.x device model ST2000NM0105-1YY104 firmware revision NN02 serial number ZC200L2G WWN 5000c500915c633f cylinders 16383 heads 16 sectors/track 63 sector size logical 4096, physical 4096, offset 0 LBA supported 268435455 sectors LBA48 supported 488378646 sectors PIO supported PIO4 DMA supported WDMA2 UDMA6=20 media RPM 7200 Feature Support Enabled Value Vendor read ahead yes yes write cache yes yes flush cache yes yes overlap no Tagged Command Queuing (TCQ) no no Native Command Queuing (NCQ) yes 32 tags NCQ Queue Management no NCQ Streaming no Receive & Send FPDMA Queued yes SMART yes yes microcode download yes yes security yes no power management yes yes advanced power management no no automatic acoustic management no no media status notification no no power-up in Standby yes no write-read-verify yes no 0/0x0 unload yes yes general purpose logging yes yes free-fall no no Data Set Management (DSM/TRIM) no Host Protected Area (HPA) no # gpart show ada0 =3D> 6 488378635 ada0 GPT (1.8T) 6 200 1 efi (800K) 206 50 - free - (200K) 256 524288 2 freebsd-swap (2.0G) 524544 487854080 3 freebsd-zfs (1.8T) 488378624 17 - free - (68K) --=20 You are receiving this mail because: You are the assignee for the bug.=