From owner-freebsd-bugs@freebsd.org Sat Aug 6 09:34:41 2016 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 B24CABB08BD for ; Sat, 6 Aug 2016 09:34:41 +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 886A111D1 for ; Sat, 6 Aug 2016 09:34:41 +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 u769YfOs060279 for ; Sat, 6 Aug 2016 09:34:41 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 211620] Cannot boot on zfs with nvme in system Date: Sat, 06 Aug 2016 09:34:41 +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: 10.3-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: braddeicide@hotmail.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 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.22 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Aug 2016 09:34:41 -0000 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.=