Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 Aug 2016 09:34:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 211620] Cannot boot on zfs with nvme in system
Message-ID:  <bug-211620-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211620

            Bug ID: 211620
           Summary: Cannot boot on zfs with nvme in system
           Product: Base System
           Version: 10.3-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: braddeicide@hotmail.com

As soon as I plug an nvme into my system I can't boot on zfs root (ZFS enab=
led
bootstrap loader).  I can load from DVD, and I've since reinstalled onto a
temporary UFS root system and everything works fine.

The system freezes during the BTX loader screen, the drive is given a BIOS
drive letter, then the spinner stops before the "Bios 625kB/3654644kB avail=
able
memory" screen.

Some grepping brings me to this loop
https://svnweb.freebsd.org/base/release/10.3.0/sys/boot/i386/loader/main.c?=
revision=3D297553&view=3Dmarkup#l172

Zfs appears to have its own dv_init here:
https://svnweb.freebsd.org/base/release/10.3.0/sys/boot/zfs/zfs.c?revision=
=3D297553&view=3Dmarkup#l385

>From this point I hope someone might have a better idea than printf debuggi=
ng
:)

The nvme is a Samsung 950 pro, it's in a pcie m2 card. I can dig out exact
model of mount if required.

#nvmecontrol devlist
 nvme0: Samsung SSD 950 PRO 512GB
    nvme0ns1 (488386MB)

# diskinfo -v /dev/nvd0
/dev/nvd0
        512             # sectorsize
        512110190592    # mediasize in bytes (477G)
        1000215216      # mediasize in sectors
        512             # stripesize
        0               # stripeoffset
        S2GMNCAGA01093W # Disk ident.

# pciconf -lv | grep nvme -A3
nvme0@pci0:3:0:0:       class=3D0x010802 card=3D0xa801144d chip=3D0xa802144=
d rev=3D0x01
hdr=3D0x00
    vendor     =3D 'Samsung Electronics Co Ltd'
    class      =3D mass storage
    subclass   =3D NVM

re severity, I came across someone else with exact same problem on forums.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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