Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Feb 2017 13:14:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-amd64@FreeBSD.org
Subject:   [Bug 216964] boot1.efi: can't boot from ZFS on 4kn HDD
Message-ID:  <bug-216964-6@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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: <ST2000NM0105-1YY104 NN02> 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 on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216964-6>